Improve copy
This commit is contained in:
parent
fa46ebf6e9
commit
88819f0067
7 changed files with 142 additions and 124 deletions
|
@ -1,6 +1,6 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"POT-Creation-Date: 2019-11-26T14:15:31.985Z\n"
|
"POT-Creation-Date: 2019-11-26T14:34:48.426Z\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -159,14 +159,6 @@ msgctxt "dialog title"
|
||||||
msgid "Add Address"
|
msgid "Add Address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
|
||||||
#. [src.components.Navigator.modes.addCategory] - button
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Add Category
|
|
||||||
msgctxt "button"
|
|
||||||
msgid "Add Category"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/collections/components/CollectionCreatePage/CollectionCreatePage.json
|
#: build/locale/src/collections/components/CollectionCreatePage/CollectionCreatePage.json
|
||||||
#. [src.collections.components.CollectionCreatePage.951411809] - page header
|
#. [src.collections.components.CollectionCreatePage.951411809] - page header
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -175,30 +167,6 @@ msgctxt "page header"
|
||||||
msgid "Add Collection"
|
msgid "Add Collection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
|
||||||
#. [src.components.Navigator.modes.addCollection] - button
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Add Collection
|
|
||||||
msgctxt "button"
|
|
||||||
msgid "Add Collection"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
|
||||||
#. [src.components.Navigator.modes.addCustomer] - button
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Add Customer
|
|
||||||
msgctxt "button"
|
|
||||||
msgid "Add Customer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/customers/components/CustomerCreatePage/CustomerCreatePage.json
|
|
||||||
#. [src.customers.components.CustomerCreatePage.2622255457] - page header
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Add Customer
|
|
||||||
msgctxt "page header"
|
|
||||||
msgid "Add Customer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/components/Filter/Filter.json
|
#: build/locale/src/components/Filter/Filter.json
|
||||||
#. [src.components.Filter.2852521946] - button
|
#. [src.components.Filter.2852521946] - button
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -239,14 +207,6 @@ msgctxt "dialog header"
|
||||||
msgid "Add Price Rate"
|
msgid "Add Price Rate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
|
||||||
#. [src.components.Navigator.modes.addProduct] - button
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Add Product
|
|
||||||
msgctxt "button"
|
|
||||||
msgid "Add Product"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.json
|
#: build/locale/src/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.json
|
||||||
#. [src.orders.components.OrderFulfillmentTrackingDialog.606831229] - dialog header
|
#. [src.orders.components.OrderFulfillmentTrackingDialog.606831229] - dialog header
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -271,14 +231,6 @@ msgctxt "header"
|
||||||
msgid "Add Value to Authorization Field"
|
msgid "Add Value to Authorization Field"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
|
||||||
#. [src.components.Navigator.modes.addVoucher] - button
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Add Voucher
|
|
||||||
msgctxt "button"
|
|
||||||
msgid "Add Voucher"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/shipping/components/ShippingZoneRateDialog/ShippingZoneRateDialog.json
|
#: build/locale/src/shipping/components/ShippingZoneRateDialog/ShippingZoneRateDialog.json
|
||||||
#. [src.shipping.components.ShippingZoneRateDialog.1397795758] - add weight based shipping method, dialog header
|
#. [src.shipping.components.ShippingZoneRateDialog.1397795758] - add weight based shipping method, dialog header
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -303,14 +255,6 @@ msgctxt "button"
|
||||||
msgid "Add authentication"
|
msgid "Add authentication"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/customers/components/CustomerListPage/CustomerListPage.json
|
|
||||||
#. [src.customers.components.CustomerListPage.1934221653] - button
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Add customer
|
|
||||||
msgctxt "button"
|
|
||||||
msgid "Add customer"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/components/Filter/FilterContent.json
|
#: build/locale/src/components/Filter/FilterContent.json
|
||||||
#. [src.components.Filter.2851720415] - button
|
#. [src.components.Filter.2851720415] - button
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -1840,13 +1784,9 @@ msgid "Categories ({quantity})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
#. [src.components.Navigator.modes.category] - catalog item type
|
#. [src.components.Navigator.modes.category]
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
#. Category
|
#. Category
|
||||||
msgctxt "catalog item type"
|
|
||||||
msgid "Category"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/products/components/ProductCategoryAndCollectionsForm/ProductCategoryAndCollectionsForm.json
|
#: build/locale/src/products/components/ProductCategoryAndCollectionsForm/ProductCategoryAndCollectionsForm.json
|
||||||
#. [src.products.components.ProductCategoryAndCollectionsForm.1755013298]
|
#. [src.products.components.ProductCategoryAndCollectionsForm.1755013298]
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -2012,10 +1952,10 @@ msgid "Code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
#. [src.components.Navigator.modes.collection] - catalog item type
|
#. [src.components.Navigator.modes.collection]
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
#. Collection
|
#. Collection
|
||||||
msgctxt "catalog item type"
|
msgctxt "description"
|
||||||
msgid "Collection"
|
msgid "Collection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2399,6 +2339,38 @@ msgctxt "create service token, button"
|
||||||
msgid "Create"
|
msgid "Create"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
|
#. [src.components.Navigator.modes.createCategory] - button
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Create Category
|
||||||
|
msgctxt "button"
|
||||||
|
msgid "Create Category"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
|
#. [src.components.Navigator.modes.createCollection] - button
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Create Collection
|
||||||
|
msgctxt "button"
|
||||||
|
msgid "Create Collection"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
|
#. [src.components.Navigator.modes.createCustomer] - button
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Create Customer
|
||||||
|
msgctxt "button"
|
||||||
|
msgid "Create Customer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/customers/components/CustomerCreatePage/CustomerCreatePage.json
|
||||||
|
#. [src.customers.components.CustomerCreatePage.4025686004] - page header
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Create Customer
|
||||||
|
msgctxt "page header"
|
||||||
|
msgid "Create Customer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/navigation/components/MenuCreateDialog/MenuCreateDialog.json
|
#: build/locale/src/navigation/components/MenuCreateDialog/MenuCreateDialog.json
|
||||||
#. [menuCreateDialogHeader] - dialog header
|
#. [menuCreateDialogHeader] - dialog header
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -2471,14 +2443,10 @@ msgctxt "header"
|
||||||
msgid "Create Page"
|
msgid "Create Page"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/orders/components/OrderProductAddDialog/OrderProductAddDialog.json
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
#. [src.orders.components.OrderProductAddDialog.1542417144] - dialog header
|
#. [src.components.Navigator.modes.createProduct] - button
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
#. Create Product
|
#. Create Product
|
||||||
msgctxt "dialog header"
|
|
||||||
msgid "Create Product"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/products/components/ProductListPage/ProductListPage.json
|
#: build/locale/src/products/components/ProductListPage/ProductListPage.json
|
||||||
#. [src.products.components.ProductListPage.1542417144] - button
|
#. [src.products.components.ProductListPage.1542417144] - button
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -2487,6 +2455,14 @@ msgctxt "button"
|
||||||
msgid "Create Product"
|
msgid "Create Product"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/orders/components/OrderProductAddDialog/OrderProductAddDialog.json
|
||||||
|
#. [src.orders.components.OrderProductAddDialog.1542417144] - dialog header
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Create Product
|
||||||
|
msgctxt "dialog header"
|
||||||
|
msgid "Create Product"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/products/views/ProductCreate.json
|
#: build/locale/src/products/views/ProductCreate.json
|
||||||
#. [src.products.views.1542417144] - window title
|
#. [src.products.views.1542417144] - window title
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -2559,6 +2535,14 @@ msgctxt "header"
|
||||||
msgid "Create Variant"
|
msgid "Create Variant"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
|
#. [src.components.Navigator.modes.createVoucher] - button
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Create Voucher
|
||||||
|
msgctxt "button"
|
||||||
|
msgid "Create Voucher"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/discounts/components/VoucherCreatePage/VoucherCreatePage.json
|
#: build/locale/src/discounts/components/VoucherCreatePage/VoucherCreatePage.json
|
||||||
#. [src.discounts.components.VoucherCreatePage.1357216572] - page header
|
#. [src.discounts.components.VoucherCreatePage.1357216572] - page header
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -2631,6 +2615,14 @@ msgctxt "window title"
|
||||||
msgid "Create collection"
|
msgid "Create collection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/customers/components/CustomerListPage/CustomerListPage.json
|
||||||
|
#. [src.customers.components.CustomerListPage.2859116187] - button
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Create customer
|
||||||
|
msgctxt "button"
|
||||||
|
msgid "Create customer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/customers/views/CustomerCreate.json
|
#: build/locale/src/customers/views/CustomerCreate.json
|
||||||
#. [src.customers.views.2859116187] - window title
|
#. [src.customers.views.2859116187] - window title
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -6376,13 +6368,9 @@ msgid "Primary Address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/modes/messages.json
|
#: build/locale/src/components/Navigator/modes/messages.json
|
||||||
#. [src.components.Navigator.modes.product] - catalog item type
|
#. [src.components.Navigator.modes.product]
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
#. Product
|
#. Product
|
||||||
msgctxt "catalog item type"
|
|
||||||
msgid "Product"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/orders/components/OrderDraftDetailsProducts/OrderDraftDetailsProducts.json
|
#: build/locale/src/orders/components/OrderDraftDetailsProducts/OrderDraftDetailsProducts.json
|
||||||
#. [src.orders.components.OrderDraftDetailsProducts.1895667608]
|
#. [src.orders.components.OrderDraftDetailsProducts.1895667608]
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -7207,6 +7195,14 @@ msgctxt "description"
|
||||||
msgid "Search Countries"
|
msgid "Search Countries"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/components/Navigator/NavigatorInput.json
|
||||||
|
#. [src.components.Navigator.1643417013] - navigator placeholder
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Search Customer
|
||||||
|
msgctxt "navigator placeholder"
|
||||||
|
msgid "Search Customer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/customers/components/CustomerListPage/CustomerListPage.json
|
#: build/locale/src/customers/components/CustomerListPage/CustomerListPage.json
|
||||||
#. [src.customers.components.CustomerListPage.1643417013]
|
#. [src.customers.components.CustomerListPage.1643417013]
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -7515,6 +7511,14 @@ msgctxt "navigator section header"
|
||||||
msgid "Search in Catalog"
|
msgid "Search in Catalog"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/components/Navigator/NavigatorInput.json
|
||||||
|
#. [src.components.Navigator.2935523260] - navigator placeholder
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Search in Catalog
|
||||||
|
msgctxt "navigator placeholder"
|
||||||
|
msgid "Search in Catalog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/Navigator.json
|
#: build/locale/src/components/Navigator/Navigator.json
|
||||||
#. [src.components.Navigator.1809988825] - navigator section header
|
#. [src.components.Navigator.1809988825] - navigator section header
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -8823,6 +8827,14 @@ msgctxt "product type name"
|
||||||
msgid "Type Name"
|
msgid "Type Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: build/locale/src/components/Navigator/NavigatorInput.json
|
||||||
|
#. [src.components.Navigator.2874620973] - navigator placeholder
|
||||||
|
#. defaultMessage is:
|
||||||
|
#. Type {key} to see available actions
|
||||||
|
msgctxt "navigator placeholder"
|
||||||
|
msgid "Type {key} to see available actions"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/pages/components/PageSlug/PageSlug.json
|
#: build/locale/src/pages/components/PageSlug/PageSlug.json
|
||||||
#. [src.pages.components.PageSlug.1324178587]
|
#. [src.pages.components.PageSlug.1324178587]
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
@ -9139,14 +9151,6 @@ msgctxt "voucher value requirement"
|
||||||
msgid "Usage Limit"
|
msgid "Usage Limit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/components/Navigator/NavigatorInput.json
|
|
||||||
#. [src.components.Navigator.3921504214] - navigator placeholder
|
|
||||||
#. defaultMessage is:
|
|
||||||
#. Use Navigator to move through Saleor
|
|
||||||
msgctxt "navigator placeholder"
|
|
||||||
msgid "Use Navigator to move through Saleor"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: build/locale/src/attributes/components/AttributeProperties/AttributeProperties.json
|
#: build/locale/src/attributes/components/AttributeProperties/AttributeProperties.json
|
||||||
#. [src.attributes.components.AttributeProperties.1318123158] - attribute is filterable in storefront
|
#. [src.attributes.components.AttributeProperties.1318123158] - attribute is filterable in storefront
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
|
|
|
@ -78,10 +78,27 @@ const NavigatorInput = React.forwardRef<HTMLInputElement, NavigatorInputProps>(
|
||||||
defaultMessage: "Type Command",
|
defaultMessage: "Type Command",
|
||||||
description: "navigator placeholder"
|
description: "navigator placeholder"
|
||||||
})
|
})
|
||||||
: intl.formatMessage({
|
: mode === "catalog"
|
||||||
defaultMessage: "Use Navigator to move through Saleor",
|
? intl.formatMessage({
|
||||||
|
defaultMessage: "Search in Catalog",
|
||||||
description: "navigator placeholder"
|
description: "navigator placeholder"
|
||||||
})
|
})
|
||||||
|
: mode === "customers"
|
||||||
|
? intl.formatMessage({
|
||||||
|
defaultMessage: "Search Customer",
|
||||||
|
description: "navigator placeholder"
|
||||||
|
})
|
||||||
|
: mode === "default"
|
||||||
|
? intl.formatMessage(
|
||||||
|
{
|
||||||
|
defaultMessage: "Type {key} to see available actions",
|
||||||
|
description: "navigator placeholder"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "'?'"
|
||||||
|
}
|
||||||
|
)
|
||||||
|
: null
|
||||||
}
|
}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|
|
@ -29,35 +29,35 @@ export function searchInCommands(
|
||||||
): QuickSearchActionInput[] {
|
): QuickSearchActionInput[] {
|
||||||
const actions: Command[] = [
|
const actions: Command[] = [
|
||||||
{
|
{
|
||||||
label: intl.formatMessage(messages.addCategory),
|
label: intl.formatMessage(messages.createCategory),
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
navigate(categoryAddUrl());
|
navigate(categoryAddUrl());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: intl.formatMessage(messages.addCollection),
|
label: intl.formatMessage(messages.createCollection),
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
navigate(collectionAddUrl);
|
navigate(collectionAddUrl);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: intl.formatMessage(messages.addProduct),
|
label: intl.formatMessage(messages.createProduct),
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
navigate(productAddUrl);
|
navigate(productAddUrl);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: intl.formatMessage(messages.addCustomer),
|
label: intl.formatMessage(messages.createCustomer),
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
navigate(customerAddUrl);
|
navigate(customerAddUrl);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: intl.formatMessage(messages.addVoucher),
|
label: intl.formatMessage(messages.createVoucher),
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
navigate(voucherAddUrl);
|
navigate(voucherAddUrl);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -1,33 +1,11 @@
|
||||||
import { defineMessages } from "react-intl";
|
import { defineMessages } from "react-intl";
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
addCategory: {
|
|
||||||
defaultMessage: "Add Category",
|
|
||||||
description: "button"
|
|
||||||
},
|
|
||||||
addCollection: {
|
|
||||||
defaultMessage: "Add Collection",
|
|
||||||
description: "button"
|
|
||||||
},
|
|
||||||
addCustomer: {
|
|
||||||
defaultMessage: "Add Customer",
|
|
||||||
description: "button"
|
|
||||||
},
|
|
||||||
addProduct: {
|
|
||||||
defaultMessage: "Add Product",
|
|
||||||
description: "button"
|
|
||||||
},
|
|
||||||
addVoucher: {
|
|
||||||
defaultMessage: "Add Voucher",
|
|
||||||
description: "button"
|
|
||||||
},
|
|
||||||
category: {
|
category: {
|
||||||
defaultMessage: "Category",
|
defaultMessage: "Category"
|
||||||
description: "catalog item type"
|
|
||||||
},
|
},
|
||||||
collection: {
|
collection: {
|
||||||
defaultMessage: "Collection",
|
defaultMessage: "Collection"
|
||||||
description: "catalog item type"
|
|
||||||
},
|
},
|
||||||
collectionPublished: {
|
collectionPublished: {
|
||||||
defaultMessage: "Published",
|
defaultMessage: "Published",
|
||||||
|
@ -37,10 +15,30 @@ const messages = defineMessages({
|
||||||
defaultMessage: "Not Published",
|
defaultMessage: "Not Published",
|
||||||
description: "collection"
|
description: "collection"
|
||||||
},
|
},
|
||||||
|
createCategory: {
|
||||||
|
defaultMessage: "Create Category",
|
||||||
|
description: "button"
|
||||||
|
},
|
||||||
|
createCollection: {
|
||||||
|
defaultMessage: "Create Collection",
|
||||||
|
description: "button"
|
||||||
|
},
|
||||||
|
createCustomer: {
|
||||||
|
defaultMessage: "Create Customer",
|
||||||
|
description: "button"
|
||||||
|
},
|
||||||
createOrder: {
|
createOrder: {
|
||||||
defaultMessage: "Create Order",
|
defaultMessage: "Create Order",
|
||||||
description: "button"
|
description: "button"
|
||||||
},
|
},
|
||||||
|
createProduct: {
|
||||||
|
defaultMessage: "Create Product",
|
||||||
|
description: "button"
|
||||||
|
},
|
||||||
|
createVoucher: {
|
||||||
|
defaultMessage: "Create Voucher",
|
||||||
|
description: "button"
|
||||||
|
},
|
||||||
customerWithName: {
|
customerWithName: {
|
||||||
defaultMessage: "{firstName} {lastName}"
|
defaultMessage: "{firstName} {lastName}"
|
||||||
},
|
},
|
||||||
|
@ -76,8 +74,7 @@ const messages = defineMessages({
|
||||||
defaultMessage: "No Results"
|
defaultMessage: "No Results"
|
||||||
},
|
},
|
||||||
product: {
|
product: {
|
||||||
defaultMessage: "Product",
|
defaultMessage: "Product"
|
||||||
description: "catalog item type"
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -150,7 +150,7 @@ const CustomerCreatePage: React.FC<CustomerCreatePageProps> = ({
|
||||||
</AppHeader>
|
</AppHeader>
|
||||||
<PageHeader
|
<PageHeader
|
||||||
title={intl.formatMessage({
|
title={intl.formatMessage({
|
||||||
defaultMessage: "Add Customer",
|
defaultMessage: "Create Customer",
|
||||||
description: "page header"
|
description: "page header"
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -50,7 +50,7 @@ const CustomerListPage: React.FC<CustomerListPageProps> = ({
|
||||||
onClick={onAdd}
|
onClick={onAdd}
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="Add customer"
|
defaultMessage="Create customer"
|
||||||
description="button"
|
description="button"
|
||||||
/>
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
@ -29700,7 +29700,7 @@ exports[`Storyshots Views / Customers / Create customer default 1`] = `
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id makeStyles-title-id MuiTypography-h5-id"
|
class="MuiTypography-root-id makeStyles-title-id MuiTypography-h5-id"
|
||||||
>
|
>
|
||||||
Add Customer
|
Create Customer
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ExtendedPageHeader-action-id"
|
class="ExtendedPageHeader-action-id"
|
||||||
|
@ -30406,7 +30406,7 @@ exports[`Storyshots Views / Customers / Create customer form errors 1`] = `
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id makeStyles-title-id MuiTypography-h5-id"
|
class="MuiTypography-root-id makeStyles-title-id MuiTypography-h5-id"
|
||||||
>
|
>
|
||||||
Add Customer
|
Create Customer
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ExtendedPageHeader-action-id"
|
class="ExtendedPageHeader-action-id"
|
||||||
|
@ -31172,7 +31172,7 @@ exports[`Storyshots Views / Customers / Create customer loading 1`] = `
|
||||||
<div
|
<div
|
||||||
class="MuiTypography-root-id makeStyles-title-id MuiTypography-h5-id"
|
class="MuiTypography-root-id makeStyles-title-id MuiTypography-h5-id"
|
||||||
>
|
>
|
||||||
Add Customer
|
Create Customer
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ExtendedPageHeader-action-id"
|
class="ExtendedPageHeader-action-id"
|
||||||
|
@ -36701,7 +36701,7 @@ exports[`Storyshots Views / Customers / Customer list default 1`] = `
|
||||||
<span
|
<span
|
||||||
class="MuiButton-label-id"
|
class="MuiButton-label-id"
|
||||||
>
|
>
|
||||||
Add customer
|
Create customer
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -37802,7 +37802,7 @@ exports[`Storyshots Views / Customers / Customer list loading 1`] = `
|
||||||
<span
|
<span
|
||||||
class="MuiButton-label-id"
|
class="MuiButton-label-id"
|
||||||
>
|
>
|
||||||
Add customer
|
Create customer
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -38131,7 +38131,7 @@ exports[`Storyshots Views / Customers / Customer list no data 1`] = `
|
||||||
<span
|
<span
|
||||||
class="MuiButton-label-id"
|
class="MuiButton-label-id"
|
||||||
>
|
>
|
||||||
Add customer
|
Create customer
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue