From e58a0157b189ea7497c79ec4ba308af78d153406 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Wed, 9 Oct 2019 17:33:55 +0200 Subject: [PATCH] Capitalize headers --- .../CategoryBackground/CategoryBackground.tsx | 2 +- .../CollectionCreatePage.tsx | 2 +- .../CollectionImage/CollectionImage.tsx | 2 +- .../CustomerAddresses/CustomerAddresses.tsx | 4 +- .../CustomerCreateAddress.tsx | 2 +- .../CustomerCreateDetails.tsx | 2 +- .../CustomerCreatePage/CustomerCreatePage.tsx | 2 +- .../CustomerOrders/CustomerOrders.tsx | 2 +- src/customers/views/CustomerDetails.tsx | 2 +- .../views/CustomerList/CustomerList.tsx | 2 +- .../HomeProductListCard.tsx | 2 +- src/navigation/views/MenuDetails/index.tsx | 2 +- src/navigation/views/MenuList.tsx | 4 +- .../OrderAddressEditDialog.tsx | 4 +- .../OrderCancelDialog/OrderCancelDialog.tsx | 2 +- .../OrderCustomer/OrderCustomer.tsx | 2 +- .../OrderCustomerEditDialog.tsx | 2 +- .../OrderDraftCancelDialog.tsx | 2 +- .../OrderDraftFinalizeDialog.tsx | 2 +- .../OrderFulfillmentDialog.tsx | 2 +- .../OrderFulfillmentTrackingDialog.tsx | 2 +- src/pages/views/PageCreate.tsx | 2 +- .../ShippingZonesList/ShippingZonesList.tsx | 2 +- .../ShippingZoneDetailsDialogs.tsx | 2 +- .../SiteSettingsAddress.tsx | 2 +- .../__snapshots__/Stories.test.ts.snap | 130 +++++++++--------- 26 files changed, 93 insertions(+), 93 deletions(-) diff --git a/src/categories/components/CategoryBackground/CategoryBackground.tsx b/src/categories/components/CategoryBackground/CategoryBackground.tsx index 2c5d9925e..2d43de581 100644 --- a/src/categories/components/CategoryBackground/CategoryBackground.tsx +++ b/src/categories/components/CategoryBackground/CategoryBackground.tsx @@ -60,7 +60,7 @@ const CategoryBackground: React.FC = props => { diff --git a/src/collections/components/CollectionImage/CollectionImage.tsx b/src/collections/components/CollectionImage/CollectionImage.tsx index 1ebd5eb85..8162c60b6 100644 --- a/src/collections/components/CollectionImage/CollectionImage.tsx +++ b/src/collections/components/CollectionImage/CollectionImage.tsx @@ -80,7 +80,7 @@ export const CollectionImage = withStyles(styles)( @@ -84,7 +84,7 @@ const CustomerAddresses = withStyles(styles, { name: "CustomerAddresses" })( diff --git a/src/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsx b/src/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsx index 40012bae8..efc42590a 100644 --- a/src/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsx +++ b/src/customers/components/CustomerCreateAddress/CustomerCreateAddress.tsx @@ -47,7 +47,7 @@ const CustomerCreateAddress = withStyles(styles, { diff --git a/src/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsx b/src/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsx index b64276b28..f5220669f 100644 --- a/src/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsx +++ b/src/customers/components/CustomerCreateDetails/CustomerCreateDetails.tsx @@ -48,7 +48,7 @@ const CustomerCreateDetails = withStyles(styles, { diff --git a/src/customers/components/CustomerCreatePage/CustomerCreatePage.tsx b/src/customers/components/CustomerCreatePage/CustomerCreatePage.tsx index c40bb6929..3b89b0157 100644 --- a/src/customers/components/CustomerCreatePage/CustomerCreatePage.tsx +++ b/src/customers/components/CustomerCreatePage/CustomerCreatePage.tsx @@ -89,7 +89,7 @@ const CustomerCreatePage: React.StatelessComponent = ({ diff --git a/src/customers/components/CustomerOrders/CustomerOrders.tsx b/src/customers/components/CustomerOrders/CustomerOrders.tsx index 1fc5e0d26..61a8cb392 100644 --- a/src/customers/components/CustomerOrders/CustomerOrders.tsx +++ b/src/customers/components/CustomerOrders/CustomerOrders.tsx @@ -51,7 +51,7 @@ const CustomerOrders = withStyles(styles, { name: "CustomerOrders" })( navigate(customerUrl(id), true)} onConfirm={() => removeCustomer()} title={intl.formatMessage({ - defaultMessage: "Delete customer", + defaultMessage: "Delete Customer", description: "dialog header" })} variant="delete" diff --git a/src/customers/views/CustomerList/CustomerList.tsx b/src/customers/views/CustomerList/CustomerList.tsx index 68348ee99..3742426c6 100644 --- a/src/customers/views/CustomerList/CustomerList.tsx +++ b/src/customers/views/CustomerList/CustomerList.tsx @@ -216,7 +216,7 @@ export const CustomerList: React.StatelessComponent = ({ } variant="delete" title={intl.formatMessage({ - defaultMessage: "Delete customers", + defaultMessage: "Delete Customers", description: "dialog header" })} > diff --git a/src/home/components/HomeProductListCard/HomeProductListCard.tsx b/src/home/components/HomeProductListCard/HomeProductListCard.tsx index 6b5964d18..80fb454ce 100644 --- a/src/home/components/HomeProductListCard/HomeProductListCard.tsx +++ b/src/home/components/HomeProductListCard/HomeProductListCard.tsx @@ -57,7 +57,7 @@ export const HomeProductList = withStyles(styles, { name: "HomeProductList" })( = ({ id, params }) => { } variant="delete" title={intl.formatMessage({ - defaultMessage: "Delete menu", + defaultMessage: "Delete Menu", description: "dialog header", id: "menuDetailsDeleteMenuHeader" })} diff --git a/src/navigation/views/MenuList.tsx b/src/navigation/views/MenuList.tsx index 2995e0199..9781d0697 100644 --- a/src/navigation/views/MenuList.tsx +++ b/src/navigation/views/MenuList.tsx @@ -202,7 +202,7 @@ const MenuList: React.FC = ({ params }) => { } variant="delete" title={intl.formatMessage({ - defaultMessage: "Delete menu", + defaultMessage: "Delete Menu", description: "dialog header", id: "menuListDeleteMenuHeader" })} @@ -239,7 +239,7 @@ const MenuList: React.FC = ({ params }) => { } variant="delete" title={intl.formatMessage({ - defaultMessage: "Delete menus", + defaultMessage: "Delete Menus", description: "dialog header", id: "menuListDeleteMenusHeader" })} diff --git a/src/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsx b/src/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsx index e6468a9bf..b79f0777f 100644 --- a/src/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsx +++ b/src/orders/components/OrderAddressEditDialog/OrderAddressEditDialog.tsx @@ -83,11 +83,11 @@ const OrderAddressEditDialog = withStyles(styles, { {variant === "billing" ? intl.formatMessage({ - defaultMessage: "Edit billing address", + defaultMessage: "Edit Billing Address", description: "dialog header" }) : intl.formatMessage({ - defaultMessage: "Edit shipping address", + defaultMessage: "Edit Shipping Address", description: "dialog header" })} diff --git a/src/orders/components/OrderCancelDialog/OrderCancelDialog.tsx b/src/orders/components/OrderCancelDialog/OrderCancelDialog.tsx index 0bc4e8e13..0546b5528 100644 --- a/src/orders/components/OrderCancelDialog/OrderCancelDialog.tsx +++ b/src/orders/components/OrderCancelDialog/OrderCancelDialog.tsx @@ -67,7 +67,7 @@ const OrderCancelDialog = withStyles(styles, { name: "OrderCancelDialog" })( <> diff --git a/src/orders/components/OrderCustomer/OrderCustomer.tsx b/src/orders/components/OrderCustomer/OrderCustomer.tsx index 3f800300c..55fadd593 100644 --- a/src/orders/components/OrderCustomer/OrderCustomer.tsx +++ b/src/orders/components/OrderCustomer/OrderCustomer.tsx @@ -187,7 +187,7 @@ const OrderCustomer = withStyles(styles, { name: "OrderCustomer" })(
diff --git a/src/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsx b/src/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsx index a629fc285..891e901c7 100644 --- a/src/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsx +++ b/src/orders/components/OrderCustomerEditDialog/OrderCustomerEditDialog.tsx @@ -79,7 +79,7 @@ const OrderCustomerEditDialog = withStyles(styles, { diff --git a/src/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsx b/src/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsx index 0baeb130c..a4cbe1e7d 100644 --- a/src/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsx +++ b/src/orders/components/OrderDraftCancelDialog/OrderDraftCancelDialog.tsx @@ -25,7 +25,7 @@ const OrderDraftCancelDialog: React.StatelessComponent< onConfirm={onConfirm} open={open} title={intl.formatMessage({ - defaultMessage: "Delete draft order", + defaultMessage: "Delete Daft Order", description: "dialog header" })} variant="delete" diff --git a/src/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsx b/src/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsx index a6138c3aa..91ae73a5f 100644 --- a/src/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsx +++ b/src/orders/components/OrderDraftFinalizeDialog/OrderDraftFinalizeDialog.tsx @@ -64,7 +64,7 @@ const OrderDraftFinalizeDialog: React.StatelessComponent< onConfirm={onConfirm} open={open} title={intl.formatMessage({ - defaultMessage: "Finalize draft order", + defaultMessage: "Finalize Draft Order", description: "dialog header" })} confirmButtonLabel={ diff --git a/src/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx b/src/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx index 6c7bfcee6..12541335f 100644 --- a/src/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx +++ b/src/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx @@ -120,7 +120,7 @@ const OrderFulfillmentDialog = withStyles(styles, { <> diff --git a/src/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsx b/src/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsx index 4de13a599..0bfa43ab8 100644 --- a/src/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsx +++ b/src/orders/components/OrderFulfillmentTrackingDialog/OrderFulfillmentTrackingDialog.tsx @@ -37,7 +37,7 @@ const OrderFulfillmentTrackingDialog: React.StatelessComponent< <> diff --git a/src/pages/views/PageCreate.tsx b/src/pages/views/PageCreate.tsx index d264b709e..ff431ff8b 100644 --- a/src/pages/views/PageCreate.tsx +++ b/src/pages/views/PageCreate.tsx @@ -43,7 +43,7 @@ export const PageCreate: React.StatelessComponent = () => { <> diff --git a/src/shipping/components/ShippingZonesList/ShippingZonesList.tsx b/src/shipping/components/ShippingZonesList/ShippingZonesList.tsx index 56c2b6ff7..920d955b3 100644 --- a/src/shipping/components/ShippingZonesList/ShippingZonesList.tsx +++ b/src/shipping/components/ShippingZonesList/ShippingZonesList.tsx @@ -81,7 +81,7 @@ const ShippingZonesList = withStyles(styles, { name: "ShippingZonesList" })( diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index f1fffe1cf..3763dfa36 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -6050,7 +6050,7 @@ exports[`Storyshots Orders / OrderCustomer default 1`] = `

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Background image (optional) + Background Image (optional)
- Add collection + Add Collection
- Background image (optional) + Background Image (optional)
- Add collection + Add Collection
- Background image (optional) + Background Image (optional)
- Add customer + Add Customer
- Customer overview + Customer Overview
- Primary address + Primary Address
- Add customer + Add Customer
- Customer overview + Customer Overview
- Primary address + Primary Address
- Add customer + Add Customer
- Customer overview + Customer Overview
- Primary address + Primary Address
- Recent orders + Recent Orders
- Recent orders + Recent Orders
- Billing address + Billing Address

- Shipping address + Shipping Address

- Recent orders + Recent Orders
- Recent orders + Recent Orders
- Recent orders + Recent Orders
- Recent orders + Recent Orders
- Recent orders + Recent Orders
- Recent orders + Recent Orders
- Shipping address + Shipping Address

- Recent orders + Recent Orders
- Billing address + Billing Address

- Top products + Top Products
- Top products + Top Products
- Top products + Top Products
- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Contact information + Contact Information

- Shipping by zone + Shipping By Zone

- Shipping by zone + Shipping By Zone
- Shipping by zone + Shipping By Zone
- Store information + Store Information
- Store information + Store Information
- Store information + Store Information