Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Malta country rules #560

Merged
merged 3 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

- Malta address rules.

## [4.22.8] - 2024-02-05

### Fixed
Expand Down
1 change: 1 addition & 0 deletions messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "مثال: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "مثال: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "مثال: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "مثال: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "هذا الحقل مطلوب.",
"address-form.error.ERROR_POSTAL_CODE": "رمز بريدي غير صالح.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "عنوان غير صالح.",
Expand Down
1 change: 1 addition & 0 deletions messages/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Напр.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Hanp: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Напр.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Напр.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Това поле е задължително.",
"address-form.error.ERROR_POSTAL_CODE": "Невалиден пощенски код.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Невалиден адрес.",
Expand Down
1 change: 1 addition & 0 deletions messages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Per exemple: Av. Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Per exemple: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Per exemple: Carrer East 41st, 225, Nova York",
"address-form.geolocation.example.MLT": "Per exemple: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Aquest camp és obligatori.",
"address-form.error.ERROR_POSTAL_CODE": "Codi postal no vàlid.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Adreça no vàlida.",
Expand Down
1 change: 1 addition & 0 deletions messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Např. Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Např. 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Např. 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Např. 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Toto pole je povinné.",
"address-form.error.ERROR_POSTAL_CODE": "Neplatné PSČ.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Neplatná adresa.",
Expand Down
1 change: 1 addition & 0 deletions messages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "F.eks.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "F.eks.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "F.eks.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "F.eks.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Dette felt er påkrævet.",
"address-form.error.ERROR_POSTAL_CODE": "Ugyldigt postnummer.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Ugyldig adresse.",
Expand Down
1 change: 1 addition & 0 deletions messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "z. B.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "z. B.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "z. B.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "z. B.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Dieses Feld muss ausgefüllt werden.",
"address-form.error.ERROR_POSTAL_CODE": "Ungültige Postleitzahl.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Ungültige Adresse.",
Expand Down
1 change: 1 addition & 0 deletions messages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Π.χ.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Π.χ.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Π.χ.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Π.χ.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Αυτό το πεδίο είναι υποχρεωτικό.",
"address-form.error.ERROR_POSTAL_CODE": "Άκυρος ταχυδρομικός κώδικας.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Άκυρη διεύθυνση.",
Expand Down
1 change: 1 addition & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "E.g.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "E.g.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "E.g.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "E.g.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "This field is required.",
"address-form.error.ERROR_POSTAL_CODE": "Invalid postal code.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Invalid address.",
Expand Down
1 change: 1 addition & 0 deletions messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Ej.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Ej.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Ej.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Ej.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Este campo es obligatorio.",
"address-form.error.ERROR_POSTAL_CODE": "Código postal inválido.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Dirección inválida.",
Expand Down
1 change: 1 addition & 0 deletions messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Esim.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Esim: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Esim.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Esim.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Tämä kenttä on pakollinen.",
"address-form.error.ERROR_POSTAL_CODE": "Virheellinen postinumero.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Virheellinen osoite.",
Expand Down
1 change: 1 addition & 0 deletions messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Ex : Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Ex: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Ex : 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Ex : 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Ce champ est obligatoire.",
"address-form.error.ERROR_POSTAL_CODE": "Code postal non valable.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Adresse non valable.",
Expand Down
1 change: 1 addition & 0 deletions messages/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Mis.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Mis.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Mis.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Mis.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Bidang ini wajib diisi.",
"address-form.error.ERROR_POSTAL_CODE": "Kode pos tidak valid.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Alamat tidak valid.",
Expand Down
1 change: 1 addition & 0 deletions messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Es: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Es: 234 Brickfield Rd, Salt River, Città Del Capo, 7501, Sud Africa",
"address-form.geolocation.example.UNI": "Es: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Es: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Questo campo è obbligatorio.",
"address-form.error.ERROR_POSTAL_CODE": "Codice postale non valido.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Indirizzo non valido.",
Expand Down
1 change: 1 addition & 0 deletions messages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "예: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "예: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "예: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "예: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "해당 입력란은 필수 입력 사항입니다.",
"address-form.error.ERROR_POSTAL_CODE": "잘못된 우편번호입니다.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "잘못된 주소입니다.",
Expand Down
1 change: 1 addition & 0 deletions messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Bijv: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Bijv: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Bijv: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Bijv: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Dit veld is verplicht.",
"address-form.error.ERROR_POSTAL_CODE": "Ongeldige postcode.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Ongeldig adres.",
Expand Down
1 change: 1 addition & 0 deletions messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Np. Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "NP: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Np. 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Np. 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "To pole jest wymagane.",
"address-form.error.ERROR_POSTAL_CODE": "Nieprawidłowy kod pocztowy.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Nieprawidłowy adres.",
Expand Down
1 change: 1 addition & 0 deletions messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Ex.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Ex.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Ex.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Ex.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Campo obrigatório.",
"address-form.error.ERROR_POSTAL_CODE": "CEP inválido.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Endereço inválido.",
Expand Down
1 change: 1 addition & 0 deletions messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Exemplu: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Exemplu: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Exemplu: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Exemplu: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Acest câmp este obligatoriu.",
"address-form.error.ERROR_POSTAL_CODE": "Cod poștal invalid.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Adresă invalidă.",
Expand Down
1 change: 1 addition & 0 deletions messages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Например: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Например: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Например: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Например: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Необходимо заполнить данное поле.",
"address-form.error.ERROR_POSTAL_CODE": "Недействительный почтовый индекс.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Недействительный адрес.",
Expand Down
1 change: 1 addition & 0 deletions messages/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Napr. Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Napr. 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Napr. 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Napr. 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Toto pole je povinné.",
"address-form.error.ERROR_POSTAL_CODE": "Neplatné PSČ.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Neplatná adresa.",
Expand Down
1 change: 1 addition & 0 deletions messages/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Npr.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Npr: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Npr.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Npr.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "To polje je obvezno.",
"address-form.error.ERROR_POSTAL_CODE": "Neveljavna poštna koda.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Neveljaven naslov.",
Expand Down
1 change: 1 addition & 0 deletions messages/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Ex: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Ex: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Ex: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Ex: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Fältet krävs",
"address-form.error.ERROR_POSTAL_CODE": "Ogiltig postnummer.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Ogiltig adress.",
Expand Down
1 change: 1 addition & 0 deletions messages/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "ตย.: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "ตย.: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "ตย.: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "ตย.: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "ต้องระบุฟิลด์ข้อมูลนี้",
"address-form.error.ERROR_POSTAL_CODE": "รหัสไปรษณีย์ไม่ถูกต้อง",
"address-form.error.ERROR_GOOGLE_ADDRESS": "ที่อยู่ไม่ถูกต้อง",
Expand Down
1 change: 1 addition & 0 deletions messages/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"address-form.geolocation.example.VEN": "Eg: Avenida Mohedano, Caracas",
"address-form.geolocation.example.ZAF": "Eg: 234 Brickfield Rd, Salt River, Cape Town, 7501, South Africa",
"address-form.geolocation.example.UNI": "Eg: 225 East 41st Street, New York",
"address-form.geolocation.example.MLT": "Eg: 35, Dawret Fra Giovanni Bichi Il-Kalkara, KKR 1280 Malta",
"address-form.error.ERROR_EMPTY_FIELD": "Це поле необхідно заповнити.",
"address-form.error.ERROR_POSTAL_CODE": "Недійсний поштовий індекс.",
"address-form.error.ERROR_GOOGLE_ADDRESS": "Недійсна адреса.",
Expand Down
4 changes: 3 additions & 1 deletion react/countries.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import URY from './country/URY'
import USA from './country/USA'
import VEN from './country/VEN'
import ZAF from './country/ZAF'
import MLT from '.country/MLT'
GeorgeLimaDev marked this conversation as resolved.
Show resolved Hide resolved

export default {
defaultRules,
Expand Down Expand Up @@ -110,5 +111,6 @@ export default {
URY,
USA,
VEN,
ZAF
ZAF,
MLT
}
Loading
Loading