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

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

No files matched your search

@@ -446,6 +446,7 @@
"adminOnly": "Admin only", "adminOnly": "Admin only",
"adminOnlyHint": "When enabled the shipping option will only be available in the admin dashboard, and not in the storefront." "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": { "requirements": {
"label": "Requirements", "label": "Requirements",
"hint": "Specify the requirements for the shipping option." "hint": "Specify the requirements for the shipping option."
@@ -9,7 +9,7 @@ type DiscountCellProps = {
export const CodeCell = ({ discount }: DiscountCellProps) => { export const CodeCell = ({ discount }: DiscountCellProps) => {
return ( return (
<div className="flex h-full w-full items-center gap-x-3 overflow-hidden"> <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"> <span className="bg-ui-tag-neutral-bg truncate rounded-md border border-neutral-200 p-1 text-xs">
{discount.code} {discount.code}
</span> </span>
@@ -22,7 +22,7 @@ export const CodeHeader = () => {
return ( return (
<div className=" flex h-full w-full items-center "> <div className=" flex h-full w-full items-center ">
<span>{t("fields.description")}</span> <span>{t("fields.code")}</span>
</div> </div>
) )
} }
@@ -325,7 +325,9 @@ export const CreateShippingOptionForm = ({
/> />
</Form.Control> </Form.Control>
</div> </div>
<Form.Hint>{t("regions.taxInclusiveHint")}</Form.Hint> <Form.Hint>
{t("regions.shippingOption.taxInclusiveHint")}
</Form.Hint>
<Form.ErrorMessage /> <Form.ErrorMessage />
</div> </div>
</Form.Item> </Form.Item>