fix(admin-ui): typos in text (#5032)
Fixes some typos found while reviewing translations.
Potential improvements in the future: fragmented translations may need merging with `<Trans>`. For example:
```
"analytics-preferences-disclaimer": "Pour créer la meilleure expérience de commerce électronique possible, nous aimerions obtenir des informations sur la manière dont vous utilisez Medusa. Les informations sur les utilisateurs nous permettent de construire des produits meilleurs, plus attrayants et plus utilisables. Nous ne collectons des données que pour améliorer le produit. Lisez quelles données nous recueillons dans notre",
"analytics-preferences-documentation": "documentation",
```
```
"help-dialog-feel-free-to-join-our-community-of": "Feel free to join our community of",
"help-dialog-merchants-and-e-commerce-developers": "merchants and e-commerce developers",
```
```
"upload-modal-drop-your-file-here-or": "Drop your file here, or",
"upload-modal-click-to-browse": "click to browse.",
```
Example from my previous PR with `sales-channels-display-available-count`:
```
<Trans
i18nKey="sales-channels-display-available-count"
availableChannelsCount={availableChannelsCount}
totalChannelsCount={totalChannelsCount}
>
Available in{" "}
<span className="inter-base-semibold text-grey-90">
{{ availableChannelsCount }}
</span>{" "}
out of{" "}
<span className="inter-base-semibold text-grey-90">
{{ totalChannelsCount }}
</span>{" "}
Sales Channels
</Trans>
```
This commit is contained in:
@@ -140,7 +140,7 @@ const errorMessage = (t: TFunction, status?: number) => {
|
||||
401: t("error-boundary-you-are-not-logged-in", "You are not logged in"),
|
||||
403: t(
|
||||
"error-boundary-you-do-not-have-permission-perform-this-action",
|
||||
"You do not have permission perform this action"
|
||||
"You do not have permission to perform this action"
|
||||
),
|
||||
404: t("error-boundary-page-was-not-found", "Page was not found"),
|
||||
500: t(
|
||||
@@ -174,7 +174,7 @@ const errorDescription = (t: TFunction, status?: number) => {
|
||||
),
|
||||
403: t(
|
||||
"error-boundary-403",
|
||||
"You do not have permission perform this action, if you think this is a mistake, contact your administrator."
|
||||
"You do not have permission to perform this action, if you think this is a mistake, contact your administrator."
|
||||
),
|
||||
404: t(
|
||||
"error-boundary-404",
|
||||
|
||||
Reference in New Issue
Block a user