Skip to content

Commit

Permalink
Merge pull request #552 from vtex/add/hungary-4.x
Browse files Browse the repository at this point in the history
Add Hungary country rules and placeholder
  • Loading branch information
sheilagomes authored Jan 24, 2024
2 parents 57c1705 + f310fcb commit 78d7a57
Show file tree
Hide file tree
Showing 27 changed files with 159 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

- Hungary country rules and placeholder.

## [4.22.6] - 2023-10-13

### Fixed
Expand Down
1 change: 1 addition & 0 deletions messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "مثال: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "مثال: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "مثال: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "مثال: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "مثال: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "مثال: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "مثال: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Напр.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Напр.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Напр.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Напр.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Напр.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Напр.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Напр.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Per exemple: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Per exemple: Carrer 6, 6A, Guatemala",
"address-form.geolocation.example.HRV": "Per exemple: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Per exemple: Tétényi út 12-16, Budapest",
"address-form.geolocation.example.IDN": "Per exemple: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Per exemple: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Per exemple: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/context.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"address-form.geolocation.example.ECU": "Eg: Av Rio Amazonas, N 37-61, Quito",
"address-form.geolocation.example.ESP": "Eg: Calle Fernando el Santo, 6, Madrid",
"address-form.geolocation.example.GTM": "Eg: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HUN": "Eg: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.MEX": "Eg: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.PER": "Eg: Av. José Pardo, 850, Miraflores, Lima",
"address-form.geolocation.example.PRT": "Eg: Av. da França 20, Porto",
Expand Down
1 change: 1 addition & 0 deletions messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Např. Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Např. 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Např. Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Např. Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Např. Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Např. 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Např. 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "F.eks.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "F.eks.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "F.eks.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "F.eks.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "F.eks.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "F.eks.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "F.eks.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "z. B.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "z. B.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "z. B.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "z. B.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "z. B.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "z. B.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "z. B.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Π.χ.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Π.χ.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Π.χ.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Π.χ.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Π.χ.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Π.χ.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Π.χ.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "E.g.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "E.g.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "E.g.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "E.g.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "E.g.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "E.g.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "E.g.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Ej.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Ej.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Ej.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Ej.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Ej.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Ej.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Ej.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Esim.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Esim.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Esim.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Esim.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Esim.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Esim.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Esim.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Ex : Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Ex : 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Ex : Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Ex : Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Ex : Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Ex : 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Ex : 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Mis: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Mis: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Mis: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Mis: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Mis: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Mis: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Mis: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Es: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Es: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Es: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Es: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Es: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Es: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Es: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "예: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "예: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "예: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "예: Tétényi út 12--16, 부다페스트",
"address-form.geolocation.example.IDN": "예: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "예: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "예: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Bijv: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Bijv: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Bijv: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Bijv.: Tétényi út 12--16, Boedapest",
"address-form.geolocation.example.IDN": "Bijv: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Bijv: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Bijv: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Np. Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Np. 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Np. Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Np. Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Np. Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Np. 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Np. 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Ex.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Ex.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Ex.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Ex.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Ex.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Ex.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Ex.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Exemplu: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Exemplu: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Exemplu: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Exemplu: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Exemplu: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Exemplu: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Exemplu: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Например: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Например: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Например: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Например: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Например: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Например: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Например: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Napr. Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Napr. 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Napr. Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Napr. Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Napr. Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Napr. 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Napr. 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Npr.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Npr.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Npr.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Npr.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Npr.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Npr.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Npr.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Ex: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Ex: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Ex: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Ex: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Ex: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Ex: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Ex: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "ตย.: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "ตย.: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "ตย.: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "ตย.: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "ตย.: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "ตย.: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "ตย.: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
1 change: 1 addition & 0 deletions messages/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"address-form.geolocation.example.GRC": "Eg: Zaimi 37, Athina 106 82",
"address-form.geolocation.example.GTM": "Eg: 6A Calle 6, Guatemala",
"address-form.geolocation.example.HRV": "Eg: Ul. don Bože Milanovića 15, 23000, Zadar",
"address-form.geolocation.example.HUN": "Eg: Tétényi út 12--16, Budapest",
"address-form.geolocation.example.IDN": "Eg: Jl. Pegangsaan Timur No.1, RT.1/RW.1, Pegangsaan, Kec. Menteng, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10310",
"address-form.geolocation.example.IND": "Eg: 148, Juhu Tara Rd, Juhu, Mumbai 400049",
"address-form.geolocation.example.IRL": "Eg: 58 Faussagh Ave, Cabra West, Dublin",
Expand Down
130 changes: 130 additions & 0 deletions react/country/HUN.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
import { POSTAL_CODE } from '../constants'

export default {
country: 'HUN',
abbr: 'HU',
postalCodeFrom: POSTAL_CODE,
fields: [
{
hidden: true,
name: 'country',
maxLength: 100,
label: 'country',
size: 'medium',
},
{
name: 'postalCode',
label: 'postalCode',
maxLength: 4,
required: true,
mask: '9999',
regex: /^[1-9]\d{3}$/,
size: 'small',
autoComplete: 'nope',
postalCodeAPI: false,
},
{
name: 'street',
label: 'street',
required: true,
size: 'xlarge',
},
{
name: 'number',
maxLength: 750,
label: 'number',
required: true,
size: 'mini',
autoComplete: 'nope',
},
{
name: 'complement',
maxLength: 750,
label: 'floorAndLetter',
size: 'large',
},
{
hidden: true,
name: 'reference',
maxLength: 750,
label: 'reference',
size: 'xlarge',
},
{
hidden: true,
name: 'neighborhood',
maxLength: 100,
label: 'neighborhood',
size: 'large',
},
{
name: 'city',
maxLength: 100,
label: 'city',
required: true,
size: 'large',
},
{
name: 'state',
maxLength: 100,
label: 'province',
required: true,
size: 'large',
},
{
name: 'receiverName',
elementName: 'receiver',
maxLength: 750,
label: 'receiverName',
size: 'xlarge',
required: true,
},
],
geolocation: {
postalCode: {
valueIn: 'long_name',
types: ['postal_code'],
required: false,
},

number: {
valueIn: 'long_name',
types: ['street_number'],
required: false,
notApplicable: false,
},

street: { valueIn: 'long_name', types: ['route'] },

neighborhood: {
valueIn: 'long_name',
types: ['neighborhood'],
},

state: {
valueIn: 'long_name',
types: ['administrative_area_level_1'],
},

city: {
valueIn: 'long_name',
types: ['administrative_area_level_2', 'locality'],
},

receiverName: {
required: true,
},
},
summary: [
[
{ name: 'street' },
{ delimiter: ' ', name: 'number' },
{ delimiter: ' ', name: 'complement' },
],
[
{ name: 'postalCode' },
{ delimiter: ' ', name: 'city' },
{ delimiter: ' (', name: 'state', delimiterAfter: ')' },
],
],
}

0 comments on commit 78d7a57

Please sign in to comment.