From 1ba94704eb7bea91f9cc82440c372b724eab0dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Ferr=C3=A3o?= Date: Mon, 16 Dec 2024 13:54:10 -0300 Subject: [PATCH 1/7] feat: add input in popover to define postal code --- messages/bg.json | 2 +- messages/ca.json | 4 +- messages/cs.json | 4 +- messages/da.json | 4 +- messages/de.json | 2 +- messages/el.json | 4 +- messages/en.json | 8 ++-- messages/es.json | 2 +- messages/fi.json | 4 +- messages/fr.json | 2 +- messages/hu.json | 4 +- messages/id.json | 4 +- messages/it.json | 2 +- messages/ja.json | 2 +- messages/ko.json | 2 +- messages/nl.json | 2 +- messages/no.json | 4 +- messages/pl.json | 4 +- messages/pt.json | 7 +-- messages/ro.json | 2 +- messages/ru.json | 4 +- messages/sk.json | 4 +- messages/sl.json | 4 +- messages/sv.json | 4 +- messages/th.json | 2 +- messages/uk.json | 4 +- react/components/DeliveryDrawer.tsx | 8 +++- react/components/DeliveryPopover.tsx | 56 ++++++++++++++++++++--- react/components/DeliverySelection.tsx | 5 ++ react/components/PickupSelection.tsx | 21 ++++++--- react/components/PostalCodeInput.tsx | 39 ++++++++++------ react/components/ShippingOptionButton.tsx | 30 ++++++++---- react/hooks/useShippingOptions.ts | 3 +- react/index.tsx | 3 ++ react/messages.ts | 9 ++++ react/styles.css | 11 ++++- react/typings/global.d.ts | 2 + 37 files changed, 194 insertions(+), 84 deletions(-) diff --git a/messages/bg.json b/messages/bg.json index 0e02b38..26b8935 100644 --- a/messages/bg.json +++ b/messages/bg.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Преглед на магазините във вашия регион", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Избиране на магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Въвеждане на пощенския ви код", - "store/shipping-option-zipcode.postalCodeInput.error.": "Въведеният пощенски код не е в района на нашето покритие", + "store/shipping-option-zipcode.postalCodeInput.error": "Въведеният пощенски код не е в района на нашето покритие", "store/shipping-option-zipcode.currentLocationButton": "Използване на настоящото местоположение", "store/shipping-option-zipcode.storeHoursButton": "Преглед на работното време на магазина", "store/shipping-option-zipcode.viewMoreButton": "Преглед на повече", diff --git a/messages/ca.json b/messages/ca.json index 0158d06..04f3b70 100644 --- a/messages/ca.json +++ b/messages/ca.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Mostrar les botigues a la vostra regió", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Tria una botiga", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Introduïu el vostre codi postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "El codi postal introduït no forma part de la nostra zona de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error": "El codi postal introduït no forma part de la nostra zona de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Fes servir la ubicació actual", "store/shipping-option-zipcode.storeHoursButton": "Mostra l'horari de la botiga", "store/shipping-option-zipcode.viewMoreButton": "Mostra'n més", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Recollida a prop", "store/shipping-option-zipcode.shippinFilter.pickpu": "Recollida", "store/shipping-option-zipcode.updateButton.label": "Actualitza" -} \ No newline at end of file +} diff --git a/messages/cs.json b/messages/cs.json index 3e3b72e..3b01fc1 100644 --- a/messages/cs.json +++ b/messages/cs.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Prohlédněte si obchody ve svém regionu", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vyberte si obchod", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Zadejte své poštovní směrovací číslo", - "store/shipping-option-zipcode.postalCodeInput.error.": "Zadané poštovní směrovací číslo se nenachází v naší oblasti pokrytí", + "store/shipping-option-zipcode.postalCodeInput.error": "Zadané poštovní směrovací číslo se nenachází v naší oblasti pokrytí", "store/shipping-option-zipcode.currentLocationButton": "Použít aktuální polohu", "store/shipping-option-zipcode.storeHoursButton": "Zobrazit otevírací dobu obchodu", "store/shipping-option-zipcode.viewMoreButton": "Zobrazit více", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Vyzvednutí v okolí", "store/shipping-option-zipcode.shippinFilter.pickpu": "Vyzvednutí", "store/shipping-option-zipcode.updateButton.label": "Aktualizovat" -} \ No newline at end of file +} diff --git a/messages/da.json b/messages/da.json index 876c664..b88c8a1 100644 --- a/messages/da.json +++ b/messages/da.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vis butikker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vælg en butik", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Indtast dit postnummer", - "store/shipping-option-zipcode.postalCodeInput.error.": "Det indtastede postnummer er ikke indenfor dit dækningsområde", + "store/shipping-option-zipcode.postalCodeInput.error": "Det indtastede postnummer er ikke indenfor dit dækningsområde", "store/shipping-option-zipcode.currentLocationButton": "Brug nuværende lokation", "store/shipping-option-zipcode.storeHoursButton": "Vis butikkens åbningstider", "store/shipping-option-zipcode.viewMoreButton": "Vis mere", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Afhent i nærheden", "store/shipping-option-zipcode.shippinFilter.pickpu": "Afhent", "store/shipping-option-zipcode.updateButton.label": "Opdater" -} \ No newline at end of file +} diff --git a/messages/de.json b/messages/de.json index 05deb24..ba09fdf 100644 --- a/messages/de.json +++ b/messages/de.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Shops in Ihrer Region anzeigen", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Shop auswählen", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Geben Sie Ihre Postleitzahl ein", - "store/shipping-option-zipcode.postalCodeInput.error.": "Die eingegebene Postleitzahl ist nicht in unserem Abdeckungsbereich", + "store/shipping-option-zipcode.postalCodeInput.error": "Die eingegebene Postleitzahl ist nicht in unserem Abdeckungsbereich", "store/shipping-option-zipcode.currentLocationButton": "Aktuellen Standort verwenden", "store/shipping-option-zipcode.storeHoursButton": "Ladenöffnungszeiten anzeigen", "store/shipping-option-zipcode.viewMoreButton": "Mehr ansehen", diff --git a/messages/el.json b/messages/el.json index 3e01a7c..d8afb82 100644 --- a/messages/el.json +++ b/messages/el.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Προβολή καταστημάτων στην περιοχή σας", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Επιλέξτε ένα κατάστημα", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Εισαγάγετε τον ταχυδρομικό σας κώδικα", - "store/shipping-option-zipcode.postalCodeInput.error.": "Ο ταχυδρομικός κώδικας που καταχωρήσατε δεν βρίσκεται εντός της περιοχής κάλυψής μας", + "store/shipping-option-zipcode.postalCodeInput.error": "Ο ταχυδρομικός κώδικας που καταχωρήσατε δεν βρίσκεται εντός της περιοχής κάλυψής μας", "store/shipping-option-zipcode.currentLocationButton": "Χρήση τρέχουσας τοποθεσίας", "store/shipping-option-zipcode.storeHoursButton": "Προβολή ωρών λειτουργίας καταστήματος", "store/shipping-option-zipcode.viewMoreButton": "Προβολή περισσοτέρων", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Παραλαβή πλησίον", "store/shipping-option-zipcode.shippinFilter.pickpu": "Παραλαβή", "store/shipping-option-zipcode.updateButton.label": "Ενημέρωση" -} \ No newline at end of file +} diff --git a/messages/en.json b/messages/en.json index 0b887e1..5b1e778 100644 --- a/messages/en.json +++ b/messages/en.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "View stores in your region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Choose a store", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Enter your postal code", - "store/shipping-option-zipcode.postalCodeInput.error.": "The entered postal code is not within our coverage area", + "store/shipping-option-zipcode.postalCodeInput.error": "The entered postal code is not within our coverage area", "store/shipping-option-zipcode.currentLocationButton": "Use Current Location", "store/shipping-option-zipcode.storeHoursButton": "View Store Hours", "store/shipping-option-zipcode.viewMoreButton": "View More", @@ -20,5 +20,7 @@ "store/shipping-option-zipcode.shippinFilter.pickpu": "Pickup", "store/shipping-option-zipcode.updateButton.label": "Update", "store/shipping-option-zipcode.popoverButton.label": "Select a location", - "store/shipping-option-zipcode.popover.description": "Shipping options and speed may vary based on delivery address and store" -} \ No newline at end of file + "store/shipping-option-zipcode.popover.description": "Delivery options and delivery speeds may vary per address and store.", + "store/shipping-option-zipcode.deliveryPopover.submitButton.label": "Continue", + "store/shipping-option-zipcode.deliveryPopover.postalCodeInput.placeholder": "Postal Code" +} diff --git a/messages/es.json b/messages/es.json index 2c822d1..18036a1 100644 --- a/messages/es.json +++ b/messages/es.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Consulta las tiendas en tu región", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Selecciona una tienda", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Ingresa tu código postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "El código postal ingresado no está incluido en nuestra área de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error": "El código postal ingresado no está incluido en nuestra área de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Usar la ubicación actual", "store/shipping-option-zipcode.storeHoursButton": "Horario de la tienda", "store/shipping-option-zipcode.viewMoreButton": "Ver más", diff --git a/messages/fi.json b/messages/fi.json index f2dce3c..3cb2bde 100644 --- a/messages/fi.json +++ b/messages/fi.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Näytä alueesi myymälät", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Valitse myymälä", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Anna postinumerosi", - "store/shipping-option-zipcode.postalCodeInput.error.": "Annettu postinumero ei kuulu kattavuusalueellemme", + "store/shipping-option-zipcode.postalCodeInput.error": "Annettu postinumero ei kuulu kattavuusalueellemme", "store/shipping-option-zipcode.currentLocationButton": "Käytä nykyistä sijaintia", "store/shipping-option-zipcode.storeHoursButton": "Näytä myymälän aukioloajat", "store/shipping-option-zipcode.viewMoreButton": "Näytä lisää", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Nouto läheltä", "store/shipping-option-zipcode.shippinFilter.pickpu": "Nouto", "store/shipping-option-zipcode.updateButton.label": "Päivitä" -} \ No newline at end of file +} diff --git a/messages/fr.json b/messages/fr.json index cc8a00f..0e6b0a9 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Voir les magasins de votre région", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Choisissez un magasin", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Entrez votre code postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "Le code postal saisi ne se trouve pas dans notre zone de couverture", + "store/shipping-option-zipcode.postalCodeInput.error": "Le code postal saisi ne se trouve pas dans notre zone de couverture", "store/shipping-option-zipcode.currentLocationButton": "Utiliser la localisation actuelle", "store/shipping-option-zipcode.storeHoursButton": "Voir les heures d’ouverture du magasin", "store/shipping-option-zipcode.viewMoreButton": "Afficher plus", diff --git a/messages/hu.json b/messages/hu.json index 2244ccd..e3f3fdd 100644 --- a/messages/hu.json +++ b/messages/hu.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Üzletek megtekintése a régiójában", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Válasszon egy üzletet", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Adja meg az irányítószámát", - "store/shipping-option-zipcode.postalCodeInput.error.": "A megadott irányítószám nem tartozik a lefedettségi területünkhöz", + "store/shipping-option-zipcode.postalCodeInput.error": "A megadott irányítószám nem tartozik a lefedettségi területünkhöz", "store/shipping-option-zipcode.currentLocationButton": "Aktuális tartózkodási hely használata", "store/shipping-option-zipcode.storeHoursButton": "Nyitvatartási idő megtekintése", "store/shipping-option-zipcode.viewMoreButton": "Több megtekintése", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Felvétel a közelben", "store/shipping-option-zipcode.shippinFilter.pickpu": "Felvétel", "store/shipping-option-zipcode.updateButton.label": "Frissítés" -} \ No newline at end of file +} diff --git a/messages/id.json b/messages/id.json index 6a1ef55..dd3f0d4 100644 --- a/messages/id.json +++ b/messages/id.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Lihat toko di wilayah Anda", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Pilih toko", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Masukkan kode pos Anda", - "store/shipping-option-zipcode.postalCodeInput.error.": "Kode pos yang dimasukkan tidak masuk area jangkauan kami", + "store/shipping-option-zipcode.postalCodeInput.error": "Kode pos yang dimasukkan tidak masuk area jangkauan kami", "store/shipping-option-zipcode.currentLocationButton": "Gunakan Lokasi Saat Ini", "store/shipping-option-zipcode.storeHoursButton": "Lihat Jam Toko", "store/shipping-option-zipcode.viewMoreButton": "Lihat Selengkapnya", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Ambil terdekat", "store/shipping-option-zipcode.shippinFilter.pickpu": "Ambil", "store/shipping-option-zipcode.updateButton.label": "Perbarui" -} \ No newline at end of file +} diff --git a/messages/it.json b/messages/it.json index 2c5d1a8..5dbc89d 100644 --- a/messages/it.json +++ b/messages/it.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vedi i negozi nella tua regione", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Scegli un negozio", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Inserisci il tuo codice di avviamento postale", - "store/shipping-option-zipcode.postalCodeInput.error.": "Il codice di avviamento postale inserito non rientra nella nostra zona di copertura", + "store/shipping-option-zipcode.postalCodeInput.error": "Il codice di avviamento postale inserito non rientra nella nostra zona di copertura", "store/shipping-option-zipcode.currentLocationButton": "Usa posizione attuale", "store/shipping-option-zipcode.storeHoursButton": "Orari del negozio", "store/shipping-option-zipcode.viewMoreButton": "Mostra di più", diff --git a/messages/ja.json b/messages/ja.json index cdc8a96..39da49c 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "お住まいの地域の店舗を見る", "store/shipping-option-zipcode.pickupDrawer.title.filled": "店舗を選択", "store/shipping-option-zipcode.postalCodeInput.placeholder": "郵便番号を入力してください", - "store/shipping-option-zipcode.postalCodeInput.error.": "入力された郵便番号は、当社のサービス提供地域外です。", + "store/shipping-option-zipcode.postalCodeInput.error": "入力された郵便番号は、当社のサービス提供地域外です。", "store/shipping-option-zipcode.currentLocationButton": "現在地を使用", "store/shipping-option-zipcode.storeHoursButton": "営業時間を見る", "store/shipping-option-zipcode.viewMoreButton": "もっと見る", diff --git a/messages/ko.json b/messages/ko.json index 7c99636..afc98db 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "해당 지역의 스토어 보기", "store/shipping-option-zipcode.pickupDrawer.title.filled": "스토어 선택", "store/shipping-option-zipcode.postalCodeInput.placeholder": "우편번호 입력", - "store/shipping-option-zipcode.postalCodeInput.error.": "입력한 우편번호가 당사의 서비스 지역 내에 있지 않습니다", + "store/shipping-option-zipcode.postalCodeInput.error": "입력한 우편번호가 당사의 서비스 지역 내에 있지 않습니다", "store/shipping-option-zipcode.currentLocationButton": "현재 위치 사용", "store/shipping-option-zipcode.storeHoursButton": "매장 시간 보기", "store/shipping-option-zipcode.viewMoreButton": "더 보기", diff --git a/messages/nl.json b/messages/nl.json index 99a9462..df369dc 100644 --- a/messages/nl.json +++ b/messages/nl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Bekijk winkels in uw regio", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Kies een winkel", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Voer uw postcode in", - "store/shipping-option-zipcode.postalCodeInput.error.": "De ingevoerde postcode valt niet binnen ons gebied", + "store/shipping-option-zipcode.postalCodeInput.error": "De ingevoerde postcode valt niet binnen ons gebied", "store/shipping-option-zipcode.currentLocationButton": "Gebruik huidige locatie", "store/shipping-option-zipcode.storeHoursButton": "Winkeluren bekijken", "store/shipping-option-zipcode.viewMoreButton": "Meer weergeven", diff --git a/messages/no.json b/messages/no.json index 8ca952a..80746bc 100644 --- a/messages/no.json +++ b/messages/no.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Se butikker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Velg en butikk", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Skriv inn postkode", - "store/shipping-option-zipcode.postalCodeInput.error.": "Postnummeret du skrev inn er ikke innenfor vårt dekningsområde", + "store/shipping-option-zipcode.postalCodeInput.error": "Postnummeret du skrev inn er ikke innenfor vårt dekningsområde", "store/shipping-option-zipcode.currentLocationButton": "Bruk gjeldende posisjon", "store/shipping-option-zipcode.storeHoursButton": "Vis butikktimer", "store/shipping-option-zipcode.viewMoreButton": "Vis mere", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Henting i nærheten", "store/shipping-option-zipcode.shippinFilter.pickpu": "Hent", "store/shipping-option-zipcode.updateButton.label": "Oppdater" -} \ No newline at end of file +} diff --git a/messages/pl.json b/messages/pl.json index d1e4954..0e5092c 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Wyświetl sklepy w swoim regionie", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Wybierz sklep", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Wprowadź swój kod pocztowy", - "store/shipping-option-zipcode.postalCodeInput.error.": "Wprowadzony kod pocztowy nie znajduje się w naszym zasięgu", + "store/shipping-option-zipcode.postalCodeInput.error": "Wprowadzony kod pocztowy nie znajduje się w naszym zasięgu", "store/shipping-option-zipcode.currentLocationButton": "Użyj bieżącej lokalizacji", "store/shipping-option-zipcode.storeHoursButton": "Zobacz godziny otwarcia sklepu", "store/shipping-option-zipcode.viewMoreButton": "Zobacz więcej", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Odbiór w pobliżu", "store/shipping-option-zipcode.shippinFilter.pickpu": "Odbiór", "store/shipping-option-zipcode.updateButton.label": "Aktualizuj" -} \ No newline at end of file +} diff --git a/messages/pt.json b/messages/pt.json index eeb1a02..adef149 100644 --- a/messages/pt.json +++ b/messages/pt.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Veja as lojas em sua região", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Escolha uma loja", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Insira seu código postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "O código postal inserido não está dentro da nossa área de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error": "O código postal inserido não está dentro da nossa área de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Usar localização atual", "store/shipping-option-zipcode.storeHoursButton": "Ver horários da loja", "store/shipping-option-zipcode.viewMoreButton": "Ver mais", @@ -20,5 +20,6 @@ "store/shipping-option-zipcode.shippinFilter.pickpu": "Retirada", "store/shipping-option-zipcode.updateButton.label": "Atualizar", "store/shipping-option-zipcode.popoverButton.label": "Selecione um local", - "store/shipping-option-zipcode.popover.description": "As opções e a velocidade de entrega podem variar conforme o endereço e a loja" -} \ No newline at end of file + "store/shipping-option-zipcode.popover.description": "As opções e a velocidade de entrega podem variar conforme o endereço e a loja", + "store/shipping-option-zipcode.deliveryPopover.submitButton.label": "Continue" +} diff --git a/messages/ro.json b/messages/ro.json index 28d04d2..d1ad082 100644 --- a/messages/ro.json +++ b/messages/ro.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vezi magazinele din regiunea ta", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Alege un magazin", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Introdu codul poștal", - "store/shipping-option-zipcode.postalCodeInput.error.": "Codul poștal introdus nu se află în zona noastră de acoperire", + "store/shipping-option-zipcode.postalCodeInput.error": "Codul poștal introdus nu se află în zona noastră de acoperire", "store/shipping-option-zipcode.currentLocationButton": "Folosește locația actuală", "store/shipping-option-zipcode.storeHoursButton": "Vezi programul magazinului", "store/shipping-option-zipcode.viewMoreButton": "Vezi mai mult", diff --git a/messages/ru.json b/messages/ru.json index ae9c0ea..dd9a746 100644 --- a/messages/ru.json +++ b/messages/ru.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Показать магазины в вашем регионе", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Выберите магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Введите почтовый индекс", - "store/shipping-option-zipcode.postalCodeInput.error.": "Введенный почтовый индекс находится вне нашей зоны обслуживания", + "store/shipping-option-zipcode.postalCodeInput.error": "Введенный почтовый индекс находится вне нашей зоны обслуживания", "store/shipping-option-zipcode.currentLocationButton": "Использовать текущее местоположение", "store/shipping-option-zipcode.storeHoursButton": "Показать график работы магазина", "store/shipping-option-zipcode.viewMoreButton": "Показать больше", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Забрать поблизости", "store/shipping-option-zipcode.shippinFilter.pickpu": "Забрать", "store/shipping-option-zipcode.updateButton.label": "Обновить" -} \ No newline at end of file +} diff --git a/messages/sk.json b/messages/sk.json index 3395cc6..2a62615 100644 --- a/messages/sk.json +++ b/messages/sk.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Zobraziť obchody vo vašom regióne", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vyberte obchod", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Zadajte svoje poštové smerovacie číslo", - "store/shipping-option-zipcode.postalCodeInput.error.": "Zadané poštové smerovacie číslo nie je v našej oblasti pokrytia", + "store/shipping-option-zipcode.postalCodeInput.error": "Zadané poštové smerovacie číslo nie je v našej oblasti pokrytia", "store/shipping-option-zipcode.currentLocationButton": "Použiť aktuálnu polohu", "store/shipping-option-zipcode.storeHoursButton": "Zobraziť otváracie hodiny obchodu", "store/shipping-option-zipcode.viewMoreButton": "Zobraziť viac", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Vyzdvihnúť v blízkosti", "store/shipping-option-zipcode.shippinFilter.pickpu": "Vyzdvihnúť", "store/shipping-option-zipcode.updateButton.label": "Aktualizovať" -} \ No newline at end of file +} diff --git a/messages/sl.json b/messages/sl.json index 9dd138c..0e571cd 100644 --- a/messages/sl.json +++ b/messages/sl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Oglejte si trgovine v svoji regiji", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Izberi trgovino", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Vnesite svojo poštno številko", - "store/shipping-option-zipcode.postalCodeInput.error.": "Vnesena poštna številka ni na našem območju pokrivanja", + "store/shipping-option-zipcode.postalCodeInput.error": "Vnesena poštna številka ni na našem območju pokrivanja", "store/shipping-option-zipcode.currentLocationButton": "Uporabi trenutno lokacijo", "store/shipping-option-zipcode.storeHoursButton": "Oglejte si ure trgovine", "store/shipping-option-zipcode.viewMoreButton": "Poglej več", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Prevzemite blizu", "store/shipping-option-zipcode.shippinFilter.pickpu": "Prevzemi", "store/shipping-option-zipcode.updateButton.label": "Posodobi" -} \ No newline at end of file +} diff --git a/messages/sv.json b/messages/sv.json index 25332de..e3241fa 100644 --- a/messages/sv.json +++ b/messages/sv.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Visa butiker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Välj en butik", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Ange ditt postnummer", - "store/shipping-option-zipcode.postalCodeInput.error.": "Det angivna postnumret är inte inom vårt täckningsområde", + "store/shipping-option-zipcode.postalCodeInput.error": "Det angivna postnumret är inte inom vårt täckningsområde", "store/shipping-option-zipcode.currentLocationButton": "Använd aktuell plats", "store/shipping-option-zipcode.storeHoursButton": "Visa butikstimmar", "store/shipping-option-zipcode.viewMoreButton": "Visa mer", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Hämtning i närheten", "store/shipping-option-zipcode.shippinFilter.pickpu": "Hämta", "store/shipping-option-zipcode.updateButton.label": "Uppdatera" -} \ No newline at end of file +} diff --git a/messages/th.json b/messages/th.json index 715c0e4..c538302 100644 --- a/messages/th.json +++ b/messages/th.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "ดูร้านค้าในภูมิภาคที่คุณอยู่", "store/shipping-option-zipcode.pickupDrawer.title.filled": "เลือกร้านค้า", "store/shipping-option-zipcode.postalCodeInput.placeholder": "ใส่รหัสไปรษณีย์ของคุณ", - "store/shipping-option-zipcode.postalCodeInput.error.": "รหัสไปรษณีย์ที่ให้ไม่อยู่ในพื้นที่ดูแลของเรา", + "store/shipping-option-zipcode.postalCodeInput.error": "รหัสไปรษณีย์ที่ให้ไม่อยู่ในพื้นที่ดูแลของเรา", "store/shipping-option-zipcode.currentLocationButton": "ใช้ที่ตั้งปัจจุบัน", "store/shipping-option-zipcode.storeHoursButton": "ดูเวลาทำการของร้านค้า", "store/shipping-option-zipcode.viewMoreButton": "ดูเพิ่มเติม", diff --git a/messages/uk.json b/messages/uk.json index 7d46669..6a2e415 100644 --- a/messages/uk.json +++ b/messages/uk.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Переглянути магазини у вашому регіоні", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Виберіть магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Введіть поштовий індекс", - "store/shipping-option-zipcode.postalCodeInput.error.": "Введений поштовий індекс — поза нашою зоною обслуговування", + "store/shipping-option-zipcode.postalCodeInput.error": "Введений поштовий індекс — поза нашою зоною обслуговування", "store/shipping-option-zipcode.currentLocationButton": "Використати поточне розташування", "store/shipping-option-zipcode.storeHoursButton": "Переглянути години роботи магазину", "store/shipping-option-zipcode.viewMoreButton": "Переглянути більше", @@ -19,4 +19,4 @@ "store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Самовивіз поблизу", "store/shipping-option-zipcode.shippinFilter.pickpu": "Самовивіз", "store/shipping-option-zipcode.updateButton.label": "Оновити" -} \ No newline at end of file +} diff --git a/react/components/DeliveryDrawer.tsx b/react/components/DeliveryDrawer.tsx index 9b1272d..276ebf3 100644 --- a/react/components/DeliveryDrawer.tsx +++ b/react/components/DeliveryDrawer.tsx @@ -17,6 +17,7 @@ interface Props { zipCode?: string selectedZipCode?: string compact: boolean + overlayMode?: OverlayMode } const DeliveryDrawer = ({ @@ -28,6 +29,7 @@ const DeliveryDrawer = ({ selectedZipCode, zipCode, compact, + overlayMode, }: Props) => { const intl = useIntl() const { push } = usePixel() @@ -48,7 +50,11 @@ const DeliveryDrawer = ({ placeholder={intl.formatMessage(messages.deliverToButtonPlaceholder)} label={intl.formatMessage(messages.deliverToButtonLabel)} compact={compact} - showPopover + zipCode={zipCode} + onChange={onChange} + onSubmit={onSubmit} + inputErrorMessage={inputErrorMessage} + overlayMode={overlayMode} /> } title={intl.formatMessage(messages.storeDeliverDrawerTitle)} diff --git a/react/components/DeliveryPopover.tsx b/react/components/DeliveryPopover.tsx index 1abfda1..ae28ef3 100644 --- a/react/components/DeliveryPopover.tsx +++ b/react/components/DeliveryPopover.tsx @@ -1,36 +1,78 @@ +/* eslint-disable jsx-a11y/no-static-element-interactions */ +/* eslint-disable jsx-a11y/click-events-have-key-events */ import React from 'react' import { useCssHandles } from 'vtex.css-handles' import { Button } from 'vtex.styleguide' import OutsideClickHandler from 'react-outside-click-handler' +import { useIntl } from 'react-intl' + import '../styles.css' +import PostalCodeInput from './PostalCodeInput' +import messages from '../messages' const CSS_HANDLES = [ 'deliveryPopover', 'popoverPolygonContainer', 'popoverPolygonSvg', 'popoverPolygon', + 'popoverInputContainer', ] as const interface Props { onClick: () => void handleOutSideClick: () => void - description: string - buttonLabel: string + variant?: 'popover-button' | 'popover-input' + onChange: (zipCode?: string) => void + onSubmit: () => void + isLoading?: boolean + inputErrorMessage?: string + zipCode?: string } const DeliveryPopover = ({ onClick, - description, - buttonLabel, handleOutSideClick, + variant = 'popover-input', + onChange, + onSubmit, + isLoading, + inputErrorMessage, + zipCode, }: Props) => { const handles = useCssHandles(CSS_HANDLES) + const intl = useIntl() return ( -
-

{description}

- +
{ + e.stopPropagation() + }} + > +

{intl.formatMessage(messages.popoverDescription)}

+ {variant === 'popover-button' ? ( + + ) : ( +
+ + +
+ )} void @@ -24,6 +26,7 @@ const DeliverySelection = ({ }: Props) => { const newZipCodeTyped = zipCode !== selectedZipCode const shouldHideUpdateButton = (!zipCode || !newZipCodeTyped) && !isLoading + const intl = useIntl() return (
@@ -33,6 +36,8 @@ const DeliverySelection = ({ errorMessage={inputErrorMessage} onChange={onChange} addressLabel={addressLabel} + placeholder={intl.formatMessage(messages.postalCodeInputPlaceHolder)} + newZipCodeTyped={newZipCodeTyped} />
void @@ -33,16 +35,21 @@ const PickupSelection = ({ const newZipCodeTyped = zipCode !== selectedZipCode const shouldHideUpdateButton = (!zipCode || !newZipCodeTyped) && !isLoading const { close } = useDrawer() + const intl = useIntl() return (
- +
+ +
{pickups.map((currentPickup) => ( { const [isZipCodeSet, setIsZipCodeSet] = useState(!!zipCode) @@ -49,14 +57,13 @@ const PostalCodeInput = ({ } }, [errorMessage]) - const intl = useIntl() const handles = useCssHandles(CSS_HANDLES) return ( -
+
{isZipCodeSet ? ( setIsZipCodeSet(false)} /> ) : ( @@ -76,16 +83,18 @@ const PostalCodeInput = ({ }} value={zipCode} errorMessage={errorMessage} - placeholder={intl.formatMessage(messages.postalCodeInputPlaceHolder)} + placeholder={placeholder} suffix={ - + showClearButton ? ( + + ) : null } /> )} diff --git a/react/components/ShippingOptionButton.tsx b/react/components/ShippingOptionButton.tsx index 647a246..8aeee28 100644 --- a/react/components/ShippingOptionButton.tsx +++ b/react/components/ShippingOptionButton.tsx @@ -1,11 +1,9 @@ import React, { useState } from 'react' import { useCssHandles } from 'vtex.css-handles' import { Spinner } from 'vtex.styleguide' -import { useIntl } from 'react-intl' import '../styles.css' import DeliveryPopover from './DeliveryPopover' -import messages from '../messages' const CSS_HANDLES = [ 'buttonWrapper', @@ -21,7 +19,11 @@ interface Props { placeholder: string value?: string compact: boolean - showPopover?: boolean + zipCode?: string + onChange?: (zipCode?: string) => void + onSubmit?: () => void + inputErrorMessage?: string + overlayMode?: OverlayMode } const ShippingOptionButton = ({ @@ -31,9 +33,12 @@ const ShippingOptionButton = ({ value, placeholder, compact, - showPopover = false, + zipCode, + onChange, + onSubmit, + inputErrorMessage, + overlayMode, }: Props) => { - const intl = useIntl() const [isPopoverOpen, setIsPopoverOpen] = useState(true) const handles = useCssHandles(CSS_HANDLES) @@ -46,7 +51,12 @@ const ShippingOptionButton = ({ setIsPopoverOpen(false) } - const openPopover = !loading && !value && showPopover && isPopoverOpen + const showPopover = + overlayMode === 'popover-button' || overlayMode === 'popover-input' + + const isFirstLoading = !zipCode && loading + + const openPopover = !isFirstLoading && !value && showPopover && isPopoverOpen return (
@@ -71,10 +81,14 @@ const ShippingOptionButton = ({ {openPopover && ( {})} + onSubmit={onSubmit || (() => {})} + isLoading={loading} + inputErrorMessage={inputErrorMessage} + zipCode={zipCode} + variant={overlayMode} /> )}
diff --git a/react/hooks/useShippingOptions.ts b/react/hooks/useShippingOptions.ts index 88dbadb..3145113 100644 --- a/react/hooks/useShippingOptions.ts +++ b/react/hooks/useShippingOptions.ts @@ -113,7 +113,6 @@ const useShippingOptions = () => { return } - setSelectedZipCode(inputZipCode) setPickups([]) setCity(undefined) @@ -137,6 +136,8 @@ const useShippingOptions = () => { return } + setSelectedZipCode(inputZipCode) + await updateSession(inputZipCode, coordinates) await fetchPickups(countryCode, inputZipCode, coordinates) diff --git a/react/index.tsx b/react/index.tsx index 2b21005..796b9c6 100644 --- a/react/index.tsx +++ b/react/index.tsx @@ -10,11 +10,13 @@ import { getCookie } from './utils/cookie' interface Props { hideStoreSelection?: boolean compactMode?: boolean + overlayMode?: OverlayMode } function ShippingOptionZipCode({ hideStoreSelection = false, compactMode = false, + overlayMode, }: Props) { const { production } = useRuntime() const [shouldRender, setShouldRender] = useState(!production) @@ -61,6 +63,7 @@ function ShippingOptionZipCode({ selectedZipCode={selectedZipCode} zipCode={zipCode} compact={compactMode} + overlayMode={overlayMode} /> {!hideStoreSelection && ( 12.1 */ -moz-animation: fadein 2s; /* Firefox < 16 */ @@ -95,6 +95,15 @@ fill: #fff; } +.popoverInputContainer { + gap: 16px; + align-items: start; +} + +.postalCodeInputContainer { + width: 100%; +} + @keyframes fadein { from { opacity: 0; diff --git a/react/typings/global.d.ts b/react/typings/global.d.ts index 8b3ca65..5754e47 100644 --- a/react/typings/global.d.ts +++ b/react/typings/global.d.ts @@ -14,6 +14,8 @@ declare interface Pickup { } } +declare type OverlayMode = 'popover-button' | 'popover-input' + declare global { interface Window { addressLabel?: stirng From 999330f04ca7e56470f1f3106ad56a8160fe9862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Ferr=C3=A3o?= Date: Mon, 16 Dec 2024 16:54:39 -0300 Subject: [PATCH 2/7] feat: add popover-input as default overlay --- react/components/DeliveryDrawer.tsx | 6 +++--- react/components/ShippingOptionButton.tsx | 8 ++++---- react/index.tsx | 6 +++--- react/typings/global.d.ts | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/react/components/DeliveryDrawer.tsx b/react/components/DeliveryDrawer.tsx index 276ebf3..6b86712 100644 --- a/react/components/DeliveryDrawer.tsx +++ b/react/components/DeliveryDrawer.tsx @@ -17,7 +17,7 @@ interface Props { zipCode?: string selectedZipCode?: string compact: boolean - overlayMode?: OverlayMode + overlayType?: OverlayType } const DeliveryDrawer = ({ @@ -29,7 +29,7 @@ const DeliveryDrawer = ({ selectedZipCode, zipCode, compact, - overlayMode, + overlayType, }: Props) => { const intl = useIntl() const { push } = usePixel() @@ -54,7 +54,7 @@ const DeliveryDrawer = ({ onChange={onChange} onSubmit={onSubmit} inputErrorMessage={inputErrorMessage} - overlayMode={overlayMode} + overlayType={overlayType} /> } title={intl.formatMessage(messages.storeDeliverDrawerTitle)} diff --git a/react/components/ShippingOptionButton.tsx b/react/components/ShippingOptionButton.tsx index 8aeee28..21a82c1 100644 --- a/react/components/ShippingOptionButton.tsx +++ b/react/components/ShippingOptionButton.tsx @@ -23,7 +23,7 @@ interface Props { onChange?: (zipCode?: string) => void onSubmit?: () => void inputErrorMessage?: string - overlayMode?: OverlayMode + overlayType?: OverlayType } const ShippingOptionButton = ({ @@ -37,7 +37,7 @@ const ShippingOptionButton = ({ onChange, onSubmit, inputErrorMessage, - overlayMode, + overlayType, }: Props) => { const [isPopoverOpen, setIsPopoverOpen] = useState(true) const handles = useCssHandles(CSS_HANDLES) @@ -52,7 +52,7 @@ const ShippingOptionButton = ({ } const showPopover = - overlayMode === 'popover-button' || overlayMode === 'popover-input' + overlayType === 'popover-button' || overlayType === 'popover-input' const isFirstLoading = !zipCode && loading @@ -88,7 +88,7 @@ const ShippingOptionButton = ({ isLoading={loading} inputErrorMessage={inputErrorMessage} zipCode={zipCode} - variant={overlayMode} + variant={overlayType} /> )}
diff --git a/react/index.tsx b/react/index.tsx index 796b9c6..62e5321 100644 --- a/react/index.tsx +++ b/react/index.tsx @@ -10,13 +10,13 @@ import { getCookie } from './utils/cookie' interface Props { hideStoreSelection?: boolean compactMode?: boolean - overlayMode?: OverlayMode + overlayType?: OverlayType } function ShippingOptionZipCode({ hideStoreSelection = false, compactMode = false, - overlayMode, + overlayType = 'popover-input', }: Props) { const { production } = useRuntime() const [shouldRender, setShouldRender] = useState(!production) @@ -63,7 +63,7 @@ function ShippingOptionZipCode({ selectedZipCode={selectedZipCode} zipCode={zipCode} compact={compactMode} - overlayMode={overlayMode} + overlayType={overlayType} /> {!hideStoreSelection && ( Date: Mon, 16 Dec 2024 17:01:07 -0300 Subject: [PATCH 3/7] feat: update messages ids --- messages/bg.json | 2 +- messages/ca.json | 2 +- messages/cs.json | 2 +- messages/da.json | 2 +- messages/de.json | 2 +- messages/el.json | 2 +- messages/en.json | 2 +- messages/es.json | 4 ++-- messages/fi.json | 2 +- messages/fr.json | 2 +- messages/hu.json | 2 +- messages/id.json | 2 +- messages/it.json | 2 +- messages/ja.json | 2 +- messages/ko.json | 2 +- messages/nl.json | 2 +- messages/no.json | 2 +- messages/pl.json | 2 +- messages/pt.json | 2 +- messages/ro.json | 2 +- messages/ru.json | 2 +- messages/sk.json | 2 +- messages/sl.json | 2 +- messages/sv.json | 2 +- messages/th.json | 2 +- messages/uk.json | 2 +- 26 files changed, 27 insertions(+), 27 deletions(-) diff --git a/messages/bg.json b/messages/bg.json index 26b8935..0e02b38 100644 --- a/messages/bg.json +++ b/messages/bg.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Преглед на магазините във вашия регион", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Избиране на магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Въвеждане на пощенския ви код", - "store/shipping-option-zipcode.postalCodeInput.error": "Въведеният пощенски код не е в района на нашето покритие", + "store/shipping-option-zipcode.postalCodeInput.error.": "Въведеният пощенски код не е в района на нашето покритие", "store/shipping-option-zipcode.currentLocationButton": "Използване на настоящото местоположение", "store/shipping-option-zipcode.storeHoursButton": "Преглед на работното време на магазина", "store/shipping-option-zipcode.viewMoreButton": "Преглед на повече", diff --git a/messages/ca.json b/messages/ca.json index 04f3b70..07bc32b 100644 --- a/messages/ca.json +++ b/messages/ca.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Mostrar les botigues a la vostra regió", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Tria una botiga", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Introduïu el vostre codi postal", - "store/shipping-option-zipcode.postalCodeInput.error": "El codi postal introduït no forma part de la nostra zona de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error.": "El codi postal introduït no forma part de la nostra zona de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Fes servir la ubicació actual", "store/shipping-option-zipcode.storeHoursButton": "Mostra l'horari de la botiga", "store/shipping-option-zipcode.viewMoreButton": "Mostra'n més", diff --git a/messages/cs.json b/messages/cs.json index 3b01fc1..a48bf1c 100644 --- a/messages/cs.json +++ b/messages/cs.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Prohlédněte si obchody ve svém regionu", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vyberte si obchod", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Zadejte své poštovní směrovací číslo", - "store/shipping-option-zipcode.postalCodeInput.error": "Zadané poštovní směrovací číslo se nenachází v naší oblasti pokrytí", + "store/shipping-option-zipcode.postalCodeInput.error.": "Zadané poštovní směrovací číslo se nenachází v naší oblasti pokrytí", "store/shipping-option-zipcode.currentLocationButton": "Použít aktuální polohu", "store/shipping-option-zipcode.storeHoursButton": "Zobrazit otevírací dobu obchodu", "store/shipping-option-zipcode.viewMoreButton": "Zobrazit více", diff --git a/messages/da.json b/messages/da.json index b88c8a1..b34dd82 100644 --- a/messages/da.json +++ b/messages/da.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vis butikker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vælg en butik", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Indtast dit postnummer", - "store/shipping-option-zipcode.postalCodeInput.error": "Det indtastede postnummer er ikke indenfor dit dækningsområde", + "store/shipping-option-zipcode.postalCodeInput.error.": "Det indtastede postnummer er ikke indenfor dit dækningsområde", "store/shipping-option-zipcode.currentLocationButton": "Brug nuværende lokation", "store/shipping-option-zipcode.storeHoursButton": "Vis butikkens åbningstider", "store/shipping-option-zipcode.viewMoreButton": "Vis mere", diff --git a/messages/de.json b/messages/de.json index ba09fdf..05deb24 100644 --- a/messages/de.json +++ b/messages/de.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Shops in Ihrer Region anzeigen", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Shop auswählen", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Geben Sie Ihre Postleitzahl ein", - "store/shipping-option-zipcode.postalCodeInput.error": "Die eingegebene Postleitzahl ist nicht in unserem Abdeckungsbereich", + "store/shipping-option-zipcode.postalCodeInput.error.": "Die eingegebene Postleitzahl ist nicht in unserem Abdeckungsbereich", "store/shipping-option-zipcode.currentLocationButton": "Aktuellen Standort verwenden", "store/shipping-option-zipcode.storeHoursButton": "Ladenöffnungszeiten anzeigen", "store/shipping-option-zipcode.viewMoreButton": "Mehr ansehen", diff --git a/messages/el.json b/messages/el.json index d8afb82..bfcf86c 100644 --- a/messages/el.json +++ b/messages/el.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Προβολή καταστημάτων στην περιοχή σας", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Επιλέξτε ένα κατάστημα", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Εισαγάγετε τον ταχυδρομικό σας κώδικα", - "store/shipping-option-zipcode.postalCodeInput.error": "Ο ταχυδρομικός κώδικας που καταχωρήσατε δεν βρίσκεται εντός της περιοχής κάλυψής μας", + "store/shipping-option-zipcode.postalCodeInput.error.": "Ο ταχυδρομικός κώδικας που καταχωρήσατε δεν βρίσκεται εντός της περιοχής κάλυψής μας", "store/shipping-option-zipcode.currentLocationButton": "Χρήση τρέχουσας τοποθεσίας", "store/shipping-option-zipcode.storeHoursButton": "Προβολή ωρών λειτουργίας καταστήματος", "store/shipping-option-zipcode.viewMoreButton": "Προβολή περισσοτέρων", diff --git a/messages/en.json b/messages/en.json index 5b1e778..16eb155 100644 --- a/messages/en.json +++ b/messages/en.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "View stores in your region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Choose a store", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Enter your postal code", - "store/shipping-option-zipcode.postalCodeInput.error": "The entered postal code is not within our coverage area", + "store/shipping-option-zipcode.postalCodeInput.error.": "The entered postal code is not within our coverage area", "store/shipping-option-zipcode.currentLocationButton": "Use Current Location", "store/shipping-option-zipcode.storeHoursButton": "View Store Hours", "store/shipping-option-zipcode.viewMoreButton": "View More", diff --git a/messages/es.json b/messages/es.json index 18036a1..42cec66 100644 --- a/messages/es.json +++ b/messages/es.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Consulta las tiendas en tu región", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Selecciona una tienda", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Ingresa tu código postal", - "store/shipping-option-zipcode.postalCodeInput.error": "El código postal ingresado no está incluido en nuestra área de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error.": "El código postal ingresado no está incluido en nuestra área de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Usar la ubicación actual", "store/shipping-option-zipcode.storeHoursButton": "Horario de la tienda", "store/shipping-option-zipcode.viewMoreButton": "Ver más", @@ -21,4 +21,4 @@ "store/shipping-option-zipcode.updateButton.label": "Actualizar", "store/shipping-option-zipcode.popoverButton.label": "Selecciona una ubicación", "store/shipping-option-zipcode.popover.description": "Las opciones y velocidad de envío pueden variar según la dirección y la tienda" -} \ No newline at end of file +} diff --git a/messages/fi.json b/messages/fi.json index 3cb2bde..5ece542 100644 --- a/messages/fi.json +++ b/messages/fi.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Näytä alueesi myymälät", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Valitse myymälä", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Anna postinumerosi", - "store/shipping-option-zipcode.postalCodeInput.error": "Annettu postinumero ei kuulu kattavuusalueellemme", + "store/shipping-option-zipcode.postalCodeInput.error.": "Annettu postinumero ei kuulu kattavuusalueellemme", "store/shipping-option-zipcode.currentLocationButton": "Käytä nykyistä sijaintia", "store/shipping-option-zipcode.storeHoursButton": "Näytä myymälän aukioloajat", "store/shipping-option-zipcode.viewMoreButton": "Näytä lisää", diff --git a/messages/fr.json b/messages/fr.json index 0e6b0a9..cc8a00f 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Voir les magasins de votre région", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Choisissez un magasin", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Entrez votre code postal", - "store/shipping-option-zipcode.postalCodeInput.error": "Le code postal saisi ne se trouve pas dans notre zone de couverture", + "store/shipping-option-zipcode.postalCodeInput.error.": "Le code postal saisi ne se trouve pas dans notre zone de couverture", "store/shipping-option-zipcode.currentLocationButton": "Utiliser la localisation actuelle", "store/shipping-option-zipcode.storeHoursButton": "Voir les heures d’ouverture du magasin", "store/shipping-option-zipcode.viewMoreButton": "Afficher plus", diff --git a/messages/hu.json b/messages/hu.json index e3f3fdd..b28e945 100644 --- a/messages/hu.json +++ b/messages/hu.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Üzletek megtekintése a régiójában", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Válasszon egy üzletet", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Adja meg az irányítószámát", - "store/shipping-option-zipcode.postalCodeInput.error": "A megadott irányítószám nem tartozik a lefedettségi területünkhöz", + "store/shipping-option-zipcode.postalCodeInput.error.": "A megadott irányítószám nem tartozik a lefedettségi területünkhöz", "store/shipping-option-zipcode.currentLocationButton": "Aktuális tartózkodási hely használata", "store/shipping-option-zipcode.storeHoursButton": "Nyitvatartási idő megtekintése", "store/shipping-option-zipcode.viewMoreButton": "Több megtekintése", diff --git a/messages/id.json b/messages/id.json index dd3f0d4..d8eff47 100644 --- a/messages/id.json +++ b/messages/id.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Lihat toko di wilayah Anda", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Pilih toko", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Masukkan kode pos Anda", - "store/shipping-option-zipcode.postalCodeInput.error": "Kode pos yang dimasukkan tidak masuk area jangkauan kami", + "store/shipping-option-zipcode.postalCodeInput.error.": "Kode pos yang dimasukkan tidak masuk area jangkauan kami", "store/shipping-option-zipcode.currentLocationButton": "Gunakan Lokasi Saat Ini", "store/shipping-option-zipcode.storeHoursButton": "Lihat Jam Toko", "store/shipping-option-zipcode.viewMoreButton": "Lihat Selengkapnya", diff --git a/messages/it.json b/messages/it.json index 5dbc89d..2c5d1a8 100644 --- a/messages/it.json +++ b/messages/it.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vedi i negozi nella tua regione", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Scegli un negozio", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Inserisci il tuo codice di avviamento postale", - "store/shipping-option-zipcode.postalCodeInput.error": "Il codice di avviamento postale inserito non rientra nella nostra zona di copertura", + "store/shipping-option-zipcode.postalCodeInput.error.": "Il codice di avviamento postale inserito non rientra nella nostra zona di copertura", "store/shipping-option-zipcode.currentLocationButton": "Usa posizione attuale", "store/shipping-option-zipcode.storeHoursButton": "Orari del negozio", "store/shipping-option-zipcode.viewMoreButton": "Mostra di più", diff --git a/messages/ja.json b/messages/ja.json index 39da49c..cdc8a96 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "お住まいの地域の店舗を見る", "store/shipping-option-zipcode.pickupDrawer.title.filled": "店舗を選択", "store/shipping-option-zipcode.postalCodeInput.placeholder": "郵便番号を入力してください", - "store/shipping-option-zipcode.postalCodeInput.error": "入力された郵便番号は、当社のサービス提供地域外です。", + "store/shipping-option-zipcode.postalCodeInput.error.": "入力された郵便番号は、当社のサービス提供地域外です。", "store/shipping-option-zipcode.currentLocationButton": "現在地を使用", "store/shipping-option-zipcode.storeHoursButton": "営業時間を見る", "store/shipping-option-zipcode.viewMoreButton": "もっと見る", diff --git a/messages/ko.json b/messages/ko.json index afc98db..7c99636 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "해당 지역의 스토어 보기", "store/shipping-option-zipcode.pickupDrawer.title.filled": "스토어 선택", "store/shipping-option-zipcode.postalCodeInput.placeholder": "우편번호 입력", - "store/shipping-option-zipcode.postalCodeInput.error": "입력한 우편번호가 당사의 서비스 지역 내에 있지 않습니다", + "store/shipping-option-zipcode.postalCodeInput.error.": "입력한 우편번호가 당사의 서비스 지역 내에 있지 않습니다", "store/shipping-option-zipcode.currentLocationButton": "현재 위치 사용", "store/shipping-option-zipcode.storeHoursButton": "매장 시간 보기", "store/shipping-option-zipcode.viewMoreButton": "더 보기", diff --git a/messages/nl.json b/messages/nl.json index df369dc..99a9462 100644 --- a/messages/nl.json +++ b/messages/nl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Bekijk winkels in uw regio", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Kies een winkel", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Voer uw postcode in", - "store/shipping-option-zipcode.postalCodeInput.error": "De ingevoerde postcode valt niet binnen ons gebied", + "store/shipping-option-zipcode.postalCodeInput.error.": "De ingevoerde postcode valt niet binnen ons gebied", "store/shipping-option-zipcode.currentLocationButton": "Gebruik huidige locatie", "store/shipping-option-zipcode.storeHoursButton": "Winkeluren bekijken", "store/shipping-option-zipcode.viewMoreButton": "Meer weergeven", diff --git a/messages/no.json b/messages/no.json index 80746bc..77ee03f 100644 --- a/messages/no.json +++ b/messages/no.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Se butikker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Velg en butikk", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Skriv inn postkode", - "store/shipping-option-zipcode.postalCodeInput.error": "Postnummeret du skrev inn er ikke innenfor vårt dekningsområde", + "store/shipping-option-zipcode.postalCodeInput.error.": "Postnummeret du skrev inn er ikke innenfor vårt dekningsområde", "store/shipping-option-zipcode.currentLocationButton": "Bruk gjeldende posisjon", "store/shipping-option-zipcode.storeHoursButton": "Vis butikktimer", "store/shipping-option-zipcode.viewMoreButton": "Vis mere", diff --git a/messages/pl.json b/messages/pl.json index 0e5092c..4d7bf3f 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Wyświetl sklepy w swoim regionie", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Wybierz sklep", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Wprowadź swój kod pocztowy", - "store/shipping-option-zipcode.postalCodeInput.error": "Wprowadzony kod pocztowy nie znajduje się w naszym zasięgu", + "store/shipping-option-zipcode.postalCodeInput.error.": "Wprowadzony kod pocztowy nie znajduje się w naszym zasięgu", "store/shipping-option-zipcode.currentLocationButton": "Użyj bieżącej lokalizacji", "store/shipping-option-zipcode.storeHoursButton": "Zobacz godziny otwarcia sklepu", "store/shipping-option-zipcode.viewMoreButton": "Zobacz więcej", diff --git a/messages/pt.json b/messages/pt.json index adef149..fdebc2f 100644 --- a/messages/pt.json +++ b/messages/pt.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Veja as lojas em sua região", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Escolha uma loja", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Insira seu código postal", - "store/shipping-option-zipcode.postalCodeInput.error": "O código postal inserido não está dentro da nossa área de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error.": "O código postal inserido não está dentro da nossa área de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Usar localização atual", "store/shipping-option-zipcode.storeHoursButton": "Ver horários da loja", "store/shipping-option-zipcode.viewMoreButton": "Ver mais", diff --git a/messages/ro.json b/messages/ro.json index d1ad082..28d04d2 100644 --- a/messages/ro.json +++ b/messages/ro.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vezi magazinele din regiunea ta", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Alege un magazin", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Introdu codul poștal", - "store/shipping-option-zipcode.postalCodeInput.error": "Codul poștal introdus nu se află în zona noastră de acoperire", + "store/shipping-option-zipcode.postalCodeInput.error.": "Codul poștal introdus nu se află în zona noastră de acoperire", "store/shipping-option-zipcode.currentLocationButton": "Folosește locația actuală", "store/shipping-option-zipcode.storeHoursButton": "Vezi programul magazinului", "store/shipping-option-zipcode.viewMoreButton": "Vezi mai mult", diff --git a/messages/ru.json b/messages/ru.json index dd9a746..ee85b50 100644 --- a/messages/ru.json +++ b/messages/ru.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Показать магазины в вашем регионе", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Выберите магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Введите почтовый индекс", - "store/shipping-option-zipcode.postalCodeInput.error": "Введенный почтовый индекс находится вне нашей зоны обслуживания", + "store/shipping-option-zipcode.postalCodeInput.error.": "Введенный почтовый индекс находится вне нашей зоны обслуживания", "store/shipping-option-zipcode.currentLocationButton": "Использовать текущее местоположение", "store/shipping-option-zipcode.storeHoursButton": "Показать график работы магазина", "store/shipping-option-zipcode.viewMoreButton": "Показать больше", diff --git a/messages/sk.json b/messages/sk.json index 2a62615..834d86a 100644 --- a/messages/sk.json +++ b/messages/sk.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Zobraziť obchody vo vašom regióne", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vyberte obchod", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Zadajte svoje poštové smerovacie číslo", - "store/shipping-option-zipcode.postalCodeInput.error": "Zadané poštové smerovacie číslo nie je v našej oblasti pokrytia", + "store/shipping-option-zipcode.postalCodeInput.error.": "Zadané poštové smerovacie číslo nie je v našej oblasti pokrytia", "store/shipping-option-zipcode.currentLocationButton": "Použiť aktuálnu polohu", "store/shipping-option-zipcode.storeHoursButton": "Zobraziť otváracie hodiny obchodu", "store/shipping-option-zipcode.viewMoreButton": "Zobraziť viac", diff --git a/messages/sl.json b/messages/sl.json index 0e571cd..f5f949e 100644 --- a/messages/sl.json +++ b/messages/sl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Oglejte si trgovine v svoji regiji", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Izberi trgovino", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Vnesite svojo poštno številko", - "store/shipping-option-zipcode.postalCodeInput.error": "Vnesena poštna številka ni na našem območju pokrivanja", + "store/shipping-option-zipcode.postalCodeInput.error.": "Vnesena poštna številka ni na našem območju pokrivanja", "store/shipping-option-zipcode.currentLocationButton": "Uporabi trenutno lokacijo", "store/shipping-option-zipcode.storeHoursButton": "Oglejte si ure trgovine", "store/shipping-option-zipcode.viewMoreButton": "Poglej več", diff --git a/messages/sv.json b/messages/sv.json index e3241fa..aab84de 100644 --- a/messages/sv.json +++ b/messages/sv.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Visa butiker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Välj en butik", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Ange ditt postnummer", - "store/shipping-option-zipcode.postalCodeInput.error": "Det angivna postnumret är inte inom vårt täckningsområde", + "store/shipping-option-zipcode.postalCodeInput.error.": "Det angivna postnumret är inte inom vårt täckningsområde", "store/shipping-option-zipcode.currentLocationButton": "Använd aktuell plats", "store/shipping-option-zipcode.storeHoursButton": "Visa butikstimmar", "store/shipping-option-zipcode.viewMoreButton": "Visa mer", diff --git a/messages/th.json b/messages/th.json index c538302..715c0e4 100644 --- a/messages/th.json +++ b/messages/th.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "ดูร้านค้าในภูมิภาคที่คุณอยู่", "store/shipping-option-zipcode.pickupDrawer.title.filled": "เลือกร้านค้า", "store/shipping-option-zipcode.postalCodeInput.placeholder": "ใส่รหัสไปรษณีย์ของคุณ", - "store/shipping-option-zipcode.postalCodeInput.error": "รหัสไปรษณีย์ที่ให้ไม่อยู่ในพื้นที่ดูแลของเรา", + "store/shipping-option-zipcode.postalCodeInput.error.": "รหัสไปรษณีย์ที่ให้ไม่อยู่ในพื้นที่ดูแลของเรา", "store/shipping-option-zipcode.currentLocationButton": "ใช้ที่ตั้งปัจจุบัน", "store/shipping-option-zipcode.storeHoursButton": "ดูเวลาทำการของร้านค้า", "store/shipping-option-zipcode.viewMoreButton": "ดูเพิ่มเติม", diff --git a/messages/uk.json b/messages/uk.json index 6a2e415..cc3bd95 100644 --- a/messages/uk.json +++ b/messages/uk.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Переглянути магазини у вашому регіоні", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Виберіть магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Введіть поштовий індекс", - "store/shipping-option-zipcode.postalCodeInput.error": "Введений поштовий індекс — поза нашою зоною обслуговування", + "store/shipping-option-zipcode.postalCodeInput.error.": "Введений поштовий індекс — поза нашою зоною обслуговування", "store/shipping-option-zipcode.currentLocationButton": "Використати поточне розташування", "store/shipping-option-zipcode.storeHoursButton": "Переглянути години роботи магазину", "store/shipping-option-zipcode.viewMoreButton": "Переглянути більше", From 2236a66387936245affc30ec3fbbd431c255dae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Ferr=C3=A3o?= Date: Mon, 16 Dec 2024 17:03:35 -0300 Subject: [PATCH 4/7] fix: messages ids to postalCodeInput error --- messages/bg.json | 2 +- messages/ca.json | 2 +- messages/cs.json | 2 +- messages/da.json | 2 +- messages/de.json | 2 +- messages/el.json | 2 +- messages/en.json | 2 +- messages/es.json | 2 +- messages/fi.json | 2 +- messages/fr.json | 2 +- messages/hu.json | 2 +- messages/id.json | 2 +- messages/it.json | 2 +- messages/ja.json | 2 +- messages/ko.json | 2 +- messages/nl.json | 2 +- messages/no.json | 2 +- messages/pl.json | 2 +- messages/pt.json | 2 +- messages/ro.json | 2 +- messages/ru.json | 2 +- messages/sk.json | 2 +- messages/sl.json | 2 +- messages/sv.json | 2 +- messages/th.json | 2 +- messages/uk.json | 2 +- 26 files changed, 26 insertions(+), 26 deletions(-) diff --git a/messages/bg.json b/messages/bg.json index 0e02b38..26b8935 100644 --- a/messages/bg.json +++ b/messages/bg.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Преглед на магазините във вашия регион", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Избиране на магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Въвеждане на пощенския ви код", - "store/shipping-option-zipcode.postalCodeInput.error.": "Въведеният пощенски код не е в района на нашето покритие", + "store/shipping-option-zipcode.postalCodeInput.error": "Въведеният пощенски код не е в района на нашето покритие", "store/shipping-option-zipcode.currentLocationButton": "Използване на настоящото местоположение", "store/shipping-option-zipcode.storeHoursButton": "Преглед на работното време на магазина", "store/shipping-option-zipcode.viewMoreButton": "Преглед на повече", diff --git a/messages/ca.json b/messages/ca.json index 07bc32b..04f3b70 100644 --- a/messages/ca.json +++ b/messages/ca.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Mostrar les botigues a la vostra regió", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Tria una botiga", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Introduïu el vostre codi postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "El codi postal introduït no forma part de la nostra zona de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error": "El codi postal introduït no forma part de la nostra zona de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Fes servir la ubicació actual", "store/shipping-option-zipcode.storeHoursButton": "Mostra l'horari de la botiga", "store/shipping-option-zipcode.viewMoreButton": "Mostra'n més", diff --git a/messages/cs.json b/messages/cs.json index a48bf1c..3b01fc1 100644 --- a/messages/cs.json +++ b/messages/cs.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Prohlédněte si obchody ve svém regionu", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vyberte si obchod", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Zadejte své poštovní směrovací číslo", - "store/shipping-option-zipcode.postalCodeInput.error.": "Zadané poštovní směrovací číslo se nenachází v naší oblasti pokrytí", + "store/shipping-option-zipcode.postalCodeInput.error": "Zadané poštovní směrovací číslo se nenachází v naší oblasti pokrytí", "store/shipping-option-zipcode.currentLocationButton": "Použít aktuální polohu", "store/shipping-option-zipcode.storeHoursButton": "Zobrazit otevírací dobu obchodu", "store/shipping-option-zipcode.viewMoreButton": "Zobrazit více", diff --git a/messages/da.json b/messages/da.json index b34dd82..b88c8a1 100644 --- a/messages/da.json +++ b/messages/da.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vis butikker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vælg en butik", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Indtast dit postnummer", - "store/shipping-option-zipcode.postalCodeInput.error.": "Det indtastede postnummer er ikke indenfor dit dækningsområde", + "store/shipping-option-zipcode.postalCodeInput.error": "Det indtastede postnummer er ikke indenfor dit dækningsområde", "store/shipping-option-zipcode.currentLocationButton": "Brug nuværende lokation", "store/shipping-option-zipcode.storeHoursButton": "Vis butikkens åbningstider", "store/shipping-option-zipcode.viewMoreButton": "Vis mere", diff --git a/messages/de.json b/messages/de.json index 05deb24..ba09fdf 100644 --- a/messages/de.json +++ b/messages/de.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Shops in Ihrer Region anzeigen", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Shop auswählen", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Geben Sie Ihre Postleitzahl ein", - "store/shipping-option-zipcode.postalCodeInput.error.": "Die eingegebene Postleitzahl ist nicht in unserem Abdeckungsbereich", + "store/shipping-option-zipcode.postalCodeInput.error": "Die eingegebene Postleitzahl ist nicht in unserem Abdeckungsbereich", "store/shipping-option-zipcode.currentLocationButton": "Aktuellen Standort verwenden", "store/shipping-option-zipcode.storeHoursButton": "Ladenöffnungszeiten anzeigen", "store/shipping-option-zipcode.viewMoreButton": "Mehr ansehen", diff --git a/messages/el.json b/messages/el.json index bfcf86c..d8afb82 100644 --- a/messages/el.json +++ b/messages/el.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Προβολή καταστημάτων στην περιοχή σας", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Επιλέξτε ένα κατάστημα", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Εισαγάγετε τον ταχυδρομικό σας κώδικα", - "store/shipping-option-zipcode.postalCodeInput.error.": "Ο ταχυδρομικός κώδικας που καταχωρήσατε δεν βρίσκεται εντός της περιοχής κάλυψής μας", + "store/shipping-option-zipcode.postalCodeInput.error": "Ο ταχυδρομικός κώδικας που καταχωρήσατε δεν βρίσκεται εντός της περιοχής κάλυψής μας", "store/shipping-option-zipcode.currentLocationButton": "Χρήση τρέχουσας τοποθεσίας", "store/shipping-option-zipcode.storeHoursButton": "Προβολή ωρών λειτουργίας καταστήματος", "store/shipping-option-zipcode.viewMoreButton": "Προβολή περισσοτέρων", diff --git a/messages/en.json b/messages/en.json index 16eb155..5b1e778 100644 --- a/messages/en.json +++ b/messages/en.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "View stores in your region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Choose a store", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Enter your postal code", - "store/shipping-option-zipcode.postalCodeInput.error.": "The entered postal code is not within our coverage area", + "store/shipping-option-zipcode.postalCodeInput.error": "The entered postal code is not within our coverage area", "store/shipping-option-zipcode.currentLocationButton": "Use Current Location", "store/shipping-option-zipcode.storeHoursButton": "View Store Hours", "store/shipping-option-zipcode.viewMoreButton": "View More", diff --git a/messages/es.json b/messages/es.json index 42cec66..911f384 100644 --- a/messages/es.json +++ b/messages/es.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Consulta las tiendas en tu región", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Selecciona una tienda", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Ingresa tu código postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "El código postal ingresado no está incluido en nuestra área de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error": "El código postal ingresado no está incluido en nuestra área de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Usar la ubicación actual", "store/shipping-option-zipcode.storeHoursButton": "Horario de la tienda", "store/shipping-option-zipcode.viewMoreButton": "Ver más", diff --git a/messages/fi.json b/messages/fi.json index 5ece542..3cb2bde 100644 --- a/messages/fi.json +++ b/messages/fi.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Näytä alueesi myymälät", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Valitse myymälä", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Anna postinumerosi", - "store/shipping-option-zipcode.postalCodeInput.error.": "Annettu postinumero ei kuulu kattavuusalueellemme", + "store/shipping-option-zipcode.postalCodeInput.error": "Annettu postinumero ei kuulu kattavuusalueellemme", "store/shipping-option-zipcode.currentLocationButton": "Käytä nykyistä sijaintia", "store/shipping-option-zipcode.storeHoursButton": "Näytä myymälän aukioloajat", "store/shipping-option-zipcode.viewMoreButton": "Näytä lisää", diff --git a/messages/fr.json b/messages/fr.json index cc8a00f..0e6b0a9 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Voir les magasins de votre région", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Choisissez un magasin", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Entrez votre code postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "Le code postal saisi ne se trouve pas dans notre zone de couverture", + "store/shipping-option-zipcode.postalCodeInput.error": "Le code postal saisi ne se trouve pas dans notre zone de couverture", "store/shipping-option-zipcode.currentLocationButton": "Utiliser la localisation actuelle", "store/shipping-option-zipcode.storeHoursButton": "Voir les heures d’ouverture du magasin", "store/shipping-option-zipcode.viewMoreButton": "Afficher plus", diff --git a/messages/hu.json b/messages/hu.json index b28e945..e3f3fdd 100644 --- a/messages/hu.json +++ b/messages/hu.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Üzletek megtekintése a régiójában", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Válasszon egy üzletet", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Adja meg az irányítószámát", - "store/shipping-option-zipcode.postalCodeInput.error.": "A megadott irányítószám nem tartozik a lefedettségi területünkhöz", + "store/shipping-option-zipcode.postalCodeInput.error": "A megadott irányítószám nem tartozik a lefedettségi területünkhöz", "store/shipping-option-zipcode.currentLocationButton": "Aktuális tartózkodási hely használata", "store/shipping-option-zipcode.storeHoursButton": "Nyitvatartási idő megtekintése", "store/shipping-option-zipcode.viewMoreButton": "Több megtekintése", diff --git a/messages/id.json b/messages/id.json index d8eff47..dd3f0d4 100644 --- a/messages/id.json +++ b/messages/id.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Lihat toko di wilayah Anda", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Pilih toko", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Masukkan kode pos Anda", - "store/shipping-option-zipcode.postalCodeInput.error.": "Kode pos yang dimasukkan tidak masuk area jangkauan kami", + "store/shipping-option-zipcode.postalCodeInput.error": "Kode pos yang dimasukkan tidak masuk area jangkauan kami", "store/shipping-option-zipcode.currentLocationButton": "Gunakan Lokasi Saat Ini", "store/shipping-option-zipcode.storeHoursButton": "Lihat Jam Toko", "store/shipping-option-zipcode.viewMoreButton": "Lihat Selengkapnya", diff --git a/messages/it.json b/messages/it.json index 2c5d1a8..5dbc89d 100644 --- a/messages/it.json +++ b/messages/it.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vedi i negozi nella tua regione", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Scegli un negozio", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Inserisci il tuo codice di avviamento postale", - "store/shipping-option-zipcode.postalCodeInput.error.": "Il codice di avviamento postale inserito non rientra nella nostra zona di copertura", + "store/shipping-option-zipcode.postalCodeInput.error": "Il codice di avviamento postale inserito non rientra nella nostra zona di copertura", "store/shipping-option-zipcode.currentLocationButton": "Usa posizione attuale", "store/shipping-option-zipcode.storeHoursButton": "Orari del negozio", "store/shipping-option-zipcode.viewMoreButton": "Mostra di più", diff --git a/messages/ja.json b/messages/ja.json index cdc8a96..39da49c 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "お住まいの地域の店舗を見る", "store/shipping-option-zipcode.pickupDrawer.title.filled": "店舗を選択", "store/shipping-option-zipcode.postalCodeInput.placeholder": "郵便番号を入力してください", - "store/shipping-option-zipcode.postalCodeInput.error.": "入力された郵便番号は、当社のサービス提供地域外です。", + "store/shipping-option-zipcode.postalCodeInput.error": "入力された郵便番号は、当社のサービス提供地域外です。", "store/shipping-option-zipcode.currentLocationButton": "現在地を使用", "store/shipping-option-zipcode.storeHoursButton": "営業時間を見る", "store/shipping-option-zipcode.viewMoreButton": "もっと見る", diff --git a/messages/ko.json b/messages/ko.json index 7c99636..afc98db 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "해당 지역의 스토어 보기", "store/shipping-option-zipcode.pickupDrawer.title.filled": "스토어 선택", "store/shipping-option-zipcode.postalCodeInput.placeholder": "우편번호 입력", - "store/shipping-option-zipcode.postalCodeInput.error.": "입력한 우편번호가 당사의 서비스 지역 내에 있지 않습니다", + "store/shipping-option-zipcode.postalCodeInput.error": "입력한 우편번호가 당사의 서비스 지역 내에 있지 않습니다", "store/shipping-option-zipcode.currentLocationButton": "현재 위치 사용", "store/shipping-option-zipcode.storeHoursButton": "매장 시간 보기", "store/shipping-option-zipcode.viewMoreButton": "더 보기", diff --git a/messages/nl.json b/messages/nl.json index 99a9462..df369dc 100644 --- a/messages/nl.json +++ b/messages/nl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Bekijk winkels in uw regio", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Kies een winkel", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Voer uw postcode in", - "store/shipping-option-zipcode.postalCodeInput.error.": "De ingevoerde postcode valt niet binnen ons gebied", + "store/shipping-option-zipcode.postalCodeInput.error": "De ingevoerde postcode valt niet binnen ons gebied", "store/shipping-option-zipcode.currentLocationButton": "Gebruik huidige locatie", "store/shipping-option-zipcode.storeHoursButton": "Winkeluren bekijken", "store/shipping-option-zipcode.viewMoreButton": "Meer weergeven", diff --git a/messages/no.json b/messages/no.json index 77ee03f..80746bc 100644 --- a/messages/no.json +++ b/messages/no.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Se butikker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Velg en butikk", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Skriv inn postkode", - "store/shipping-option-zipcode.postalCodeInput.error.": "Postnummeret du skrev inn er ikke innenfor vårt dekningsområde", + "store/shipping-option-zipcode.postalCodeInput.error": "Postnummeret du skrev inn er ikke innenfor vårt dekningsområde", "store/shipping-option-zipcode.currentLocationButton": "Bruk gjeldende posisjon", "store/shipping-option-zipcode.storeHoursButton": "Vis butikktimer", "store/shipping-option-zipcode.viewMoreButton": "Vis mere", diff --git a/messages/pl.json b/messages/pl.json index 4d7bf3f..0e5092c 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Wyświetl sklepy w swoim regionie", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Wybierz sklep", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Wprowadź swój kod pocztowy", - "store/shipping-option-zipcode.postalCodeInput.error.": "Wprowadzony kod pocztowy nie znajduje się w naszym zasięgu", + "store/shipping-option-zipcode.postalCodeInput.error": "Wprowadzony kod pocztowy nie znajduje się w naszym zasięgu", "store/shipping-option-zipcode.currentLocationButton": "Użyj bieżącej lokalizacji", "store/shipping-option-zipcode.storeHoursButton": "Zobacz godziny otwarcia sklepu", "store/shipping-option-zipcode.viewMoreButton": "Zobacz więcej", diff --git a/messages/pt.json b/messages/pt.json index fdebc2f..adef149 100644 --- a/messages/pt.json +++ b/messages/pt.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Veja as lojas em sua região", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Escolha uma loja", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Insira seu código postal", - "store/shipping-option-zipcode.postalCodeInput.error.": "O código postal inserido não está dentro da nossa área de cobertura", + "store/shipping-option-zipcode.postalCodeInput.error": "O código postal inserido não está dentro da nossa área de cobertura", "store/shipping-option-zipcode.currentLocationButton": "Usar localização atual", "store/shipping-option-zipcode.storeHoursButton": "Ver horários da loja", "store/shipping-option-zipcode.viewMoreButton": "Ver mais", diff --git a/messages/ro.json b/messages/ro.json index 28d04d2..d1ad082 100644 --- a/messages/ro.json +++ b/messages/ro.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Vezi magazinele din regiunea ta", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Alege un magazin", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Introdu codul poștal", - "store/shipping-option-zipcode.postalCodeInput.error.": "Codul poștal introdus nu se află în zona noastră de acoperire", + "store/shipping-option-zipcode.postalCodeInput.error": "Codul poștal introdus nu se află în zona noastră de acoperire", "store/shipping-option-zipcode.currentLocationButton": "Folosește locația actuală", "store/shipping-option-zipcode.storeHoursButton": "Vezi programul magazinului", "store/shipping-option-zipcode.viewMoreButton": "Vezi mai mult", diff --git a/messages/ru.json b/messages/ru.json index ee85b50..dd9a746 100644 --- a/messages/ru.json +++ b/messages/ru.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Показать магазины в вашем регионе", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Выберите магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Введите почтовый индекс", - "store/shipping-option-zipcode.postalCodeInput.error.": "Введенный почтовый индекс находится вне нашей зоны обслуживания", + "store/shipping-option-zipcode.postalCodeInput.error": "Введенный почтовый индекс находится вне нашей зоны обслуживания", "store/shipping-option-zipcode.currentLocationButton": "Использовать текущее местоположение", "store/shipping-option-zipcode.storeHoursButton": "Показать график работы магазина", "store/shipping-option-zipcode.viewMoreButton": "Показать больше", diff --git a/messages/sk.json b/messages/sk.json index 834d86a..2a62615 100644 --- a/messages/sk.json +++ b/messages/sk.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Zobraziť obchody vo vašom regióne", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Vyberte obchod", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Zadajte svoje poštové smerovacie číslo", - "store/shipping-option-zipcode.postalCodeInput.error.": "Zadané poštové smerovacie číslo nie je v našej oblasti pokrytia", + "store/shipping-option-zipcode.postalCodeInput.error": "Zadané poštové smerovacie číslo nie je v našej oblasti pokrytia", "store/shipping-option-zipcode.currentLocationButton": "Použiť aktuálnu polohu", "store/shipping-option-zipcode.storeHoursButton": "Zobraziť otváracie hodiny obchodu", "store/shipping-option-zipcode.viewMoreButton": "Zobraziť viac", diff --git a/messages/sl.json b/messages/sl.json index f5f949e..0e571cd 100644 --- a/messages/sl.json +++ b/messages/sl.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Oglejte si trgovine v svoji regiji", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Izberi trgovino", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Vnesite svojo poštno številko", - "store/shipping-option-zipcode.postalCodeInput.error.": "Vnesena poštna številka ni na našem območju pokrivanja", + "store/shipping-option-zipcode.postalCodeInput.error": "Vnesena poštna številka ni na našem območju pokrivanja", "store/shipping-option-zipcode.currentLocationButton": "Uporabi trenutno lokacijo", "store/shipping-option-zipcode.storeHoursButton": "Oglejte si ure trgovine", "store/shipping-option-zipcode.viewMoreButton": "Poglej več", diff --git a/messages/sv.json b/messages/sv.json index aab84de..e3241fa 100644 --- a/messages/sv.json +++ b/messages/sv.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Visa butiker i din region", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Välj en butik", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Ange ditt postnummer", - "store/shipping-option-zipcode.postalCodeInput.error.": "Det angivna postnumret är inte inom vårt täckningsområde", + "store/shipping-option-zipcode.postalCodeInput.error": "Det angivna postnumret är inte inom vårt täckningsområde", "store/shipping-option-zipcode.currentLocationButton": "Använd aktuell plats", "store/shipping-option-zipcode.storeHoursButton": "Visa butikstimmar", "store/shipping-option-zipcode.viewMoreButton": "Visa mer", diff --git a/messages/th.json b/messages/th.json index 715c0e4..c538302 100644 --- a/messages/th.json +++ b/messages/th.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "ดูร้านค้าในภูมิภาคที่คุณอยู่", "store/shipping-option-zipcode.pickupDrawer.title.filled": "เลือกร้านค้า", "store/shipping-option-zipcode.postalCodeInput.placeholder": "ใส่รหัสไปรษณีย์ของคุณ", - "store/shipping-option-zipcode.postalCodeInput.error.": "รหัสไปรษณีย์ที่ให้ไม่อยู่ในพื้นที่ดูแลของเรา", + "store/shipping-option-zipcode.postalCodeInput.error": "รหัสไปรษณีย์ที่ให้ไม่อยู่ในพื้นที่ดูแลของเรา", "store/shipping-option-zipcode.currentLocationButton": "ใช้ที่ตั้งปัจจุบัน", "store/shipping-option-zipcode.storeHoursButton": "ดูเวลาทำการของร้านค้า", "store/shipping-option-zipcode.viewMoreButton": "ดูเพิ่มเติม", diff --git a/messages/uk.json b/messages/uk.json index cc3bd95..6a2e415 100644 --- a/messages/uk.json +++ b/messages/uk.json @@ -7,7 +7,7 @@ "store/shipping-option-zipcode.pickupDrawer.title.empty": "Переглянути магазини у вашому регіоні", "store/shipping-option-zipcode.pickupDrawer.title.filled": "Виберіть магазин", "store/shipping-option-zipcode.postalCodeInput.placeholder": "Введіть поштовий індекс", - "store/shipping-option-zipcode.postalCodeInput.error.": "Введений поштовий індекс — поза нашою зоною обслуговування", + "store/shipping-option-zipcode.postalCodeInput.error": "Введений поштовий індекс — поза нашою зоною обслуговування", "store/shipping-option-zipcode.currentLocationButton": "Використати поточне розташування", "store/shipping-option-zipcode.storeHoursButton": "Переглянути години роботи магазину", "store/shipping-option-zipcode.viewMoreButton": "Переглянути більше", From bf8cf3458531050682c9a8192f97f0f37d65faf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Ferr=C3=A3o?= Date: Mon, 16 Dec 2024 17:08:17 -0300 Subject: [PATCH 5/7] update the CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d04d500..68ebca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Open a popover to the delivery button. +- Popover to open the location drawer; +- Popover with input to add postal code. ## [0.4.2] - 2024-11-06 - ### Fixed - Selected pickup doesn't work on first load From 4313028f0396e4dbd150a4efd504e83d280b701e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Ferr=C3=A3o?= Date: Tue, 17 Dec 2024 10:28:30 -0300 Subject: [PATCH 6/7] feat: update popover description text --- messages/en.json | 2 +- messages/pt.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/messages/en.json b/messages/en.json index 5b1e778..6ef54cd 100644 --- a/messages/en.json +++ b/messages/en.json @@ -20,7 +20,7 @@ "store/shipping-option-zipcode.shippinFilter.pickpu": "Pickup", "store/shipping-option-zipcode.updateButton.label": "Update", "store/shipping-option-zipcode.popoverButton.label": "Select a location", - "store/shipping-option-zipcode.popover.description": "Delivery options and delivery speeds may vary per address and store.", + "store/shipping-option-zipcode.popover.description": "Offers and delivery options vary based on region.", "store/shipping-option-zipcode.deliveryPopover.submitButton.label": "Continue", "store/shipping-option-zipcode.deliveryPopover.postalCodeInput.placeholder": "Postal Code" } diff --git a/messages/pt.json b/messages/pt.json index adef149..7d3da18 100644 --- a/messages/pt.json +++ b/messages/pt.json @@ -20,6 +20,5 @@ "store/shipping-option-zipcode.shippinFilter.pickpu": "Retirada", "store/shipping-option-zipcode.updateButton.label": "Atualizar", "store/shipping-option-zipcode.popoverButton.label": "Selecione um local", - "store/shipping-option-zipcode.popover.description": "As opções e a velocidade de entrega podem variar conforme o endereço e a loja", - "store/shipping-option-zipcode.deliveryPopover.submitButton.label": "Continue" + "store/shipping-option-zipcode.popover.description": "As opções e a velocidade de entrega podem variar conforme o endereço e a loja" } From 4b9b2ce18bd22dc412c76789c9b4e7894c0cb331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Ferr=C3=A3o?= Date: Tue, 17 Dec 2024 15:28:15 -0300 Subject: [PATCH 7/7] feat: add link to postal code finder website --- manifest.json | 7 ++-- messages/en.json | 3 +- messages/pt.json | 2 +- react/components/DeliveryPopover.tsx | 13 ++++++- react/components/PostalCodeHelpLink.tsx | 46 +++++++++++++++++++++++ react/components/ShippingOptionButton.tsx | 4 +- react/messages.ts | 4 ++ react/typings/vtex.address-form.d.ts | 4 ++ react/typings/vtex.styleguide.d.ts | 1 + 9 files changed, 74 insertions(+), 10 deletions(-) create mode 100644 react/components/PostalCodeHelpLink.tsx create mode 100644 react/typings/vtex.address-form.d.ts diff --git a/manifest.json b/manifest.json index 89f2700..ce17ac2 100644 --- a/manifest.json +++ b/manifest.json @@ -16,11 +16,10 @@ "vtex.render-runtime": "8.x", "vtex.store-drawer": "0.x", "vtex.pixel-manager": "1.x", - "vtex.device-detector": "0.x" + "vtex.device-detector": "0.x", + "vtex.address-form": "4.x" }, - "registries": [ - "smartcheckout" - ], + "registries": ["smartcheckout"], "policies": [], "$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema" } diff --git a/messages/en.json b/messages/en.json index 6ef54cd..7f0c8bc 100644 --- a/messages/en.json +++ b/messages/en.json @@ -22,5 +22,6 @@ "store/shipping-option-zipcode.popoverButton.label": "Select a location", "store/shipping-option-zipcode.popover.description": "Offers and delivery options vary based on region.", "store/shipping-option-zipcode.deliveryPopover.submitButton.label": "Continue", - "store/shipping-option-zipcode.deliveryPopover.postalCodeInput.placeholder": "Postal Code" + "store/shipping-option-zipcode.deliveryPopover.postalCodeInput.placeholder": "Postal Code", + "store/shipping-option-zipcode.popover.postalCodeLink": "I don't know my postal code" } diff --git a/messages/pt.json b/messages/pt.json index 7d3da18..09a33c1 100644 --- a/messages/pt.json +++ b/messages/pt.json @@ -20,5 +20,5 @@ "store/shipping-option-zipcode.shippinFilter.pickpu": "Retirada", "store/shipping-option-zipcode.updateButton.label": "Atualizar", "store/shipping-option-zipcode.popoverButton.label": "Selecione um local", - "store/shipping-option-zipcode.popover.description": "As opções e a velocidade de entrega podem variar conforme o endereço e a loja" + "store/shipping-option-zipcode.popover.description": "As ofertas e opções de entrega variam de acordo com a região." } diff --git a/react/components/DeliveryPopover.tsx b/react/components/DeliveryPopover.tsx index ae28ef3..f370de4 100644 --- a/react/components/DeliveryPopover.tsx +++ b/react/components/DeliveryPopover.tsx @@ -5,10 +5,13 @@ import { useCssHandles } from 'vtex.css-handles' import { Button } from 'vtex.styleguide' import OutsideClickHandler from 'react-outside-click-handler' import { useIntl } from 'react-intl' - +import { AddressRules } from 'vtex.address-form' import '../styles.css' + import PostalCodeInput from './PostalCodeInput' import messages from '../messages' +import PostalCodeHelpLink from './PostalCodeHelpLink' +import { getCountryCode } from '../utils/cookie' const CSS_HANDLES = [ 'deliveryPopover', @@ -27,6 +30,7 @@ interface Props { isLoading?: boolean inputErrorMessage?: string zipCode?: string + rules?: any } const DeliveryPopover = ({ @@ -50,7 +54,12 @@ const DeliveryPopover = ({ e.stopPropagation() }} > -

{intl.formatMessage(messages.popoverDescription)}

+ +

+ {`${intl.formatMessage(messages.popoverDescription)} `} + +

+
{variant === 'popover-button' ? (