From ba1c06d9997b358bc5c231b53ab9c5c2052a692c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Choi=C5=84ski?= Date: Tue, 24 Nov 2020 14:18:22 +0100 Subject: [PATCH] Fix wrong placeholder text (#856) --- locale/defaultMessages.json | 4 ++-- .../ShippingZoneInfo/ShippingZoneInfo.tsx | 2 +- .../__snapshots__/Stories.test.ts.snap | 22 +++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/locale/defaultMessages.json b/locale/defaultMessages.json index 85964da77..4eb5d12f6 100644 --- a/locale/defaultMessages.json +++ b/locale/defaultMessages.json @@ -5201,8 +5201,8 @@ "src_dot_shipping_dot_components_dot_ShippingZoneDetailsPage_dot_4270729636": { "string": "This is default shipping zone, which means that it covers all of the countries which are not assigned to other shipping zones" }, - "src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_1109610983": { - "string": "Shipping Zone Name" + "src_dot_shipping_dot_components_dot_ShippingZoneInfo_dot_579967655": { + "string": "Shipping rate name" }, "src_dot_shipping_dot_components_dot_ShippingZoneRatesPage_dot_1161979494": { "context": "page title", diff --git a/src/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsx b/src/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsx index ffca78e2a..a3e5ea9fe 100644 --- a/src/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsx +++ b/src/shipping/components/ShippingZoneInfo/ShippingZoneInfo.tsx @@ -38,7 +38,7 @@ const ShippingZoneInfo: React.FC = ({ fullWidth helperText={getShippingErrorMessage(formErrors.name, intl)} label={intl.formatMessage({ - defaultMessage: "Shipping Zone Name" + defaultMessage: "Shipping rate name" })} name="name" value={data.name} diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 89314b54c..084b7c848 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -13685,7 +13685,7 @@ exports[`Storyshots Shipping / ShippingZoneRates page default price 1`] = ` class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id" data-shrink="false" > - Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name
- Shipping Zone Name + Shipping rate name