worldwide 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile.lock +1 -1
  4. data/db/data/regions/AE.yml +11 -0
  5. data/db/data/regions/AT/en.yml +2 -1
  6. data/db/data/regions/CA/en.yml +2 -1
  7. data/db/data/regions/CL/bg.yml +1 -1
  8. data/db/data/regions/CL/cs.yml +1 -1
  9. data/db/data/regions/CL/da.yml +1 -1
  10. data/db/data/regions/CL/de.yml +1 -1
  11. data/db/data/regions/CL/el.yml +1 -1
  12. data/db/data/regions/CL/en.yml +22 -12
  13. data/db/data/regions/CL/es.yml +2 -1
  14. data/db/data/regions/CL/fi.yml +1 -1
  15. data/db/data/regions/CL/fr.yml +1 -1
  16. data/db/data/regions/CL/hi.yml +1 -1
  17. data/db/data/regions/CL/hr.yml +2 -1
  18. data/db/data/regions/CL/hu.yml +2 -1
  19. data/db/data/regions/CL/id.yml +1 -1
  20. data/db/data/regions/CL/it.yml +1 -1
  21. data/db/data/regions/CL/ja.yml +1 -1
  22. data/db/data/regions/CL/ko.yml +1 -1
  23. data/db/data/regions/CL/lt.yml +1 -1
  24. data/db/data/regions/CL/ms.yml +1 -1
  25. data/db/data/regions/CL/nb.yml +1 -1
  26. data/db/data/regions/CL/nl.yml +1 -1
  27. data/db/data/regions/CL/pl.yml +2 -1
  28. data/db/data/regions/CL/pt-BR.yml +1 -1
  29. data/db/data/regions/CL/pt-PT.yml +1 -1
  30. data/db/data/regions/CL/ro.yml +1 -1
  31. data/db/data/regions/CL/ru.yml +1 -1
  32. data/db/data/regions/CL/sk.yml +1 -1
  33. data/db/data/regions/CL/sl.yml +1 -1
  34. data/db/data/regions/CL/sv.yml +1 -1
  35. data/db/data/regions/CL/th.yml +1 -1
  36. data/db/data/regions/CL/tr.yml +1 -1
  37. data/db/data/regions/CL/vi.yml +1 -1
  38. data/db/data/regions/CL/zh-CN.yml +1 -1
  39. data/db/data/regions/CL/zh-TW.yml +1 -1
  40. data/db/data/regions/CR.yml +11 -0
  41. data/db/data/regions/KW.yml +10 -0
  42. data/db/data/regions/MX/bg.yml +23 -0
  43. data/db/data/regions/MX/cs.yml +22 -0
  44. data/db/data/regions/MX/da.yml +21 -0
  45. data/db/data/regions/MX/de.yml +22 -0
  46. data/db/data/regions/MX/el.yml +23 -0
  47. data/db/data/regions/MX/en.yml +22 -12
  48. data/db/data/regions/MX/es.yml +25 -0
  49. data/db/data/regions/MX/fi.yml +24 -0
  50. data/db/data/regions/MX/fr.yml +21 -0
  51. data/db/data/regions/MX/hi.yml +22 -0
  52. data/db/data/regions/MX/hr.yml +23 -0
  53. data/db/data/regions/MX/hu.yml +23 -0
  54. data/db/data/regions/MX/id.yml +21 -0
  55. data/db/data/regions/MX/it.yml +23 -0
  56. data/db/data/regions/MX/ja.yml +18 -0
  57. data/db/data/regions/MX/ko.yml +20 -0
  58. data/db/data/regions/MX/lt.yml +24 -0
  59. data/db/data/regions/MX/ms.yml +22 -0
  60. data/db/data/regions/MX/nb.yml +22 -0
  61. data/db/data/regions/MX/nl.yml +21 -0
  62. data/db/data/regions/MX/pl.yml +22 -0
  63. data/db/data/regions/MX/pt-BR.yml +21 -0
  64. data/db/data/regions/MX/pt-PT.yml +22 -0
  65. data/db/data/regions/MX/ro.yml +24 -0
  66. data/db/data/regions/MX/ru.yml +23 -0
  67. data/db/data/regions/MX/sk.yml +21 -0
  68. data/db/data/regions/MX/sl.yml +23 -0
  69. data/db/data/regions/MX/sv.yml +21 -0
  70. data/db/data/regions/MX/th.yml +20 -0
  71. data/db/data/regions/MX/tr.yml +20 -0
  72. data/db/data/regions/MX/vi.yml +21 -0
  73. data/db/data/regions/MX/zh-CN.yml +18 -0
  74. data/db/data/regions/MX/zh-TW.yml +18 -0
  75. data/db/data/regions/PA.yml +11 -0
  76. data/db/data/regions/PE.yml +10 -0
  77. data/db/data/regions/PH/bg.yml +28 -0
  78. data/db/data/regions/PH/cs.yml +27 -0
  79. data/db/data/regions/PH/da.yml +26 -0
  80. data/db/data/regions/PH/de.yml +27 -0
  81. data/db/data/regions/PH/el.yml +28 -0
  82. data/db/data/regions/PH/en.yml +22 -12
  83. data/db/data/regions/PH/es.yml +30 -0
  84. data/db/data/regions/PH/fi.yml +27 -0
  85. data/db/data/regions/PH/fr.yml +26 -0
  86. data/db/data/regions/PH/hi.yml +27 -0
  87. data/db/data/regions/PH/hr.yml +28 -0
  88. data/db/data/regions/PH/hu.yml +30 -0
  89. data/db/data/regions/PH/id.yml +27 -0
  90. data/db/data/regions/PH/it.yml +28 -0
  91. data/db/data/regions/PH/ja.yml +23 -0
  92. data/db/data/regions/PH/ko.yml +25 -0
  93. data/db/data/regions/PH/lt.yml +28 -0
  94. data/db/data/regions/PH/ms.yml +27 -0
  95. data/db/data/regions/PH/nb.yml +27 -0
  96. data/db/data/regions/PH/nl.yml +26 -0
  97. data/db/data/regions/PH/pl.yml +27 -0
  98. data/db/data/regions/PH/pt-BR.yml +26 -0
  99. data/db/data/regions/PH/pt-PT.yml +26 -0
  100. data/db/data/regions/PH/ro.yml +29 -0
  101. data/db/data/regions/PH/ru.yml +27 -0
  102. data/db/data/regions/PH/sk.yml +26 -0
  103. data/db/data/regions/PH/sl.yml +28 -0
  104. data/db/data/regions/PH/sv.yml +27 -0
  105. data/db/data/regions/PH/th.yml +25 -0
  106. data/db/data/regions/PH/tr.yml +25 -0
  107. data/db/data/regions/PH/vi.yml +26 -0
  108. data/db/data/regions/PH/zh-CN.yml +23 -0
  109. data/db/data/regions/PH/zh-TW.yml +23 -0
  110. data/db/data/regions/PH.yml +0 -1
  111. data/db/data/regions/SA.yml +11 -0
  112. data/db/data/regions/TH/en.yml +1 -1
  113. data/db/data/regions/TR/en.yml +2 -1
  114. data/db/data/regions/TW/en.yml +2 -1
  115. data/db/data/regions/US/en.yml +6 -4
  116. data/db/data/regions/UY/en.yml +2 -2
  117. data/db/data/regions/VN/en.yml +3 -2
  118. data/db/data/regions/VN.yml +1 -1
  119. data/db/data/regions/_default/en.yml +89 -49
  120. data/lib/worldwide/address.rb +16 -4
  121. data/lib/worldwide/field.rb +10 -22
  122. data/lib/worldwide/version.rb +1 -1
  123. metadata +34 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efbaf093f7d788844cf4ab407af37d0a752cda09a1ea08f930ab1e2ff4a0cb72
4
- data.tar.gz: 0ad3a89ba63a65e6fd410b3413e251eda92edbfddd8dfb048d007a0cd2bf79c9
3
+ metadata.gz: ed89181f3c570e335344e1522aa94ffb1bd07b67acef2764e5637f621709765d
4
+ data.tar.gz: bc8829a5b99d941c438f40ebf85f8a773784dc078e7f7d308d67bde5cd4e016f
5
5
  SHA512:
6
- metadata.gz: 5233dc65c0add8cdcf09bf34b35893679f79d05e2008232c8e4f49b1518cf86c0890733a141e8a9578400d83885c6197457bf40b8fe819d4157289cc958f590d
7
- data.tar.gz: a1b16f73426a9ac2b74406c6b56e50dcbe5c5da14efd8e4758bf1e947548f722f6758dee5d3829a8b6a0c290a79b707159bc0df416048c6fd005af4a15c58888
6
+ metadata.gz: a894e63d7db49efc96d925833780730ce5b4211db0e830fc10bbcc2163bb8481e37b32b7ad98c69ac45f2753fa2e407c55a313f99d7b790dc38151ccb11534ff
7
+ data.tar.gz: aba3094b8b50fc38c5a03587f64b26649926523159b83389dcac11e2b87ef8252a53d872b5f868e6057b45a77ab6a5b01b9b989202bb0b1ee5325c62303eacc4
data/CHANGELOG.md CHANGED
@@ -29,6 +29,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
29
29
 
30
30
  --
31
31
 
32
+ ## [1.3.0] - 2024-06-10
33
+
34
+ - Update translations for neighborhood too_long error message, add translations for localized neighborhood errors in MX, PH [#191](https://github.com/Shopify/worldwide/pull/191)
35
+ - Generate concatenated address1/2 values when some additional field values are present [#199](https://github.com/Shopify/worldwide/pull/199)
36
+ - update street_name and street_number too_long error message [#203](https://github.com/Shopify/worldwide/pull/203)
37
+ - Additional field definitions in AE, CR, KW, PA, PE, SA, updated decorators for PH, VN [#206](https://github.com/Shopify/worldwide/pull/206)
38
+ - All error messages now contain an `_instructional` and `_informative` key. If the `Worldwide::Field::error` method is called with a `code` that does not end in either `_instructional` or `_informative`, the `Worldwide::Field::error` method will append `_instructional` to the `code` and returns this error message. [#205](https://github.com/Shopify/worldwide/pull/205)
39
+
32
40
  ## [1.2.0] - 2024-06-05
33
41
 
34
42
  - Merge duplicate language definition on some region yaml files to restore missing languages; `NO` adds "en" and "nb", `SA` adds "en", SG does not change [#188](https://github.com/Shopify/worldwide/pull/188)
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (1.2.0)
16
+ worldwide (1.3.0)
17
17
  activesupport (>= 7.0)
18
18
  i18n
19
19
  phonelib (~> 0.8)
@@ -13,6 +13,17 @@ week_start_day: saturday
13
13
  format:
14
14
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{city}{province}_{phone}"
15
15
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city} {province}_{country}_{phone}"
16
+ format_extended:
17
+ edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}{neighborhood}_{city}{province}_{phone}"
18
+ additional_address_fields:
19
+ - name: line2
20
+ - name: neighborhood
21
+ required: true
22
+ combined_address_format:
23
+ address2:
24
+ - key: line2
25
+ - key: neighborhood
26
+ decorator: ","
16
27
  emoji: "\U0001F1E6\U0001F1EA"
17
28
  languages:
18
29
  - ar
@@ -15,4 +15,5 @@ en:
15
15
  default: Additional address
16
16
  optional: Additional address (optional)
17
17
  errors:
18
- blank: Enter additional address information
18
+ blank_instructional: Enter additional address information
19
+ blank_informative: Additional address information is missing
@@ -16,5 +16,6 @@ en:
16
16
  unknown_for_city_informative: Province isn't valid for %{city}
17
17
  unknown_for_zip_instructional: Select a valid province for %{zip}
18
18
  unknown_for_zip_informative: Province isn't valid for %{zip}
19
- unknown_for_address: Province may be incorrect
19
+ unknown_for_address_instructional: Province may be incorrect
20
+ unknown_for_address_informative: Province may be incorrect
20
21
 
@@ -9,7 +9,7 @@ bg:
9
9
  optional: Община (незадължително)
10
10
  errors:
11
11
  blank: Въведете община
12
- too_long: "„Община“ е с твърде голяма дължина (максимумът е 255 знака)"
12
+ too_long: "„Община“ е с твърде голяма дължина (максимумът е %{limit} знака)"
13
13
  contains_emojis: "„Община“ не може да съдържа емоджита"
14
14
  contains_mathematical_symbols: "„Община“ не може да съдържа математически
15
15
  символи"
@@ -9,7 +9,7 @@ cs:
9
9
  optional: Komuna (volitelné)
10
10
  errors:
11
11
  blank: Zadejte komunu.
12
- too_long: Název komuny je příliš dlouhý (maximum je 255 znaků).
12
+ too_long: 'Název komuny je příliš dlouhý (maximální počet znaků: %{limit}).'
13
13
  contains_emojis: Název komuny nemůže obsahovat emoji.
14
14
  contains_mathematical_symbols: Název komuny nemůže obsahovat matematické
15
15
  symboly.
@@ -9,7 +9,7 @@ da:
9
9
  optional: Kommune (valgfrit)
10
10
  errors:
11
11
  blank: Angiv en kommune
12
- too_long: Kommune er for lang (højst 255 tegn)
12
+ too_long: Kommune er for lang (højst %{limit} tegn)
13
13
  contains_emojis: Kommune må ikke indeholde emojis
14
14
  contains_mathematical_symbols: Kommune må ikke indeholde matematiske symboler
15
15
  contains_restricted_characters: Kommune må kun indeholde bogstaver, tal,
@@ -9,7 +9,7 @@ de:
9
9
  optional: Gemeinde (optional)
10
10
  errors:
11
11
  blank: Gib eine Gemeinde ein.
12
- too_long: Gemeinde ist zu lang (maximal 255 Zeichen).
12
+ too_long: Gemeinde ist zu lang (höchstens %{limit} Zeichen)
13
13
  contains_emojis: Gemeinde darf keine Emojis enthalten.
14
14
  contains_mathematical_symbols: Gemeinde darf keine mathematischen Symbole
15
15
  enthalten.
@@ -10,7 +10,7 @@ el:
10
10
  errors:
11
11
  blank: Εισαγωγή κοινότητας
12
12
  too_long: Το πεδίο "Κοινότητα" είναι πολύ μεγάλο (το μέγιστο όριο είναι
13
- 255 χαρακτήρες)
13
+ %{limit} χαρακτήρες)
14
14
  contains_emojis: Το πεδίο "Κοινότητα" δεν μπορεί να περιέχει emoji
15
15
  contains_mathematical_symbols: Το πεδίο "Κοινότητα" δεν μπορεί να περιέχει
16
16
  μαθηματικά σύμβολα
@@ -8,18 +8,28 @@ en:
8
8
  default: Commune
9
9
  optional: Commune (optional)
10
10
  errors:
11
- blank: Enter a commune
12
- too_long: Commune is too long (maximum is %{limit} characters)
13
- contains_emojis: Commune cannot contain emojis
14
- contains_mathematical_symbols: Commune cannot contain mathematical symbols
15
- contains_restricted_characters: Commune can only contain letters, numbers,
11
+ blank_instructional: Enter a commune
12
+ blank_informative: Commune is missing
13
+ too_long_instructional: Commune is too long (maximum is %{limit} characters)
14
+ too_long_informative: Commune is too long
15
+ contains_emojis_instructional: Commune can't contain emojis
16
+ contains_emojis_informative: Commune can't contain emojis
17
+ contains_mathematical_symbols_instructional: Commune can't contain mathematical symbols
18
+ contains_mathematical_symbols_informative: Commune can't contain mathematical symbols
19
+ contains_restricted_characters_instructional: Commune can only contain letters, numbers,
16
20
  local characters, and special characters
17
- contains_too_many_words: Commune cannot have more than %{word_count}
18
- words
19
- contains_html_tags: Commune cannot contain HTML tags.
20
- contains_url: Commune cannot contain URLs.
21
- unknown_for_city: Enter a valid commune name for %{city}.
22
- unknown_for_zip: Enter a valid commune name for %{zip}.
23
- unknown_for_address: Commune may be incorrect.
21
+ contains_restricted_characters_informative: Commune can't contain restricted characters
22
+ contains_too_many_words_instructional: Commune must have fewer than %{word_count} words
23
+ contains_too_many_words_informative: Commune must have fewer than %{word_count} words
24
+ contains_html_tags_instructional: Commune can't contain HTML tags
25
+ contains_html_tags_informative: Commune can't contain HTML tags
26
+ contains_url_instructional: Commune can't contain URLs
27
+ contains_url_informative: Commune can't contain URLs
28
+ unknown_for_city_instructional: Enter a valid commune for %{city}
29
+ unknown_for_city_informative: Enter a valid commune for %{city}
30
+ unknown_for_zip_instructional: Enter a valid commune for %{zip}
31
+ unknown_for_zip_informative: Enter a valid commune for %{zip}
32
+ unknown_for_address_instructional: Commune may be incorrect
33
+ unknown_for_address_informative: Commune may be incorrect
24
34
  warnings:
25
35
  contains_too_many_words: Commune is recommended to have less than %{word_count} words
@@ -9,7 +9,8 @@ es:
9
9
  optional: Comuna (opcional)
10
10
  errors:
11
11
  blank: Introduce una comuna.
12
- too_long: La comuna es demasiado larga (máximo de 255 caracteres).
12
+ too_long: El nombre de la comunidad es demasiado largo (el máximo es de
13
+ %{limit} caracteres).
13
14
  contains_emojis: La comuna no puede contener emojis.
14
15
  contains_mathematical_symbols: La comuna no puede contener símbolos matemáticos.
15
16
  contains_restricted_characters: La comuna solo puede contener letras,
@@ -9,7 +9,7 @@ fi:
9
9
  optional: Kunta (valinnainen)
10
10
  errors:
11
11
  blank: Lisää kunta
12
- too_long: Kunta on liian pitkä (enintään 255 merkkiä)
12
+ too_long: Yhteisö on liian pitkä (enintään %{limit} merkkiä)
13
13
  contains_emojis: Kunta ei voi sisältää emojeita
14
14
  contains_mathematical_symbols: Kunta ei voi sisältää matemaattisia symboleja
15
15
  contains_restricted_characters: Kunta voi sisältää vain kirjaimia, numeroita,
@@ -9,7 +9,7 @@ fr:
9
9
  optional: Commune (facultatif)
10
10
  errors:
11
11
  blank: Saisir une commune
12
- too_long: La commune est trop longue (le maximum est de 255 caractères)
12
+ too_long: La commune est trop longue (le maximum est de %{limit} caractères)
13
13
  contains_emojis: La commune ne peut pas contenir d’emojis
14
14
  contains_mathematical_symbols: La commune ne peut pas contenir de symboles
15
15
  mathématiques
@@ -9,7 +9,7 @@ hi:
9
9
  optional: समुदाय का नाम (वैकल्पिक)
10
10
  errors:
11
11
  blank: समुदाय का नाम डालें
12
- too_long: समुदाय का नाम बहुत लंबा है (अधिकतम कैरेक्टर 255)
12
+ too_long: समुदाय का नाम बहुत लंबा है (अधिकतम %{limit} कैरेक्टर)
13
13
  contains_emojis: समुदाय के नाम में इमोजी नहीं हो सकते
14
14
  contains_mathematical_symbols: समुदाय के नाम में गणितीय चिह्न नहीं हो
15
15
  सकते
@@ -9,7 +9,8 @@ hr:
9
9
  optional: Zajednica (neobavezno)
10
10
  errors:
11
11
  blank: Unesite naziv zajednice
12
- too_long: Naziv zajednice je predugačak (dopušteno je najviše 255 znakova)
12
+ too_long: Naziv zajednice je predugačak (najveći dopušteni broj znakova
13
+ je %{limit})
13
14
  contains_emojis: Naziv zajednice ne smije sadržavati emotikone
14
15
  contains_mathematical_symbols: Naziv zajednice ne smije sadržavati matematičke
15
16
  simbole
@@ -9,7 +9,8 @@ hu:
9
9
  optional: Megye (nem kötelező megadni)
10
10
  errors:
11
11
  blank: Add meg a megyét
12
- too_long: Túl hosszú a megye neve (legfeljebb 255 karakter hosszú lehet)
12
+ too_long: Túl hosszú a megye neve (legfeljebb %{limit} karakter hosszú
13
+ lehet)
13
14
  contains_emojis: A megye neve nem tartalmazhat emodzsikat
14
15
  contains_mathematical_symbols: A megye neve nem tartalmazhat matematikai
15
16
  szimbólumokat
@@ -9,7 +9,7 @@ id:
9
9
  optional: Komune (opsional)
10
10
  errors:
11
11
  blank: Masukkan nama komune
12
- too_long: Nama komune terlalu panjang (maksimum berisi 255 karakter)
12
+ too_long: Nama komune terlalu panjang (maksimum %{limit} karakter)
13
13
  contains_emojis: Nama komune tidak boleh berisi emoji
14
14
  contains_mathematical_symbols: Nama komune tidak boleh berisi simbol matematika
15
15
  contains_restricted_characters: Nama komune hanya boleh terdiri dari huruf,
@@ -9,7 +9,7 @@ it:
9
9
  optional: Comune (facoltativo)
10
10
  errors:
11
11
  blank: Inserisci una comune
12
- too_long: Il nome del comune è troppo lungo (lunghezza massima 255 caratteri)
12
+ too_long: Il campo Comune è troppo lungo (lunghezza massima %{limit} caratteri)
13
13
  contains_emojis: Il campo Comune non può contenere emoji
14
14
  contains_mathematical_symbols: Il campo Comune non può contenere simboli
15
15
  matematici
@@ -9,7 +9,7 @@ ja:
9
9
  optional: コミューン (任意)
10
10
  errors:
11
11
  blank: コミューンを入力してください
12
- too_long: コミューンが長すぎます (最大255文字)
12
+ too_long: コミューンが長すぎます (最大%{limit}文字)
13
13
  contains_emojis: コミューンに絵文字を含めることはできません
14
14
  contains_mathematical_symbols: コミューンに数学記号を含めることはできません
15
15
  contains_restricted_characters: コミューンには、文字、数字、地域の文字、特殊文字のみを含めることができます
@@ -9,7 +9,7 @@ ko:
9
9
  optional: 공동체(선택 사항)
10
10
  errors:
11
11
  blank: 공동체를 입력하십시오
12
- too_long: 공동체가 너무 깁니다(최대 255자)
12
+ too_long: Commune(프랑스 행정구역)이 너무 깁니다(최대 %{limit}자)
13
13
  contains_emojis: 공동체에 이모티콘을 포함할 수 없음
14
14
  contains_mathematical_symbols: 공동체에 수학 기호를 포함할 수 없음
15
15
  contains_restricted_characters: 공동체에는 문자, 숫자, 지역 문자, 특수 문자만 포함될 수 있습니다
@@ -10,7 +10,7 @@ lt:
10
10
  errors:
11
11
  blank: Įveskite komuną
12
12
  too_long: Komunos pavadinimas yra per ilgas (turi sudaryti ne daugiau
13
- kaip 255 simboliai)
13
+ kaip %{limit} simboliai)
14
14
  contains_emojis: Komunos pavadinime negali būti naudojami „emoji“
15
15
  contains_mathematical_symbols: Komunos pavadinime negali būti naudojami
16
16
  matematiniai simboliai
@@ -9,7 +9,7 @@ ms:
9
9
  optional: Komun (opsyenal)
10
10
  errors:
11
11
  blank: Masukkan komun
12
- too_long: Komun terlalu panjang (maksimum ialah 255 aksara)
12
+ too_long: Komun terlalu panjang (maksimum ialah %{limit} aksara)
13
13
  contains_emojis: Komun tidak boleh mengandungi emoji
14
14
  contains_mathematical_symbols: Komun tidak boleh mengandungi simbol matematik
15
15
  contains_restricted_characters: Komun hanya boleh mengandungi huruf, nombor,
@@ -9,7 +9,7 @@ nb:
9
9
  optional: Kommune (valgfritt)
10
10
  errors:
11
11
  blank: Angi en kommune
12
- too_long: Kommunenavnet er for langt (maksimalt 255 tegn)
12
+ too_long: Kommunenavnet er for langt (maksimalt %{limit} tegn)
13
13
  contains_emojis: Kommunenavnet kan ikke inneholde emojier
14
14
  contains_mathematical_symbols: Kommunenavnet kan ikke inneholde matematiske
15
15
  symboler
@@ -9,7 +9,7 @@ nl:
9
9
  optional: Gemeente (optioneel)
10
10
  errors:
11
11
  blank: Vul een gemeente in
12
- too_long: Gemeente is te lang (mag maximaal 255 tekens zijn)
12
+ too_long: Gemeente is te lang (het maximum is %{limit} tekens)
13
13
  contains_emojis: Gemeente mag geen emoji's bevatten
14
14
  contains_mathematical_symbols: Gemeente mag geen wiskundige symbolen bevatten
15
15
  contains_restricted_characters: Gemeente mag alleen letters, cijfers,
@@ -9,7 +9,8 @@ pl:
9
9
  optional: Gmina (opcjonalnie)
10
10
  errors:
11
11
  blank: Wpisz gminę
12
- too_long: Gmina jest za długa (maksymalna liczba znaków to 255)
12
+ too_long: Gmina zawiera zbyt dużo znaków (maksymalna liczba znaków to
13
+ %{limit})
13
14
  contains_emojis: Gmina nie może zawierać emoji
14
15
  contains_mathematical_symbols: Gmina nie może zawierać symboli matematycznych
15
16
  contains_restricted_characters: Gmina może zawierać litery, cyfry, znaki
@@ -9,7 +9,7 @@ pt-BR:
9
9
  optional: Município (opcional)
10
10
  errors:
11
11
  blank: Insira um município
12
- too_long: O município é longo demais (máximo de 255 caracteres)
12
+ too_long: O município é longo demais (máximo de %{limit} caracteres)
13
13
  contains_emojis: O município não pode conter emojis
14
14
  contains_mathematical_symbols: O município não pode conter símbolos matemáticos
15
15
  contains_restricted_characters: O município pode conter apenas letras,
@@ -9,7 +9,7 @@ pt-PT:
9
9
  optional: Concelho (opcional)
10
10
  errors:
11
11
  blank: Introduza um concelho
12
- too_long: O concelho é demasiado longo (o máximo são 255 caracteres)
12
+ too_long: O concelho é demasiado longo (máximo de %{limit} caracteres)
13
13
  contains_emojis: O concelho não pode conter emojis
14
14
  contains_mathematical_symbols: O concelho não pode conter símbolos matemáticos
15
15
  contains_restricted_characters: O concelho pode conter apenas letras,
@@ -9,7 +9,7 @@ ro:
9
9
  optional: Comună (opțional)
10
10
  errors:
11
11
  blank: Introdu un nume de comună
12
- too_long: Numele comunei este prea lung (lungimea maximă este de 255 caractere)
12
+ too_long: Denumirea comunei este prea lungă (lungimea maximă este de %{limit}caractere)
13
13
  contains_emojis: Numele comunei nu poate conține emoji-uri
14
14
  contains_mathematical_symbols: Numele comunei nu poate conține simboluri
15
15
  matematice
@@ -10,7 +10,7 @@ ru:
10
10
  errors:
11
11
  blank: Укажите название коммуны
12
12
  too_long: Название коммуны слишком длинное (должно содержать не больше
13
- 255 символов)
13
+ %{limit} симв.)
14
14
  contains_emojis: Название коммуны не может содержать емодзи
15
15
  contains_mathematical_symbols: Название коммуны не может содержать математические
16
16
  символы
@@ -9,7 +9,7 @@ sk:
9
9
  optional: Komúna (voliteľné)
10
10
  errors:
11
11
  blank: Zadajte komúnu
12
- too_long: Komúna je príliš dlhá (maximálne 255 znakov)
12
+ too_long: Komúna je príliš dlhá (maximálne %{limit} znakov)
13
13
  contains_emojis: Komúna nemôže obsahovať emotikony
14
14
  contains_mathematical_symbols: Komúna nemôže obsahovať matematické značky
15
15
  contains_restricted_characters: Komúna môže obsahovať len písmená, číslice,
@@ -10,7 +10,7 @@ sl:
10
10
  errors:
11
11
  blank: Vnesite ime skupnosti
12
12
  too_long: Ime skupnosti je predolgo (največje dovoljeno št. znakov je
13
- 255)
13
+ %{limit})
14
14
  contains_emojis: Ime skupnosti ne sme vsebovati čustvenih simbolov
15
15
  contains_mathematical_symbols: Ime skupnosti ne sme vsebovati matematičnih
16
16
  simbolov
@@ -9,7 +9,7 @@ sv:
9
9
  optional: Kommun (valfritt)
10
10
  errors:
11
11
  blank: Ange en kommun
12
- too_long: Kommunnamnet är för långt (max. 255 tecken)
12
+ too_long: Kommunnamnet är för långt (max %{limit} tecken)
13
13
  contains_emojis: Kommun får inte innehålla emojier
14
14
  contains_mathematical_symbols: Kommun får inte innehålla matematiska symboler
15
15
  contains_restricted_characters: Kommun får endast innehålla bokstäver,
@@ -9,7 +9,7 @@ th:
9
9
  optional: ชุมชน (ไม่บังคับ)
10
10
  errors:
11
11
  blank: ป้อนชื่อชุมชน
12
- too_long: ชื่อชุมชนยาวเกินไป (สูงสุดคือ 255 อักขระ)
12
+ too_long: ชื่อชุมชนยาวเกินไป (ต้องไม่เกิน %{limit} อักขระ)
13
13
  contains_emojis: ห้ามใส่อีโมจิในชื่อชุมชน
14
14
  contains_mathematical_symbols: ห้ามใส่สัญลักษณ์ทางคณิตศาสตร์ในชื่อชุมชน
15
15
  contains_restricted_characters: ชื่อชุมชนต้องใช้เฉพาะตัวอักษร ตัวเลข อักขระท้องถิ่น
@@ -9,7 +9,7 @@ tr:
9
9
  optional: Belde (isteğe bağlı)
10
10
  errors:
11
11
  blank: Belde girin
12
- too_long: Belde adı çok uzun (maksimum 255 karakter olmalıdır)
12
+ too_long: Belde adı çok uzun (maksimum %{limit} karakter olmalıdır)
13
13
  contains_emojis: Belde adı emoji içeremez
14
14
  contains_mathematical_symbols: Belde adı matematiksel semboller içeremez
15
15
  contains_restricted_characters: Belde adı yalnızca harfler, sayılar, yerel
@@ -9,7 +9,7 @@ vi:
9
9
  optional: Xã (không bắt buộc)
10
10
  errors:
11
11
  blank: Nhập xã
12
- too_long: Xã quá dài (tối đa 255 ký tự)
12
+ too_long: Xã quá dài (tối đa %{limit} ký tự)
13
13
  contains_emojis: Xã không được chứa biểu tượng cảm xúc
14
14
  contains_mathematical_symbols: Xã không được chứa ký hiệu toán học
15
15
  contains_restricted_characters: Xã chỉ được chứa chữ cái, chữ số, ký tự
@@ -9,7 +9,7 @@ zh-CN:
9
9
  optional: 公社(选填)
10
10
  errors:
11
11
  blank: 输入公社
12
- too_long: 公社名过长(最多包含 255 个字符)
12
+ too_long: 公社名过长(最多 %{limit} 个字符)
13
13
  contains_emojis: 公社名不能包含表情符号
14
14
  contains_mathematical_symbols: 公社名不能包含数学符号
15
15
  contains_restricted_characters: 公社名只能包含字母、数字、当地字符和特殊字符
@@ -9,7 +9,7 @@ zh-TW:
9
9
  optional: 分區 (選填)
10
10
  errors:
11
11
  blank: 請輸入「分區」
12
- too_long: "「分區」過長 (最多 255 個字元)"
12
+ too_long: "「分區」過長 (最多 %{limit} 個字元)"
13
13
  contains_emojis: "「分區」不得包含表情符號"
14
14
  contains_mathematical_symbols: "「分區」不得包含數學符號"
15
15
  contains_restricted_characters: "「分區」僅可包含字母、數字、當地字元和特殊字元"
@@ -13,6 +13,17 @@ week_start_day: sunday
13
13
  format:
14
14
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{province}{city}{zip}_{phone}"
15
15
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{province} {city}_{zip}_{country}_{phone}"
16
+ format_extended:
17
+ edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}{neighborhood}_{city}{province}_{zip}_{phone}"
18
+ additional_address_fields:
19
+ - name: line2
20
+ - name: neighborhood
21
+ required: true
22
+ combined_address_format:
23
+ address2:
24
+ - key: line2
25
+ - key: neighborhood
26
+ decorator: ","
16
27
  emoji: "\U0001F1E8\U0001F1F7"
17
28
  languages:
18
29
  - es
@@ -13,6 +13,16 @@ week_start_day: saturday
13
13
  format:
14
14
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{zip}{city}_{province}_{phone}"
15
15
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{province}_{country}_{phone}"
16
+ format_extended:
17
+ edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}{neighborhood}_{zip}{city}_{province}_{phone}"
18
+ additional_address_fields:
19
+ - name: line2
20
+ - name: neighborhood
21
+ required: true
22
+ combined_address_format:
23
+ address2:
24
+ - key: line2
25
+ - key: neighborhood
16
26
  emoji: "\U0001F1F0\U0001F1FC"
17
27
  languages:
18
28
  - ar
@@ -17,3 +17,26 @@ bg:
17
17
  errors:
18
18
  blank_instructional: Изберете щат
19
19
  blank_informative: Липсва щат
20
+ neighborhood:
21
+ label:
22
+ default: Колония
23
+ optional: Колония (незадължително)
24
+ errors:
25
+ blank: Въведете колония
26
+ too_long: "„Колония“ е с твърде голяма дължина (максимумът е %{limit}
27
+ знака)"
28
+ contains_emojis: "„Колония“ не може да съдържа емоджита"
29
+ contains_mathematical_symbols: "„Колония“ не може да съдържа математически
30
+ символи"
31
+ contains_restricted_characters: "„Колония“ може да съдържа само букви,
32
+ цифри, местни знаци и специални знаци"
33
+ contains_too_many_words: "„Колония“ не може да съдържа повече от %{word_count}
34
+ думи"
35
+ contains_html_tags: "„Колония“ не може да съдържа HTML етикети."
36
+ contains_url: "„Колония“ не може да съдържа URL адреси."
37
+ unknown_for_city: Въведете валидно име на колония за %{city}.
38
+ unknown_for_zip: Въведете валидно име на колония за %{zip}.
39
+ unknown_for_address: Възможно е колонията да е неправилна.
40
+ warnings:
41
+ contains_too_many_words: Препоръчително е „Колония“ да не съдържа повече
42
+ от %{word_count} думи
@@ -17,3 +17,25 @@ cs:
17
17
  errors:
18
18
  blank_instructional: Vyberte stát.
19
19
  blank_informative: Stát chybí.
20
+ neighborhood:
21
+ label:
22
+ default: Kolonie
23
+ optional: Kolonie (nepovinné)
24
+ errors:
25
+ blank: Zadejte kolonii.
26
+ too_long: 'Název kolonie je příliš dlouhý (maximální počet znaků: %{limit}).'
27
+ contains_emojis: Název kolonie nemůže obsahovat emoji.
28
+ contains_mathematical_symbols: Název kolonie nemůže obsahovat matematické
29
+ symboly.
30
+ contains_restricted_characters: Název kolonie může obsahovat pouze písmena,
31
+ číslice, místní znaky a speciální znaky.
32
+ contains_too_many_words: 'Název kolonie nemůže obsahovat více než tento
33
+ počet slov: %{word_count}.'
34
+ contains_html_tags: Název kolonie nemůže obsahovat HTML tagy.
35
+ contains_url: Název kolonie nemůže obsahovat adresy URL.
36
+ unknown_for_city: 'Zadejte platný název kolonie pro: %{city}.'
37
+ unknown_for_zip: 'Zadejte platný název kolonie pro: %{zip}.'
38
+ unknown_for_address: Kolonie může být nesprávná.
39
+ warnings:
40
+ contains_too_many_words: 'Doporučuje se, aby název kolonie obsahoval méně
41
+ než tento počet slov: %{word_count}.'
@@ -17,3 +17,24 @@ da:
17
17
  errors:
18
18
  blank_instructional: Vælg en stat
19
19
  blank_informative: Stat mangler
20
+ neighborhood:
21
+ label:
22
+ default: Bydel
23
+ optional: Bydel (valgfrit)
24
+ errors:
25
+ blank: Angiv en bydel
26
+ too_long: Bydel er for lang (højst %{limit} tegn)
27
+ contains_emojis: Bydel må ikke indeholde emojis
28
+ contains_mathematical_symbols: Bydel må ikke indeholde matematiske symboler
29
+ contains_restricted_characters: Bydel må kun indeholde bogstaver, tal,
30
+ lokale tegn og specialtegn
31
+ contains_too_many_words: Bydel må ikke indeholde flere end %{word_count}
32
+ ord
33
+ contains_html_tags: Bydel må ikke indeholde HTML-tags.
34
+ contains_url: Bydel må ikke indeholde webadresser.
35
+ unknown_for_city: Angiv et gyldigt navn på bydelen for %{city}.
36
+ unknown_for_zip: Angiv et gyldigt navn på bydelen for %{zip}.
37
+ unknown_for_address: Bydelen er muligvis forkert.
38
+ warnings:
39
+ contains_too_many_words: Det anbefales, at bydelen indeholder færre end
40
+ %{word_count} ord
@@ -17,3 +17,25 @@ de:
17
17
  errors:
18
18
  blank_instructional: Staat auswählen
19
19
  blank_informative: Staat fehlt
20
+ neighborhood:
21
+ label:
22
+ default: Colonia
23
+ optional: Colonia (optional)
24
+ errors:
25
+ blank: Kolonie eingeben
26
+ too_long: Kolonie ist zu lang (maximal %{limit} Zeichen)
27
+ contains_emojis: Kolonie darf keine Emojis enthalten
28
+ contains_mathematical_symbols: Kolonie darf keine mathematischen Symbole
29
+ enthalten
30
+ contains_restricted_characters: Kolonie darf nur Buchstaben, Zahlen, Zeichen
31
+ der lokalen Sprache und Sonderzeichen enthalten
32
+ contains_too_many_words: Kolonie darf nicht mehr als %{word_count} Wörter
33
+ enthalten
34
+ contains_html_tags: Kolonie darf keine HTML-Tags enthalten.
35
+ contains_url: Kolonie darf keine URLs enthalten.
36
+ unknown_for_city: Gib einen gültigen Kolonienamen für %{city} ein.
37
+ unknown_for_zip: Gib einen gültigen Kolonienamen für %{zip} ein.
38
+ unknown_for_address: Kolonie ist ggf. falsch.
39
+ warnings:
40
+ contains_too_many_words: Es wird empfohlen, dass die Kolonie weniger als
41
+ %{word_count} Wörter enthält