fix(dashboard): fixed some strings (#6686)

Fixed some strings in the admin dashboard.
This commit is contained in:
Shahed Nasser
2024-03-14 17:43:14 +02:00
committed by GitHub
parent 1a661adf3e
commit 480b4744af
3 changed files with 6 additions and 3 deletions

View File

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

View File

@@ -9,7 +9,7 @@ type DiscountCellProps = {
export const CodeCell = ({ discount }: DiscountCellProps) => {
return (
<div className="flex h-full w-full items-center gap-x-3 overflow-hidden">
{/*// TODO: border color inversion*/}
{/* // TODO: border color inversion*/}
<span className="bg-ui-tag-neutral-bg truncate rounded-md border border-neutral-200 p-1 text-xs">
{discount.code}
</span>
@@ -22,7 +22,7 @@ export const CodeHeader = () => {
return (
<div className=" flex h-full w-full items-center ">
<span>{t("fields.description")}</span>
<span>{t("fields.code")}</span>
</div>
)
}

View File

@@ -325,7 +325,9 @@ export const CreateShippingOptionForm = ({
/>
</Form.Control>
</div>
<Form.Hint>{t("regions.taxInclusiveHint")}</Form.Hint>
<Form.Hint>
{t("regions.shippingOption.taxInclusiveHint")}
</Form.Hint>
<Form.ErrorMessage />
</div>
</Form.Item>