Remove misleading currency caption (#3620)

* Remove misleading voucher value caption

* Remove misleading order value caption

* Remove misleading sale value caption

* Remove misleading pricing card value caption

* Remove misleading variant pricing card value caption

* Extract messages

* Update messages

---------

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
This commit is contained in:
Timur Carpeev 2023-06-06 14:27:30 +02:00 committed by GitHub
parent 3c3e6f4093
commit f5f216eca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1 additions and 67 deletions

View file

@ -3085,9 +3085,6 @@
"context": "delete attribute value",
"string": "Are you sure you want to delete \"{name}\" value?"
},
"K+ROF8": {
"string": "Channels that dont have assigned discounts will use their parent channel to define the price. Price will be converted to channels currency"
},
"K+vjtE": {
"string": "Search Variants"
},
@ -4691,10 +4688,6 @@
"context": "header",
"string": "Order settings"
},
"VvA7ai": {
"context": "info text",
"string": "Channels that dont have assigned prices will use their parent channel to define the price. Price will be converted to channels currency"
},
"VvFJ/T": {
"context": "PageTypeDeleteWarningDialog single no assigned items description",
"string": "Are you sure you want to delete <b>{typeName}</b>? If you remove it you wont be able to assign it to created pages."
@ -5691,10 +5684,6 @@
"cdxwA8": {
"string": "{amount, plural,one {One product out of stock}other {{amount} products out of stock}}"
},
"cehiWu": {
"context": "channels sale info",
"string": "Channels that dont have assigned discounts will use their parent channel to define the price. Price will be converted to channels currency"
},
"cfQf0w": {
"context": "button",
"string": "Create Order"
@ -7440,9 +7429,6 @@
"context": "bulk delete label",
"string": "Delete"
},
"qnPzX7": {
"string": "Channels that dont have assigned discounts will use their parent channel to define the value. Value will be converted to channels currency"
},
"qov29K": {
"context": "dialog content",
"string": "Select one of customer addresses or add a new address:"
@ -7899,10 +7885,6 @@
"context": "independent of any particular day, eg. 11:35",
"string": "Time"
},
"u5c/tR": {
"context": "channels discount info",
"string": "Channels that dont have assigned discounts will use their parent channel to define the price. Price will be converted to channels currency"
},
"u9/vj9": {
"context": "webhook input label",
"string": "Target URL"

View file

@ -8,7 +8,6 @@ import { getFormErrors } from "@dashboard/utils/errors";
import getDiscountErrorMessage from "@dashboard/utils/errors/discounts";
import {
Card,
CardContent,
TableBody,
TableCell,
TableHead,
@ -51,15 +50,6 @@ const SaleValue: React.FC<SaleValueProps> = ({
description: "sale value, header",
})}
/>
<CardContent className={classes.card}>
<Typography variant="caption" className={classes.info}>
<FormattedMessage
id="cehiWu"
defaultMessage="Channels that dont have assigned discounts will use their parent channel to define the price. Price will be converted to channels currency"
description="channels sale info"
/>
</Typography>
</CardContent>
<ResponsiveTable className={classes.table}>
<colgroup>
<col />

View file

@ -102,12 +102,6 @@ const VoucherRequirements = ({
) && <FormSpacer />}
{data.requirementsPicker === RequirementsPicker.ORDER ? (
<>
<Typography variant="caption">
<FormattedMessage
id="K+ROF8"
defaultMessage="Channels that dont have assigned discounts will use their parent channel to define the price. Price will be converted to channels currency"
/>
</Typography>
<div className={classes.tableContainer}>
<ResponsiveTable className={classes.table}>
<TableHead

View file

@ -67,12 +67,6 @@ const VoucherValue: React.FC<VoucherValueProps> = props => {
})}
/>
<CardContent>
<Typography variant="caption">
<FormattedMessage
id="qnPzX7"
defaultMessage="Channels that dont have assigned discounts will use their parent channel to define the value. Value will be converted to channels currency"
/>
</Typography>
<div className={classes.tableContainer}>
<ResponsiveTable className={classes.table}>
<TableHead colSpan={numberOfColumns} disabled={disabled} items={[]}>

View file

@ -83,16 +83,6 @@ export const ProductVariantPrice: React.FC<
description: "product pricing, section header",
})}
</DashboardCard.Title>
<DashboardCard.Content>
<Text variant="body">
{intl.formatMessage({
id: "VvA7ai",
defaultMessage:
"Channels that dont have assigned prices will use their parent channel to define the price. Price will be converted to channels currency",
description: "info text",
})}
</Text>
</DashboardCard.Content>
<ResponsiveTable>
<TableHead>
<TableRowLink>

View file

@ -5,7 +5,6 @@ import PriceField from "@dashboard/components/PriceField";
import ResponsiveTable from "@dashboard/components/ResponsiveTable";
import TableHead from "@dashboard/components/TableHead";
import TableRowLink from "@dashboard/components/TableRowLink";
import VerticalSpacer from "@dashboard/components/VerticalSpacer";
import { ShippingChannelsErrorFragment } from "@dashboard/graphql";
import { ChangeEvent } from "@dashboard/hooks/useForm";
import {
@ -82,13 +81,6 @@ export const OrderValue: React.FC<OrderValueProps> = ({
onChange={onChange}
disabled={disabled}
/>
<VerticalSpacer />
<FormattedMessage
id="u5c/tR"
defaultMessage="Channels that dont have assigned discounts will use their parent channel to define the price. Price will be converted to channels currency"
description="channels discount info"
/>
<VerticalSpacer />
</div>
{orderValueRestricted && (
<ResponsiveTable className={classes.table}>

View file

@ -57,14 +57,6 @@ export const PricingCard: React.FC<PricingCardProps> = ({
})}
/>
<CardContent className={classes.pricingContent}>
<Typography variant="caption" className={classes.caption}>
{intl.formatMessage({
id: "VvA7ai",
defaultMessage:
"Channels that dont have assigned prices will use their parent channel to define the price. Price will be converted to channels currency",
description: "info text",
})}
</Typography>
<ResponsiveTable className={classes.table}>
<TableHead colSpan={numberOfColumns} disabled={disabled} items={[]}>
<TableCell className={classes.colName}>