Skip to content

Commit

Permalink
Shipping method language fix (#749)
Browse files Browse the repository at this point in the history
* fix(shipping-methods): fixing language messages

* fix(changeset): adding changeset
  • Loading branch information
NickDevG authored Feb 7, 2025
1 parent 39c1b11 commit a445a19
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .changeset/chatty-grapes-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-test-data/shipping-method': minor
---

Fixing localization for premium shipping method on B2B sample data
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ describe(`with premiumShippingMethod preset`, () => {
"en-US": "2-3 weeks",
"es-ES": "2-3 semanas",
"fr": undefined,
"fr-FR": "2-3 settimane",
"it-IT": "2-3 semaines",
"fr-FR": "2-3 semaines",
"it-IT": "2-3 settimane",
"nl-NL": "2-3 weken",
"pt-PT": "2-3 semanas",
},
Expand All @@ -31,8 +31,8 @@ describe(`with premiumShippingMethod preset`, () => {
"en-US": "Premium shipping",
"es-ES": "Envío Premium",
"fr": undefined,
"fr-FR": "Spedizione premium",
"it-IT": "Expédition Premium",
"fr-FR": "Expédition premium",
"it-IT": "Spedizione Premium",
"nl-NL": "Premium verzending",
"pt-PT": "Transporte Premium",
},
Expand Down Expand Up @@ -104,11 +104,11 @@ describe(`with premiumShippingMethod preset`, () => {
"value": "2-3 semanas",
},
{
"locale": "it-IT",
"locale": "fr-FR",
"value": "2-3 semaines",
},
{
"locale": "fr-FR",
"locale": "it-IT",
"value": "2-3 settimane",
},
{
Expand Down Expand Up @@ -138,12 +138,12 @@ describe(`with premiumShippingMethod preset`, () => {
"value": "Envío Premium",
},
{
"locale": "it-IT",
"value": "Expédition Premium",
"locale": "fr-FR",
"value": "Expédition premium",
},
{
"locale": "fr-FR",
"value": "Spedizione premium",
"locale": "it-IT",
"value": "Spedizione Premium",
},
{
"locale": "nl-NL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const premiumShippingMethod = (): TShippingMethodDraftBuilder =>
['en-GB']('Premium shipping')
['en-US']('Premium shipping')
['es-ES']('Envío Premium')
['it-IT']('Expédition Premium')
['fr-FR']('Spedizione premium')
['fr-FR']('Expédition premium')
['it-IT']('Spedizione Premium')
['nl-NL']('Premium verzending')
['pt-PT']('Transporte Premium')
)
Expand All @@ -38,8 +38,8 @@ const premiumShippingMethod = (): TShippingMethodDraftBuilder =>
['en-GB']('2-3 weeks')
['en-US']('2-3 weeks')
['es-ES']('2-3 semanas')
['it-IT']('2-3 semaines')
['fr-FR']('2-3 settimane')
['fr-FR']('2-3 semaines')
['it-IT']('2-3 settimane')
['nl-NL']('2-3 weken')
['pt-PT']('2-3 semanas')
)
Expand Down

0 comments on commit a445a19

Please sign in to comment.