worldwide 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/Gemfile.lock +1 -1
  4. data/db/data/regions/_default/bg-BG.yml +9 -0
  5. data/db/data/regions/_default/cs.yml +9 -0
  6. data/db/data/regions/_default/da.yml +9 -0
  7. data/db/data/regions/_default/de.yml +9 -0
  8. data/db/data/regions/_default/el.yml +9 -0
  9. data/db/data/regions/_default/en.yml +7 -0
  10. data/db/data/regions/_default/es.yml +9 -0
  11. data/db/data/regions/_default/fi.yml +9 -0
  12. data/db/data/regions/_default/fr.yml +9 -0
  13. data/db/data/regions/_default/hi.yml +9 -0
  14. data/db/data/regions/_default/hr-HR.yml +9 -0
  15. data/db/data/regions/_default/hu.yml +9 -0
  16. data/db/data/regions/_default/id.yml +9 -0
  17. data/db/data/regions/_default/it.yml +9 -0
  18. data/db/data/regions/_default/ja.yml +7 -0
  19. data/db/data/regions/_default/ko.yml +9 -0
  20. data/db/data/regions/_default/lt-LT.yml +9 -0
  21. data/db/data/regions/_default/ms.yml +9 -0
  22. data/db/data/regions/_default/nb.yml +9 -0
  23. data/db/data/regions/_default/nl.yml +9 -0
  24. data/db/data/regions/_default/pl.yml +9 -0
  25. data/db/data/regions/_default/pt-BR.yml +9 -0
  26. data/db/data/regions/_default/pt-PT.yml +9 -0
  27. data/db/data/regions/_default/ro-RO.yml +9 -0
  28. data/db/data/regions/_default/ru.yml +9 -0
  29. data/db/data/regions/_default/sk-SK.yml +9 -0
  30. data/db/data/regions/_default/sl-SI.yml +9 -0
  31. data/db/data/regions/_default/sv.yml +9 -0
  32. data/db/data/regions/_default/th.yml +9 -0
  33. data/db/data/regions/_default/tr.yml +9 -0
  34. data/db/data/regions/_default/vi.yml +9 -0
  35. data/db/data/regions/_default/zh-CN.yml +7 -0
  36. data/db/data/regions/_default/zh-TW.yml +7 -0
  37. data/lib/worldwide/field.rb +5 -0
  38. data/lib/worldwide/regions_loader.rb +1 -1
  39. data/lib/worldwide/version.rb +1 -1
  40. data/worldwide.gemspec +1 -1
  41. metadata +6 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6dab7ef2d9d926721d2ef41e8e81b947b7f0b4c053d7df98377f983797bc245
4
- data.tar.gz: 9eaad39219ba9ddb74c963d97035b9222f5f82d604ca38fe7128a51ae53b9391
3
+ metadata.gz: 246832b6ca4adeaa2bb6e1dd5b236962316581b22ec49fa28db9d461e0065995
4
+ data.tar.gz: '0569123a25ae7afae4dd9d09e7049e2c86dd26c8924f15a935916dbe982f128f'
5
5
  SHA512:
6
- metadata.gz: ec3d8cbf74e6ec35195da2da959a5d104434f6f675bba2e8056a74338746dd01e82a3cd116a94f109be264e86b30a948631ef671967df94a07692e1e794588ce
7
- data.tar.gz: '09f90b59ebdd15c7b7aa7b945defb11cfa544eec0cbcbdd5ba1faf7ae4b96ce16fc6a28ca830261bf834bca0bfc34b049fb511c1dc922beaf24df5ea7ce80619'
6
+ metadata.gz: 93b987051a980e244e817f1194e69e5e61a61544064029a5fabfe8d1739e385e803b19608bc3f0e3487c707f4deebd7186db584f8ba560d29f6c9cdb34272963
7
+ data.tar.gz: 4bd8196e846f3339f0f50607efe8a288a670563a087665e2082ed90d180d9f89b11b21c7976e3449961f9fc517f44022a1029d4c5b470ff06810455e312c0304
data/CHANGELOG.md CHANGED
@@ -31,6 +31,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
31
31
 
32
32
  ---
33
33
 
34
+ [0.6.0] - 2023-12-08
35
+
36
+ - Add localized concern messages for address1 + 2 warnings and address may not exist message [#54](https://github.com/Shopify/worldwide/pull/54)
37
+ - Change gem description [#51](https://github.com/Shopify/worldwide/pull/51)
38
+
39
+ [0.5.1] - 2023-11-29
40
+
41
+ - Fix for building_number_required to default to false [#48]
42
+
34
43
  [0.5.0] - 2023-11-20
35
44
 
36
45
  - Add support for `Region#associated_continent` to return the containing continent of the region [#43](https://github.com/Shopify/worldwide/pull/43)
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (0.5.0)
16
+ worldwide (0.6.0)
17
17
  activesupport (~> 7.0)
18
18
  i18n (~> 1.12.0)
19
19
  phonelib (~> 0.8)
@@ -58,6 +58,9 @@ bg-BG:
58
58
  building_number_invalid: Не е открит номер на сграда за %{street}, %{zip}.
59
59
  contains_too_many_words: "„Адрес1“ не може да съдържа повече от %{word_count}
60
60
  думи"
61
+ warnings:
62
+ contains_too_many_words: Препоръчително е редът за адрес
63
+ 1 да не съдържа повече от %{word_count} думи
61
64
  address2:
62
65
  label:
63
66
  default: Етаж, апартамент и т.н.
@@ -76,6 +79,9 @@ bg-BG:
76
79
  building_number_invalid: Не е открит номер на сграда за %{street}, %{zip}.
77
80
  contains_too_many_words: "„Адрес2“ не може да съдържа повече от %{word_count}
78
81
  думи"
82
+ warnings:
83
+ contains_too_many_words: Препоръчително е редът за адрес
84
+ 2 да не съдържа повече от %{word_count} думи
79
85
  city:
80
86
  label:
81
87
  default: Град
@@ -144,3 +150,6 @@ bg-BG:
144
150
  Въведете нов адрес и опитайте отново.
145
151
  unknown_for_province: Въведете валиден пощенски код за %{province}
146
152
  invalid_for_province: Въведете валиден пощенски код за %{province}
153
+ address:
154
+ errors:
155
+ may_not_exist: Адресът не е открит или не съществува
@@ -56,6 +56,9 @@ cs:
56
56
  %{zip}.'
57
57
  contains_too_many_words: 'Adresa 1 nemůže obsahovat více než tento počet
58
58
  slov: %{word_count}'
59
+ warnings:
60
+ contains_too_many_words: 'Doporučuje se, aby 1. řádek adresy
61
+ měl méně než tento počet slov: %{word_count}'
59
62
  address2:
60
63
  label:
61
64
  default: Byt, apartmá atd.
@@ -74,6 +77,9 @@ cs:
74
77
  %{zip}.'
75
78
  contains_too_many_words: 'Adresa 2 nemůže obsahovat více než tento počet
76
79
  slov: %{word_count}'
80
+ warnings:
81
+ contains_too_many_words: 'Doporučuje se, aby 2. řádek adresy
82
+ měl méně než tento počet slov: %{word_count}'
77
83
  city:
78
84
  label:
79
85
  default: Město
@@ -142,3 +148,6 @@ cs:
142
148
  adresu a zkuste to znovu.
143
149
  unknown_for_province: 'Zadejte platné PSČ pro: %{province}'
144
150
  invalid_for_province: 'Zadejte platné PSČ pro: %{province}.'
151
+ address:
152
+ errors:
153
+ may_not_exist: Adresa nebyla nalezena nebo neexistuje.
@@ -56,6 +56,9 @@ da:
56
56
  %{zip}.
57
57
  contains_too_many_words: Adresse1 må ikke indeholde flere end %{word_count}
58
58
  ord
59
+ warnings:
60
+ contains_too_many_words: Det anbefales, at adresselinje 1
61
+ har færre end %{word_count} ord
59
62
  address2:
60
63
  label:
61
64
  default: Lejlighed, etage osv.
@@ -74,6 +77,9 @@ da:
74
77
  %{zip}.
75
78
  contains_too_many_words: Adresse2 må ikke indeholde flere end %{word_count}
76
79
  ord
80
+ warnings:
81
+ contains_too_many_words: Det anbefales, at adresselinje 2
82
+ har færre end %{word_count} ord
77
83
  city:
78
84
  label:
79
85
  default: By
@@ -142,3 +148,6 @@ da:
142
148
  Angiv en ny adresse, og prøv igen.
143
149
  unknown_for_province: Angiv et gyldigt postnummer for %{province}
144
150
  invalid_for_province: Angiv et gyldigt postnummer for %{province}
151
+ address:
152
+ errors:
153
+ may_not_exist: Adressen blev ikke fundet eller findes ikke.
@@ -56,6 +56,9 @@ de:
56
56
  nicht gefunden werden.
57
57
  contains_too_many_words: Adresse1 darf nicht mehr als %{word_count} Wörter
58
58
  enthalten
59
+ warnings:
60
+ contains_too_many_words: Adresszeile 1 sollte weniger als
61
+ %{word_count} Wörter haben
59
62
  address2:
60
63
  label:
61
64
  default: Wohnung, Zimmer usw.
@@ -74,6 +77,9 @@ de:
74
77
  nicht gefunden werden.
75
78
  contains_too_many_words: Adresse2 darf nicht mehr als %{word_count} Wörter
76
79
  enthalten
80
+ warnings:
81
+ contains_too_many_words: Adresszeile 2 sollte weniger als
82
+ %{word_count} Wörter haben
77
83
  city:
78
84
  label:
79
85
  default: Stadt
@@ -143,3 +149,6 @@ de:
143
149
  Gib eine neue Adresse ein und versuche es erneut.
144
150
  unknown_for_province: Eine gültige Postleitzahl für %{province} eingeben
145
151
  invalid_for_province: Eine gültige Postleitzahl für %{province} eingeben
152
+ address:
153
+ errors:
154
+ may_not_exist: Adresse nicht gefunden oder existiert nicht
@@ -59,6 +59,9 @@ el:
59
59
  στην οδό %{street}, %{zip}.
60
60
  contains_too_many_words: Το πεδίο "Διεύθυνση1" δεν μπορεί να περιέχει
61
61
  πάνω από %{word_count} λέξεις
62
+ warnings:
63
+ contains_too_many_words: Το πεδίο "Διεύθυνση 1" συνιστάται
64
+ να έχει λιγότερες από %{word_count} λέξεις
62
65
  address2:
63
66
  label:
64
67
  default: Διαμέρισμα, σουίτα, κ.λπ.
@@ -79,6 +82,9 @@ el:
79
82
  στην οδό %{street}, %{zip}.
80
83
  contains_too_many_words: Το πεδίο "Διεύθυνση2" δεν μπορεί να περιέχει
81
84
  πάνω από %{word_count} λέξεις
85
+ warnings:
86
+ contains_too_many_words: Το πεδίο "Διεύθυνση 2" συνιστάται
87
+ να έχει λιγότερες από %{word_count} λέξεις
82
88
  city:
83
89
  label:
84
90
  default: Πόλη
@@ -149,3 +155,6 @@ el:
149
155
  Εισαγάγετε νέα διεύθυνση και δοκιμάστε ξανά.
150
156
  unknown_for_province: Εισαγάγετε έγκυρο ταχυδρομικό κώδικα για %{province}
151
157
  invalid_for_province: Εισαγάγετε έγκυρο ταχυδρομικό κώδικα για %{province}
158
+ address:
159
+ errors:
160
+ may_not_exist: Η διεύθυνση δεν βρέθηκε ή δεν υπάρχει
@@ -56,6 +56,8 @@ en:
56
56
  street_unknown_for_zip: Enter a valid street name for %{zip}.
57
57
  building_number_invalid: Building number couldn't be located for %{street},
58
58
  %{zip}.
59
+ warnings:
60
+ contains_too_many_words: Address line 1 is recommended to have less than %{word_count} words
59
61
  address2:
60
62
  label:
61
63
  default: Apartment, suite, etc.
@@ -74,6 +76,8 @@ en:
74
76
  street_unknown_for_zip: Enter a valid street name for %{zip}.
75
77
  building_number_invalid: Building number couldn't be located for %{street},
76
78
  %{zip}.
79
+ warnings:
80
+ contains_too_many_words: Address line 2 is recommended to have less than %{word_count} words
77
81
  city:
78
82
  label:
79
83
  default: City
@@ -141,3 +145,6 @@ en:
141
145
  contains_emojis: Phone number cannot contain emojis
142
146
  contains_restricted_characters: Phone number can only contain letters,
143
147
  numbers, local characters, and special characters
148
+ address:
149
+ errors:
150
+ may_not_exist: Address not found or does not exist
@@ -59,6 +59,9 @@ es:
59
59
  para %{street}, %{zip}.
60
60
  contains_too_many_words: La Dirección 1 no puede tener más de %{word_count}
61
61
  palabras
62
+ warnings:
63
+ contains_too_many_words: Se recomienda que la línea 1 de
64
+ la dirección tenga menos de %{word_count} palabras.
62
65
  address2:
63
66
  label:
64
67
  default: Apartamento, local, etc.
@@ -79,6 +82,9 @@ es:
79
82
  para %{street}, %{zip}.
80
83
  contains_too_many_words: La Dirección 2 no puede tener más de %{word_count}
81
84
  palabras
85
+ warnings:
86
+ contains_too_many_words: Se recomienda que la línea 2 de
87
+ la dirección tenga menos de %{word_count} palabras.
82
88
  city:
83
89
  label:
84
90
  default: Ciudad
@@ -149,3 +155,6 @@ es:
149
155
  nueva dirección e intenta de nuevo.
150
156
  unknown_for_province: Introduce un código postal válido para %{province}
151
157
  invalid_for_province: Introduce un código postal válido para %{province}.
158
+ address:
159
+ errors:
160
+ may_not_exist: La dirección no se encontró o no existe.
@@ -56,6 +56,9 @@ fi:
56
56
  %{zip}.
57
57
  contains_too_many_words: Osoite 1 -kentässä voi olla enintään %{word_count}
58
58
  sanaa
59
+ warnings:
60
+ contains_too_many_words: Osoiterivin 1 pituudeksi suositellaan
61
+ alle %{word_count} sanaa
59
62
  address2:
60
63
  label:
61
64
  default: Huoneisto jne.
@@ -74,6 +77,9 @@ fi:
74
77
  %{zip}.
75
78
  contains_too_many_words: Osoite 2 -kentässä voi olla enintään %{word_count}
76
79
  sanaa
80
+ warnings:
81
+ contains_too_many_words: Osoiterivin 2 pituudeksi suositellaan
82
+ alle %{word_count} sanaa
77
83
  city:
78
84
  label:
79
85
  default: Kaupunki
@@ -143,3 +149,6 @@ fi:
143
149
  ja yritä uudelleen.
144
150
  unknown_for_province: Anna kelvollinen postinumero maassa %{province}
145
151
  invalid_for_province: Anna kelvollinen postinumero alueelle %{province}
152
+ address:
153
+ errors:
154
+ may_not_exist: Osoitetta ei löydy tai sitä ei ole
@@ -58,6 +58,9 @@ fr:
58
58
  pour %{street}, %{zip}.
59
59
  contains_too_many_words: Le champ Adresse 1 ne doit pas comporter plus
60
60
  de %{word_count} mots
61
+ warnings:
62
+ contains_too_many_words: Il est conseillé que la ligne d’adresse 1
63
+ ait moins de %{word_count} mots
61
64
  address2:
62
65
  label:
63
66
  default: Appartement, suite, etc.
@@ -77,6 +80,9 @@ fr:
77
80
  pour %{street}, %{zip}.
78
81
  contains_too_many_words: Le champ Adresse 2 ne doit pas comporter plus
79
82
  de %{word_count} mots
83
+ warnings:
84
+ contains_too_many_words: Il est conseillé que la ligne d’adresse 2
85
+ ait moins de %{word_count} mots
80
86
  city:
81
87
  label:
82
88
  default: Ville
@@ -146,3 +152,6 @@ fr:
146
152
  le moment. Saisissez une nouvelle adresse et réessayez.
147
153
  unknown_for_province: Saisissez un code postal valide pour %{province}
148
154
  invalid_for_province: Saisissez un code postal valide pour %{province}
155
+ address:
156
+ errors:
157
+ may_not_exist: L’adresse est introuvable ou inexistante
@@ -56,6 +56,9 @@ hi:
56
56
  contains_restricted_characters: पता 1 में सिर्फ अक्षर, संख्याएं, स्थानीय
57
57
  वर्ण और विशेष वर्ण हो सकते हैं
58
58
  contains_too_many_words: पता1 में %{word_count} से अधिक शब्द नहीं हो सकते
59
+ warnings:
60
+ contains_too_many_words: एड्रेस लाइन 1 में %{word_count}
61
+ शब्दों से कम शब्द लिखने का सुझाव दिया जाता है
59
62
  address2:
60
63
  label:
61
64
  default: अपार्टमेंट, सुइट, आदि.
@@ -74,6 +77,9 @@ hi:
74
77
  contains_restricted_characters: पता 2 में सिर्फ अक्षर, संख्याएं, स्थानीय
75
78
  वर्ण और विशेष वर्ण हो सकते हैं
76
79
  contains_too_many_words: पता2 में %{word_count} से अधिक शब्द नहीं हो सकते
80
+ warnings:
81
+ contains_too_many_words: एड्रेस लाइन 2 में %{word_count}
82
+ शब्दों से कम शब्द लिखने का सुझाव दिया जाता है
77
83
  city:
78
84
  label:
79
85
  default: शहर
@@ -143,3 +149,6 @@ hi:
143
149
  contains_restricted_characters: पोस्टल कोड में सिर्फ अक्षर, संख्याएं,
144
150
  स्थानीय वर्ण और विशेष वर्ण हो सकते हैं
145
151
  invalid_for_province: "%{province} के लिए एक मान्य डाक कोड डालें"
152
+ address:
153
+ errors:
154
+ may_not_exist: पता नहीं मिला या यहां मौजूद नहीं है
@@ -58,6 +58,9 @@ hr-HR:
58
58
  brojeve, lokalne znakove i posebne znakove
59
59
  contains_too_many_words: Adresa1 ne smije sadržavati više od %{word_count}
60
60
  riječi
61
+ warnings:
62
+ contains_too_many_words: Preporučamo da redak adrese 1 sadrži
63
+ manje od %{word_count} riječ/i
61
64
  address2:
62
65
  label:
63
66
  default: Stan, apartman itd.
@@ -77,6 +80,9 @@ hr-HR:
77
80
  brojeve, lokalne znakove i posebne znakove
78
81
  contains_too_many_words: Adresa2 ne smije sadržavati više od %{word_count}
79
82
  riječi
83
+ warnings:
84
+ contains_too_many_words: Preporučamo da redak adrese 2 sadrži
85
+ manje od %{word_count} riječ/i
80
86
  city:
81
87
  label:
82
88
  default: Grad
@@ -147,3 +153,6 @@ hr-HR:
147
153
  contains_restricted_characters: Poštanski broj smije sadržavati samo slova,
148
154
  brojeve, lokalne znakove i posebne znakove
149
155
  invalid_for_province: Unesite valjani poštanski broj za %{province}
156
+ address:
157
+ errors:
158
+ may_not_exist: Adresa nije pronađena ili ne postoji
@@ -57,6 +57,9 @@ hu:
57
57
  helyi karaktereket és különleges karaktereket tartalmazhat
58
58
  contains_too_many_words: A cím 1. sora legfeljebb %{word_count} szóból
59
59
  állhat
60
+ warnings:
61
+ contains_too_many_words: A cím 1. sorának javasolt hossza
62
+ kevesebb mint %{word_count} szó
60
63
  address2:
61
64
  label:
62
65
  default: Épület, emelet, ajtó stb.
@@ -77,6 +80,9 @@ hu:
77
80
  helyi karaktereket és különleges karaktereket tartalmazhat
78
81
  contains_too_many_words: A cím 2. sora legfeljebb %{word_count} szóból
79
82
  állhat
83
+ warnings:
84
+ contains_too_many_words: A cím 2. sorának javasolt hossza
85
+ kevesebb mint %{word_count} szó
80
86
  city:
81
87
  label:
82
88
  default: Település
@@ -151,3 +157,6 @@ hu:
151
157
  helyi karaktereket és különleges karaktereket tartalmazhat
152
158
  invalid_for_province: 'Olyan irányítószámot írj be, amely itt található:
153
159
  %{province}'
160
+ address:
161
+ errors:
162
+ may_not_exist: A cím nem található, vagy nem létezik
@@ -56,6 +56,9 @@ id:
56
56
  angka, karakter lokal, dan karakter khusus
57
57
  contains_too_many_words: Alamat1 tidak boleh memuat lebih dari %{word_count}
58
58
  kata
59
+ warnings:
60
+ contains_too_many_words: Alamat baris 1 sebaiknya diisi tidak
61
+ lebih dari %{word_count} kata
59
62
  address2:
60
63
  label:
61
64
  default: Apartemen, suite, dsb.
@@ -74,6 +77,9 @@ id:
74
77
  angka, karakter lokal, dan karakter khusus
75
78
  contains_too_many_words: Alamat2 tidak boleh memuat lebih dari %{word_count}
76
79
  kata
80
+ warnings:
81
+ contains_too_many_words: Alamat baris 2 sebaiknya diisi tidak
82
+ lebih dari %{word_count} kata
77
83
  city:
78
84
  label:
79
85
  default: Kota
@@ -142,3 +148,6 @@ id:
142
148
  contains_restricted_characters: Kode pos hanya boleh terdiri dari huruf,
143
149
  angka, karakter lokal, dan karakter khusus
144
150
  invalid_for_province: Masukkan kode pos yang valid untuk %{province}
151
+ address:
152
+ errors:
153
+ may_not_exist: Alamat tidak ditemukan atau tidak ada
@@ -58,6 +58,9 @@ it:
58
58
  numeri, caratteri locali e caratteri speciali
59
59
  contains_too_many_words: L'indirizzo 1 non può superare %{word_count}
60
60
  parole
61
+ warnings:
62
+ contains_too_many_words: La riga 1 dell'indirizzo deve contenere
63
+ meno di %{word_count} parole
61
64
  address2:
62
65
  label:
63
66
  default: Interno, scala, ecc.
@@ -77,6 +80,9 @@ it:
77
80
  numeri, caratteri locali e caratteri speciali
78
81
  contains_too_many_words: L'indirizzo 2 non può superare %{word_count}
79
82
  parole
83
+ warnings:
84
+ contains_too_many_words: La riga 2 dell'indirizzo deve contenere
85
+ meno di %{word_count} parole
80
86
  city:
81
87
  label:
82
88
  default: Città
@@ -148,3 +154,6 @@ it:
148
154
  contains_restricted_characters: Il codice di avviamento postale può contenere
149
155
  solo lettere, numeri, caratteri locali e caratteri speciali
150
156
  invalid_for_province: Inserisci un codice postale valido per %{province}
157
+ address:
158
+ errors:
159
+ may_not_exist: Indirizzo non trovato o non esistente
@@ -50,6 +50,8 @@ ja:
50
50
  building_number_invalid: "%{street}、%{zip}の建物番号が見つかりませんでした。"
51
51
  contains_restricted_characters: 住所1には、文字、数字、地域の文字、特殊文字のみを含めることができます。
52
52
  contains_too_many_words: 住所1には、%{word_count}語以上を入力できません
53
+ warnings:
54
+ contains_too_many_words: 住所1は%{word_count}文字未満が推奨されています
53
55
  address2:
54
56
  label:
55
57
  default: 建物名、部屋番号など
@@ -65,6 +67,8 @@ ja:
65
67
  building_number_invalid: "%{street}、%{zip}の建物番号が見つかりませんでした。"
66
68
  contains_restricted_characters: 住所2には、文字、数字、地域の文字、特殊文字のみを含めることができます。
67
69
  contains_too_many_words: 住所2には、%{word_count}語以上を入力できません
70
+ warnings:
71
+ contains_too_many_words: 住所2は%{word_count}文字未満が推奨されています
68
72
  city:
69
73
  label:
70
74
  default: 市区町村
@@ -126,3 +130,6 @@ ja:
126
130
  unknown_for_province: "%{province}の有効な郵便番号を入力してください"
127
131
  contains_restricted_characters: 郵便番号には、文字、数字、地域の文字、特殊文字のみを含めることができます。
128
132
  invalid_for_province: "%{province}の有効な郵便番号を入力してください"
133
+ address:
134
+ errors:
135
+ may_not_exist: 住所が見つからない、または存在しません
@@ -50,6 +50,9 @@ ko:
50
50
  building_number_invalid: "%{zip}, %{street}의 건물 번호를 찾을 수 없습니다."
51
51
  contains_restricted_characters: 주소1에는 문자, 숫자, 지역 문자, 특수 문자만 포함될 수 있습니다
52
52
  contains_too_many_words: 주소 1은 %{word_count}단어 이하여야 합니다
53
+ warnings:
54
+ contains_too_many_words: 주소 입력란 1은 %{word_count}개 미만의 단어를
55
+ 사용하는 것이 좋습니다.
53
56
  address2:
54
57
  label:
55
58
  default: 아파트, 동/호수 등
@@ -65,6 +68,9 @@ ko:
65
68
  building_number_invalid: "%{zip}, %{street}의 건물 번호를 찾을 수 없습니다."
66
69
  contains_restricted_characters: 주소2에는 문자, 숫자, 지역 문자, 특수 문자만 포함될 수 있습니다
67
70
  contains_too_many_words: 주소 2는 %{word_count}단어 이하여야 합니다
71
+ warnings:
72
+ contains_too_many_words: 주소 입력란 2는 %{word_count}개 미만의 단어를
73
+ 사용하는 것이 좋습니다.
68
74
  city:
69
75
  label:
70
76
  default: 구/군/시
@@ -127,3 +133,6 @@ ko:
127
133
  unknown_for_province: "%{province}에 대해 올바른 우편 번호를 입력하십시오"
128
134
  contains_restricted_characters: 우편 번호에는 문자, 숫자, 지역 문자, 특수 문자만 포함될 수 있습니다
129
135
  invalid_for_province: "%{province}의 유효한 우편 번호 입력"
136
+ address:
137
+ errors:
138
+ may_not_exist: 주소를 찾을 수 없거나 없습니다
@@ -59,6 +59,9 @@ lt-LT:
59
59
  vietiniai simboliai ir specialieji simboliai
60
60
  contains_too_many_words: Adreso (1) negali sudaryti daugiau nei %{word_count}
61
61
  žodžiai (-ių)
62
+ warnings:
63
+ contains_too_many_words: Patartina, kad 1 adreso eilutę sudarytų
64
+ mažiau nei %{word_count} žodžiai (-ių)
62
65
  address2:
63
66
  label:
64
67
  default: Butas, apartamentai ar kt.
@@ -79,6 +82,9 @@ lt-LT:
79
82
  vietiniai simboliai ir specialieji simboliai
80
83
  contains_too_many_words: Adreso (2) negali sudaryti daugiau nei %{word_count}
81
84
  žodžiai (-ių)
85
+ warnings:
86
+ contains_too_many_words: Patartina, kad 2 adreso eilutę sudarytų
87
+ mažiau nei %{word_count} žodžiai (-ių)
82
88
  city:
83
89
  label:
84
90
  default: Miestas
@@ -149,3 +155,6 @@ lt-LT:
149
155
  contains_restricted_characters: Pašto kodą gali sudaryti tik raidės, skaičiai,
150
156
  vietiniai simboliai ir specialieji simboliai
151
157
  invalid_for_province: Įveskite teisingą %{province} pašto kodą
158
+ address:
159
+ errors:
160
+ may_not_exist: Adresas nerastas arba neegzistuoja
@@ -56,6 +56,9 @@ ms:
56
56
  nombor, aksara tempatan dan aksara khas
57
57
  contains_too_many_words: Alamat1 tidak boleh mengandungi lebih daripada
58
58
  %{word_count} perkataan
59
+ warnings:
60
+ contains_too_many_words: Baris alamat 1 disyorkan untuk mengandungi
61
+ kurang daripada %{word_count} perkataan
59
62
  address2:
60
63
  label:
61
64
  default: Pangsapuri, suite, dsb.
@@ -74,6 +77,9 @@ ms:
74
77
  nombor, aksara tempatan dan aksara khas
75
78
  contains_too_many_words: Alamat2 tidak boleh mengandungi lebih daripada
76
79
  %{word_count} perkataan
80
+ warnings:
81
+ contains_too_many_words: Baris alamat 2 disyorkan untuk mengandungi
82
+ kurang daripada %{word_count} perkataan
77
83
  city:
78
84
  label:
79
85
  default: Bandar
@@ -142,3 +148,6 @@ ms:
142
148
  contains_restricted_characters: Poskod hanya boleh mengandungi huruf,
143
149
  nombor, aksara tempatan dan aksara khas
144
150
  invalid_for_province: Masukkan poskod yang sah untuk %{province}
151
+ address:
152
+ errors:
153
+ may_not_exist: Alamat tidak ditemui atau tidak wujud
@@ -55,6 +55,9 @@ nb:
55
55
  tall, lokale tegn og spesialtegn
56
56
  contains_too_many_words: Adresse1 kan ikke inneholde mer enn %{word_count}
57
57
  ord
58
+ warnings:
59
+ contains_too_many_words: Det anbefales at adresselinje 1
60
+ inneholder færre enn %{word_count} ord
58
61
  address2:
59
62
  label:
60
63
  default: Leilighet, etasje osv.
@@ -72,6 +75,9 @@ nb:
72
75
  tall, lokale tegn og spesialtegn
73
76
  contains_too_many_words: Adresse2 kan ikke inneholde mer enn %{word_count}
74
77
  ord
78
+ warnings:
79
+ contains_too_many_words: Det anbefales at adresselinje 2
80
+ inneholder færre enn %{word_count} ord
75
81
  city:
76
82
  label:
77
83
  default: By
@@ -140,3 +146,6 @@ nb:
140
146
  contains_restricted_characters: Postnummer kan kun inneholde bokstaver,
141
147
  tall, lokale tegn og spesialtegn
142
148
  invalid_for_province: Skriv inn et gyldig postnummer for %{province}
149
+ address:
150
+ errors:
151
+ may_not_exist: Fant ikke adressen, eller så eksisterer den ikke
@@ -56,6 +56,9 @@ nl:
56
56
  lokale tekens en speciale tekens bevatten
57
57
  contains_too_many_words: Adres1 mag niet langer zijn dan %{word_count}
58
58
  woorden
59
+ warnings:
60
+ contains_too_many_words: Geef minder dan %{word_count} woorden
61
+ op voor adresregel 1.
59
62
  address2:
60
63
  label:
61
64
  default: Appartementnr. etc.
@@ -74,6 +77,9 @@ nl:
74
77
  lokale tekens en speciale tekens bevatten
75
78
  contains_too_many_words: Adres2 mag niet langer zijn dan %{word_count}
76
79
  woorden
80
+ warnings:
81
+ contains_too_many_words: Geef minder dan %{word_count} woorden
82
+ op voor adresregel 2.
77
83
  city:
78
84
  label:
79
85
  default: Stad
@@ -143,3 +149,6 @@ nl:
143
149
  contains_restricted_characters: Het veld Postcode mag alleen letters,
144
150
  cijfers, lokale tekens en speciale tekens bevatten
145
151
  invalid_for_province: Voer een geldige postcode in voor %{province}.
152
+ address:
153
+ errors:
154
+ may_not_exist: Adres niet gevonden of bestaat niet
@@ -57,6 +57,9 @@ pl:
57
57
  znaki lokalne i znaki specjalne.
58
58
  contains_too_many_words: Adres 1 może zawierać maksymalnie do %{word_count}
59
59
  słów
60
+ warnings:
61
+ contains_too_many_words: Zaleca się, aby linia adresu 1 zawierała
62
+ mniej niż %{word_count} słów
60
63
  address2:
61
64
  label:
62
65
  default: Mieszkanie, apartament itp.
@@ -76,6 +79,9 @@ pl:
76
79
  znaki lokalne i znaki specjalne.
77
80
  contains_too_many_words: Adres 2 może zawierać maksymalnie do %{word_count}
78
81
  słów
82
+ warnings:
83
+ contains_too_many_words: Zaleca się, aby linia adresu 2 zawierała
84
+ mniej niż %{word_count} słów
79
85
  city:
80
86
  label:
81
87
  default: Miasto
@@ -146,3 +152,6 @@ pl:
146
152
  contains_restricted_characters: Pole Kod pocztowy może zawierać litery,
147
153
  cyfry, znaki lokalne i znaki specjalne.
148
154
  invalid_for_province: Wprowadź prawidłowy kod pocztowy dla %{province}
155
+ address:
156
+ errors:
157
+ may_not_exist: Nie znaleziono adresu lub adres nie istnieje
@@ -56,6 +56,9 @@ pt-BR:
56
56
  números, caracteres locais e caracteres especiais
57
57
  contains_too_many_words: O Endereço1 não pode ter mais de %{word_count}
58
58
  palavras
59
+ warnings:
60
+ contains_too_many_words: É recomendável que a linha de endereço
61
+ 1 tenha menos de %{word_count} palavras
59
62
  address2:
60
63
  label:
61
64
  default: Apartamento, bloco etc.
@@ -74,6 +77,9 @@ pt-BR:
74
77
  números, caracteres locais e caracteres especiais
75
78
  contains_too_many_words: O Endereço2 não pode ter mais de %{word_count}
76
79
  palavras
80
+ warnings:
81
+ contains_too_many_words: É recomendável que a linha de endereço
82
+ 2 tenha menos de %{word_count} palavras
77
83
  city:
78
84
  label:
79
85
  default: Cidade
@@ -141,3 +147,6 @@ pt-BR:
141
147
  contains_restricted_characters: O CEP pode conter apenas letras, números,
142
148
  caracteres locais e caracteres especiais
143
149
  invalid_for_province: Insira um CEP válido para %{province}
150
+ address:
151
+ errors:
152
+ may_not_exist: O endereço não foi encontrado ou não existe
@@ -57,6 +57,9 @@ pt-PT:
57
57
  números, caracteres locais e caracteres especiais
58
58
  contains_too_many_words: O endereço1 não pode ter mais do que %{word_count}
59
59
  palavras
60
+ warnings:
61
+ contains_too_many_words: Recomenda-se que a linha de endereço
62
+ 1 tenha menos de %{word_count} palavras
60
63
  address2:
61
64
  label:
62
65
  default: Apartamento, fração, etc.
@@ -76,6 +79,9 @@ pt-PT:
76
79
  números, caracteres locais e caracteres especiais
77
80
  contains_too_many_words: O endereço2 não pode ter mais do que %{word_count}
78
81
  palavras
82
+ warnings:
83
+ contains_too_many_words: Recomenda-se que a linha de endereço
84
+ 2 tenha menos de %{word_count} palavras
79
85
  city:
80
86
  label:
81
87
  default: Cidade
@@ -146,3 +152,6 @@ pt-PT:
146
152
  contains_restricted_characters: O campo "Código postal" só pode conter
147
153
  letras, números, caracteres locais e caracteres especiais
148
154
  invalid_for_province: 'Introduza um código postal válido para: %{province}'
155
+ address:
156
+ errors:
157
+ may_not_exist: Endereço não encontrado ou não existe
@@ -59,6 +59,9 @@ ro-RO:
59
59
  caractere locale și caractere speciale
60
60
  contains_too_many_words: Câmpul Adresă 1 nu poate conține mai mult de
61
61
  %{word_count} cuvinte
62
+ warnings:
63
+ contains_too_many_words: Se recomandă ca în câmpul Linie
64
+ 1 adresă să nu introduci mai mult de %{word_count} cuvinte
62
65
  address2:
63
66
  label:
64
67
  default: Apartament, cameră etc.
@@ -78,6 +81,9 @@ ro-RO:
78
81
  caractere locale și caractere speciale
79
82
  contains_too_many_words: Câmpul Adresă 2 nu poate conține mai mult de
80
83
  %{word_count} cuvinte
84
+ warnings:
85
+ contains_too_many_words: Se recomandă ca în câmpul Linie
86
+ 2 adresă să nu introduci mai mult de %{word_count} cuvinte
81
87
  city:
82
88
  label:
83
89
  default: Localitate
@@ -148,3 +154,6 @@ ro-RO:
148
154
  contains_restricted_characters: Codul poștal poate conține numai litere,
149
155
  cifre, caractere locale și caractere speciale
150
156
  invalid_for_province: Introdu un cod poștal valid pentru %{province}
157
+ address:
158
+ errors:
159
+ may_not_exist: Adresa nu a fost găsită sau nu există
@@ -57,6 +57,9 @@ ru:
57
57
  contains_restricted_characters: Поле «Адресная строка 1» может содержать
58
58
  только буквы, цифры, а также местные и специальные символы
59
59
  contains_too_many_words: Адресная строка 1 не может превышать %{word_count} сл.
60
+ warnings:
61
+ contains_too_many_words: Рекомендуем указывать в адресной
62
+ строке 1 не более %{word_count} сл.
60
63
  address2:
61
64
  label:
62
65
  default: Квартира, апартаменты и т. д.
@@ -75,6 +78,9 @@ ru:
75
78
  contains_restricted_characters: Поле «Адресная строка 2» может содержать
76
79
  только буквы, цифры, а также местные и специальные символы
77
80
  contains_too_many_words: Адресная строка 2 не может превышать %{word_count} сл.
81
+ warnings:
82
+ contains_too_many_words: Рекомендуем указывать в адресной
83
+ строке 2 не более %{word_count} сл.
78
84
  city:
79
85
  label:
80
86
  default: Город
@@ -148,3 +154,6 @@ ru:
148
154
  contains_restricted_characters: Поле «Почтовый индекс» может содержать
149
155
  только буквы, цифры, а также местные и специальные символы
150
156
  invalid_for_province: Укажите действительный почтовый индекс для %{province}
157
+ address:
158
+ errors:
159
+ may_not_exist: Адрес не найден или его не существует
@@ -56,6 +56,9 @@ sk-SK:
56
56
  miestne znaky a špeciálne znaky
57
57
  contains_too_many_words: 'Adresa 1 nemôže mať viac ako tento počet slov:
58
58
  (%{word_count})'
59
+ warnings:
60
+ contains_too_many_words: 'Riadok adresy 1 by nemal mať viac
61
+ ako tento počet slov: %{word_count}'
59
62
  address2:
60
63
  label:
61
64
  default: Apartmán, byt atď.
@@ -74,6 +77,9 @@ sk-SK:
74
77
  miestne znaky a špeciálne znaky
75
78
  contains_too_many_words: 'Adresa 2 nemôže mať viac ako tento počet slov:
76
79
  (%{word_count})'
80
+ warnings:
81
+ contains_too_many_words: 'Riadok adresy 2 by nemal mať viac
82
+ ako tento počet slov: %{word_count}'
77
83
  city:
78
84
  label:
79
85
  default: Mesto
@@ -144,3 +150,6 @@ sk-SK:
144
150
  len písmená, číslice, miestne znaky a špeciálne znaky
145
151
  invalid_for_province: Zadajte platné poštové smerovacie číslo pre provinciu
146
152
  %{province}
153
+ address:
154
+ errors:
155
+ may_not_exist: Adresa nebola nájdená alebo neexistuje
@@ -58,6 +58,9 @@ sl-SI:
58
58
  lokalne znake in posebne znake
59
59
  contains_too_many_words: Naslov1 ne sme vsebovati več kot %{word_count}
60
60
  besed
61
+ warnings:
62
+ contains_too_many_words: Naslov 1 naj ne vsebuje več kot
63
+ %{word_count} besed
61
64
  address2:
62
65
  label:
63
66
  default: Stanovanje, apartma itn.
@@ -78,6 +81,9 @@ sl-SI:
78
81
  lokalne znake in posebne znake
79
82
  contains_too_many_words: Naslov2 ne sme vsebovati več kot %{word_count}
80
83
  besed
84
+ warnings:
85
+ contains_too_many_words: Naslov 2 naj ne vsebuje več kot
86
+ %{word_count} besed
81
87
  city:
82
88
  label:
83
89
  default: Kraj
@@ -149,3 +155,6 @@ sl-SI:
149
155
  številke, lokalne znake in posebne znake
150
156
  invalid_for_province: Vnesite veljavno poštno številko za zvezno državo
151
157
  %{province}
158
+ address:
159
+ errors:
160
+ may_not_exist: Naslova ni mogoče najti ali ne obstaja
@@ -56,6 +56,9 @@ sv:
56
56
  siffror, lokala tecken och specialtecken
57
57
  contains_too_many_words: Adress1 får inte innehålla fler än %{word_count}
58
58
  ord
59
+ warnings:
60
+ contains_too_many_words: Vi rekommenderar att adressrad 1
61
+ består av färre än %{word_count} ord
59
62
  address2:
60
63
  label:
61
64
  default: Lägenhetsnummer, våning etc.
@@ -74,6 +77,9 @@ sv:
74
77
  siffror, lokala tecken och specialtecken
75
78
  contains_too_many_words: Adress2 får inte innehålla fler än %{word_count}
76
79
  ord
80
+ warnings:
81
+ contains_too_many_words: Vi rekommenderar att adressrad 2
82
+ består av färre än %{word_count} ord
77
83
  city:
78
84
  label:
79
85
  default: Stad
@@ -142,3 +148,6 @@ sv:
142
148
  contains_restricted_characters: Postnummer får endast innehålla bokstäver,
143
149
  siffror, lokala tecken och specialtecken
144
150
  invalid_for_province: Ange ett giltigt postnummer för %{province}
151
+ address:
152
+ errors:
153
+ address_may_not_exist: Adressen hittades inte eller finns inte
@@ -55,6 +55,9 @@ th:
55
55
  contains_restricted_characters: ที่อยู่1 สามารถประกอบด้วยตัวอักษร ตัวเลข
56
56
  อักขระท้องถิ่น และอักขระพิเศษได้เท่านั้น
57
57
  contains_too_many_words: ที่อยู่ 1 ต้องไม่เกิน %{word_count} คำ
58
+ warnings:
59
+ contains_too_many_words: ที่อยู่บรรทัดที่ 1 ไม่ควรมีความยาวเกิน
60
+ %{word_count} คำ
58
61
  address2:
59
62
  label:
60
63
  default: อพาร์ตเมนต์ ห้องชุด ฯลฯ
@@ -72,6 +75,9 @@ th:
72
75
  contains_restricted_characters: ที่อยู่2 สามารถประกอบด้วยตัวอักษร ตัวเลข
73
76
  อักขระท้องถิ่น และอักขระพิเศษได้เท่านั้น
74
77
  contains_too_many_words: ที่อยู่ 2 ต้องไม่เกิน %{word_count} คำ
78
+ warnings:
79
+ contains_too_many_words: ที่อยู่บรรทัดที่ 2 ไม่ควรมีความยาวเกิน
80
+ %{word_count} คำ
75
81
  city:
76
82
  label:
77
83
  default: เมือง
@@ -139,3 +145,6 @@ th:
139
145
  contains_restricted_characters: รหัสไปรษณีย์สามารถประกอบด้วยตัวอักษร ตัวเลข
140
146
  อักขระท้องถิ่น และอักขระพิเศษได้เท่านั้น
141
147
  invalid_for_province: ป้อนรหัสไปรษณีย์ที่ถูกต้องสำหรับ %{province}
148
+ address:
149
+ errors:
150
+ may_not_exist: ไม่พบหรือไม่มีที่อยู่
@@ -55,6 +55,9 @@ tr:
55
55
  contains_restricted_characters: Adres1 yalnızca harfler, sayılar, yerel
56
56
  karakterler ve özel karakterler içerebilir
57
57
  contains_too_many_words: 1. adres en fazla %{word_count} kelime içerebilir
58
+ warnings:
59
+ contains_too_many_words: Adres satırı 1'de %{word_count}
60
+ adetten az kelime olması önerilir
58
61
  address2:
59
62
  label:
60
63
  default: Apartman, daire vb.
@@ -72,6 +75,9 @@ tr:
72
75
  contains_restricted_characters: Adres2 yalnızca harfler, sayılar, yerel
73
76
  karakterler ve özel karakterler içerebilir
74
77
  contains_too_many_words: 2. adres en fazla %{word_count} kelime içerebilir
78
+ warnings:
79
+ contains_too_many_words: Adres satırı 2'de %{word_count}
80
+ adetten az kelime olması önerilir
75
81
  city:
76
82
  label:
77
83
  default: Şehir
@@ -140,3 +146,6 @@ tr:
140
146
  contains_restricted_characters: Posta kodu yalnızca harfler, sayılar,
141
147
  yerel karakterler ve özel karakterler içerebilir
142
148
  invalid_for_province: "%{province} için geçerli bir posta kodu girin"
149
+ address:
150
+ errors:
151
+ may_not_exist: Adres bulunamadı veya mevcut değil
@@ -55,6 +55,9 @@ vi:
55
55
  ký tự địa phương và ký tự đặc biệt
56
56
  contains_too_many_words: Address1 không được có nhiều hơn %{word_count}
57
57
  từ
58
+ warnings:
59
+ contains_too_many_words: Dòng địa chỉ 1 nên có tối đa %{word_count}
60
+ từ
58
61
  address2:
59
62
  label:
60
63
  default: Căn hộ, tòa, v.v.
@@ -72,6 +75,9 @@ vi:
72
75
  ký tự địa phương và ký tự đặc biệt
73
76
  contains_too_many_words: Address2 không được có nhiều hơn %{word_count}
74
77
  từ
78
+ warnings:
79
+ contains_too_many_words: Dòng địa chỉ 2 nên có tối đa %{word_count}
80
+ từ
75
81
  city:
76
82
  label:
77
83
  default: Thành phố
@@ -140,3 +146,6 @@ vi:
140
146
  contains_restricted_characters: Mã bưu chính chỉ được chứa chữ cái, chữ
141
147
  số, ký tự địa phương và ký tự đặc biệt
142
148
  invalid_for_province: Nhập mã bưu chính hợp lệ cho %{province}
149
+ address:
150
+ errors:
151
+ may_not_exist: Không tìm thấy địa chỉ hoặc địa chỉ không tồn tại
@@ -50,6 +50,8 @@ zh-CN:
50
50
  building_number_invalid: 大楼编号与 %{street} 和 %{zip} 不匹配。
51
51
  contains_restricted_characters: "“地址 1”字段只能包含字母、数字、当地字符和特殊字符"
52
52
  contains_too_many_words: "“地址 1”字段不能超过 %{word_count} 个单词"
53
+ warnings:
54
+ contains_too_many_words: 建议地址行 1 少于 %{word_count} 个字词
53
55
  address2:
54
56
  label:
55
57
  default: 公寓、房间号等
@@ -65,6 +67,8 @@ zh-CN:
65
67
  building_number_invalid: 大楼编号与 %{street} 和 %{zip} 不匹配。
66
68
  contains_restricted_characters: "“地址 2”字段只能包含字母、数字、当地字符和特殊字符"
67
69
  contains_too_many_words: "“地址 2”字段不能超过 %{word_count} 个单词"
70
+ warnings:
71
+ contains_too_many_words: 建议地址行 2 少于 %{word_count} 个字词
68
72
  city:
69
73
  label:
70
74
  default: 城市
@@ -126,3 +130,6 @@ zh-CN:
126
130
  unknown_for_province: 输入 %{province} 的有效邮政编码
127
131
  contains_restricted_characters: "“邮政编码”字段只能包含字母、数字、当地字符和特殊字符"
128
132
  invalid_for_province: 请输入 %{province} 对应的有效邮政编码
133
+ address:
134
+ errors:
135
+ may_not_exist: 找不到地址或地址不存在
@@ -50,6 +50,8 @@ zh-TW:
50
50
  building_number_invalid: 在 %{zip},%{street} 找不到此建築物號碼。
51
51
  contains_restricted_characters: 地址 1 僅可包含字母、數字、當地字元和特殊字元
52
52
  contains_too_many_words: 地址 1 不得超過 %{word_count} 個字
53
+ warnings:
54
+ contains_too_many_words: 地址第 1 行建議少於 %{word_count} 字
53
55
  address2:
54
56
  label:
55
57
  default: 公寓、套房等
@@ -65,6 +67,8 @@ zh-TW:
65
67
  building_number_invalid: 在 %{zip},%{street} 找不到此建築物號碼。
66
68
  contains_restricted_characters: 地址 2 僅可包含字母、數字、當地字元和特殊字元
67
69
  contains_too_many_words: 地址 2 不得超過 %{word_count} 個字
70
+ warnings:
71
+ contains_too_many_words: 地址第 2 行建議少於 %{word_count} 字
68
72
  city:
69
73
  label:
70
74
  default: 市
@@ -126,3 +130,6 @@ zh-TW:
126
130
  unknown_for_province: 請輸入%{province}的有效郵遞區號
127
131
  contains_restricted_characters: 郵遞區號僅可包含字母、數字、當地字元和特殊字元
128
132
  invalid_for_province: 請輸入%{province}的有效郵遞區號
133
+ address:
134
+ errors:
135
+ may_not_exist: 找不到地址或地址不存在
@@ -17,6 +17,7 @@ module Worldwide
17
17
  :zip,
18
18
  :country,
19
19
  :phone,
20
+ :address,
20
21
  ]
21
22
 
22
23
  def initialize(country_code:, field_key:)
@@ -40,6 +41,10 @@ module Worldwide
40
41
  lookup("errors.#{code}", locale: locale, options: options)
41
42
  end
42
43
 
44
+ def warning(locale: I18n.locale, code:, options: {})
45
+ lookup("warnings.#{code}", locale: locale, options: options)
46
+ end
47
+
43
48
  private
44
49
 
45
50
  def base_key(country_key)
@@ -89,7 +89,7 @@ module Worldwide
89
89
  end
90
90
 
91
91
  def apply_territory_attributes(region, spec)
92
- region.building_number_required = spec["building_number_required"] || true
92
+ region.building_number_required = spec["building_number_required"] || false
93
93
  region.building_number_may_be_in_address2 = spec["building_number_may_be_in_address2"] || false
94
94
  currency_code = spec["currency"]
95
95
  region.code_alternates = spec["code_alternates"] || []
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.0"
5
5
  end
data/worldwide.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.email = "developers@shopify.com"
12
12
 
13
13
  spec.summary = "Internationalization and localization APIs"
14
- spec.description = "APIs for I18n, I10n, and mailing address operations in Ruby."
14
+ spec.description = "The worldwide gem internationalizes and localizes Ruby code, enhancing user experience globally. It also aids in inputting, validating, and formatting mailing addresses."
15
15
  spec.homepage = "https://github.com/Shopify/worldwide"
16
16
 
17
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org/"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: worldwide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-20 00:00:00.000000000 Z
11
+ date: 2023-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -52,7 +52,9 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.8'
55
- description: APIs for I18n, I10n, and mailing address operations in Ruby.
55
+ description: The worldwide gem internationalizes and localizes Ruby code, enhancing
56
+ user experience globally. It also aids in inputting, validating, and formatting
57
+ mailing addresses.
56
58
  email: developers@shopify.com
57
59
  executables: []
58
60
  extensions: []
@@ -8226,7 +8228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
8226
8228
  - !ruby/object:Gem::Version
8227
8229
  version: '0'
8228
8230
  requirements: []
8229
- rubygems_version: 3.4.21
8231
+ rubygems_version: 3.4.22
8230
8232
  signing_key:
8231
8233
  specification_version: 4
8232
8234
  summary: Internationalization and localization APIs