diff --git a/locale/defaultMessages.json b/locale/defaultMessages.json index 60e8cc9cd..b75ed8344 100644 --- a/locale/defaultMessages.json +++ b/locale/defaultMessages.json @@ -5391,12 +5391,12 @@ "src_dot_shipping_dot_components_dot_ShippingRateInfo_dot_579967655": { "string": "Shipping rate name" }, - "src_dot_shipping_dot_components_dot_ShippingRateZipCodeRangeRemoveDialog_dot_1083561409": { - "string": "Are you sure you want to remove this ZIP-code rule?" + "src_dot_shipping_dot_components_dot_ShippingRateZipCodeRangeRemoveDialog_dot_3640694505": { + "string": "Are you sure you want to remove this postal code rule?" }, - "src_dot_shipping_dot_components_dot_ShippingRateZipCodeRangeRemoveDialog_dot_2944856644": { + "src_dot_shipping_dot_components_dot_ShippingRateZipCodeRangeRemoveDialog_dot_76039652": { "context": "header", - "string": "Remove ZIP-codes from Shipping Rate" + "string": "Remove postal codes from Shipping Rate" }, "src_dot_shipping_dot_components_dot_ShippingWeightUnitForm_dot_2863708228": { "string": "This unit will be used as default shipping weight" @@ -5543,53 +5543,53 @@ "context": "input placeholder", "string": "Select Warehouse" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_1938537617": { - "string": "Please provide range of ZIP codes you want to add to the include/exclude list." + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_3070993206": { + "context": "range input label", + "string": "Postal codes (end)" }, "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_3099331554": { - "context": "add zip code range, button", + "context": "add postal code range, button", "string": "Add" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_3529644799": { + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_3419096551": { "context": "range input label", - "string": "Zip Codes (Start)" + "string": "Postal codes (start)" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_4196919717": { + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_3668595137": { + "string": "Please provide range of postal codes you want to add to the include/exclude list." + }, + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_3849853790": { "context": "dialog header", - "string": "Add ZIP-Codes" + "string": "Add postal codes" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodeRangeDialog_dot_551327109": { - "context": "range input label", - "string": "Zip Codes (End)" + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_1301350004": { + "string": "This shipping rate has no postal codes assigned" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_1462092303": { - "string": "Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate" - }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_1605967697": { + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_1680649143": { "context": "action", - "string": "Exclude ZIP-codes" + "string": "Include postal codes" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_2728850129": { - "string": "Only added ZIP-codes will be able to use this shipping rate" + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_1779803917": { + "string": "Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_2850315665": { - "context": "number of zip code ranges", - "string": "{number} ZIP-Code ranges" - }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_3795380518": { + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_1909179974": { "context": "button", - "string": "Add ZIP-Code range" + "string": "Add postal code range" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_4288715411": { - "string": "This shipping rate has no ZIP-codes assigned" + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_2274108851": { + "context": "number of postal code ranges", + "string": "{number} postal code ranges" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_529495587": { + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_2965119249": { + "string": "Only added postal codes will be able to use this shipping rate" + }, + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_3782353530": { "context": "postal codes, header", - "string": "ZIP-Codes" + "string": "Postal codes" }, - "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_671838332": { + "src_dot_shipping_dot_components_dot_ShippingZoneZipCodes_dot_399764149": { "context": "action", - "string": "Include ZIP-codes" + "string": "Exclude postal codes" }, "src_dot_shipping_dot_components_dot_ShippingZonesListPage_dot_1325966144": { "context": "header", @@ -5647,13 +5647,13 @@ "src_dot_shipping_dot_views_dot_PriceRatesCreate_dot_3823295269": { "string": "Manage Channel Availability" }, - "src_dot_shipping_dot_views_dot_PriceRatesUpdate_dot_2710215007": { - "context": "zip code range add error text", - "string": "Cannot add specified zip codes range." - }, "src_dot_shipping_dot_views_dot_PriceRatesUpdate_dot_3823295269": { "string": "Manage Channel Availability" }, + "src_dot_shipping_dot_views_dot_PriceRatesUpdate_dot_4243341946": { + "context": "postal code range add error text", + "string": "Cannot add specified postal codes range." + }, "src_dot_shipping_dot_views_dot_PriceRatesUpdate_dot_870815507": { "context": "unassign products from shipping method, button", "string": "Unassign" @@ -5673,13 +5673,13 @@ "src_dot_shipping_dot_views_dot_WeightRatesCreate_dot_3014453080": { "string": "Manage Channels Availability" }, - "src_dot_shipping_dot_views_dot_WeightRatesUpdate_dot_2710215007": { - "context": "zip code range add error text", - "string": "Cannot add specified zip codes range." - }, "src_dot_shipping_dot_views_dot_WeightRatesUpdate_dot_3014453080": { "string": "Manage Channels Availability" }, + "src_dot_shipping_dot_views_dot_WeightRatesUpdate_dot_4243341946": { + "context": "postal code range add error text", + "string": "Cannot add specified postal codes range." + }, "src_dot_shipping_dot_views_dot_WeightRatesUpdate_dot_870815507": { "context": "unassign products from shipping method, button", "string": "Unassign" diff --git a/src/shipping/components/ShippingRateZipCodeRangeRemoveDialog/ShippingRateZipCodeRangeRemoveDialog.tsx b/src/shipping/components/ShippingRateZipCodeRangeRemoveDialog/ShippingRateZipCodeRangeRemoveDialog.tsx index be3fe0e48..f04e41163 100644 --- a/src/shipping/components/ShippingRateZipCodeRangeRemoveDialog/ShippingRateZipCodeRangeRemoveDialog.tsx +++ b/src/shipping/components/ShippingRateZipCodeRangeRemoveDialog/ShippingRateZipCodeRangeRemoveDialog.tsx @@ -25,13 +25,13 @@ const ShippingRateZipCodeRangeRemoveDialog: React.FC - + ); diff --git a/src/shipping/components/ShippingZoneZipCodeRangeDialog/ShippingZoneZipCodeRangeDialog.stories.tsx b/src/shipping/components/ShippingZoneZipCodeRangeDialog/ShippingZoneZipCodeRangeDialog.stories.tsx index 3b60e7ce8..84825d06c 100644 --- a/src/shipping/components/ShippingZoneZipCodeRangeDialog/ShippingZoneZipCodeRangeDialog.stories.tsx +++ b/src/shipping/components/ShippingZoneZipCodeRangeDialog/ShippingZoneZipCodeRangeDialog.stories.tsx @@ -4,7 +4,7 @@ import React from "react"; import ShippingZoneZipCodeRangeDialog from "./ShippingZoneZipCodeRangeDialog"; -storiesOf("Shipping / Add zip code range", module) +storiesOf("Shipping / Add postal code range", module) .addDecorator(Decorator) .add("default", () => ( @@ -59,12 +59,12 @@ const ShippingZoneZipCodeRangeDialog: React.FC - + diff --git a/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx b/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx index b4affd758..9ebf34f16 100644 --- a/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx +++ b/src/shipping/components/ShippingZoneZipCodes/ShippingZoneZipCodes.tsx @@ -81,7 +81,7 @@ const ShippingZoneZipCodes: React.FC = ({ = ({ data-test="add-zip-code-range" > @@ -106,12 +106,12 @@ const ShippingZoneZipCodes: React.FC = ({
- +
), @@ -123,12 +123,12 @@ const ShippingZoneZipCodes: React.FC = ({
- +
), @@ -155,8 +155,8 @@ const ShippingZoneZipCodes: React.FC = ({ ) : ( = ({ - + diff --git a/src/shipping/views/PriceRatesUpdate/PriceRatesUpdate.tsx b/src/shipping/views/PriceRatesUpdate/PriceRatesUpdate.tsx index 1d9c38299..010cbb8bd 100644 --- a/src/shipping/views/PriceRatesUpdate/PriceRatesUpdate.tsx +++ b/src/shipping/views/PriceRatesUpdate/PriceRatesUpdate.tsx @@ -125,8 +125,8 @@ export const PriceRatesUpdate: React.FC = ({ notify({ status: "error", text: intl.formatMessage({ - defaultMessage: "Cannot add specified zip codes range.", - description: "zip code range add error text" + defaultMessage: "Cannot add specified postal codes range.", + description: "postal code range add error text" }) }); } diff --git a/src/shipping/views/WeightRatesUpdate/WeightRatesUpdate.tsx b/src/shipping/views/WeightRatesUpdate/WeightRatesUpdate.tsx index 15153165b..53193e688 100644 --- a/src/shipping/views/WeightRatesUpdate/WeightRatesUpdate.tsx +++ b/src/shipping/views/WeightRatesUpdate/WeightRatesUpdate.tsx @@ -186,8 +186,8 @@ export const WeightRatesUpdate: React.FC = ({ notify({ status: "error", text: intl.formatMessage({ - defaultMessage: "Cannot add specified zip codes range.", - description: "zip code range add error text" + defaultMessage: "Cannot add specified postal codes range.", + description: "postal code range add error text" }) }); } diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 47edea729..0066ea8c4 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -13623,7 +13623,7 @@ exports[`Storyshots Product types / ProductTypeDeleteDialog default 1`] = ` exports[`Storyshots Products / ProductVariantImageSelectDialog default 1`] = `null`; -exports[`Storyshots Shipping / Add zip code range default 1`] = ` +exports[`Storyshots Shipping / Add postal code range default 1`] = `
@@ -15817,7 +15817,7 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create price 1`] - ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -15906,12 +15906,12 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create price 1`]
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -15972,12 +15972,12 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create price 1`]
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -16010,7 +16010,7 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create price 1`]
- 2 ZIP-Code ranges + 2 postal code ranges
- ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -16729,12 +16729,12 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create weight 1`
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -16795,12 +16795,12 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create weight 1`
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -16833,7 +16833,7 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page create weight 1`
- 2 ZIP-Code ranges + 2 postal code ranges
- ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -17594,12 +17594,12 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page loading 1`] = `
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -17660,12 +17660,12 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page loading 1`] = `
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -17698,7 +17698,7 @@ exports[`Storyshots Shipping / ShippingZoneRatesCreatePage page loading 1`] = `
- 2 ZIP-Code ranges + 2 postal code ranges
- ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -204064,12 +204064,12 @@ exports[`Storyshots Views / Shipping / Shipping rate create price rate 1`] = `
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -204129,12 +204129,12 @@ exports[`Storyshots Views / Shipping / Shipping rate create price rate 1`] = `
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -204167,7 +204167,7 @@ exports[`Storyshots Views / Shipping / Shipping rate create price rate 1`] = `
- 3 ZIP-Code ranges + 3 postal code ranges
- ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -205242,12 +205242,12 @@ exports[`Storyshots Views / Shipping / Shipping rate create weight rate 1`] = `
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -205307,12 +205307,12 @@ exports[`Storyshots Views / Shipping / Shipping rate create weight rate 1`] = `
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -205345,7 +205345,7 @@ exports[`Storyshots Views / Shipping / Shipping rate create weight rate 1`] = `
- 3 ZIP-Code ranges + 3 postal code ranges
- ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -206519,12 +206519,12 @@ exports[`Storyshots Views / Shipping / Shipping rate loading 1`] = `
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -206584,12 +206584,12 @@ exports[`Storyshots Views / Shipping / Shipping rate loading 1`] = `
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -207591,7 +207591,7 @@ exports[`Storyshots Views / Shipping / Shipping rate update price rate 1`] = ` - ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -207681,12 +207681,12 @@ exports[`Storyshots Views / Shipping / Shipping rate update price rate 1`] = `
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -207746,12 +207746,12 @@ exports[`Storyshots Views / Shipping / Shipping rate update price rate 1`] = `
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -207784,7 +207784,7 @@ exports[`Storyshots Views / Shipping / Shipping rate update price rate 1`] = `
- 3 ZIP-Code ranges + 3 postal code ranges
- ZIP-Codes + Postal codes
- Add ZIP-Code range + Add postal code range
@@ -208943,12 +208943,12 @@ exports[`Storyshots Views / Shipping / Shipping rate update weight rate 1`] = `
- Exclude ZIP-codes + Exclude postal codes
- Added ZIP-codes will be excluded from using this delivery methods. If none are added all ZIP-Codes will be able to use that shipping rate + Added postal codes will be excluded from using this delivery methods. If none are added all postal codes will be able to use that shipping rate
@@ -209008,12 +209008,12 @@ exports[`Storyshots Views / Shipping / Shipping rate update weight rate 1`] = `
- Include ZIP-codes + Include postal codes
- Only added ZIP-codes will be able to use this shipping rate + Only added postal codes will be able to use this shipping rate
@@ -209046,7 +209046,7 @@ exports[`Storyshots Views / Shipping / Shipping rate update weight rate 1`] = `
- 3 ZIP-Code ranges + 3 postal code ranges