Fix message in voucher view (#2338)

* Fix message

* Extract messages

* Update snapshots
This commit is contained in:
Michał Droń 2022-10-03 11:41:00 +02:00 committed by GitHub
parent 904556f728
commit ed59fe423f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View file

@ -5016,10 +5016,6 @@
"context": "number of products", "context": "number of products",
"string": "Products ({quantity})" "string": "Products ({quantity})"
}, },
"bP7ZLP": {
"context": "voucher discount",
"string": "Entire order"
},
"bPFp8B": { "bPFp8B": {
"context": "product type", "context": "product type",
"string": "Product Type" "string": "Product Type"
@ -7771,6 +7767,10 @@
"context": "voucher requirements, header", "context": "voucher requirements, header",
"string": "Minimum Requirements" "string": "Minimum Requirements"
}, },
"ymo+cm": {
"context": "voucher discount",
"string": "All products"
},
"ypW4Mi": { "ypW4Mi": {
"context": "button refreshing page", "context": "button refreshing page",
"string": "Refresh page" "string": "Refresh page"

View file

@ -3,8 +3,8 @@ import { defineMessages, IntlShape } from "react-intl";
const messages = defineMessages({ const messages = defineMessages({
order: { order: {
id: "bP7ZLP", id: "ymo+cm",
defaultMessage: "Entire order", defaultMessage: "All products",
description: "voucher discount", description: "voucher discount",
}, },
products: { products: {

View file

@ -94324,7 +94324,7 @@ exports[`Storyshots Views / Discounts / Voucher details default 1`] = `
<span <span
class="MuiTypography-root-id MuiFormControlLabel-label-id RadioGroupField-label-id MuiTypography-body1-id" class="MuiTypography-root-id MuiFormControlLabel-label-id RadioGroupField-label-id MuiTypography-body1-id"
> >
Entire order All products
</span> </span>
</label> </label>
<label <label
@ -95390,7 +95390,7 @@ exports[`Storyshots Views / Discounts / Voucher details default 1`] = `
<div <div
class="MuiTypography-root-id MuiTypography-body1-id" class="MuiTypography-root-id MuiTypography-body1-id"
> >
Entire order All products
</div> </div>
<div <div
class="FormSpacer-spacer-id" class="FormSpacer-spacer-id"
@ -96676,7 +96676,7 @@ exports[`Storyshots Views / Discounts / Voucher details form errors 1`] = `
<span <span
class="MuiTypography-root-id MuiFormControlLabel-label-id RadioGroupField-label-id MuiTypography-body1-id" class="MuiTypography-root-id MuiFormControlLabel-label-id RadioGroupField-label-id MuiTypography-body1-id"
> >
Entire order All products
</span> </span>
</label> </label>
<label <label
@ -97757,7 +97757,7 @@ exports[`Storyshots Views / Discounts / Voucher details form errors 1`] = `
<div <div
class="MuiTypography-root-id MuiTypography-body1-id" class="MuiTypography-root-id MuiTypography-body1-id"
> >
Entire order All products
</div> </div>
<div <div
class="FormSpacer-spacer-id" class="FormSpacer-spacer-id"
@ -99055,7 +99055,7 @@ exports[`Storyshots Views / Discounts / Voucher details loading 1`] = `
<span <span
class="MuiTypography-root-id MuiFormControlLabel-label-id RadioGroupField-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id" class="MuiTypography-root-id MuiFormControlLabel-label-id RadioGroupField-label-id MuiFormControlLabel-disabled-id MuiTypography-body1-id"
> >
Entire order All products
</span> </span>
</label> </label>
<label <label