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:
@@ -43,14 +43,14 @@
|
||||
"error-boundary-an-unknown-error-occured": "An unknown error occured",
|
||||
"error-boundary-bad-request": "Bad request",
|
||||
"error-boundary-you-are-not-logged-in": "You are not logged in",
|
||||
"error-boundary-you-do-not-have-permission-perform-this-action": "You do not have permission perform this action",
|
||||
"error-boundary-you-do-not-have-permission-perform-this-action": "You do not have permission to perform this action",
|
||||
"error-boundary-page-was-not-found": "Page was not found",
|
||||
"error-boundary-an-unknown-server-error-occured": "An unknown server error occured",
|
||||
"error-boundary-503": "Server is currently unavailable",
|
||||
"error-boundary-500": "An error occurred with unspecified causes, this is most likely due to a techinical issue on our end. Please try refreshing the page. If the issue keeps happening, contact your administrator.",
|
||||
"error-boundary-400": "The request was malformed, fix your request and please try again.",
|
||||
"error-boundary-401": "You are not logged in, please log in to proceed.",
|
||||
"error-boundary-403": "You do not have permission perform this action, if you think this is a mistake, contact your administrator.",
|
||||
"error-boundary-403": "You do not have permission to perform this action, if you think this is a mistake, contact your administrator.",
|
||||
"error-boundary-404": "The page you have requested was not found, please check the URL and try again.",
|
||||
"error-boundary-500-2": "The server was not able to handle your request, this is mostly likely due to a techinical issue on our end. Please try again. If the issue keeps happening, contact your administrator.",
|
||||
"error-boundary-503-2": "The server is temporarily unavailable, and your request could not be processed. Please try again later. If the issue keeps happening, contact your administrator.",
|
||||
|
||||
@@ -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