From 480b4744affcf82c901c2eb5e2466c9ca7d86f51 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 14 Mar 2024 17:43:14 +0200 Subject: [PATCH] fix(dashboard): fixed some strings (#6686) Fixed some strings in the admin dashboard. --- .../dashboard/public/locales/en-US/translation.json | 1 + .../table/table-cells/discount/code-cell/code-cell.tsx | 4 ++-- .../create-shipping-option-form.tsx | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/admin-next/dashboard/public/locales/en-US/translation.json b/packages/admin-next/dashboard/public/locales/en-US/translation.json index 0a92509245..b8cf1c9d1e 100644 --- a/packages/admin-next/dashboard/public/locales/en-US/translation.json +++ b/packages/admin-next/dashboard/public/locales/en-US/translation.json @@ -446,6 +446,7 @@ "adminOnly": "Admin only", "adminOnlyHint": "When enabled the shipping option will only be available in the admin dashboard, and not in the storefront." }, + "taxInclusiveHint": "When enabled, the shipping option's price will be tax inclusive.", "requirements": { "label": "Requirements", "hint": "Specify the requirements for the shipping option." diff --git a/packages/admin-next/dashboard/src/components/table/table-cells/discount/code-cell/code-cell.tsx b/packages/admin-next/dashboard/src/components/table/table-cells/discount/code-cell/code-cell.tsx index b6d0cf4994..76bdea5e8b 100644 --- a/packages/admin-next/dashboard/src/components/table/table-cells/discount/code-cell/code-cell.tsx +++ b/packages/admin-next/dashboard/src/components/table/table-cells/discount/code-cell/code-cell.tsx @@ -9,7 +9,7 @@ type DiscountCellProps = { export const CodeCell = ({ discount }: DiscountCellProps) => { return (
- {/*// TODO: border color inversion*/} + {/* // TODO: border color inversion*/} {discount.code} @@ -22,7 +22,7 @@ export const CodeHeader = () => { return (
- {t("fields.description")} + {t("fields.code")}
) } diff --git a/packages/admin-next/dashboard/src/routes/regions/region-create-shipping-option/components/create-shipping-option-form/create-shipping-option-form.tsx b/packages/admin-next/dashboard/src/routes/regions/region-create-shipping-option/components/create-shipping-option-form/create-shipping-option-form.tsx index 95fdeea225..c322b16a6f 100644 --- a/packages/admin-next/dashboard/src/routes/regions/region-create-shipping-option/components/create-shipping-option-form/create-shipping-option-form.tsx +++ b/packages/admin-next/dashboard/src/routes/regions/region-create-shipping-option/components/create-shipping-option-form/create-shipping-option-form.tsx @@ -325,7 +325,9 @@ export const CreateShippingOptionForm = ({ />
- {t("regions.taxInclusiveHint")} + + {t("regions.shippingOption.taxInclusiveHint")} +