worldwide 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +1 -1
- data/db/data/regions/AC.yml +6 -1
- data/db/data/regions/AD.yml +8 -3
- data/db/data/regions/AE.yml +8 -2
- data/db/data/regions/AF.yml +7 -1
- data/db/data/regions/AG.yml +7 -1
- data/db/data/regions/AI.yml +7 -1
- data/db/data/regions/AL.yml +10 -4
- data/db/data/regions/AM.yml +8 -3
- data/db/data/regions/AO.yml +6 -1
- data/db/data/regions/AR.yml +7 -1
- data/db/data/regions/AT.yml +7 -2
- data/db/data/regions/AU.yml +6 -1
- data/db/data/regions/AW.yml +5 -1
- data/db/data/regions/AX.yml +7 -2
- data/db/data/regions/AZ.yml +8 -3
- data/db/data/regions/BA.yml +8 -3
- data/db/data/regions/BB.yml +6 -1
- data/db/data/regions/BD.yml +7 -2
- data/db/data/regions/BE.yml +9 -4
- data/db/data/regions/BF.yml +7 -1
- data/db/data/regions/BG.yml +7 -2
- data/db/data/regions/BH.yml +7 -2
- data/db/data/regions/BI.yml +7 -3
- data/db/data/regions/BJ.yml +8 -3
- data/db/data/regions/BL.yml +7 -1
- data/db/data/regions/BM.yml +6 -1
- data/db/data/regions/BN.yml +8 -2
- data/db/data/regions/BO.yml +5 -1
- data/db/data/regions/BQ.yml +5 -1
- data/db/data/regions/BR/pt-BR.yml +2 -2
- data/db/data/regions/BR.yml +8 -1
- data/db/data/regions/BS.yml +6 -1
- data/db/data/regions/BT.yml +7 -1
- data/db/data/regions/BW.yml +5 -1
- data/db/data/regions/BY.yml +7 -2
- data/db/data/regions/BZ.yml +7 -2
- data/db/data/regions/CA.yml +8 -2
- data/db/data/regions/CC.yml +7 -2
- data/db/data/regions/CD.yml +7 -5
- data/db/data/regions/CF.yml +7 -2
- data/db/data/regions/CG.yml +6 -1
- data/db/data/regions/CH/pt-BR.yml +2 -2
- data/db/data/regions/CH.yml +10 -5
- data/db/data/regions/CI.yml +5 -1
- data/db/data/regions/CK.yml +6 -2
- data/db/data/regions/CL.yml +8 -1
- data/db/data/regions/CM.yml +8 -3
- data/db/data/regions/CN.yml +8 -1
- data/db/data/regions/CO.yml +8 -1
- data/db/data/regions/CR.yml +9 -1
- data/db/data/regions/CU.yml +6 -1
- data/db/data/regions/CV.yml +8 -2
- data/db/data/regions/CW.yml +6 -2
- data/db/data/regions/CX.yml +8 -3
- data/db/data/regions/CY.yml +9 -3
- data/db/data/regions/CZ.yml +6 -1
- data/db/data/regions/DE/pt-BR.yml +2 -2
- data/db/data/regions/DE.yml +7 -2
- data/db/data/regions/DJ.yml +9 -4
- data/db/data/regions/DK/pt-BR.yml +2 -2
- data/db/data/regions/DK.yml +7 -2
- data/db/data/regions/DM.yml +8 -2
- data/db/data/regions/DO.yml +6 -1
- data/db/data/regions/DZ.yml +7 -2
- data/db/data/regions/EC.yml +7 -1
- data/db/data/regions/EE.yml +6 -1
- data/db/data/regions/EG.yml +11 -3
- data/db/data/regions/EH.yml +7 -2
- data/db/data/regions/ER.yml +7 -3
- data/db/data/regions/ES/pt-BR.yml +2 -2
- data/db/data/regions/ES.yml +7 -1
- data/db/data/regions/ET.yml +12 -5
- data/db/data/regions/FI.yml +6 -1
- data/db/data/regions/FJ.yml +8 -3
- data/db/data/regions/FK.yml +7 -1
- data/db/data/regions/FO.yml +7 -2
- data/db/data/regions/FR.yml +6 -1
- data/db/data/regions/GA.yml +7 -2
- data/db/data/regions/GB.yml +8 -2
- data/db/data/regions/GD.yml +8 -2
- data/db/data/regions/GE.yml +8 -3
- data/db/data/regions/GF.yml +6 -1
- data/db/data/regions/GG.yml +8 -2
- data/db/data/regions/GH.yml +8 -4
- data/db/data/regions/GI.yml +8 -2
- data/db/data/regions/GL.yml +8 -3
- data/db/data/regions/GM.yml +6 -1
- data/db/data/regions/GN.yml +9 -4
- data/db/data/regions/GP.yml +6 -1
- data/db/data/regions/GQ.yml +8 -3
- data/db/data/regions/GR.yml +7 -2
- data/db/data/regions/GS.yml +6 -1
- data/db/data/regions/GT.yml +8 -1
- data/db/data/regions/GW.yml +8 -4
- data/db/data/regions/GY.yml +5 -1
- data/db/data/regions/HK.yml +8 -2
- data/db/data/regions/HN.yml +8 -1
- data/db/data/regions/HR.yml +6 -1
- data/db/data/regions/HT.yml +7 -1
- data/db/data/regions/HU.yml +6 -1
- data/db/data/regions/ID.yml +9 -2
- data/db/data/regions/IE.yml +9 -2
- data/db/data/regions/IL.yml +8 -2
- data/db/data/regions/IM.yml +6 -1
- data/db/data/regions/IN.yml +23 -16
- data/db/data/regions/IQ.yml +8 -2
- data/db/data/regions/IR.yml +8 -3
- data/db/data/regions/IS.yml +6 -1
- data/db/data/regions/IT/pt-BR.yml +2 -2
- data/db/data/regions/IT.yml +7 -1
- data/db/data/regions/JE.yml +7 -2
- data/db/data/regions/JM.yml +5 -1
- data/db/data/regions/JO.yml +7 -1
- data/db/data/regions/JP.yml +8 -2
- data/db/data/regions/KE.yml +8 -2
- data/db/data/regions/KG.yml +7 -2
- data/db/data/regions/KH.yml +7 -2
- data/db/data/regions/KI.yml +6 -1
- data/db/data/regions/KM.yml +6 -2
- data/db/data/regions/KN.yml +7 -1
- data/db/data/regions/KP.yml +6 -1
- data/db/data/regions/KR.yml +7 -1
- data/db/data/regions/KW.yml +8 -1
- data/db/data/regions/KY.yml +6 -1
- data/db/data/regions/KZ.yml +8 -2
- data/db/data/regions/LA.yml +7 -2
- data/db/data/regions/LB.yml +8 -2
- data/db/data/regions/LC.yml +8 -2
- data/db/data/regions/LI.yml +6 -1
- data/db/data/regions/LK.yml +9 -3
- data/db/data/regions/LR.yml +7 -1
- data/db/data/regions/LS.yml +8 -2
- data/db/data/regions/LT.yml +6 -1
- data/db/data/regions/LU.yml +8 -3
- data/db/data/regions/LV.yml +7 -1
- data/db/data/regions/LY.yml +7 -2
- data/db/data/regions/MA.yml +7 -2
- data/db/data/regions/MC.yml +6 -1
- data/db/data/regions/MD.yml +9 -4
- data/db/data/regions/ME.yml +9 -4
- data/db/data/regions/MF.yml +6 -1
- data/db/data/regions/MG.yml +8 -2
- data/db/data/regions/MK.yml +7 -2
- data/db/data/regions/ML.yml +7 -2
- data/db/data/regions/MM.yml +6 -1
- data/db/data/regions/MN.yml +6 -1
- data/db/data/regions/MO.yml +6 -2
- data/db/data/regions/MQ.yml +6 -1
- data/db/data/regions/MR.yml +8 -2
- data/db/data/regions/MS.yml +6 -1
- data/db/data/regions/MT.yml +8 -2
- data/db/data/regions/MU.yml +8 -2
- data/db/data/regions/MV.yml +9 -2
- data/db/data/regions/MW.yml +10 -3
- data/db/data/regions/MX.yml +9 -1
- data/db/data/regions/MY.yml +11 -4
- data/db/data/regions/MZ.yml +7 -2
- data/db/data/regions/NA.yml +10 -4
- data/db/data/regions/NC.yml +7 -1
- data/db/data/regions/NE.yml +5 -1
- data/db/data/regions/NF.yml +6 -1
- data/db/data/regions/NG.yml +8 -1
- data/db/data/regions/NI.yml +6 -1
- data/db/data/regions/NL/pt-BR.yml +2 -2
- data/db/data/regions/NL.yml +7 -2
- data/db/data/regions/NO/pt-BR.yml +2 -2
- data/db/data/regions/NO.yml +8 -3
- data/db/data/regions/NP.yml +6 -1
- data/db/data/regions/NR.yml +8 -2
- data/db/data/regions/NU.yml +7 -1
- data/db/data/regions/NZ.yml +8 -2
- data/db/data/regions/OM.yml +7 -1
- data/db/data/regions/PA.yml +9 -1
- data/db/data/regions/PE.yml +9 -1
- data/db/data/regions/PF.yml +6 -1
- data/db/data/regions/PG.yml +8 -2
- data/db/data/regions/PH.yml +9 -2
- data/db/data/regions/PK.yml +11 -4
- data/db/data/regions/PL.yml +7 -2
- data/db/data/regions/PM.yml +6 -1
- data/db/data/regions/PN.yml +5 -1
- data/db/data/regions/PS.yml +6 -1
- data/db/data/regions/PT.yml +7 -1
- data/db/data/regions/PY.yml +6 -1
- data/db/data/regions/QA.yml +6 -1
- data/db/data/regions/RE.yml +6 -1
- data/db/data/regions/RO.yml +8 -2
- data/db/data/regions/RS.yml +6 -1
- data/db/data/regions/RU.yml +7 -1
- data/db/data/regions/RW.yml +8 -4
- data/db/data/regions/SA.yml +8 -2
- data/db/data/regions/SB.yml +5 -1
- data/db/data/regions/SC.yml +7 -2
- data/db/data/regions/SD.yml +7 -2
- data/db/data/regions/SE/pt-BR.yml +3 -3
- data/db/data/regions/SE.yml +7 -2
- data/db/data/regions/SG.yml +9 -3
- data/db/data/regions/SH.yml +7 -1
- data/db/data/regions/SI.yml +8 -3
- data/db/data/regions/SJ.yml +6 -1
- data/db/data/regions/SK.yml +7 -2
- data/db/data/regions/SL.yml +6 -2
- data/db/data/regions/SM.yml +6 -1
- data/db/data/regions/SN.yml +6 -1
- data/db/data/regions/SO.yml +8 -4
- data/db/data/regions/SR.yml +6 -1
- data/db/data/regions/SS.yml +8 -2
- data/db/data/regions/ST.yml +7 -2
- data/db/data/regions/SV.yml +8 -1
- data/db/data/regions/SX.yml +6 -2
- data/db/data/regions/SY.yml +5 -1
- data/db/data/regions/SZ.yml +8 -2
- data/db/data/regions/TA.yml +5 -1
- data/db/data/regions/TC.yml +6 -1
- data/db/data/regions/TD.yml +7 -2
- data/db/data/regions/TG.yml +10 -5
- data/db/data/regions/TH.yml +9 -1
- data/db/data/regions/TJ.yml +7 -2
- data/db/data/regions/TK.yml +5 -1
- data/db/data/regions/TL.yml +5 -1
- data/db/data/regions/TM.yml +7 -2
- data/db/data/regions/TN.yml +7 -2
- data/db/data/regions/TO.yml +7 -2
- data/db/data/regions/TR.yml +7 -1
- data/db/data/regions/TT.yml +5 -1
- data/db/data/regions/TV.yml +7 -1
- data/db/data/regions/TW.yml +7 -1
- data/db/data/regions/TZ.yml +8 -2
- data/db/data/regions/UA.yml +7 -2
- data/db/data/regions/UG.yml +7 -2
- data/db/data/regions/US.yml +8 -2
- data/db/data/regions/UY.yml +7 -1
- data/db/data/regions/UZ.yml +7 -2
- data/db/data/regions/VA.yml +7 -2
- data/db/data/regions/VC.yml +7 -1
- data/db/data/regions/VE.yml +7 -1
- data/db/data/regions/VG.yml +8 -1
- data/db/data/regions/VN.yml +7 -2
- data/db/data/regions/VU.yml +8 -3
- data/db/data/regions/WF.yml +8 -1
- data/db/data/regions/WS.yml +8 -2
- data/db/data/regions/XK.yml +7 -2
- data/db/data/regions/YE.yml +6 -1
- data/db/data/regions/YT.yml +6 -1
- data/db/data/regions/ZA.yml +14 -7
- data/db/data/regions/ZM.yml +6 -1
- data/db/data/regions/ZW.yml +11 -6
- data/db/data/regions/_default/ja.yml +3 -3
- data/db/data/regions/_default/nl.yml +40 -40
- data/db/data/regions/_default/zh-TW.yml +33 -33
- data/lib/worldwide/region.rb +5 -0
- data/lib/worldwide/regions_loader.rb +1 -0
- data/lib/worldwide/version.rb +1 -1
- metadata +3 -3
@@ -101,16 +101,16 @@ nl:
|
|
101
101
|
contains_html_tags_informative: Adres mag geen HTML bevatten
|
102
102
|
contains_url_instructional: Adfres mag geen URL bevatten
|
103
103
|
contains_url_informative: Adres mag geen URL bevatten
|
104
|
-
missing_building_number_instructional: Voeg een
|
104
|
+
missing_building_number_instructional: Voeg een huisnummer toe als je
|
105
105
|
er een hebt
|
106
|
-
missing_building_number_informative:
|
106
|
+
missing_building_number_informative: Huisnummer ontbreekt mogelijk
|
107
107
|
street_unknown_for_zip_instructional: Vul een geldige straatnaam in voor
|
108
108
|
%{zip}
|
109
109
|
street_unknown_for_zip_informative: Straatnaam komt niet overeen met %{zip}
|
110
|
-
building_number_invalid_instructional: Kan
|
111
|
-
%{zip} niet vinden
|
112
|
-
building_number_invalid_informative: Kan gebouwnummer voor %{street},
|
110
|
+
building_number_invalid_instructional: Kan huisnummer voor %{street},
|
113
111
|
%{zip} niet vinden
|
112
|
+
building_number_invalid_informative: Kan huisnummer voor %{street}, %{zip}
|
113
|
+
niet vinden
|
114
114
|
unknown_for_address_instructional: Adresregel 1 is mogelijk onjuist
|
115
115
|
unknown_for_address_informative: Adresregel 1 is mogelijk onjuist
|
116
116
|
address2:
|
@@ -121,16 +121,16 @@ nl:
|
|
121
121
|
blank_instructional: Voer een appartement- of suitenummer in
|
122
122
|
blank_informative: Appartement- of suitenummer ontbreekt
|
123
123
|
too_long_instructional: Adresregel 2 is te lang (het maximum is 255 tekens)
|
124
|
-
missing_building_number_instructional: Voeg een
|
124
|
+
missing_building_number_instructional: Voeg een huisnummer toe als je
|
125
125
|
er een hebt
|
126
|
-
missing_building_number_informative:
|
126
|
+
missing_building_number_informative: Huisnummer ontbreekt mogelijk
|
127
127
|
street_unknown_for_zip_instructional: Vul een geldige straatnaam in voor
|
128
128
|
%{zip}
|
129
129
|
street_unknown_for_zip_informative: Straatnaam is niet geldig voor %{zip}
|
130
|
-
building_number_invalid_instructional: Kan
|
131
|
-
%{zip} niet vinden
|
132
|
-
building_number_invalid_informative: Kan gebouwnummer voor %{street},
|
130
|
+
building_number_invalid_instructional: Kan huisnummer voor %{street},
|
133
131
|
%{zip} niet vinden
|
132
|
+
building_number_invalid_informative: Kan huisnummer voor %{street}, %{zip}
|
133
|
+
niet vinden
|
134
134
|
too_long_informative: Adresregel 2 is te lang
|
135
135
|
contains_emojis_instructional: Adresregel 2 mag geen emoji's bevatten
|
136
136
|
contains_emojis_informative: Adresregel 2 mag geen emoji's bevatten
|
@@ -327,37 +327,37 @@ nl:
|
|
327
327
|
contains_html_tags_informative: Straat mag geen HTML bevatten
|
328
328
|
street_number:
|
329
329
|
label:
|
330
|
-
default:
|
331
|
-
optional:
|
330
|
+
default: Huisnummer
|
331
|
+
optional: Huisnummer (optioneel)
|
332
332
|
warnings:
|
333
333
|
contains_too_many_words: Geef minder dan %{word_count} woorden op voor
|
334
|
-
|
334
|
+
huisnummer
|
335
335
|
errors:
|
336
|
-
blank_instructional: Vul een
|
337
|
-
blank_informative:
|
338
|
-
too_long_instructional:
|
339
|
-
|
340
|
-
too_long_informative:
|
341
|
-
contains_emojis_instructional:
|
342
|
-
contains_emojis_informative:
|
343
|
-
contains_mathematical_symbols_instructional:
|
336
|
+
blank_instructional: Vul een huisnummer in
|
337
|
+
blank_informative: Huisnummer ontbreekt
|
338
|
+
too_long_instructional: Huisnummer is te lang (mag maximaal %{limit} tekens
|
339
|
+
zijn)
|
340
|
+
too_long_informative: Huisnummer is te lang
|
341
|
+
contains_emojis_instructional: Huisnummer mag geen emoji's bevatten
|
342
|
+
contains_emojis_informative: Huisnummer mag geen emoji's bevatten
|
343
|
+
contains_mathematical_symbols_instructional: Huisnummer mag geen wiskundige
|
344
344
|
symbolen bevatten
|
345
|
-
contains_mathematical_symbols_informative:
|
345
|
+
contains_mathematical_symbols_informative: Huisnummer mag geen wiskundige
|
346
346
|
symbolen bevatten
|
347
|
-
contains_restricted_characters_instructional:
|
348
|
-
|
349
|
-
contains_restricted_characters_informative:
|
347
|
+
contains_restricted_characters_instructional: Huisnummer mag alleen letters,
|
348
|
+
cijfers, lokale tekens en speciale tekens bevatten
|
349
|
+
contains_restricted_characters_informative: Huisnummer mag geen verboden
|
350
350
|
tekens bevatten
|
351
|
-
contains_html_tags_instructional:
|
352
|
-
contains_html_tags_informative:
|
353
|
-
contains_url_instructional:
|
354
|
-
contains_url_informative:
|
355
|
-
building_number_invalid_instructional: Kan
|
356
|
-
%{zip} niet vinden
|
357
|
-
building_number_invalid_informative: Kan gebouwnummer voor %{street},
|
351
|
+
contains_html_tags_instructional: Huisnummer mag geen HTML bevatten
|
352
|
+
contains_html_tags_informative: Huisnummer mag geen HTML bevatten
|
353
|
+
contains_url_instructional: Huisnummer mag geen URL bevatten
|
354
|
+
contains_url_informative: Huisnummer mag geen URL bevatten
|
355
|
+
building_number_invalid_instructional: Kan huisnummer voor %{street},
|
358
356
|
%{zip} niet vinden
|
359
|
-
|
360
|
-
|
357
|
+
building_number_invalid_informative: Kan huisnummer voor %{street}, %{zip}
|
358
|
+
niet vinden
|
359
|
+
unknown_for_address_instructional: Voer een geldig huisnummer in
|
360
|
+
unknown_for_address_informative: Huisnummer is niet geldig
|
361
361
|
neighborhood:
|
362
362
|
label:
|
363
363
|
default: Buurt
|
@@ -424,18 +424,18 @@ nl:
|
|
424
424
|
bevatten
|
425
425
|
contains_url_instructional: De tweede adresregel mag geen URL bevatten
|
426
426
|
contains_url_informative: De tweede adresregel mag geen URL bevatten
|
427
|
-
missing_building_number_instructional: Voeg een
|
428
|
-
er een hebt
|
429
|
-
missing_building_number_informative: Voeg een gebouwnummer toe als je
|
427
|
+
missing_building_number_instructional: Voeg een huisnummer toe als je
|
430
428
|
er een hebt
|
429
|
+
missing_building_number_informative: Voeg een huisnummer toe als je er
|
430
|
+
een hebt
|
431
431
|
street_unknown_for_zip_instructional: Vul een geldige straatnaam in voor
|
432
432
|
%{zip}
|
433
433
|
street_unknown_for_zip_informative: Vul een geldige straatnaam in voor
|
434
434
|
%{zip}
|
435
|
-
building_number_invalid_instructional: Kan
|
436
|
-
%{zip} niet vinden
|
437
|
-
building_number_invalid_informative: Kan gebouwnummer voor %{street},
|
435
|
+
building_number_invalid_instructional: Kan huisnummer voor %{street},
|
438
436
|
%{zip} niet vinden
|
437
|
+
building_number_invalid_informative: Kan huisnummer voor %{street}, %{zip}
|
438
|
+
niet vinden
|
439
439
|
unknown_for_address_instructional: De tweede adresregel is mogelijk onjuist
|
440
440
|
unknown_for_address_informative: De tweede adresregel is mogelijk onjuist
|
441
441
|
warnings:
|
@@ -81,12 +81,12 @@ zh-TW:
|
|
81
81
|
contains_html_tags_informative: 地址不得包含 HTML
|
82
82
|
contains_url_instructional: 地址不得包含網址
|
83
83
|
contains_url_informative: 地址不得包含網址
|
84
|
-
missing_building_number_instructional:
|
85
|
-
missing_building_number_informative:
|
84
|
+
missing_building_number_instructional: 如果您的地址有門牌號碼,請新增門牌號碼
|
85
|
+
missing_building_number_informative: 可能未輸入門牌號碼
|
86
86
|
street_unknown_for_zip_instructional: 請輸入 %{zip} 的有效街道名稱
|
87
87
|
street_unknown_for_zip_informative: 街道名稱與 %{zip} 不相符
|
88
|
-
building_number_invalid_instructional: 在 %{zip} %{street}
|
89
|
-
building_number_invalid_informative: 在 %{zip} %{street}
|
88
|
+
building_number_invalid_instructional: 在 %{zip} %{street} 找不到此門牌號碼
|
89
|
+
building_number_invalid_informative: 在 %{zip} %{street} 找不到此門牌號碼
|
90
90
|
unknown_for_address_instructional: 地址第 1 行可能並不正確
|
91
91
|
unknown_for_address_informative: 地址第 1 行可能並不正確
|
92
92
|
address2:
|
@@ -97,12 +97,12 @@ zh-TW:
|
|
97
97
|
blank_instructional: 輸入公寓、套房等
|
98
98
|
blank_informative: 缺少公寓或套房
|
99
99
|
too_long_instructional: 第二行地址過長 (最多 255 個字元)
|
100
|
-
missing_building_number_instructional:
|
101
|
-
missing_building_number_informative:
|
100
|
+
missing_building_number_instructional: 如果您的地址有門牌號碼,請新增門牌號碼
|
101
|
+
missing_building_number_informative: 可能未輸入門牌號碼
|
102
102
|
street_unknown_for_zip_instructional: 請輸入 %{zip} 的有效街道名稱
|
103
103
|
street_unknown_for_zip_informative: "%{zip} 的街道名稱無效"
|
104
|
-
building_number_invalid_instructional: 在 %{zip} %{street}
|
105
|
-
building_number_invalid_informative: 在 %{zip} %{street}
|
104
|
+
building_number_invalid_instructional: 在 %{zip} %{street} 找不到此門牌號碼
|
105
|
+
building_number_invalid_informative: 在 %{zip} %{street} 找不到此門牌號碼
|
106
106
|
too_long_informative: 第二行地址過長
|
107
107
|
contains_emojis_instructional: 第二行地址不得包含表情符號
|
108
108
|
contains_emojis_informative: 第二行地址不得包含表情符號
|
@@ -262,29 +262,29 @@ zh-TW:
|
|
262
262
|
contains_html_tags_informative: 街道不得包含 HTML
|
263
263
|
street_number:
|
264
264
|
label:
|
265
|
-
default:
|
266
|
-
optional:
|
265
|
+
default: 門牌號碼
|
266
|
+
optional: 門牌號碼 (選填)
|
267
267
|
warnings:
|
268
|
-
contains_too_many_words:
|
268
|
+
contains_too_many_words: 建議「門牌號碼」少於 %{word_count} 個字
|
269
269
|
errors:
|
270
|
-
blank_instructional:
|
271
|
-
blank_informative:
|
272
|
-
too_long_instructional: "
|
273
|
-
too_long_informative:
|
274
|
-
contains_emojis_instructional:
|
275
|
-
contains_emojis_informative:
|
276
|
-
contains_mathematical_symbols_instructional:
|
277
|
-
contains_mathematical_symbols_informative:
|
278
|
-
contains_restricted_characters_instructional:
|
279
|
-
contains_restricted_characters_informative:
|
280
|
-
contains_html_tags_instructional:
|
281
|
-
contains_html_tags_informative:
|
282
|
-
contains_url_instructional:
|
283
|
-
contains_url_informative:
|
284
|
-
building_number_invalid_instructional: 在 %{zip} %{street}
|
285
|
-
building_number_invalid_informative: 在 %{zip} %{street}
|
286
|
-
unknown_for_address_instructional:
|
287
|
-
unknown_for_address_informative:
|
270
|
+
blank_instructional: 請輸入門牌號碼
|
271
|
+
blank_informative: 缺少門牌號碼
|
272
|
+
too_long_instructional: "「門牌號碼」過長 (最多 %{limit} 個字元)"
|
273
|
+
too_long_informative: 門牌號碼過長
|
274
|
+
contains_emojis_instructional: 門牌號碼不得包含表情符號
|
275
|
+
contains_emojis_informative: 門牌號碼不得包含表情符號
|
276
|
+
contains_mathematical_symbols_instructional: 門牌號碼不得包含數學符號
|
277
|
+
contains_mathematical_symbols_informative: 門牌號碼不得包含數學符號
|
278
|
+
contains_restricted_characters_instructional: 門牌號碼僅可包含字母、數字、當地字元和特殊字元
|
279
|
+
contains_restricted_characters_informative: 門牌號碼不得包含限制的字元
|
280
|
+
contains_html_tags_instructional: 門牌號碼不得包含 HTML
|
281
|
+
contains_html_tags_informative: 門牌號碼不得包含 HTML
|
282
|
+
contains_url_instructional: 門牌號碼不得包含網址
|
283
|
+
contains_url_informative: 門牌號碼不得包含網址
|
284
|
+
building_number_invalid_instructional: 在 %{zip} %{street} 找不到此門牌號碼
|
285
|
+
building_number_invalid_informative: 在 %{zip} %{street} 找不到此門牌號碼
|
286
|
+
unknown_for_address_instructional: 請輸入有效的門牌號碼
|
287
|
+
unknown_for_address_informative: 門牌號碼無效
|
288
288
|
neighborhood:
|
289
289
|
label:
|
290
290
|
default: 鄰
|
@@ -335,12 +335,12 @@ zh-TW:
|
|
335
335
|
contains_html_tags_informative: "「地址第二行」不得包含 HTML 標籤"
|
336
336
|
contains_url_instructional: "「地址第二行」不得包含網址"
|
337
337
|
contains_url_informative: "「地址第二行」不得包含網址"
|
338
|
-
missing_building_number_instructional:
|
339
|
-
missing_building_number_informative:
|
338
|
+
missing_building_number_instructional: 如果您的地址有門牌號碼,請新增門牌號碼
|
339
|
+
missing_building_number_informative: 如果您的地址有門牌號碼,請新增門牌號碼
|
340
340
|
street_unknown_for_zip_instructional: 請輸入 %{zip} 的有效街道名稱
|
341
341
|
street_unknown_for_zip_informative: 請輸入 %{zip} 的有效街道名稱
|
342
|
-
building_number_invalid_instructional: 在 %{zip} %{street}
|
343
|
-
building_number_invalid_informative: 在 %{zip} %{street}
|
342
|
+
building_number_invalid_instructional: 在 %{zip} %{street} 找不到此門牌號碼
|
343
|
+
building_number_invalid_informative: 在 %{zip} %{street} 找不到此門牌號碼
|
344
344
|
unknown_for_address_instructional: "「地址第二行」可能並不正確"
|
345
345
|
unknown_for_address_informative: "「地址第二行」可能並不正確"
|
346
346
|
warnings:
|
data/lib/worldwide/region.rb
CHANGED
@@ -17,6 +17,7 @@ module Worldwide
|
|
17
17
|
:building_number_required,
|
18
18
|
:currency,
|
19
19
|
:example_city,
|
20
|
+
:example_address,
|
20
21
|
:flag,
|
21
22
|
:format,
|
22
23
|
:format_extended,
|
@@ -65,6 +66,9 @@ module Worldwide
|
|
65
66
|
# A major city in the given region that can be used as an example
|
66
67
|
attr_accessor :example_city
|
67
68
|
|
69
|
+
# A full address in the given region that can be used as an example
|
70
|
+
attr_accessor :example_address
|
71
|
+
|
68
72
|
# Unicode codepoints for this region's flag emoji
|
69
73
|
attr_accessor :flag
|
70
74
|
|
@@ -262,6 +266,7 @@ module Worldwide
|
|
262
266
|
@zip_example = nil
|
263
267
|
@zip_prefixes = []
|
264
268
|
@zip_regex = nil
|
269
|
+
@example_address = nil
|
265
270
|
|
266
271
|
@parents = [].to_set
|
267
272
|
@zones = []
|
@@ -105,6 +105,7 @@ module Worldwide
|
|
105
105
|
region.flag = spec["emoji"]
|
106
106
|
region.format = spec["format"]
|
107
107
|
region.format_extended = spec["format_extended"] || {}
|
108
|
+
region.example_address = spec["example_address"] || nil
|
108
109
|
region.group = spec["group"]
|
109
110
|
region.group_name = spec["group_name"]
|
110
111
|
region.hide_provinces_from_addresses = spec["hide_provinces_from_addresses"] || false
|
data/lib/worldwide/version.rb
CHANGED
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: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -8505,7 +8505,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
8505
8505
|
- !ruby/object:Gem::Version
|
8506
8506
|
version: '0'
|
8507
8507
|
requirements: []
|
8508
|
-
rubygems_version: 3.5.
|
8508
|
+
rubygems_version: 3.5.15
|
8509
8509
|
signing_key:
|
8510
8510
|
specification_version: 4
|
8511
8511
|
summary: Internationalization and localization APIs
|