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:
Geoffroy Empain
2023-09-22 13:56:14 +02:00
committed by GitHub
parent f1512605d2
commit a560e5da29
2 changed files with 4 additions and 4 deletions

View File

@@ -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",