worldwide 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +46 -1
  5. data/db/data/regions/AE/cs.yml +37 -0
  6. data/db/data/regions/AE/de.yml +36 -0
  7. data/db/data/regions/AE/es.yml +47 -0
  8. data/db/data/regions/AE/fi.yml +37 -0
  9. data/db/data/regions/AE/fr.yml +40 -0
  10. data/db/data/regions/AE/hu.yml +39 -0
  11. data/db/data/regions/AE/nb.yml +36 -0
  12. data/db/data/regions/AE/nl.yml +36 -0
  13. data/db/data/regions/AE/pt-BR.yml +37 -0
  14. data/db/data/regions/AE/pt-PT.yml +37 -0
  15. data/db/data/regions/AE/ru.yml +41 -0
  16. data/db/data/regions/AE/tr.yml +37 -0
  17. data/db/data/regions/CL.yml +0 -1
  18. data/db/data/regions/CR/cs.yml +37 -0
  19. data/db/data/regions/CR/de.yml +36 -0
  20. data/db/data/regions/CR/es.yml +45 -0
  21. data/db/data/regions/CR/fi.yml +39 -0
  22. data/db/data/regions/CR/fr.yml +44 -0
  23. data/db/data/regions/CR/hu.yml +39 -0
  24. data/db/data/regions/CR/nb.yml +37 -0
  25. data/db/data/regions/CR/nl.yml +36 -0
  26. data/db/data/regions/CR/pt-BR.yml +37 -0
  27. data/db/data/regions/CR/pt-PT.yml +37 -0
  28. data/db/data/regions/CR/ru.yml +40 -0
  29. data/db/data/regions/CR/tr.yml +37 -0
  30. data/db/data/regions/KW/cs.yml +37 -0
  31. data/db/data/regions/KW/de.yml +36 -0
  32. data/db/data/regions/KW/es.yml +43 -0
  33. data/db/data/regions/KW/fi.yml +39 -0
  34. data/db/data/regions/KW/fr.yml +40 -0
  35. data/db/data/regions/KW/hu.yml +39 -0
  36. data/db/data/regions/KW/nb.yml +36 -0
  37. data/db/data/regions/KW/nl.yml +36 -0
  38. data/db/data/regions/KW/pt-BR.yml +37 -0
  39. data/db/data/regions/KW/pt-PT.yml +37 -0
  40. data/db/data/regions/KW/ru.yml +40 -0
  41. data/db/data/regions/KW/tr.yml +37 -0
  42. data/db/data/regions/PA/cs.yml +42 -0
  43. data/db/data/regions/PA/de.yml +41 -0
  44. data/db/data/regions/PA/es.yml +50 -0
  45. data/db/data/regions/PA/fi.yml +44 -0
  46. data/db/data/regions/PA/fr.yml +49 -0
  47. data/db/data/regions/PA/hu.yml +44 -0
  48. data/db/data/regions/PA/nb.yml +42 -0
  49. data/db/data/regions/PA/nl.yml +41 -0
  50. data/db/data/regions/PA/pt-BR.yml +42 -0
  51. data/db/data/regions/PA/pt-PT.yml +42 -0
  52. data/db/data/regions/PA/ru.yml +45 -0
  53. data/db/data/regions/PA/tr.yml +42 -0
  54. data/db/data/regions/PE/cs.yml +42 -0
  55. data/db/data/regions/PE/de.yml +41 -0
  56. data/db/data/regions/PE/es.yml +50 -0
  57. data/db/data/regions/PE/fi.yml +44 -0
  58. data/db/data/regions/PE/fr.yml +49 -0
  59. data/db/data/regions/PE/hu.yml +44 -0
  60. data/db/data/regions/PE/nb.yml +42 -0
  61. data/db/data/regions/PE/nl.yml +41 -0
  62. data/db/data/regions/PE/pt-BR.yml +42 -0
  63. data/db/data/regions/PE/pt-PT.yml +42 -0
  64. data/db/data/regions/PE/ru.yml +45 -0
  65. data/db/data/regions/PE/tr.yml +42 -0
  66. data/db/data/regions/SA/cs.yml +42 -0
  67. data/db/data/regions/SA/de.yml +41 -0
  68. data/db/data/regions/SA/es.yml +50 -0
  69. data/db/data/regions/SA/fi.yml +44 -0
  70. data/db/data/regions/SA/fr.yml +49 -0
  71. data/db/data/regions/SA/hu.yml +44 -0
  72. data/db/data/regions/SA/nb.yml +42 -0
  73. data/db/data/regions/SA/nl.yml +41 -0
  74. data/db/data/regions/SA/pt-BR.yml +42 -0
  75. data/db/data/regions/SA/pt-PT.yml +42 -0
  76. data/db/data/regions/SA/ru.yml +45 -0
  77. data/db/data/regions/SA/tr.yml +42 -0
  78. data/db/data/regions/TR/cs.yml +2 -2
  79. data/db/data/regions/TR/de.yml +1 -1
  80. data/db/data/regions/TR/es.yml +1 -1
  81. data/db/data/regions/TR/fi.yml +2 -1
  82. data/db/data/regions/TR/fr.yml +2 -1
  83. data/db/data/regions/TR/hu.yml +1 -1
  84. data/db/data/regions/TR/nb.yml +2 -1
  85. data/db/data/regions/TR/nl.yml +1 -1
  86. data/db/data/regions/TR/pt-BR.yml +2 -1
  87. data/db/data/regions/TR/pt-PT.yml +2 -2
  88. data/db/data/regions/TR/ru.yml +1 -1
  89. data/db/data/regions/TR/tr.yml +2 -1
  90. data/db/data/regions/TW/cs.yml +2 -2
  91. data/db/data/regions/TW/de.yml +1 -1
  92. data/db/data/regions/TW/es.yml +1 -1
  93. data/db/data/regions/TW/fi.yml +2 -1
  94. data/db/data/regions/TW/fr.yml +2 -1
  95. data/db/data/regions/TW/hu.yml +1 -1
  96. data/db/data/regions/TW/nb.yml +2 -1
  97. data/db/data/regions/TW/nl.yml +1 -1
  98. data/db/data/regions/TW/pt-BR.yml +2 -1
  99. data/db/data/regions/TW/pt-PT.yml +2 -2
  100. data/db/data/regions/TW/ru.yml +1 -1
  101. data/db/data/regions/TW/tr.yml +2 -1
  102. data/lib/worldwide/version.rb +1 -1
  103. metadata +39 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 196e3e7f8e5013d7f0e8de2567122d3d2a4208ae6153abf5988dc33a3470a22a
4
- data.tar.gz: 59f21fd76ac181e2e9d51c2b6b393da45ff05c67de6185a3e522adb480787d98
3
+ metadata.gz: b1ca55f6c0d15e7350a31554bd83be7f3872f5cfcad749e5f2106966c2f293f7
4
+ data.tar.gz: 642572718d3e2cc7fc82abb3e181de3080c75f61ebde8776be3e4d86605d9a5b
5
5
  SHA512:
6
- metadata.gz: ce0a7f926c73aef898681a581e6c33321b3b38a25f8cbce37e7f54557effc6f18459228c3a455834e4f44f8f77194e07f5ee84dae1c9533d6fc4160fb41ecb37
7
- data.tar.gz: b5db0049c5559f3ba073f6358ff9513e589a75e50808aa25fc23b6cda12b7eed71a1ea59cf6efd07c848984504066271011510aefd82dabe56732eda7efe9b74
6
+ metadata.gz: f807aa480b758a383fbfca2c280b04a3d1807100925cfc0328402b2bf29608210463235a8374ef1b143a2ddd97bb37402a47855c5c22e22c9283d14607f37d83
7
+ data.tar.gz: e05b41885f7dcec91df4826d57256543389f583b5779442c5f5c613bd2abc712ef7002d14ecc12178ba6609aae54f4fd407d6a05670b3d1e1634bb575dd0a460
data/CHANGELOG.md CHANGED
@@ -29,6 +29,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
29
29
 
30
30
  --
31
31
 
32
+ ## [1.5.0] - 2024-06-17
33
+ - Make street number optional in CL [#228](https://github.com/Shopify/worldwide/pull/228)
34
+
35
+ ## [1.4.1] - 2024-06-17
36
+ - Add translations for neighborhood error strings in AE, CR, KW, PA, PE, SA [#220](https://github.com/Shopify/worldwide/pull/220)
37
+
38
+
32
39
  ## [1.4.0] - 2024-06-14
33
40
  - Add localized error strings for neighborhood in AE, CR, KW, PA, PE, SA [#215](https://github.com/Shopify/worldwide/pull/215)
34
41
  - Change delimiter from Non-Breaking Space to Word Joiner [#221](https://github.com/Shopify/worldwide/pull/221)
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (1.4.0)
16
+ worldwide (1.5.0)
17
17
  activesupport (>= 7.0)
18
18
  i18n
19
19
  phonelib (~> 0.8)
data/README.md CHANGED
@@ -364,7 +364,7 @@ $ library_address.format(
364
364
  "United Kingdom",
365
365
  ]
366
366
  ```
367
- Finally, you can generate a single-line form of the address. This can be useful, for example,
367
+ You can also generate a single-line form of the address. This can be useful, for example,
368
368
  to identify cities in which warehouses are located.
369
369
  ```ruby
370
370
  $ lon = Worldwide.address( country_code: 'GB', city: 'London' )
@@ -379,6 +379,51 @@ $ I18n.with_locale(:'zh-CN') { lon.single_line }
379
379
 
380
380
  Address format strings are described in detail [here](docs/address_format_strings.md).
381
381
 
382
+ The Address class also offers concatenation & splitting methods for converting between the standard and extended address formats. Equivalent Typescript methods are offered in the NPM package (see [README](https://github.com/Shopify/worldwide/blob/main/lang/typescript/README.md)).
383
+ ```ruby
384
+ $ address = Worldwide.address(street_name: "Main Street", street_number: "123", country_code: "BR")
385
+ => Worldwide::Address
386
+ $ address.concatenate_address1
387
+ => "Main Street, 123"
388
+
389
+ $ address = Worldwide.address(address1: "Main Street, 123", country_code: "BR")
390
+ => Worldwide::Address
391
+ $ address.split_address1
392
+ => { "street_name" => "Main Street", "street_number" => "123" }
393
+
394
+ $ address = Worldwide.address(line2: "dpto 4", neighborhood: "Centro", country_code: "BR")
395
+ => Worldwide::Address
396
+ $ address.concatenate_address2
397
+ => "dpto 4, Centro"
398
+
399
+ $ address = Worldwide.address(address2: "dpto 4, Centro", country_code: "BR")
400
+ => Worldwide::Address
401
+ $ address.split_address2
402
+ => { "line2" => "dpto 4", "neighborhood" => "Centro" }
403
+ ```
404
+
405
+ The additional address fields that are part of each country's extended address format and their concatenation rules are defined in the country YAML files. For example:
406
+ ```ruby
407
+ # db/data/region/BR.yml
408
+ additional_address_fields:
409
+ - name: streetName
410
+ required: true
411
+ - name: streetNumber
412
+ required: true
413
+ - name: line2
414
+ - name: neighborhood
415
+ combined_address_format:
416
+ address1:
417
+ - key: streetName
418
+ - key: streetNumber
419
+ decorator: ","
420
+ address2:
421
+ - key: line2
422
+ - key: neighborhood
423
+ decorator: ","
424
+ ```
425
+ If a country does not have additional address fields, concatenation will simply return `address1`, and splitting will return `nil`.
426
+
382
427
  #### Validation
383
428
 
384
429
  ```ruby
@@ -10,3 +10,40 @@ cs:
10
10
  errors:
11
11
  blank_instructional: Vyberte emirát.
12
12
  blank_informative: Emirát chybí.
13
+ neighborhood:
14
+ label:
15
+ default: Oblast
16
+ optional: Oblast (volitelné)
17
+ errors:
18
+ blank_instructional: Zadejte oblast.
19
+ blank_informative: Oblast chybí.
20
+ too_long_instructional: 'Název oblasti je příliš dlouhý (maximální počet
21
+ znaků: %{limit}).'
22
+ too_long_informative: Název oblasti je příliš dlouhý.
23
+ contains_emojis_instructional: Název oblasti nemůže obsahovat emoji.
24
+ contains_emojis_informative: Název oblasti nemůže obsahovat emoji.
25
+ contains_mathematical_symbols_instructional: Název oblasti nemůže obsahovat
26
+ matematické symboly.
27
+ contains_mathematical_symbols_informative: Název oblasti nemůže obsahovat
28
+ matematické symboly.
29
+ contains_restricted_characters_instructional: Název oblasti může obsahovat
30
+ pouze písmena, číslice, místní znaky a speciální znaky.
31
+ contains_restricted_characters_informative: Název oblasti nemůže obsahovat
32
+ zakázané znaky.
33
+ contains_too_many_words_instructional: 'Název oblasti musí obsahovat méně
34
+ než tento počet slov: %{word_count}.'
35
+ contains_too_many_words_informative: 'Název oblasti musí obsahovat méně
36
+ než tento počet slov: %{word_count}.'
37
+ contains_html_tags_instructional: Název oblasti nemůže obsahovat HTML.
38
+ contains_html_tags_informative: Název oblasti nemůže obsahovat HTML.
39
+ contains_url_instructional: Název oblasti nemůže obsahovat adresu URL.
40
+ contains_url_informative: Název oblasti nemůže obsahovat adresu URL.
41
+ unknown_for_city_instructional: 'Zadejte platnou oblast pro: %{city}.'
42
+ unknown_for_city_informative: 'Oblast není platná pro: %{city}.'
43
+ unknown_for_zip_instructional: 'Zadejte platnou oblast pro: %{zip}.'
44
+ unknown_for_zip_informative: 'Oblast není platná pro: %{zip}.'
45
+ unknown_for_address_instructional: Oblast může být nesprávná.
46
+ unknown_for_address_informative: Oblast může být nesprávná.
47
+ warnings:
48
+ contains_too_many_words: 'Doporučuje se, aby název oblasti obsahoval méně
49
+ než tento počet slov: %{word_count}.'
@@ -10,3 +10,39 @@ de:
10
10
  errors:
11
11
  blank_instructional: Emirat auswählen
12
12
  blank_informative: Emirat fehlt
13
+ neighborhood:
14
+ label:
15
+ default: Gebiet
16
+ optional: Gebiet (optional)
17
+ errors:
18
+ blank_instructional: Gebiet eingeben
19
+ blank_informative: Gebiet fehlt
20
+ too_long_instructional: Gebiet ist zu lang (höchstens %{limit} Zeichen)
21
+ too_long_informative: Gebiet ist zu lang
22
+ contains_emojis_instructional: Gebiet darf keine Emojis enthalten
23
+ contains_emojis_informative: Gebiet darf keine Emojis enthalten
24
+ contains_mathematical_symbols_instructional: Gebiet darf keine mathematischen
25
+ Symbole enthalten
26
+ contains_mathematical_symbols_informative: Gebiet darf keine mathematischen
27
+ Symbole enthalten
28
+ contains_restricted_characters_instructional: Gebiet darf nur Buchstaben,
29
+ Zahlen, Zeichen der lokalen Sprache und Sonderzeichen enthalten
30
+ contains_restricted_characters_informative: Gebiet darf keine eingeschränkten
31
+ Zeichen enthalten
32
+ contains_too_many_words_instructional: Gebiet muss weniger als %{word_count}
33
+ Wörter enthalten
34
+ contains_too_many_words_informative: Gebiet muss weniger als %{word_count}
35
+ Wörter enthalten
36
+ contains_html_tags_instructional: Gebiet darf kein HTML enthalten
37
+ contains_html_tags_informative: Gebiet darf kein HTML enthalten
38
+ contains_url_instructional: Gebiet darf keine URL enthalten
39
+ contains_url_informative: Gebiet darf keine URL enthalten
40
+ unknown_for_city_instructional: Gib ein gültiges Gebiet ein für %{city}
41
+ unknown_for_city_informative: Gebiet ist für %{city} nicht gültig
42
+ unknown_for_zip_instructional: Gib ein gültiges Gebiet ein für %{zip}
43
+ unknown_for_zip_informative: Gebiet ist für %{zip} nicht gültig
44
+ unknown_for_address_instructional: Gebiet ist ggf. falsch
45
+ unknown_for_address_informative: Gebiet ist ggf. falsch
46
+ warnings:
47
+ contains_too_many_words: Es wird empfohlen, dass das Gebiet weniger als
48
+ %{word_count} Wörter enthält
@@ -10,3 +10,50 @@ es:
10
10
  errors:
11
11
  blank_instructional: Selecciona un emirato.
12
12
  blank_informative: Falta el emirato.
13
+ neighborhood:
14
+ label:
15
+ default: Subdivisión
16
+ optional: Subdivisión (opcional)
17
+ errors:
18
+ blank_instructional: Introduce una subdivisión.
19
+ blank_informative: Falta introducir la subdivisión.
20
+ too_long_instructional: El nombre de la subdivisión es demasiado largo
21
+ (el máximo es de %{limit} caracteres).
22
+ too_long_informative: El nombre de la subdivisión es demasiado largo.
23
+ contains_emojis_instructional: El nombre de la subdivisión no puede contener
24
+ emojis.
25
+ contains_emojis_informative: El nombre de la subdivisión no puede contener
26
+ emojis.
27
+ contains_mathematical_symbols_instructional: El nombre de la subdivisión
28
+ no puede contener símbolos matemáticos.
29
+ contains_mathematical_symbols_informative: El nombre de la subdivisión
30
+ no puede contener símbolos matemáticos.
31
+ contains_restricted_characters_instructional: El nombre de la subdivisión
32
+ solo puede contener letras, números, caracteres locales y caracteres
33
+ especiales.
34
+ contains_restricted_characters_informative: El nombre de la subdivisión
35
+ no puede contener caracteres restringidos.
36
+ contains_too_many_words_instructional: El nombre de la subdivisión debe
37
+ tener menos de %{word_count} palabras.
38
+ contains_too_many_words_informative: El nombre de la subdivisión debe
39
+ tener menos de %{word_count} palabras.
40
+ contains_html_tags_instructional: El nombre de la subdivisión no puede
41
+ contener HTML.
42
+ contains_html_tags_informative: El nombre de la subdivisión no puede contener
43
+ HTML.
44
+ contains_url_instructional: El nombre de la subdivisión no puede contener
45
+ una URL.
46
+ contains_url_informative: El nombre de la subdivisión no puede contener
47
+ una URL.
48
+ unknown_for_city_instructional: Introduce una subdivisión válida para
49
+ %{city}.
50
+ unknown_for_city_informative: La subdivisión no es válida para %{city}.
51
+ unknown_for_zip_instructional: Introduce una subdivisión válida para el
52
+ código postal %{zip}.
53
+ unknown_for_zip_informative: La subdivisión no es válida para el código
54
+ postal %{zip}.
55
+ unknown_for_address_instructional: Puede que la subdivisión no sea correcta.
56
+ unknown_for_address_informative: Puede que la subdivisión no sea correcta.
57
+ warnings:
58
+ contains_too_many_words: Se recomienda que la subdivisión tenga menos
59
+ de %{word_count} palabras.
@@ -10,3 +10,40 @@ fi:
10
10
  errors:
11
11
  blank_instructional: Valitse emiirikunta
12
12
  blank_informative: Emiirikunta puuttuu
13
+ neighborhood:
14
+ label:
15
+ default: Alue
16
+ optional: Alue (valinnainen)
17
+ errors:
18
+ blank_instructional: Syötä alue
19
+ blank_informative: Alue puuttuu
20
+ too_long_instructional: Alue on liian pitkä (enimmäismäärä on %{limit}
21
+ merkkiä)
22
+ too_long_informative: Alue on liian pitkä
23
+ contains_emojis_instructional: Alue ei voi sisältää emojeita
24
+ contains_emojis_informative: Alue ei voi sisältää emojeita
25
+ contains_mathematical_symbols_instructional: Alue ei voi sisältää matemaattisia
26
+ symboleja
27
+ contains_mathematical_symbols_informative: Alue ei voi sisältää matemaattisia
28
+ symboleja
29
+ contains_restricted_characters_instructional: Alue voi sisältää vain kirjaimia,
30
+ numeroita, paikallisia merkkejä ja erikoismerkkejä
31
+ contains_restricted_characters_informative: Alue ei voi sisältää rajoitettuja
32
+ merkkejä
33
+ contains_too_many_words_instructional: Alueessa saa olla enintään %{word_count}
34
+ sanaa
35
+ contains_too_many_words_informative: Alueessa saa olla enintään %{word_count}
36
+ sanaa
37
+ contains_html_tags_instructional: Alue ei voi sisältää HTML:ää
38
+ contains_html_tags_informative: Alue ei voi sisältää HTML:ää
39
+ contains_url_instructional: Alue ei voi sisältää URL-osoitetta
40
+ contains_url_informative: Alue ei voi sisältää URL-osoitetta
41
+ unknown_for_city_instructional: Anna kelvollinen alue kaupungille %{city}
42
+ unknown_for_city_informative: Alue ei kelpaa kaupungille %{city}
43
+ unknown_for_zip_instructional: Anna kelvollinen alue postinumerolle %{zip}
44
+ unknown_for_zip_informative: Alue ei kelpaa postinumerolle %{zip}
45
+ unknown_for_address_instructional: Alue voi olla väärä
46
+ unknown_for_address_informative: Alue voi olla väärä
47
+ warnings:
48
+ contains_too_many_words: Alueen pituudeksi suositellaan alle %{word_count}
49
+ sanaa
@@ -10,3 +10,43 @@ fr:
10
10
  errors:
11
11
  blank_instructional: Sélectionner un émirat
12
12
  blank_informative: L’émirat est manquant
13
+ neighborhood:
14
+ label:
15
+ default: Zone
16
+ optional: Zone (facultatif)
17
+ errors:
18
+ blank_instructional: Saisir le nom de zone
19
+ blank_informative: Le nom de zone est manquant
20
+ too_long_instructional: Le nom de zone est trop long (la limite est de
21
+ %{limit} caractères)
22
+ too_long_informative: Le nom de zone est trop long
23
+ contains_emojis_instructional: Le nom de zone ne peut pas contenir d’emojis
24
+ contains_emojis_informative: Le nom de zone ne peut pas contenir d’emojis
25
+ contains_mathematical_symbols_instructional: Le nom de zone ne peut pas
26
+ contenir de symboles mathématiques
27
+ contains_mathematical_symbols_informative: Le nom de zone ne peut pas
28
+ contenir de symboles mathématiques
29
+ contains_restricted_characters_instructional: Le nom de zone ne peut contenir
30
+ que des lettres, des chiffres, des caractères locaux et des caractères
31
+ spéciaux
32
+ contains_restricted_characters_informative: Le nom de zone ne peut pas
33
+ contenir de caractères non autorisés
34
+ contains_too_many_words_instructional: Le nom de zone doit comporter moins
35
+ de %{word_count} mots
36
+ contains_too_many_words_informative: Le nom de zone doit comporter moins
37
+ de %{word_count} mots
38
+ contains_html_tags_instructional: Le nom de zone ne peut pas contenir
39
+ de HTML
40
+ contains_html_tags_informative: Le nom de zone ne peut pas contenir de
41
+ HTML
42
+ contains_url_instructional: Le nom de zone ne peut pas contenir d’URL
43
+ contains_url_informative: Le nom de zone ne peut pas contenir d’URL
44
+ unknown_for_city_instructional: Saisir un nom de zone valide pour %{city}
45
+ unknown_for_city_informative: Le nom de zone n’est pas valide pour %{city}
46
+ unknown_for_zip_instructional: Saisir un nom de zone valide pour %{zip}
47
+ unknown_for_zip_informative: Le nom de zone n’est pas valide pour %{zip}
48
+ unknown_for_address_instructional: Le nom de zone est peut-être erroné
49
+ unknown_for_address_informative: Le nom de zone est peut-être erroné
50
+ warnings:
51
+ contains_too_many_words: Il est conseillé que le nom de zone comporte
52
+ moins de %{word_count} mots
@@ -10,3 +10,42 @@ hu:
10
10
  errors:
11
11
  blank_instructional: Válassz emírséget
12
12
  blank_informative: Az emírség nincs megadva
13
+ neighborhood:
14
+ label:
15
+ default: Tartomány
16
+ optional: Tartomány (nem kötelező)
17
+ errors:
18
+ blank_instructional: Tartomány megadása
19
+ blank_informative: A tartomány nincs megadva
20
+ too_long_instructional: Túl hosszú tartománynév (legfeljebb %{limit} karakter
21
+ hosszú lehet)
22
+ too_long_informative: Túl hosszú tartománynév
23
+ contains_emojis_instructional: A tartomány neve nem tartalmazhat hangulatjeleket
24
+ contains_emojis_informative: A tartomány neve nem tartalmazhat hangulatjeleket
25
+ contains_mathematical_symbols_instructional: A tartománynév nem tartalmazhat
26
+ matematikai szimbólumokat
27
+ contains_mathematical_symbols_informative: A tartománynév nem tartalmazhat
28
+ matematikai szimbólumokat
29
+ contains_restricted_characters_instructional: A tartománynév csak betűket,
30
+ számokat, helyi karaktereket és különleges karaktereket tartalmazhat
31
+ contains_restricted_characters_informative: A tartománynév nem tartalmazhat
32
+ tiltott karaktereket
33
+ contains_too_many_words_instructional: A tartomány legfeljebb %{word_count}
34
+ szóból állhat
35
+ contains_too_many_words_informative: A tartomány legfeljebb %{word_count}
36
+ szóból állhat
37
+ contains_html_tags_instructional: A tartomány nem tartalmazhat HTML-címkét
38
+ contains_html_tags_informative: A tartomány nem tartalmazhat HTML-címkét
39
+ contains_url_instructional: A tartomány nem tartalmazhat URL-t
40
+ contains_url_informative: A tartomány nem tartalmazhat URL-t
41
+ unknown_for_city_instructional: 'Olyan tartományt adj meg, amely megfelel
42
+ ennek: %{city}'
43
+ unknown_for_city_informative: 'A tartomány nem felel meg ennek: %{city}'
44
+ unknown_for_zip_instructional: 'Olyan tartományt adj meg, amely megfelel
45
+ ennek: %{zip}'
46
+ unknown_for_zip_informative: 'A tartomány nem felel meg ennek: %{zip}'
47
+ unknown_for_address_instructional: Vélhetően helytelen a tartománynév
48
+ unknown_for_address_informative: Vélhetően helytelen a tartománynév
49
+ warnings:
50
+ contains_too_many_words: A tartománynév javasolt hossza kevesebb mint
51
+ %{word_count} szó
@@ -10,3 +10,39 @@ nb:
10
10
  errors:
11
11
  blank_instructional: Velg et emirat
12
12
  blank_informative: Emirat mangler
13
+ neighborhood:
14
+ label:
15
+ default: Område
16
+ optional: Område (valgfritt)
17
+ errors:
18
+ blank_instructional: Angi et område
19
+ blank_informative: Område mangler
20
+ too_long_instructional: Området er for langt (maksimum er %{limit} tegn)
21
+ too_long_informative: Området er for langt
22
+ contains_emojis_instructional: Området kan ikke inneholde emojier
23
+ contains_emojis_informative: Området kan ikke inneholde emojier
24
+ contains_mathematical_symbols_instructional: Området kan ikke inneholde
25
+ matematiske symboler
26
+ contains_mathematical_symbols_informative: Området kan ikke inneholde
27
+ matematiske symboler
28
+ contains_restricted_characters_instructional: Området kan bare inneholde
29
+ bokstaver, tall, lokale tegn og spesialtegn
30
+ contains_restricted_characters_informative: Området kan ikke inneholde
31
+ begrensede tegn
32
+ contains_too_many_words_instructional: Området må ha færre enn %{word_count}
33
+ ord
34
+ contains_too_many_words_informative: Området må ha færre enn %{word_count}
35
+ ord
36
+ contains_html_tags_instructional: Området kan ikke inneholde HTML
37
+ contains_html_tags_informative: Området kan ikke inneholde HTML
38
+ contains_url_instructional: Området kan ikke inneholde en URL-adresse
39
+ contains_url_informative: Området kan ikke inneholde en URL-adresse
40
+ unknown_for_city_instructional: Skriv inn et gyldig område for %{city}
41
+ unknown_for_city_informative: Området er ikke gyldig for %{city}
42
+ unknown_for_zip_instructional: Skriv inn et gyldig område for %{zip}
43
+ unknown_for_zip_informative: Området er ikke gyldig for %{zip}
44
+ unknown_for_address_instructional: Området er muligens feil
45
+ unknown_for_address_informative: Området er muligens feil
46
+ warnings:
47
+ contains_too_many_words: Vi anbefaler at området inneholder færre enn
48
+ %{word_count} ord
@@ -10,3 +10,39 @@ nl:
10
10
  errors:
11
11
  blank_instructional: Selecteer een emiraat
12
12
  blank_informative: Emiraat ontbreekt
13
+ neighborhood:
14
+ label:
15
+ default: Gebied
16
+ optional: Gebied (optioneel)
17
+ errors:
18
+ blank_instructional: Voer een gebied in
19
+ blank_informative: Gebied ontbreekt
20
+ too_long_instructional: Gebied is te lang (maximum is %{limit} tekens)
21
+ too_long_informative: Gebied is te lang
22
+ contains_emojis_instructional: Gebied mag geen emoji's bevatten
23
+ contains_emojis_informative: Gebied mag geen emoji's bevatten
24
+ contains_mathematical_symbols_instructional: Gebied mag geen wiskundige
25
+ symbolen bevatten
26
+ contains_mathematical_symbols_informative: Gebied mag geen wiskundige
27
+ symbolen bevatten
28
+ contains_restricted_characters_instructional: Gebied mag alleen letters,
29
+ cijfers, lokale tekens en speciale tekens bevatten
30
+ contains_restricted_characters_informative: Gebied mag geen verboden tekens
31
+ bevatten
32
+ contains_too_many_words_instructional: Gebied dient minder dan %{word_count}
33
+ woorden te bevatten
34
+ contains_too_many_words_informative: Gebied dient minder dan %{word_count}
35
+ woorden te bevatten
36
+ contains_html_tags_instructional: Gebied mag geen HTML bevatten
37
+ contains_html_tags_informative: Gebied mag geen HTML bevatten
38
+ contains_url_instructional: Gebied mag geen URL bevatten
39
+ contains_url_informative: Gebied mag geen URL bevatten
40
+ unknown_for_city_instructional: Vul een geldig gebied in voor %{city}
41
+ unknown_for_city_informative: Gebied is niet geldig voor %{city}
42
+ unknown_for_zip_instructional: Vul een geldig gebied in voor %{zip}
43
+ unknown_for_zip_informative: Gebied is niet geldig voor %{zip}
44
+ unknown_for_address_instructional: Het gebied is mogelijk onjuist
45
+ unknown_for_address_informative: Het gebied is mogelijk onjuist
46
+ warnings:
47
+ contains_too_many_words: Geef minder dan %{word_count} woorden op voor
48
+ het gebied
@@ -10,3 +10,40 @@ pt-BR:
10
10
  errors:
11
11
  blank_instructional: Selecione um emirado
12
12
  blank_informative: Falta o emirado
13
+ neighborhood:
14
+ label:
15
+ default: Área
16
+ optional: Área (opcional)
17
+ errors:
18
+ blank_instructional: Insira uma área
19
+ blank_informative: Falta a área
20
+ too_long_instructional: A área é longa demais (o máximo é de %{limit}
21
+ caracteres)
22
+ too_long_informative: A área é longa demais
23
+ contains_emojis_instructional: A área não pode conter emojis
24
+ contains_emojis_informative: A área não pode conter emojis
25
+ contains_mathematical_symbols_instructional: A área não pode conter símbolos
26
+ matemáticos
27
+ contains_mathematical_symbols_informative: A área não pode conter símbolos
28
+ matemáticos
29
+ contains_restricted_characters_instructional: A área pode conter apenas
30
+ letras, números, caracteres locais e caracteres especiais
31
+ contains_restricted_characters_informative: A área não pode conter caracteres
32
+ restritos
33
+ contains_too_many_words_instructional: A área precisa ter menos de %{word_count}
34
+ palavras
35
+ contains_too_many_words_informative: A área precisa ter menos de %{word_count}
36
+ palavras
37
+ contains_html_tags_instructional: A área não pode conter HTML
38
+ contains_html_tags_informative: A área não pode conter HTML
39
+ contains_url_instructional: A área não pode conter um URL
40
+ contains_url_informative: A área não pode conter um URL
41
+ unknown_for_city_instructional: Insira uma área válida para %{city}
42
+ unknown_for_city_informative: A área não é válida para %{city}
43
+ unknown_for_zip_instructional: Insira uma área válida para %{zip}
44
+ unknown_for_zip_informative: A área não é válida para %{zip}
45
+ unknown_for_address_instructional: Talvez haja um erro na área
46
+ unknown_for_address_informative: Talvez haja um erro na área
47
+ warnings:
48
+ contains_too_many_words: É recomendável que a área tenha menos de %{word_count}
49
+ palavras
@@ -10,3 +10,40 @@ pt-PT:
10
10
  errors:
11
11
  blank_instructional: Selecione um emirato
12
12
  blank_informative: O emirato está em falta
13
+ neighborhood:
14
+ label:
15
+ default: Área
16
+ optional: Área (opcional)
17
+ errors:
18
+ blank_instructional: Introduza uma área
19
+ blank_informative: A área está em falta
20
+ too_long_instructional: A área é demasiado longa (o máximo é de %{limit}
21
+ caracteres)
22
+ too_long_informative: A área é demasiado longa
23
+ contains_emojis_instructional: A área não pode conter emojis
24
+ contains_emojis_informative: A área não pode conter emojis
25
+ contains_mathematical_symbols_instructional: A área não pode conter símbolos
26
+ matemáticos
27
+ contains_mathematical_symbols_informative: A área não pode conter símbolos
28
+ matemáticos
29
+ contains_restricted_characters_instructional: A área pode conter apenas
30
+ letras, números, caracteres locais e caracteres especiais
31
+ contains_restricted_characters_informative: A área não pode conter caracteres
32
+ restritos
33
+ contains_too_many_words_instructional: A área deve ter menos de %{word_count}
34
+ palavras
35
+ contains_too_many_words_informative: A área deve ter menos de %{word_count}
36
+ palavras
37
+ contains_html_tags_instructional: A área não pode conter HTML
38
+ contains_html_tags_informative: A área não pode conter HTML
39
+ contains_url_instructional: A área não pode conter um URL
40
+ contains_url_informative: A área não pode conter um URL
41
+ unknown_for_city_instructional: Introduza uma área válida para %{city}
42
+ unknown_for_city_informative: A área não é válida para %{city}
43
+ unknown_for_zip_instructional: Introduza uma área válida para %{zip}
44
+ unknown_for_zip_informative: A área não é válida para %{zip}
45
+ unknown_for_address_instructional: A área pode estar incorreta
46
+ unknown_for_address_informative: A área pode estar incorreta
47
+ warnings:
48
+ contains_too_many_words: É recomendável que a área tenha menos de %{word_count}
49
+ palavras
@@ -10,3 +10,44 @@ ru:
10
10
  errors:
11
11
  blank_instructional: Выберите эмират
12
12
  blank_informative: Эмират отсутствует
13
+ neighborhood:
14
+ label:
15
+ default: Сектор
16
+ optional: Сектор (необязательно)
17
+ errors:
18
+ blank_instructional: Укажите сектор
19
+ blank_informative: Сектор отсутствует
20
+ too_long_instructional: Название сектора слишком длинное (должно содержать
21
+ не больше %{limit} симв.)
22
+ too_long_informative: Название сектора слишком длинное
23
+ contains_emojis_instructional: Название сектора не может содержать емодзи
24
+ contains_emojis_informative: Название сектора не может содержать емодзи
25
+ contains_mathematical_symbols_instructional: Название сектора не может
26
+ содержать математические символы
27
+ contains_mathematical_symbols_informative: Название сектора не может содержать
28
+ математические символы
29
+ contains_restricted_characters_instructional: Поле «Сектор» может содержать
30
+ только буквы, цифры, а также местные и специальные символы
31
+ contains_restricted_characters_informative: Поле «Сектор» не может содержать
32
+ недопустимые символы
33
+ contains_too_many_words_instructional: Название сектора не может превышать
34
+ %{word_count} сл.
35
+ contains_too_many_words_informative: Название сектора не может превышать
36
+ %{word_count} сл.
37
+ contains_html_tags_instructional: Название сектора не может содержать
38
+ HTML
39
+ contains_html_tags_informative: Название сектора не может содержать HTML
40
+ contains_url_instructional: Название сектора не может содержать URL-адрес
41
+ contains_url_informative: Название сектора не может содержать URL-адрес
42
+ unknown_for_city_instructional: Укажите действительное название сектора
43
+ для %{city}
44
+ unknown_for_city_informative: Недействительное название сектора для %{city}
45
+ unknown_for_zip_instructional: Укажите действительное название сектора
46
+ для %{zip}
47
+ unknown_for_zip_informative: Недействительное название сектора для %{zip}
48
+ unknown_for_address_instructional: Название сектора может быть указано
49
+ неправильно
50
+ unknown_for_address_informative: Название сектора может быть указано неправильно
51
+ warnings:
52
+ contains_too_many_words: Рекомендуем указывать в поле названия сектора
53
+ не более %{word_count} сл.
@@ -10,3 +10,40 @@ tr:
10
10
  errors:
11
11
  blank_instructional: Emirlik seçin
12
12
  blank_informative: Emirlik eksik
13
+ neighborhood:
14
+ label:
15
+ default: Bölge
16
+ optional: Bölge (isteğe bağlı)
17
+ errors:
18
+ blank_instructional: Bir bölge girin
19
+ blank_informative: Bölge eksik
20
+ too_long_instructional: Bölge adı çok uzun (maksimum %{limit} karakter
21
+ olmalıdır)
22
+ too_long_informative: Bölge adı çok uzun
23
+ contains_emojis_instructional: Bölge adı emoji içeremez
24
+ contains_emojis_informative: Bölge adı emoji içeremez
25
+ contains_mathematical_symbols_instructional: Bölge adı matematiksel semboller
26
+ içeremez
27
+ contains_mathematical_symbols_informative: Bölge adı matematiksel semboller
28
+ içeremez
29
+ contains_restricted_characters_instructional: Bölge adı yalnızca harfler,
30
+ sayılar, yerel karakterler ve özel karakterler içerebilir
31
+ contains_restricted_characters_informative: Bölge adı, kısıtlanmış karakterler
32
+ içeremez
33
+ contains_too_many_words_instructional: Bölge adında %{word_count} adetten
34
+ az sözcük olmalıdır
35
+ contains_too_many_words_informative: Bölge adında %{word_count} adetten
36
+ az sözcük olmalıdır
37
+ contains_html_tags_instructional: Bölge adı HTML içeremez
38
+ contains_html_tags_informative: Bölge adı HTML içeremez
39
+ contains_url_instructional: Bölge adı URL içeremez
40
+ contains_url_informative: Bölge adı URL içeremez
41
+ unknown_for_city_instructional: "%{city} için geçerli bir alan girin"
42
+ unknown_for_city_informative: "%{city} için alan geçerli değil"
43
+ unknown_for_zip_instructional: "%{zip} için geçerli bir alan girin"
44
+ unknown_for_zip_informative: "%{zip} için alan geçerli değil"
45
+ unknown_for_address_instructional: Alan adı yanlış olabilir
46
+ unknown_for_address_informative: Alan adı yanlış olabilir
47
+ warnings:
48
+ contains_too_many_words: Alan adında %{word_count} adetten az sözcük olması
49
+ önerilir
@@ -20,7 +20,6 @@ additional_address_fields:
20
20
  - name: streetName
21
21
  required: true
22
22
  - name: streetNumber
23
- required: true
24
23
  - name: line2
25
24
  - name: neighborhood
26
25
  combined_address_format: