Skip to content

Commit

Permalink
add header component
Browse files Browse the repository at this point in the history
  • Loading branch information
hiagolcm committed Sep 12, 2024
1 parent 8a10562 commit b2a60e3
Show file tree
Hide file tree
Showing 38 changed files with 1,205 additions and 274 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- English, Portuguese and Spanish translations.
- Crowdin integration file.

### Added
- Bulgharian, German, French, Italian, Japanese, Korean, Dutch, Romanian and Thai translations

### Added
- Initial release.
4 changes: 4 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
pull_request_title: '[Do not merge] WIP'
pull_request_labels: [
"Localization"
]
files:
- source: /messages/en.json
translation: /messages/%two_letters_code%.json
6 changes: 4 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"vendor": "vtex",
"name": "shipping-option-zipcode",
"name": "shipping-option-components",
"version": "0.0.0",
"title": "Shipping Option Zipcode component",
"description": "Shipping Option Zipcode component",
Expand All @@ -13,7 +13,9 @@
"dependencies": {
"vtex.styleguide": "9.x",
"vtex.css-handles": "0.x",
"vtex.render-runtime": "8.x"
"vtex.render-runtime": "8.x",
"vtex.store-drawer": "0.x",
"vtex.pixel-manager": "1.x"
},
"registries": [
"smartcheckout"
Expand Down
21 changes: 21 additions & 0 deletions messages/bg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "Изпращане до:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Въвеждане на местоположение",
"store/shipping-option-zipcode.storeButton.label": "Магазин:",
"store/shipping-option-zipcode.storeButton.placeholder": "Избиране на магазин",
"store/shipping-option-zipcode.deliverDrawer.title": "Преглед на наличностите във вашия регион",
"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.currentLocationButton": "Използване на настоящото местоположение",
"store/shipping-option-zipcode.storeHoursButton": "Преглед на работното време на магазина",
"store/shipping-option-zipcode.viewMoreButton": "Преглед на повече",
"store/shipping-option-zipcode.shippinFilter.title": "Опции за доставка",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Изпращане до",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Въвеждане на местоположение",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Вземане от",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Избор на магазин",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Вземане наблизо",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Вземане"
}
21 changes: 21 additions & 0 deletions messages/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "Versand an:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Standort eingeben",
"store/shipping-option-zipcode.storeButton.label": "Shop:",
"store/shipping-option-zipcode.storeButton.placeholder": "Shop auswählen",
"store/shipping-option-zipcode.deliverDrawer.title": "Verfügbarkeit für Ihre Region anzeigen",
"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.currentLocationButton": "Aktuellen Standort verwenden",
"store/shipping-option-zipcode.storeHoursButton": "Ladenöffnungszeiten anzeigen",
"store/shipping-option-zipcode.viewMoreButton": "Mehr ansehen",
"store/shipping-option-zipcode.shippinFilter.title": "Versandoptionen",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Versand nach",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Einen Standort eingeben",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Abholung bei",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Shop auswählen",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Abholung in der Nähe",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Abholung"
}
22 changes: 20 additions & 2 deletions messages/en.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{
"admin/test": "test",
"store/test": "test"
"store/shipping-option-zipcode.deliverToButton.label": "Ship to:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Enter a location",
"store/shipping-option-zipcode.storeButton.label": "Store:",
"store/shipping-option-zipcode.storeButton.placeholder": "Choose a store",
"store/shipping-option-zipcode.deliverDrawer.title": "View availability for your region",
"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.currentLocationButton": "Use Current Location",
"store/shipping-option-zipcode.storeHoursButton": "View Store Hours",
"store/shipping-option-zipcode.viewMoreButton": "View More",
"store/shipping-option-zipcode.shippinFilter.title": "Shipping Options",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Ship to",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Enter a Location",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Pickup at",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Choose a Store",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Pickup nearby",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Pickup",
"store/shipping-option-zipcode.updateButton.label": "Update"
}
24 changes: 21 additions & 3 deletions messages/es.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{
"admin/test": "teste",
"store/test": "teste"
}
"store/shipping-option-zipcode.deliverToButton.label": "Enviar a:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Ingresa una ubicación",
"store/shipping-option-zipcode.storeButton.label": "Tienda:",
"store/shipping-option-zipcode.storeButton.placeholder": "Selecciona una tienda",
"store/shipping-option-zipcode.deliverDrawer.title": "Consulta la disponibilidad en tu región",
"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.currentLocationButton": "Usar la ubicación actual",
"store/shipping-option-zipcode.storeHoursButton": "Horario de la tienda",
"store/shipping-option-zipcode.viewMoreButton": "Ver más",
"store/shipping-option-zipcode.shippinFilter.title": "Opciones de envío",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Enviar a",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Ingresa una ubicación",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Recogida en",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Selecciona una tienda",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Recogida cerca de",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Recogida",
"store/shipping-option-zipcode.updateButton.label": "Actualizar"
}
21 changes: 21 additions & 0 deletions messages/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "Expédier vers :",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Entrez un lieu",
"store/shipping-option-zipcode.storeButton.label": "Magasin :",
"store/shipping-option-zipcode.storeButton.placeholder": "Choisissez un magasin",
"store/shipping-option-zipcode.deliverDrawer.title": "Voir les disponibilités dans votre région",
"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.currentLocationButton": "Utiliser la localisation actuelle",
"store/shipping-option-zipcode.storeHoursButton": "Voir les heures d’ouverture du magasin",
"store/shipping-option-zipcode.viewMoreButton": "Afficher plus",
"store/shipping-option-zipcode.shippinFilter.title": "Options d'expédition",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Expédier vers",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Saisissez un lieu",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Retrait à",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Choisissez un Magasin",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Retrait à proximité",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Point de retrait"
}
21 changes: 21 additions & 0 deletions messages/it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "Spedisci a:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Inserisci una posizione",
"store/shipping-option-zipcode.storeButton.label": "Negozio:",
"store/shipping-option-zipcode.storeButton.placeholder": "Scegli un negozio",
"store/shipping-option-zipcode.deliverDrawer.title": "Vedi la disponibilità per la tua regione",
"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.currentLocationButton": "Usa posizione attuale",
"store/shipping-option-zipcode.storeHoursButton": "Orari del negozio",
"store/shipping-option-zipcode.viewMoreButton": "Mostra di più",
"store/shipping-option-zipcode.shippinFilter.title": "Opzioni di spedizione",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Spedisci a",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Inserisci una posizione",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Ritiro presso",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Seleziona un negozio",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Ritiro nelle vicinanze",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Ritiro"
}
21 changes: 21 additions & 0 deletions messages/ja.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "配送先:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "場所を入力してください",
"store/shipping-option-zipcode.storeButton.label": "店舗:",
"store/shipping-option-zipcode.storeButton.placeholder": "店舗を選択",
"store/shipping-option-zipcode.deliverDrawer.title": "お住まいの地域から探す",
"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.currentLocationButton": "現在地を使用",
"store/shipping-option-zipcode.storeHoursButton": "営業時間を見る",
"store/shipping-option-zipcode.viewMoreButton": "もっと見る",
"store/shipping-option-zipcode.shippinFilter.title": "発送オプション",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "配送先",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "場所を入力してください",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "ピックアップ場所",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "店舗を選択",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "お近くのピックアップ場所",
"store/shipping-option-zipcode.shippinFilter.pickpu": "ピックアップ"
}
21 changes: 21 additions & 0 deletions messages/ko.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "배송지:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "위치 입력",
"store/shipping-option-zipcode.storeButton.label": "스토어:",
"store/shipping-option-zipcode.storeButton.placeholder": "스토어 선택",
"store/shipping-option-zipcode.deliverDrawer.title": "해당 지역의 가용성 보기",
"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.currentLocationButton": "현재 위치 사용",
"store/shipping-option-zipcode.storeHoursButton": "매장 시간 보기",
"store/shipping-option-zipcode.viewMoreButton": "더 보기",
"store/shipping-option-zipcode.shippinFilter.title": "배송 옵션",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "배송지",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "위치 입력",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "픽업 장소",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "스토어 선택",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "근처 픽업",
"store/shipping-option-zipcode.shippinFilter.pickpu": "픽업"
}
21 changes: 21 additions & 0 deletions messages/nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "Verzenden naar:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Voer een locatie in",
"store/shipping-option-zipcode.storeButton.label": "Winkel:",
"store/shipping-option-zipcode.storeButton.placeholder": "Kies een winkel",
"store/shipping-option-zipcode.deliverDrawer.title": "Bekijk de beschikbaarheid van uw regio",
"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.currentLocationButton": "Gebruik huidige locatie",
"store/shipping-option-zipcode.storeHoursButton": "Winkeluren bekijken",
"store/shipping-option-zipcode.viewMoreButton": "Meer weergeven",
"store/shipping-option-zipcode.shippinFilter.title": "Verzendopties",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Verzenden naar",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Voer een locatie in",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Afhalen op",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Bezoek een winkel",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Afhalen in de buurt van",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Afhalen"
}
24 changes: 21 additions & 3 deletions messages/pt.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{
"admin/test": "teste",
"store/test": "teste"
}
"store/shipping-option-zipcode.deliverToButton.label": "Enviar para:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Insira uma localização",
"store/shipping-option-zipcode.storeButton.label": "Loja:",
"store/shipping-option-zipcode.storeButton.placeholder": "Escolha uma loja",
"store/shipping-option-zipcode.deliverDrawer.title": "Veja a disponibilidade para sua região",
"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.currentLocationButton": "Usar localização atual",
"store/shipping-option-zipcode.storeHoursButton": "Ver horários da loja",
"store/shipping-option-zipcode.viewMoreButton": "Ver mais",
"store/shipping-option-zipcode.shippinFilter.title": "Opções de envio",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Enviar para",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Insira uma localização",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Retirar em",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Escolha uma loja",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Ponto de retirada mais próximo",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Retirada",
"store/shipping-option-zipcode.updateButton.label": "Atualizar"
}
21 changes: 21 additions & 0 deletions messages/ro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"store/shipping-option-zipcode.deliverToButton.label": "Expediază la:",
"store/shipping-option-zipcode.deliverToButton.placeholder": "Introdu o locație",
"store/shipping-option-zipcode.storeButton.label": "Magazin:",
"store/shipping-option-zipcode.storeButton.placeholder": "Alege un magazin",
"store/shipping-option-zipcode.deliverDrawer.title": "Vezi disponibilitatea în regiunea ta",
"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.currentLocationButton": "Folosește locația actuală",
"store/shipping-option-zipcode.storeHoursButton": "Vezi programul magazinului",
"store/shipping-option-zipcode.viewMoreButton": "Vezi mai mult",
"store/shipping-option-zipcode.shippinFilter.title": "Opțiuni de expediere",
"store/shipping-option-zipcode.shippinFilter.deliverTo.title": "Expediază la",
"store/shipping-option-zipcode.shippinFilter.deliverTo.enterButton": "Introdu o locație",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.title": "Ridicare la",
"store/shipping-option-zipcode.shippinFilter.pkcupAt.chooseAStore": "Alege un magazin",
"store/shipping-option-zipcode.shippinFilter.pickupnearBy": "Ridicare în apropiere",
"store/shipping-option-zipcode.shippinFilter.pickpu": "Ridicare"
}
Loading

0 comments on commit b2a60e3

Please sign in to comment.