
* Minor fixes for intl messages * Add esbuild-loader * switch from babel to esbuild-loader * use formatjs enforce-id linter * Generate ids for intl messages * id format defined by idInterpolationPattern * Modify intl messages extraction * remove react-intl-translations-manager * remove transpile-tx.js * use formatjs cli * Modify defaultMessages.json * modify ids in defaultMessages.json with defined idInterpolationPattern * Fix errors * Fix page crash * Use babel to transpile tests * Fix useStateFromProps * Improve render count * Add test to useStateFromProps * Fix reloading state buh * Do not check if form with channels is dirty * Stop blocking save if form has not changed * Remove debug code * Fix form disabling * Fix variant selection checkbox onClick * Update translations * Update messages * Use esbuild to build storybook Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
26 lines
833 B
TypeScript
26 lines
833 B
TypeScript
import { defineMessages } from "react-intl";
|
|
|
|
export const messages = defineMessages({
|
|
sectionCheckoutTitle: {
|
|
id: "DASYUF",
|
|
defaultMessage: "Checkout Configuration",
|
|
description: "section title"
|
|
},
|
|
sectionCheckoutDescription: {
|
|
id: "Av74Fa",
|
|
defaultMessage:
|
|
"You can set basic checkout rules that will be applied globally to all your channels",
|
|
description: "section description"
|
|
},
|
|
sectionCompanyTitle: {
|
|
id: "rPX1f2",
|
|
defaultMessage: "Company Information",
|
|
description: "section title"
|
|
},
|
|
sectionCompanyDescription: {
|
|
id: "pRYGUR",
|
|
defaultMessage:
|
|
"This address will be used to generate invoices and calculate shipping rates. Email address you provide here will be used as a contact address for your customers.",
|
|
description: "section description"
|
|
}
|
|
});
|