Skip to content

Commit

Permalink
Merge pull request #522 from vtex/fix/jpn-country-rule
Browse files Browse the repository at this point in the history
Add Jamaica and Japan country rules
  • Loading branch information
sheilagomes authored May 17, 2023
2 parents aaa3814 + 042fd8d commit db50b6b
Show file tree
Hide file tree
Showing 28 changed files with 642 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added
- Rules for Japan ('JPN') and Jamaica ('JAM').

## [4.21.2] - 2023-05-15

### Fixed
Expand Down
1 change: 1 addition & 0 deletions messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "مثال: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "مثال: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "مثال: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "مثال: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "مثال: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "مثال: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "مثال: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Напр.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Напр.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Напр.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Напр.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Напр.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Напр.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Напр.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Per exemple: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Per exemple: Corso Vittorio Emanuele, 69, Milà",
"address-form.geolocation.example.JAM": "Per exemple: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Per exemple: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Per exemple: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Per exemple: Carrer de Tacuba, 8, Ciutat de Mèxic",
"address-form.geolocation.example.NIC": "Per exemple: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Např. 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Např. Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Např. 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Např. 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Např. 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Např. Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Např. Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "F.eks.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "F.eks.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "F.eks.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "F.eks.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "F.eks.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "F.eks.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "F.eks.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "z. B.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "z. B.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "z. B.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "z. B.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "z. B.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "z. B.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "z. B.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Π.χ.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Π.χ.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Π.χ.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Π.χ.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Π.χ.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Π.χ.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Π.χ.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "E.g.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "E.g.: Corso Vittorio Emanuele II 69, Milano",
"address-form.geolocation.example.JAM": "E.g.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "E.g.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "E.g.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "E.g.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "E.g.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Ej.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Ej.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Ej.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Ej.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Ej.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Ej.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Ej.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Esim.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Esim.: Corso Vittorio Emanuele 69, Milan",
"address-form.geolocation.example.JAM": "Esim.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Esim.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Esim.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Esim.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Esim.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Ex : 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Ex : Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Ex : 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Ex : 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Ex : 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Ex : Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Ex : Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Mis: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Mis.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Mis: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Mis: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Mis: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Mis.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Mis: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Es: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Es: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Es: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Es: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Es: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Es: Calle de Tacuba 8, Città del Messico",
"address-form.geolocation.example.NIC": "Es: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "예: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "예: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "예: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "예: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "예: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "예: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "예: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Bijv: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Bijv: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Bijv: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Bijv: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Bijv: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Bijv: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Bijv: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Np. 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Np. Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Np. 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Np. 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Np. 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Np. Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Np. Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Ex.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Ex.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Ex.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Ex.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Ex.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Ex.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Ex.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Exemplu: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Exemplu: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Exemplu: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Exemplu: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Exemplu: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Exemplu: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Exemplu: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Например: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Например: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Например: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Например: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Например: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Например: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Например: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Napr. 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Napr. Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Napr. 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Napr. 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Napr. 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Napr. Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Napr. Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Npr.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Npr.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Npr.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Npr.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Npr.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Npr.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Npr.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Ex: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Ex: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Ex: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Ex: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Ex: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Ex: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Ex: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "ตย.: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "ตย.: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "ตย.: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "ตย.: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "ตย.: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "ตย.: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "ตย.: Pista de La Solidaridad, Managua 15000",
Expand Down
1 change: 1 addition & 0 deletions messages/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"address-form.geolocation.example.IRL": "Eg: 58 Faussagh Ave, Cabra West, Dublin",
"address-form.geolocation.example.ITA": "Eg: Corso Vittorio Emanuele 69, Milano",
"address-form.geolocation.example.JAM": "Eg: 26 Hope Rd, Kingston",
"address-form.geolocation.example.JPN": "Eg: 2 Chome-8-1 Nishishinjuku, Shinjuku City, Tokyo",
"address-form.geolocation.example.KOR": "Eg: 21 Namdaemunsijang 4-gil, Jung-gu, Seoul",
"address-form.geolocation.example.MEX": "Eg: Calle de Tacuba 8, Ciudad de México",
"address-form.geolocation.example.NIC": "Eg: Pista de La Solidaridad, Managua 15000",
Expand Down
4 changes: 4 additions & 0 deletions react/countries.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import IDN from './country/IDN'
import IND from './country/IND'
import IRL from './country/IRL'
import ITA from './country/ITA'
import JAM from './country/JAM'
import JPN from './country/JPN'
import KOR from './country/KOR'
import MEX from './country/MEX'
import NIC from './country/NIC'
Expand Down Expand Up @@ -83,6 +85,8 @@ export default {
IND,
IRL,
ITA,
JAM,
JPN,
KOR,
MEX,
NIC,
Expand Down
Loading

0 comments on commit db50b6b

Please sign in to comment.