From e58a0157b189ea7497c79ec4ba308af78d153406 Mon Sep 17 00:00:00 2001
From: dominik-zeglen
Date: Wed, 9 Oct 2019 17:33:55 +0200
Subject: [PATCH 1/2] 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, {
- Contact information
+ Contact Information
- Contact information
+ Contact Information
- Contact information
+ Contact Information
- Background image (optional)
+ Background Image (optional)