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:
parent
3c3e6f4093
commit
f5f216eca3
8 changed files with 1 additions and 67 deletions
|
@ -3085,9 +3085,6 @@
|
|||
"context": "delete attribute value",
|
||||
"string": "Are you sure you want to delete \"{name}\" value?"
|
||||
},
|
||||
"K+ROF8": {
|
||||
"string": "Channels that don’t have assigned discounts will use their parent channel to define the price. Price will be converted to channel’s currency"
|
||||
},
|
||||
"K+vjtE": {
|
||||
"string": "Search Variants"
|
||||
},
|
||||
|
@ -4691,10 +4688,6 @@
|
|||
"context": "header",
|
||||
"string": "Order settings"
|
||||
},
|
||||
"VvA7ai": {
|
||||
"context": "info text",
|
||||
"string": "Channels that don’t have assigned prices will use their parent channel to define the price. Price will be converted to channel’s 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 won’t 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 don’t have assigned discounts will use their parent channel to define the price. Price will be converted to channel’s currency"
|
||||
},
|
||||
"cfQf0w": {
|
||||
"context": "button",
|
||||
"string": "Create Order"
|
||||
|
@ -7440,9 +7429,6 @@
|
|||
"context": "bulk delete label",
|
||||
"string": "Delete"
|
||||
},
|
||||
"qnPzX7": {
|
||||
"string": "Channels that don’t have assigned discounts will use their parent channel to define the value. Value will be converted to channel’s 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 don’t have assigned discounts will use their parent channel to define the price. Price will be converted to channel’s currency"
|
||||
},
|
||||
"u9/vj9": {
|
||||
"context": "webhook input label",
|
||||
"string": "Target URL"
|
||||
|
|
|
@ -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 don’t have assigned discounts will use their parent channel to define the price. Price will be converted to channel’s currency"
|
||||
description="channels sale info"
|
||||
/>
|
||||
</Typography>
|
||||
</CardContent>
|
||||
<ResponsiveTable className={classes.table}>
|
||||
<colgroup>
|
||||
<col />
|
||||
|
|
|
@ -102,12 +102,6 @@ const VoucherRequirements = ({
|
|||
) && <FormSpacer />}
|
||||
{data.requirementsPicker === RequirementsPicker.ORDER ? (
|
||||
<>
|
||||
<Typography variant="caption">
|
||||
<FormattedMessage
|
||||
id="K+ROF8"
|
||||
defaultMessage="Channels that don’t have assigned discounts will use their parent channel to define the price. Price will be converted to channel’s currency"
|
||||
/>
|
||||
</Typography>
|
||||
<div className={classes.tableContainer}>
|
||||
<ResponsiveTable className={classes.table}>
|
||||
<TableHead
|
||||
|
|
|
@ -67,12 +67,6 @@ const VoucherValue: React.FC<VoucherValueProps> = props => {
|
|||
})}
|
||||
/>
|
||||
<CardContent>
|
||||
<Typography variant="caption">
|
||||
<FormattedMessage
|
||||
id="qnPzX7"
|
||||
defaultMessage="Channels that don’t have assigned discounts will use their parent channel to define the value. Value will be converted to channel’s currency"
|
||||
/>
|
||||
</Typography>
|
||||
<div className={classes.tableContainer}>
|
||||
<ResponsiveTable className={classes.table}>
|
||||
<TableHead colSpan={numberOfColumns} disabled={disabled} items={[]}>
|
||||
|
|
|
@ -10840,4 +10840,4 @@ export type WarehouseDetailsQuery = { __typename: 'Query', warehouse: { __typena
|
|||
export type WarehousesCountQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type WarehousesCountQuery = { __typename: 'Query', warehouses: { __typename: 'WarehouseCountableConnection', totalCount: number | null } | null };
|
||||
export type WarehousesCountQuery = { __typename: 'Query', warehouses: { __typename: 'WarehouseCountableConnection', totalCount: number | null } | null };
|
|
@ -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 don’t have assigned prices will use their parent channel to define the price. Price will be converted to channel’s currency",
|
||||
description: "info text",
|
||||
})}
|
||||
</Text>
|
||||
</DashboardCard.Content>
|
||||
<ResponsiveTable>
|
||||
<TableHead>
|
||||
<TableRowLink>
|
||||
|
|
|
@ -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 don’t have assigned discounts will use their parent channel to define the price. Price will be converted to channel’s currency"
|
||||
description="channels discount info"
|
||||
/>
|
||||
<VerticalSpacer />
|
||||
</div>
|
||||
{orderValueRestricted && (
|
||||
<ResponsiveTable className={classes.table}>
|
||||
|
|
|
@ -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 don’t have assigned prices will use their parent channel to define the price. Price will be converted to channel’s currency",
|
||||
description: "info text",
|
||||
})}
|
||||
</Typography>
|
||||
<ResponsiveTable className={classes.table}>
|
||||
<TableHead colSpan={numberOfColumns} disabled={disabled} items={[]}>
|
||||
<TableCell className={classes.colName}>
|
||||
|
|
Loading…
Reference in a new issue