worldwide 1.6.1 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/Gemfile.lock +1 -1
  4. data/db/data/regions/AC.yml +6 -1
  5. data/db/data/regions/AD.yml +8 -3
  6. data/db/data/regions/AE.yml +8 -2
  7. data/db/data/regions/AF.yml +7 -1
  8. data/db/data/regions/AG.yml +7 -1
  9. data/db/data/regions/AI.yml +7 -1
  10. data/db/data/regions/AL.yml +10 -4
  11. data/db/data/regions/AM.yml +8 -3
  12. data/db/data/regions/AO.yml +6 -1
  13. data/db/data/regions/AR.yml +7 -1
  14. data/db/data/regions/AT.yml +7 -2
  15. data/db/data/regions/AU.yml +6 -1
  16. data/db/data/regions/AW.yml +5 -1
  17. data/db/data/regions/AX.yml +7 -2
  18. data/db/data/regions/AZ.yml +8 -3
  19. data/db/data/regions/BA.yml +8 -3
  20. data/db/data/regions/BB.yml +6 -1
  21. data/db/data/regions/BD.yml +7 -2
  22. data/db/data/regions/BE.yml +9 -4
  23. data/db/data/regions/BF.yml +7 -1
  24. data/db/data/regions/BG.yml +7 -2
  25. data/db/data/regions/BH.yml +7 -2
  26. data/db/data/regions/BI.yml +7 -3
  27. data/db/data/regions/BJ.yml +8 -3
  28. data/db/data/regions/BL.yml +7 -1
  29. data/db/data/regions/BM.yml +6 -1
  30. data/db/data/regions/BN.yml +8 -2
  31. data/db/data/regions/BO.yml +5 -1
  32. data/db/data/regions/BQ.yml +5 -1
  33. data/db/data/regions/BR/pt-BR.yml +2 -2
  34. data/db/data/regions/BR.yml +8 -1
  35. data/db/data/regions/BS.yml +6 -1
  36. data/db/data/regions/BT.yml +7 -1
  37. data/db/data/regions/BW.yml +5 -1
  38. data/db/data/regions/BY.yml +7 -2
  39. data/db/data/regions/BZ.yml +7 -2
  40. data/db/data/regions/CA.yml +8 -2
  41. data/db/data/regions/CC.yml +7 -2
  42. data/db/data/regions/CD.yml +7 -5
  43. data/db/data/regions/CF.yml +7 -2
  44. data/db/data/regions/CG.yml +6 -1
  45. data/db/data/regions/CH/pt-BR.yml +2 -2
  46. data/db/data/regions/CH.yml +10 -5
  47. data/db/data/regions/CI.yml +5 -1
  48. data/db/data/regions/CK.yml +6 -2
  49. data/db/data/regions/CL.yml +8 -1
  50. data/db/data/regions/CM.yml +8 -3
  51. data/db/data/regions/CN.yml +8 -1
  52. data/db/data/regions/CO.yml +8 -1
  53. data/db/data/regions/CR.yml +9 -1
  54. data/db/data/regions/CU.yml +6 -1
  55. data/db/data/regions/CV.yml +8 -2
  56. data/db/data/regions/CW.yml +6 -2
  57. data/db/data/regions/CX.yml +8 -3
  58. data/db/data/regions/CY.yml +9 -3
  59. data/db/data/regions/CZ.yml +6 -1
  60. data/db/data/regions/DE/pt-BR.yml +2 -2
  61. data/db/data/regions/DE.yml +7 -2
  62. data/db/data/regions/DJ.yml +9 -4
  63. data/db/data/regions/DK/pt-BR.yml +2 -2
  64. data/db/data/regions/DK.yml +7 -2
  65. data/db/data/regions/DM.yml +8 -2
  66. data/db/data/regions/DO.yml +6 -1
  67. data/db/data/regions/DZ.yml +7 -2
  68. data/db/data/regions/EC.yml +7 -1
  69. data/db/data/regions/EE.yml +6 -1
  70. data/db/data/regions/EG.yml +11 -3
  71. data/db/data/regions/EH.yml +7 -2
  72. data/db/data/regions/ER.yml +7 -3
  73. data/db/data/regions/ES/pt-BR.yml +2 -2
  74. data/db/data/regions/ES.yml +7 -1
  75. data/db/data/regions/ET.yml +12 -5
  76. data/db/data/regions/FI.yml +6 -1
  77. data/db/data/regions/FJ.yml +8 -3
  78. data/db/data/regions/FK.yml +7 -1
  79. data/db/data/regions/FO.yml +7 -2
  80. data/db/data/regions/FR.yml +6 -1
  81. data/db/data/regions/GA.yml +7 -2
  82. data/db/data/regions/GB.yml +8 -2
  83. data/db/data/regions/GD.yml +8 -2
  84. data/db/data/regions/GE.yml +8 -3
  85. data/db/data/regions/GF.yml +6 -1
  86. data/db/data/regions/GG.yml +8 -2
  87. data/db/data/regions/GH.yml +8 -4
  88. data/db/data/regions/GI.yml +8 -2
  89. data/db/data/regions/GL.yml +8 -3
  90. data/db/data/regions/GM.yml +6 -1
  91. data/db/data/regions/GN.yml +9 -4
  92. data/db/data/regions/GP.yml +6 -1
  93. data/db/data/regions/GQ.yml +8 -3
  94. data/db/data/regions/GR.yml +7 -2
  95. data/db/data/regions/GS.yml +6 -1
  96. data/db/data/regions/GT.yml +8 -1
  97. data/db/data/regions/GW.yml +8 -4
  98. data/db/data/regions/GY.yml +5 -1
  99. data/db/data/regions/HK.yml +8 -2
  100. data/db/data/regions/HN.yml +8 -1
  101. data/db/data/regions/HR.yml +6 -1
  102. data/db/data/regions/HT.yml +7 -1
  103. data/db/data/regions/HU.yml +6 -1
  104. data/db/data/regions/ID.yml +9 -2
  105. data/db/data/regions/IE.yml +9 -2
  106. data/db/data/regions/IL.yml +8 -2
  107. data/db/data/regions/IM.yml +6 -1
  108. data/db/data/regions/IN.yml +23 -16
  109. data/db/data/regions/IQ.yml +8 -2
  110. data/db/data/regions/IR.yml +8 -3
  111. data/db/data/regions/IS.yml +6 -1
  112. data/db/data/regions/IT/pt-BR.yml +2 -2
  113. data/db/data/regions/IT.yml +7 -1
  114. data/db/data/regions/JE.yml +7 -2
  115. data/db/data/regions/JM.yml +5 -1
  116. data/db/data/regions/JO.yml +7 -1
  117. data/db/data/regions/JP.yml +8 -2
  118. data/db/data/regions/KE.yml +8 -2
  119. data/db/data/regions/KG.yml +7 -2
  120. data/db/data/regions/KH.yml +7 -2
  121. data/db/data/regions/KI.yml +6 -1
  122. data/db/data/regions/KM.yml +6 -2
  123. data/db/data/regions/KN.yml +7 -1
  124. data/db/data/regions/KP.yml +6 -1
  125. data/db/data/regions/KR.yml +7 -1
  126. data/db/data/regions/KW.yml +8 -1
  127. data/db/data/regions/KY.yml +6 -1
  128. data/db/data/regions/KZ.yml +8 -2
  129. data/db/data/regions/LA.yml +7 -2
  130. data/db/data/regions/LB.yml +8 -2
  131. data/db/data/regions/LC.yml +8 -2
  132. data/db/data/regions/LI.yml +6 -1
  133. data/db/data/regions/LK.yml +9 -3
  134. data/db/data/regions/LR.yml +7 -1
  135. data/db/data/regions/LS.yml +8 -2
  136. data/db/data/regions/LT.yml +6 -1
  137. data/db/data/regions/LU.yml +8 -3
  138. data/db/data/regions/LV.yml +7 -1
  139. data/db/data/regions/LY.yml +7 -2
  140. data/db/data/regions/MA.yml +7 -2
  141. data/db/data/regions/MC.yml +6 -1
  142. data/db/data/regions/MD.yml +9 -4
  143. data/db/data/regions/ME.yml +9 -4
  144. data/db/data/regions/MF.yml +6 -1
  145. data/db/data/regions/MG.yml +8 -2
  146. data/db/data/regions/MK.yml +7 -2
  147. data/db/data/regions/ML.yml +7 -2
  148. data/db/data/regions/MM.yml +6 -1
  149. data/db/data/regions/MN.yml +6 -1
  150. data/db/data/regions/MO.yml +6 -2
  151. data/db/data/regions/MQ.yml +6 -1
  152. data/db/data/regions/MR.yml +8 -2
  153. data/db/data/regions/MS.yml +6 -1
  154. data/db/data/regions/MT.yml +8 -2
  155. data/db/data/regions/MU.yml +8 -2
  156. data/db/data/regions/MV.yml +9 -2
  157. data/db/data/regions/MW.yml +10 -3
  158. data/db/data/regions/MX.yml +9 -1
  159. data/db/data/regions/MY.yml +11 -4
  160. data/db/data/regions/MZ.yml +7 -2
  161. data/db/data/regions/NA.yml +10 -4
  162. data/db/data/regions/NC.yml +7 -1
  163. data/db/data/regions/NE.yml +5 -1
  164. data/db/data/regions/NF.yml +6 -1
  165. data/db/data/regions/NG.yml +8 -1
  166. data/db/data/regions/NI.yml +6 -1
  167. data/db/data/regions/NL/pt-BR.yml +2 -2
  168. data/db/data/regions/NL.yml +7 -2
  169. data/db/data/regions/NO/pt-BR.yml +2 -2
  170. data/db/data/regions/NO.yml +8 -3
  171. data/db/data/regions/NP.yml +6 -1
  172. data/db/data/regions/NR.yml +8 -2
  173. data/db/data/regions/NU.yml +7 -1
  174. data/db/data/regions/NZ.yml +8 -2
  175. data/db/data/regions/OM.yml +7 -1
  176. data/db/data/regions/PA.yml +9 -1
  177. data/db/data/regions/PE.yml +9 -1
  178. data/db/data/regions/PF.yml +6 -1
  179. data/db/data/regions/PG.yml +8 -2
  180. data/db/data/regions/PH.yml +9 -2
  181. data/db/data/regions/PK.yml +11 -4
  182. data/db/data/regions/PL.yml +7 -2
  183. data/db/data/regions/PM.yml +6 -1
  184. data/db/data/regions/PN.yml +5 -1
  185. data/db/data/regions/PS.yml +6 -1
  186. data/db/data/regions/PT.yml +7 -1
  187. data/db/data/regions/PY.yml +6 -1
  188. data/db/data/regions/QA.yml +6 -1
  189. data/db/data/regions/RE.yml +6 -1
  190. data/db/data/regions/RO.yml +8 -2
  191. data/db/data/regions/RS.yml +6 -1
  192. data/db/data/regions/RU.yml +7 -1
  193. data/db/data/regions/RW.yml +8 -4
  194. data/db/data/regions/SA.yml +8 -2
  195. data/db/data/regions/SB.yml +5 -1
  196. data/db/data/regions/SC.yml +7 -2
  197. data/db/data/regions/SD.yml +7 -2
  198. data/db/data/regions/SE/pt-BR.yml +3 -3
  199. data/db/data/regions/SE.yml +7 -2
  200. data/db/data/regions/SG.yml +9 -3
  201. data/db/data/regions/SH.yml +7 -1
  202. data/db/data/regions/SI.yml +8 -3
  203. data/db/data/regions/SJ.yml +6 -1
  204. data/db/data/regions/SK.yml +7 -2
  205. data/db/data/regions/SL.yml +6 -2
  206. data/db/data/regions/SM.yml +6 -1
  207. data/db/data/regions/SN.yml +6 -1
  208. data/db/data/regions/SO.yml +8 -4
  209. data/db/data/regions/SR.yml +6 -1
  210. data/db/data/regions/SS.yml +8 -2
  211. data/db/data/regions/ST.yml +7 -2
  212. data/db/data/regions/SV.yml +8 -1
  213. data/db/data/regions/SX.yml +6 -2
  214. data/db/data/regions/SY.yml +5 -1
  215. data/db/data/regions/SZ.yml +8 -2
  216. data/db/data/regions/TA.yml +5 -1
  217. data/db/data/regions/TC.yml +6 -1
  218. data/db/data/regions/TD.yml +7 -2
  219. data/db/data/regions/TG.yml +10 -5
  220. data/db/data/regions/TH.yml +9 -1
  221. data/db/data/regions/TJ.yml +7 -2
  222. data/db/data/regions/TK.yml +5 -1
  223. data/db/data/regions/TL.yml +5 -1
  224. data/db/data/regions/TM.yml +7 -2
  225. data/db/data/regions/TN.yml +7 -2
  226. data/db/data/regions/TO.yml +7 -2
  227. data/db/data/regions/TR.yml +7 -1
  228. data/db/data/regions/TT.yml +5 -1
  229. data/db/data/regions/TV.yml +7 -1
  230. data/db/data/regions/TW.yml +7 -1
  231. data/db/data/regions/TZ.yml +8 -2
  232. data/db/data/regions/UA.yml +7 -2
  233. data/db/data/regions/UG.yml +7 -2
  234. data/db/data/regions/US.yml +8 -2
  235. data/db/data/regions/UY.yml +7 -1
  236. data/db/data/regions/UZ.yml +7 -2
  237. data/db/data/regions/VA.yml +7 -2
  238. data/db/data/regions/VC.yml +7 -1
  239. data/db/data/regions/VE.yml +7 -1
  240. data/db/data/regions/VG.yml +8 -1
  241. data/db/data/regions/VN.yml +7 -2
  242. data/db/data/regions/VU.yml +8 -3
  243. data/db/data/regions/WF.yml +8 -1
  244. data/db/data/regions/WS.yml +8 -2
  245. data/db/data/regions/XK.yml +7 -2
  246. data/db/data/regions/YE.yml +6 -1
  247. data/db/data/regions/YT.yml +6 -1
  248. data/db/data/regions/ZA.yml +14 -7
  249. data/db/data/regions/ZM.yml +6 -1
  250. data/db/data/regions/ZW.yml +11 -6
  251. data/db/data/regions/_default/ja.yml +3 -3
  252. data/db/data/regions/_default/nl.yml +40 -40
  253. data/db/data/regions/_default/zh-TW.yml +33 -33
  254. data/lib/worldwide/region.rb +5 -0
  255. data/lib/worldwide/regions_loader.rb +1 -0
  256. data/lib/worldwide/version.rb +1 -1
  257. 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 gebouwnummer toe als je
104
+ missing_building_number_instructional: Voeg een huisnummer toe als je
105
105
  er een hebt
106
- missing_building_number_informative: Gebouwnummer ontbreekt mogelijk
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 gebouwnummer voor %{street},
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 gebouwnummer toe als je
124
+ missing_building_number_instructional: Voeg een huisnummer toe als je
125
125
  er een hebt
126
- missing_building_number_informative: Gebouwnummer ontbreekt mogelijk
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 gebouwnummer voor %{street},
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: Gebouwnummer
331
- optional: Gebouwnummer (optioneel)
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
- gebouwnummer
334
+ huisnummer
335
335
  errors:
336
- blank_instructional: Vul een gebouwnummer in
337
- blank_informative: Gebouwnummer ontbreekt
338
- too_long_instructional: Gebouwnummer is te lang (mag maximaal %{limit}
339
- tekens zijn)
340
- too_long_informative: Gebouwnummer is te lang
341
- contains_emojis_instructional: Gebouwnummer mag geen emoji's bevatten
342
- contains_emojis_informative: Gebouwnummer mag geen emoji's bevatten
343
- contains_mathematical_symbols_instructional: Gebouwnummer mag geen wiskundige
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: Gebouwnummer mag geen wiskundige
345
+ contains_mathematical_symbols_informative: Huisnummer mag geen wiskundige
346
346
  symbolen bevatten
347
- contains_restricted_characters_instructional: Gebouwnummer mag alleen
348
- letters, cijfers, lokale tekens en speciale tekens bevatten
349
- contains_restricted_characters_informative: Gebouwnummer mag geen verboden
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: Gebouwnummer mag geen HTML bevatten
352
- contains_html_tags_informative: Gebouwnummer mag geen HTML bevatten
353
- contains_url_instructional: Gebouwnummer mag geen URL bevatten
354
- contains_url_informative: Gebouwnummer mag geen URL bevatten
355
- building_number_invalid_instructional: Kan gebouwnummer voor %{street},
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
- unknown_for_address_instructional: Voer een geldig gebouwnummer in
360
- unknown_for_address_informative: Gebouwnummer is niet geldig
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 gebouwnummer toe als je
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 gebouwnummer voor %{street},
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: 建議「建築物號碼」少於 %{word_count} 個字
268
+ contains_too_many_words: 建議「門牌號碼」少於 %{word_count} 個字
269
269
  errors:
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: 建築物號碼無效
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:
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "1.6.1"
4
+ VERSION = "1.7.0"
5
5
  end
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.6.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-03 00:00:00.000000000 Z
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.14
8508
+ rubygems_version: 3.5.15
8509
8509
  signing_key:
8510
8510
  specification_version: 4
8511
8511
  summary: Internationalization and localization APIs