ordering-ui-react-native 0.11.30 → 0.11.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ const BusinessMenu = (props:any): React.ReactElement => {
|
|
|
74
74
|
<Container nopadding nestedScrollEnabled>
|
|
75
75
|
<View style={{ paddingTop: 20 }}>
|
|
76
76
|
<NavBar
|
|
77
|
-
title={t('
|
|
77
|
+
title={t('MENU_V21', 'Menu')}
|
|
78
78
|
onActionLeft={goToBack}
|
|
79
79
|
includeOrderTypeSelector
|
|
80
80
|
rightComponent={cart && (
|
|
@@ -90,7 +90,7 @@ const CategoriesMenu = (props: any): React.ReactElement => {
|
|
|
90
90
|
<Container nopadding nestedScrollEnabled>
|
|
91
91
|
<View style={{ paddingTop: 20 }}>
|
|
92
92
|
<NavBar
|
|
93
|
-
title={t('
|
|
93
|
+
title={t('CATEGORY_X_ID', 'Category')}
|
|
94
94
|
onActionLeft={goToBack}
|
|
95
95
|
rightComponent={cart && (
|
|
96
96
|
<TouchableOpacity
|
|
@@ -110,13 +110,13 @@ const CustomerName = (props: Props): React.ReactElement => {
|
|
|
110
110
|
name="name"
|
|
111
111
|
rules={{
|
|
112
112
|
required: t(
|
|
113
|
-
'
|
|
113
|
+
'VALIDATION_ERROR_REQUIRED',
|
|
114
114
|
'The field Customer Name is required',
|
|
115
|
-
).replace('_attribute_', t('
|
|
115
|
+
).replace('_attribute_', t('REQUEST_COLLECTION_CUSTOMER_NAME', 'Customer Name')),
|
|
116
116
|
pattern: {
|
|
117
117
|
value: /^[a-zA-Z áéíóúüñçÁÉÍÓÚÜÑÇ]+$/i,
|
|
118
118
|
message: t(
|
|
119
|
-
'
|
|
119
|
+
'INVALID_ERROR',
|
|
120
120
|
'Invalid name',
|
|
121
121
|
).replace('_attribute_', t('NAME', 'Name')),
|
|
122
122
|
}
|
|
@@ -160,7 +160,7 @@ const PaymentOptionsUI = (props: any) => {
|
|
|
160
160
|
),
|
|
161
161
|
bgImage: theme.images.general.carddelivery,
|
|
162
162
|
icon: theme.images.general.pushPin,
|
|
163
|
-
callToActionText: t("
|
|
163
|
+
callToActionText: t("LETS_GO", "Let's go"),
|
|
164
164
|
onClick: () => onSelectPaymethod(supportedMethods[cardOnDeliveryIndex], false),
|
|
165
165
|
...supportedMethods[cardOnDeliveryIndex],
|
|
166
166
|
}
|