From e6557a0f4c37dfb2e0ac1e5e4fceccd17e401a6f Mon Sep 17 00:00:00 2001 From: Joao Azevedo Date: Mon, 17 Jan 2022 16:00:59 -0300 Subject: [PATCH 1/3] fix: reason default option translate --- manifest.json | 2 +- messages/context.json | 1 + messages/en.json | 1 + messages/it.json | 1 + messages/ro.json | 1 + node/yarn.lock | 2 +- react/components/RequestForm.tsx | 3 ++- 7 files changed, 8 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 95673b9fa..5b8c0b22c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "vendor": "vtex", "name": "return-app", - "version": "2.16.1", + "version": "2.16.2", "title": "Return app", "description": "Return app", "dependencies": { diff --git a/messages/context.json b/messages/context.json index 02420b526..102ddf686 100644 --- a/messages/context.json +++ b/messages/context.json @@ -176,6 +176,7 @@ "returns.November": "November", "returns.December": "December", "returns.viewOrder": "view order", + "returns.reasonDefaultOption": "Select Reason", "returns.reasonAccidentalOrder": "Accidental order", "returns.reasonBetterPrice": "Better price available", "returns.reasonPerformance": "Performance or quality not adequate", diff --git a/messages/en.json b/messages/en.json index cae2a21a6..95ebcc6ec 100644 --- a/messages/en.json +++ b/messages/en.json @@ -176,6 +176,7 @@ "returns.November": "November", "returns.December": "December", "returns.viewOrder": "view order", + "returns.reasonDefaultOption": "Select Reason", "returns.reasonAccidentalOrder": "Accidental order", "returns.reasonBetterPrice": "Better price available", "returns.reasonPerformance": "Performance or quality not adequate", diff --git a/messages/it.json b/messages/it.json index b128816ff..6cb1dc8e3 100644 --- a/messages/it.json +++ b/messages/it.json @@ -170,6 +170,7 @@ "returns.November": "Novembre", "returns.December": "Dicembre", "returns.viewOrder": "visualizza ordine", + "returns.reasonDefaultOption": "Seleziona Motivo", "returns.reasonAccidentalOrder": "Ordine accidentale", "returns.reasonBetterPrice": "Ho trovato un prezzo migliore", "returns.reasonPerformance": "Prestazioni o qualità non adeguate", diff --git a/messages/ro.json b/messages/ro.json index ebe4bfd86..20e17d1dc 100644 --- a/messages/ro.json +++ b/messages/ro.json @@ -161,6 +161,7 @@ "returns.productStatusDenied": "Refuzat", "returns.viewOrder": "vezi comanda", "returns.reasonOther": "Alt motiv", + "returns.reasonDefaultOption": "Selectați Motivul", "returns.reasonAccidentalOrder": "Comandat din greseala", "returns.reasonBetterPrice": "Preț mai bun in alta parte", "returns.reasonPerformance": "Performanța sau calitatea nu sunt adecvate", diff --git a/node/yarn.lock b/node/yarn.lock index 281fb5c5c..a22c2224c 100644 --- a/node/yarn.lock +++ b/node/yarn.lock @@ -5539,7 +5539,7 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -"stats-lite@github:vtex/node-stats-lite#dist": +stats-lite@vtex/node-stats-lite#dist: version "2.2.0" resolved "https://codeload.github.com/vtex/node-stats-lite/tar.gz/1b0d39cc41ef7aaecfd541191f877887a2044797" dependencies: diff --git a/react/components/RequestForm.tsx b/react/components/RequestForm.tsx index 3a59d134d..227099f36 100644 --- a/react/components/RequestForm.tsx +++ b/react/components/RequestForm.tsx @@ -52,6 +52,7 @@ const messages = defineMessages({ formBank: { id: 'returns.formBank' }, formAgree: { id: 'returns.formAgree' }, termsAndConditions: { id: 'returns.TermsConditions' }, + reasonDefaultOption: { id: 'returns.reasonDefaultOption' }, reasonAccidentalOrder: { id: 'returns.reasonAccidentalOrder' }, reasonBetterPrice: { id: 'returns.reasonBetterPrice' }, reasonPerformance: { id: 'returns.reasonPerformance' }, @@ -270,7 +271,7 @@ class RequestForm extends Component {
Date: Mon, 17 Jan 2022 16:10:16 -0300 Subject: [PATCH 2/3] fix: condition default option translate --- messages/context.json | 1 + messages/en.json | 1 + messages/it.json | 1 + react/components/RequestForm.tsx | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/messages/context.json b/messages/context.json index 102ddf686..c55da3dce 100644 --- a/messages/context.json +++ b/messages/context.json @@ -198,6 +198,7 @@ "returns.showLabel": "View Shipping Label", "returns.condition.label": "Condition", "returns.formErrorConditionMissing": "Condition is required", + "returns.conditionDefaultOption": "Select Condition", "returns.newWithBox": "New With Box", "returns.newWithoutBox": "New Without Box", "returns.usedWithBox": "Used With Box", diff --git a/messages/en.json b/messages/en.json index 95ebcc6ec..7f89078f2 100644 --- a/messages/en.json +++ b/messages/en.json @@ -198,6 +198,7 @@ "returns.showLabel": "View Shipping Label", "returns.condition.label": "Condition", "returns.formErrorConditionMissing": "Condition is required", + "returns.conditionDefaultOption": "Select Condition", "returns.newWithBox": "New With Box", "returns.newWithoutBox": "New Without Box", "returns.usedWithBox": "Used With Box", diff --git a/messages/it.json b/messages/it.json index 6cb1dc8e3..3fabd9742 100644 --- a/messages/it.json +++ b/messages/it.json @@ -191,6 +191,7 @@ "returns.labelError": "Errore nell'invio dell'etichetta", "returns.condition.label": "Condizione", "returns.formErrorConditionMissing": "È obbligatorio inserire una condizione", + "returns.conditionDefaultOption": "Seleziona Condizione", "returns.newWithBox": "Nuovo con scatola", "returns.newWithoutBox": "Nuovo senza scatola", "returns.usedWithBox": "Usato con scatola", diff --git a/react/components/RequestForm.tsx b/react/components/RequestForm.tsx index 227099f36..ccc11a5d2 100644 --- a/react/components/RequestForm.tsx +++ b/react/components/RequestForm.tsx @@ -97,6 +97,7 @@ const messages = defineMessages({ thReason: { id: 'returns.thReason' }, condition: { id: 'returns.condition.label' }, formErrorConditionMissing: { id: 'returns.formErrorConditionMissing' }, + conditionDefaultOption: { id: 'returns.conditionDefaultOption' }, conditionNewWithBox: { id: 'returns.newWithBox' }, conditionNewWithoutBox: { id: 'returns.newWithoutBox' }, conditionUsedWithBox: { id: 'returns.usedWithBox' }, @@ -340,7 +341,7 @@ class RequestForm extends Component {
Date: Mon, 17 Jan 2022 16:48:58 -0300 Subject: [PATCH 3/3] chore: change changelog --- CHANGELOG.MD | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index d31d90c54..66aaeca0f 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -142,3 +142,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Auto-update schemas - Payment method settings - display or hide payment methods + +## [2.16.2] - 2021-01-17 + +### Fixed + +- Reason default option translate; +- Condition default option translate;