worldwide 0.14.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci-typescript.yml +32 -0
  3. data/.github/workflows/npm-release.yml +38 -0
  4. data/.vscode/settings.json +8 -0
  5. data/CHANGELOG.md +12 -1
  6. data/Gemfile.lock +1 -1
  7. data/db/data/regions/BE.yml +5 -2
  8. data/db/data/regions/BR.yml +7 -4
  9. data/db/data/regions/CL/en.yml +1 -1
  10. data/db/data/regions/CL.yml +7 -4
  11. data/db/data/regions/CO.yml +3 -2
  12. data/db/data/regions/ES.yml +5 -2
  13. data/db/data/regions/ID.yml +3 -2
  14. data/db/data/regions/IL.yml +5 -2
  15. data/db/data/regions/MX/en.yml +20 -0
  16. data/db/data/regions/MX.yml +7 -4
  17. data/db/data/regions/NL.yml +5 -2
  18. data/db/data/regions/PH/en.yml +25 -0
  19. data/db/data/regions/PH.yml +4 -2
  20. data/db/data/regions/TR/en.yml +1 -1
  21. data/db/data/regions/TR.yml +4 -2
  22. data/db/data/regions/TW/en.yml +1 -1
  23. data/db/data/regions/TW.yml +8 -0
  24. data/db/data/regions/VN/en.yml +1 -1
  25. data/db/data/regions/VN.yml +4 -2
  26. data/db/data/regions/_default/cs.yml +27 -2
  27. data/db/data/regions/_default/da.yml +25 -1
  28. data/db/data/regions/_default/el.yml +28 -1
  29. data/db/data/regions/_default/es.yml +29 -1
  30. data/db/data/regions/_default/fi.yml +25 -1
  31. data/db/data/regions/_default/fr.yml +28 -1
  32. data/db/data/regions/_default/hi.yml +25 -1
  33. data/db/data/regions/_default/hu.yml +28 -2
  34. data/db/data/regions/_default/id.yml +26 -1
  35. data/db/data/regions/_default/ja.yml +20 -1
  36. data/db/data/regions/_default/lt.yml +28 -1
  37. data/db/data/regions/_default/ms.yml +26 -1
  38. data/db/data/regions/_default/pt-BR.yml +26 -1
  39. data/db/data/regions/_default/ro.yml +26 -1
  40. data/db/data/regions/_default/ru.yml +25 -1
  41. data/db/data/regions/_default/sk.yml +25 -1
  42. data/db/data/regions/_default/sl.yml +27 -1
  43. data/db/data/regions/_default/sv.yml +25 -1
  44. data/db/data/regions/_default/th.yml +24 -1
  45. data/db/data/regions/_default/tr.yml +24 -1
  46. data/db/data/regions/_default/vi.yml +24 -1
  47. data/db/data/regions/_default/zh-CN.yml +20 -1
  48. data/db/data/regions/_default/zh-TW.yml +20 -1
  49. data/lib/worldwide/address.rb +4 -4
  50. data/lib/worldwide/region.rb +27 -2
  51. data/lib/worldwide/regions_loader.rb +2 -1
  52. data/lib/worldwide/version.rb +1 -1
  53. data/worldwide.gemspec +1 -1
  54. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71a30322e1ce268ee14bd305d110453248f648b24578674e44dce7d4efa965ee
4
- data.tar.gz: ead9f3925d94766690e304e6f116057f57cca186eaa80921eb465c24f1559bc9
3
+ metadata.gz: c140a160ce0f41af612fd9d09978d253495660a59f58e39b6dcba367c8f2fcba
4
+ data.tar.gz: 251d15b70e470b99a94394d4ee2125e78c54feb9f39438a6e477ab1f9ca1a94f
5
5
  SHA512:
6
- metadata.gz: 6c9a8ea7a0c92d45b2ba4464a5f7b1d33441fcc8ef7aaf7f2c4dc4a350f5eb7a44bb34e397562faab6e7da4c4e7b266b0c42663a1eed86c28e42b92373b5a6a2
7
- data.tar.gz: 4b36019c2de3ee5d88f8d888c12ae73bedd25ff68465765e0c0a08c31208b44333150d0522e92730e483f9dd43abe4cb1aab00190c2efbc3ee35001939ea14e0
6
+ metadata.gz: ba7a0483b1c7ed9ad4acd8ed217e31236932a689ee734dc93617689092e8f02f1f7620de969912684afb442c23b11b9014ab30354859a79711c36f9b307c9633
7
+ data.tar.gz: cbd161a04d8f08565ae5f9e9965260aaadeb52671576b5bef7a620eeb5e0182406f7585390bd205a15e31b4665ee27e3b61fc0b22f4bd8c9d80a466b9f899452
@@ -0,0 +1,32 @@
1
+ name: CI Typescript
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ name: Build Typescript
9
+ defaults:
10
+ run:
11
+ working-directory: lang/typescript
12
+ steps:
13
+ - name: Check out code
14
+ uses: actions/checkout@v3
15
+ - name: Setup Node
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: 20
19
+ - name: Setup PNPM
20
+ uses: pnpm/action-setup@v4
21
+ with:
22
+ version: 9.1.3
23
+ - name: Install dependencies
24
+ run: pnpm install
25
+ - name: Typecheck
26
+ run: pnpm typecheck
27
+ - name: Lint
28
+ run: pnpm lint
29
+ - name: Test
30
+ run: pnpm test
31
+ - name: Build
32
+ run: pnpm build
@@ -0,0 +1,38 @@
1
+ name: NPM Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ jobs:
11
+ release:
12
+ name: Release
13
+ runs-on: ubuntu-latest
14
+ defaults:
15
+ run:
16
+ working-directory: lang/typescript
17
+ steps:
18
+ - name: Checkout Repo
19
+ uses: actions/checkout@v3
20
+ - name: Setup Node
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: 20
24
+ - name: Setup PNPM
25
+ uses: pnpm/action-setup@v4
26
+ with:
27
+ version: 9.1.3
28
+ - name: Install dependencies
29
+ run: pnpm install --frozen-lockfile
30
+ - name: Create release Pull Request or publish to NPM
31
+ id: changesets
32
+ uses: changesets/action@v1
33
+ with:
34
+ publish: pnpm release
35
+ cwd: lang/typescript
36
+ env:
37
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
38
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,8 @@
1
+ {
2
+ "eslint.workingDirectories": [
3
+ "lang/typescript"
4
+ ],
5
+ "[typescript]": {
6
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
7
+ }
8
+ }
data/CHANGELOG.md CHANGED
@@ -27,12 +27,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
27
27
 
28
28
  ## [Unreleased]
29
29
 
30
+ - Nil.
31
+
30
32
  ---
31
33
 
34
+ ## [1.0.0] - 2024-05-30
35
+
36
+ - update neighborhood too_long error message, add MX, PH neighborhood labels [#182](https://github.com/Shopify/worldwide/pull/182)
37
+
38
+ ## [0.15.0] - 2024-05-30
39
+
40
+ - Created npm package `@shopify/worldwide` (see [README.md](./lang/typescript/README.md)) [#167](https://github.com/Shopify/worldwide/pull/167)
41
+ - Update additional_address_fields and introduce combined_address_format definitions, introduce Region#{field}_required? methods for street_name, street_number, and neighborhood [#177](https://github.com/Shopify/worldwide/pull/177)
42
+
32
43
  ## [0.14.0] - 2024-05-29
33
44
 
34
45
  - Add support for a line2 address field [#173](https://github.com/Shopify/worldwide/pull/173)
35
- - Remove city from UAE address form and enable city autofill [#175](https://github.com/Shopify/worldwide/pull/175)
46
+ - Re-add city to UAE address form and disable city autofill [#175](https://github.com/Shopify/worldwide/pull/175)
36
47
 
37
48
  ## [0.13.0] - 2024-05-27
38
49
 
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (0.14.0)
16
+ worldwide (1.0.0)
17
17
  activesupport (>= 7.0)
18
18
  i18n
19
19
  phonelib (~> 0.8)
@@ -27,10 +27,13 @@ format:
27
27
  format_extended:
28
28
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
29
29
  additional_address_fields:
30
+ - name: streetName
31
+ required: true
32
+ - name: streetNumber
33
+ required: true
34
+ combined_address_format:
30
35
  address1:
31
36
  - key: streetName
32
- required: true
33
37
  - key: streetNumber
34
- required: true
35
38
  emoji: "\U0001F1E7\U0001F1EA"
36
39
  timezone: Europe/Brussels
@@ -22,18 +22,21 @@ format:
22
22
  format_extended:
23
23
  edit: "{country}_{firstName}{lastName}_{company}_{zip}_{streetName}{streetNumber}_{line2}{neighborhood}_{city}{province}_{phone}"
24
24
  additional_address_fields:
25
+ - name: streetName
26
+ required: true
27
+ - name: streetNumber
28
+ required: true
29
+ - name: line2
30
+ - name: neighborhood
31
+ combined_address_format:
25
32
  address1:
26
33
  - key: streetName
27
- required: true
28
34
  - key: streetNumber
29
35
  decorator: ","
30
- required: true
31
36
  address2:
32
37
  - key: line2
33
- required: false
34
38
  - key: neighborhood
35
39
  decorator: ","
36
- required: false
37
40
  emoji: "\U0001F1E7\U0001F1F7"
38
41
  localized_data:
39
42
  - name: tax_credential_br
@@ -9,7 +9,7 @@ en:
9
9
  optional: Commune (optional)
10
10
  errors:
11
11
  blank: Enter a commune
12
- too_long: Commune is too long (maximum is 255 characters)
12
+ too_long: Commune is too long (maximum is %{limit} characters)
13
13
  contains_emojis: Commune cannot contain emojis
14
14
  contains_mathematical_symbols: Commune cannot contain mathematical symbols
15
15
  contains_restricted_characters: Commune can only contain letters, numbers,
@@ -17,16 +17,19 @@ format:
17
17
  format_extended:
18
18
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{line2}{neighborhood}_{zip}{city}_{province}_{phone}"
19
19
  additional_address_fields:
20
+ - name: streetName
21
+ required: true
22
+ - name: streetNumber
23
+ required: true
24
+ - name: line2
25
+ - name: neighborhood
26
+ combined_address_format:
20
27
  address1:
21
28
  - key: streetName
22
- required: true
23
29
  - key: streetNumber
24
- required: true
25
30
  address2:
26
31
  - key: line2
27
- required: false
28
32
  - key: neighborhood
29
- required: false
30
33
  emoji: "\U0001F1E8\U0001F1F1"
31
34
  languages:
32
35
  - es
@@ -18,11 +18,12 @@ format:
18
18
  format_extended:
19
19
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}{neighborhood}_{city}{province}{zip}_{phone}"
20
20
  additional_address_fields:
21
+ - name: line2
22
+ - name: neighborhood
23
+ combined_address_format:
21
24
  address2:
22
25
  - key: line2
23
- required: false
24
26
  - key: neighborhood
25
- required: false
26
27
  emoji: "\U0001F1E8\U0001F1F4"
27
28
  languages:
28
29
  - es
@@ -24,11 +24,14 @@ format:
24
24
  format_extended:
25
25
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}{province}_{phone}"
26
26
  additional_address_fields:
27
+ - name: streetName
28
+ required: true
29
+ - name: streetNumber
30
+ required: true
31
+ combined_address_format:
27
32
  address1:
28
33
  - key: streetName
29
- required: true
30
34
  - key: streetNumber
31
- required: true
32
35
  emoji: "\U0001F1EA\U0001F1F8"
33
36
  zones:
34
37
  - name: A Coruña
@@ -20,12 +20,13 @@ format:
20
20
  format_extended:
21
21
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}{neighborhood}_{city}_{province}{zip}_{phone}"
22
22
  additional_address_fields:
23
+ - name: line2
24
+ - name: neighborhood
25
+ combined_address_format:
23
26
  address2:
24
27
  - key: line2
25
- required: false
26
28
  - key: neighborhood
27
29
  decorator: ","
28
- required: false
29
30
  emoji: "\U0001F1EE\U0001F1E9"
30
31
  zones:
31
32
  - name: Aceh
@@ -19,11 +19,14 @@ format:
19
19
  format_extended:
20
20
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
21
21
  additional_address_fields:
22
+ - name: streetName
23
+ required: true
24
+ - name: streetNumber
25
+ required: true
26
+ combined_address_format:
22
27
  address1:
23
28
  - key: streetNumber
24
- required: true
25
29
  - key: streetName
26
- required: true
27
30
  emoji: "\U0001F1EE\U0001F1F1"
28
31
  languages:
29
32
  - ar
@@ -15,3 +15,23 @@ en:
15
15
  optional: State (optional)
16
16
  errors:
17
17
  blank: Select a state
18
+ neighborhood:
19
+ label:
20
+ default: Colony
21
+ optional: Colony (optional)
22
+ errors:
23
+ blank: Enter a colony
24
+ too_long: Colony is too long (maximum is %{limit} characters)
25
+ contains_emojis: Colony cannot contain emojis
26
+ contains_mathematical_symbols: Colony cannot contain mathematical symbols
27
+ contains_restricted_characters: Colony can only contain letters, numbers,
28
+ local characters, and special characters
29
+ contains_too_many_words: Colony cannot have more than %{word_count}
30
+ words
31
+ contains_html_tags: Colony cannot contain HTML tags.
32
+ contains_url: Colony cannot contain URLs.
33
+ unknown_for_city: Enter a valid colony name for %{city}.
34
+ unknown_for_zip: Enter a valid colony name for %{zip}.
35
+ unknown_for_address: Colony may be incorrect.
36
+ warnings:
37
+ contains_too_many_words: Colony is recommended to have less than %{word_count} words
@@ -18,16 +18,19 @@ format:
18
18
  format_extended:
19
19
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{line2}{neighborhood}_{zip}{city}{province}_{phone}"
20
20
  additional_address_fields:
21
+ - name: streetName
22
+ required: true
23
+ - name: streetNumber
24
+ required: true
25
+ - name: line2
26
+ - name: neighborhood
27
+ combined_address_format:
21
28
  address1:
22
29
  - key: streetName
23
- required: true
24
30
  - key: streetNumber
25
- required: true
26
31
  address2:
27
32
  - key: line2
28
- required: false
29
33
  - key: neighborhood
30
- required: false
31
34
  emoji: "\U0001F1F2\U0001F1FD"
32
35
  languages:
33
36
  - es
@@ -26,10 +26,13 @@ format:
26
26
  format_extended:
27
27
  edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
28
28
  additional_address_fields:
29
+ - name: streetName
30
+ required: true
31
+ - name: streetNumber
32
+ required: true
33
+ combined_address_format:
29
34
  address1:
30
35
  - key: streetName
31
- required: true
32
36
  - key: streetNumber
33
- required: true
34
37
  emoji: "\U0001F1F3\U0001F1F1"
35
38
  timezone: Europe/Amsterdam
@@ -0,0 +1,25 @@
1
+ ---
2
+ en:
3
+ worldwide:
4
+ PH:
5
+ addresses:
6
+ neighborhood:
7
+ label:
8
+ default: Barangay
9
+ optional: Barangay (optional)
10
+ errors:
11
+ blank: Enter a barangay
12
+ too_long: Barangay is too long (maximum is %{limit} characters)
13
+ contains_emojis: Barangay cannot contain emojis
14
+ contains_mathematical_symbols: Barangay cannot contain mathematical symbols
15
+ contains_restricted_characters: Barangay can only contain letters, numbers,
16
+ local characters, and special characters
17
+ contains_too_many_words: Barangay cannot have more than %{word_count}
18
+ words
19
+ contains_html_tags: Barangay cannot contain HTML tags.
20
+ contains_url: Barangay cannot contain URLs.
21
+ unknown_for_city: Enter a valid barangay name for %{city}.
22
+ unknown_for_zip: Enter a valid barangay name for %{zip}.
23
+ unknown_for_address: Barangay may be incorrect.
24
+ warnings:
25
+ contains_too_many_words: Barangay is recommended to have less than %{word_count} words
@@ -18,12 +18,14 @@ format:
18
18
  format_extended:
19
19
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}{neighborhood}_{zip}{city}_{province}_{phone}"
20
20
  additional_address_fields:
21
+ - name: line2
22
+ - name: neighborhood
23
+ required: true
24
+ combined_address_format:
21
25
  address2:
22
26
  - key: line2
23
- required: false
24
27
  - key: neighborhood
25
28
  decorator: " Barangay"
26
- required: true
27
29
  emoji: "\U0001F1F5\U0001F1ED"
28
30
  languages:
29
31
  - en
@@ -9,7 +9,7 @@ en:
9
9
  optional: District (optional)
10
10
  errors:
11
11
  blank: Enter a district
12
- too_long: District is too long (maximum is 255 characters)
12
+ too_long: District is too long (maximum is %{limit} characters)
13
13
  contains_emojis: District cannot contain emojis
14
14
  contains_mathematical_symbols: District cannot contain mathematical symbols
15
15
  contains_restricted_characters: District can only contain letters, numbers,
@@ -19,11 +19,13 @@ format:
19
19
  format_extended:
20
20
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}{neighborhood}_{zip}{city}_{phone}"
21
21
  additional_address_fields:
22
+ - name: line2
23
+ - name: neighborhood
24
+ required: true
25
+ combined_address_format:
22
26
  address2:
23
27
  - key: line2
24
- required: false
25
28
  - key: neighborhood
26
- required: false
27
29
  emoji: "\U0001F1F9\U0001F1F7"
28
30
  languages:
29
31
  - tr
@@ -9,7 +9,7 @@ en:
9
9
  optional: District (optional)
10
10
  errors:
11
11
  blank: Enter a district
12
- too_long: District is too long (maximum is 255 characters)
12
+ too_long: District is too long (maximum is %{limit} characters)
13
13
  contains_emojis: District cannot contain emojis
14
14
  contains_mathematical_symbols: District cannot contain mathematical symbols
15
15
  contains_restricted_characters: District can only contain letters, numbers,
@@ -19,6 +19,14 @@ format:
19
19
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
20
20
  format_extended:
21
21
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}_{neighborhood}{city}{zip}_{phone}"
22
+ additional_address_fields:
23
+ - name: line2
24
+ - name: neighborhood
25
+ required: true
26
+ combined_address_format:
27
+ address2:
28
+ - key: line2
29
+ - key: neighborhood
22
30
  emoji: "\U0001F1F9\U0001F1FC"
23
31
  languages:
24
32
  - "zh-TW"
@@ -9,7 +9,7 @@ en:
9
9
  optional: Ward (optional)
10
10
  errors:
11
11
  blank: Enter a ward
12
- too_long: Ward is too long (maximum is 255 characters)
12
+ too_long: Ward is too long (maximum is %{limit} characters)
13
13
  contains_emojis: Ward cannot contain emojis
14
14
  contains_mathematical_symbols: Ward cannot contain mathematical symbols
15
15
  contains_restricted_characters: Ward can only contain letters, numbers,
@@ -16,12 +16,14 @@ format:
16
16
  format_extended:
17
17
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{line2}_{neighborhood}_{city}{zip}_{phone}"
18
18
  additional_address_fields:
19
+ - name: line2
20
+ - name: neighborhood
21
+ required: true
22
+ combined_address_format:
19
23
  address2:
20
24
  - key: line2
21
- required: false
22
25
  - key: neighborhood
23
26
  decorator: ", Quận"
24
- required: false
25
27
  emoji: "\U0001F1FB\U0001F1F3"
26
28
  languages:
27
29
  - fr
@@ -214,8 +214,8 @@ cs:
214
214
  optional: Samosprávná jednotka města (volitelné)
215
215
  errors:
216
216
  blank: Zadejte samosprávnou jednotku města.
217
- too_long: Název samosprávné jednotky města je příliš dlouhý (maximálně
218
- 255 znaků).
217
+ too_long: 'Název samosprávné jednotky města je příliš dlouhý (maximální
218
+ počet znaků: %{limit}).'
219
219
  contains_emojis: Název samosprávné jednotky města nemůže obsahovat emoji.
220
220
  contains_mathematical_symbols: Název samosprávné jednotky města nemůže
221
221
  obsahovat matematické symboly.
@@ -235,3 +235,28 @@ cs:
235
235
  warnings:
236
236
  contains_too_many_words: 'Doporučuje se, aby název samosprávné jednotky
237
237
  města obsahoval méně než tento počet slov: %{word_count}.'
238
+ line2:
239
+ label:
240
+ default: Byt, jednotka apod.
241
+ optional: Byt, jednotka apod. (volitelné)
242
+ errors:
243
+ blank: Zadejte číslo bytu, jednotky apod.
244
+ too_long: 'Druhý řádek adresy je příliš dlouhý (maximální počet znaků:
245
+ %{limit}).'
246
+ contains_emojis: Druhý řádek adresy nemůže obsahovat emoji.
247
+ contains_mathematical_symbols: Druhý řádek adresy nemůže obsahovat matematické
248
+ symboly.
249
+ contains_restricted_characters: Druhý řádek adresy může obsahovat pouze
250
+ písmena, číslice, místní znaky a speciální znaky.
251
+ contains_too_many_words: 'Druhý řádek adresy nemůže obsahovat více než
252
+ tento počet slov: %{word_count}.'
253
+ contains_html_tags: Druhý řádek adresy nemůže obsahovat HTML tagy.
254
+ contains_url: Druhý řádek adresy nemůže obsahovat adresy URL.
255
+ missing_building_number: Zadejte číslo budovy, pokud existuje.
256
+ street_unknown_for_zip: 'Zadejte platný název ulice pro: %{zip}.'
257
+ building_number_invalid: 'Nepovedlo se vyhledat číslo budovy pro: %{street},
258
+ %{zip}.'
259
+ unknown_for_address: Druhý řádek adresy může být nesprávný.
260
+ warnings:
261
+ contains_too_many_words: 'Doporučuje se, aby druhý název adresy obsahoval
262
+ méně než tento počet slov: %{word_count}.'
@@ -217,7 +217,7 @@ da:
217
217
  optional: Bydel (valgfrit)
218
218
  errors:
219
219
  blank: Angiv en bydel
220
- too_long: Bydel er for lang (højst 255 tegn)
220
+ too_long: Bydelen er for lang (højst %{limit} tegn)
221
221
  contains_emojis: Bydel må ikke indeholde emojis
222
222
  contains_mathematical_symbols: Bydel må ikke indeholde matematiske symboler
223
223
  contains_restricted_characters: Bydel må kun indeholde bogstaver, tal,
@@ -232,3 +232,27 @@ da:
232
232
  warnings:
233
233
  contains_too_many_words: Det anbefales, at bydel indeholder færre end
234
234
  %{word_count} ord
235
+ line2:
236
+ label:
237
+ default: Lejlighed, etage osv.
238
+ optional: Lejlighed, etage osv. (valgfri)
239
+ errors:
240
+ blank: Angiv lejlighed, etage osv.
241
+ too_long: Anden linje i adressen er for lang (højst %{limit} tegn)
242
+ contains_emojis: Anden linje i adressen må ikke indeholde emojier
243
+ contains_mathematical_symbols: Anden linje i adressen må ikke indeholde
244
+ matematiske symboler
245
+ contains_restricted_characters: Anden linje i adressen må kun indeholde
246
+ bogstaver, tegn, lokale tegn og specialtegn
247
+ contains_too_many_words: Anden linje i adressen må ikke indeholde mere
248
+ end %{word_count} ord
249
+ contains_html_tags: Anden linje i adressen må ikke indeholde HTML-tags.
250
+ contains_url: Anden linje i adressen må ikke indeholde webadresser.
251
+ missing_building_number: Tilføj et bygningsnummer, hvis du har et.
252
+ street_unknown_for_zip: Angiv et gyldigt gadenavn for %{zip}.
253
+ building_number_invalid: Der kunne ikke findes et bygningsnummer for %{street},
254
+ %{zip}.
255
+ unknown_for_address: Anden linje i adressen er muligvis forkert.
256
+ warnings:
257
+ contains_too_many_words: Det anbefales, at den anden linje i adressen
258
+ har under %{word_count} ord
@@ -232,7 +232,7 @@ el:
232
232
  errors:
233
233
  blank: Εισαγωγή γειτονιάς
234
234
  too_long: Το πεδίο "Γειτονιά" είναι πολύ μεγάλο (το μέγιστο όριο είναι
235
- 255 χαρακτήρες)
235
+ %{limit} χαρακτήρες)
236
236
  contains_emojis: Το πεδίο "Γειτονιά" δεν μπορεί να περιέχει emoji
237
237
  contains_mathematical_symbols: Το πεδίο "Γειτονιά" δεν μπορεί να περιέχει
238
238
  μαθηματικά σύμβολα
@@ -249,3 +249,30 @@ el:
249
249
  warnings:
250
250
  contains_too_many_words: Το πεδίο "Γειτονιά" συνιστάται να έχει λιγότερες
251
251
  από %{word_count} λέξεις
252
+ line2:
253
+ label:
254
+ default: Διαμέρισμα, σουίτα, κ.λπ.
255
+ optional: Διαμέρισμα, σουίτα κ.λπ. (προαιρετικά)
256
+ errors:
257
+ blank: Εισαγάγετε ένα διαμέρισμα, μια σουίτα κ.λπ.
258
+ too_long: Η δεύτερη γραμμή της διεύθυνσης είναι πολύ μεγάλη (το μέγιστο
259
+ όριο είναι %{limit} χαρακτήρες)
260
+ contains_emojis: Η δεύτερη γραμμή διεύθυνσης δεν μπορεί να περιέχει emoji
261
+ contains_mathematical_symbols: Η δεύτερη γραμμή διεύθυνσης δεν μπορεί
262
+ να περιέχει μαθηματικά σύμβολα
263
+ contains_restricted_characters: Η δεύτερη γραμμή διεύθυνσης μπορεί να
264
+ περιέχει μόνο γράμματα, αριθμούς, τοπικούς και ειδικούς χαρακτήρες
265
+ contains_too_many_words: Η δεύτερη γραμμή διεύθυνσης δεν μπορεί να περιέχει
266
+ περισσότερες από %{word_count} λέξεις
267
+ contains_html_tags: Η δεύτερη γραμμή διεύθυνσης δεν μπορεί να περιέχει
268
+ ετικέτες HTML.
269
+ contains_url: Η δεύτερη γραμμή διεύθυνσης δεν μπορεί να περιλαμβάνει URL.
270
+ missing_building_number: Προσθέστε αριθμό κτιρίου, αν υπάρχει.
271
+ street_unknown_for_zip: Εισαγάγετε ένα έγκυρο όνομα οδού για τον Τ.Κ.
272
+ %{zip}.
273
+ building_number_invalid: Δεν ήταν δυνατός ο εντοπισμός του αριθμού κτιρίου
274
+ στην οδό %{street}, %{zip}.
275
+ unknown_for_address: Ενδέχεται να υπάρχει λάθος στη δεύτερη γραμμή διεύθυνσης.
276
+ warnings:
277
+ contains_too_many_words: Η δεύτερη γραμμή διεύθυνσης συνιστάται να έχει
278
+ λιγότερες από %{word_count} λέξεις
@@ -225,7 +225,7 @@ es:
225
225
  optional: Barrio (opcional)
226
226
  errors:
227
227
  blank: Introduce un barrio.
228
- too_long: El barrio es demasiado largo (máximo de 255 caracteres).
228
+ too_long: El barrio es demasiado largo (máximo de %{limit} caracteres).
229
229
  contains_emojis: El barrio no puede contener emojis.
230
230
  contains_mathematical_symbols: El barrio no puede contener símbolos matemáticos.
231
231
  contains_restricted_characters: El barrio solo puede contener letras,
@@ -241,3 +241,31 @@ es:
241
241
  warnings:
242
242
  contains_too_many_words: Se recomienda que el barrio tenga menos de %{word_count}
243
243
  palabras.
244
+ line2:
245
+ label:
246
+ default: Apartamento, casa, etc.
247
+ optional: Apartamento, casa, etc. (opcional)
248
+ errors:
249
+ blank: Introduce un apartamento, una casa, etc.
250
+ too_long: La segunda línea de la dirección es demasiado larga (máximo
251
+ de %{limit} caracteres).
252
+ contains_emojis: La segunda línea de la dirección no puede contener emojis.
253
+ contains_mathematical_symbols: La segunda línea de la dirección no puede
254
+ contener símbolos matemáticos.
255
+ contains_restricted_characters: La segunda línea de la dirección solo
256
+ puede contener letras, números, caracteres locales y caracteres especiales.
257
+ contains_too_many_words: La segunda línea de la dirección no puede tener
258
+ más de %{word_count} palabras.
259
+ contains_html_tags: La segunda línea de la dirección no puede contener
260
+ etiquetas HTML.
261
+ contains_url: La segunda línea de la dirección no puede contener direcciones
262
+ URL.
263
+ missing_building_number: Agrega un número de edificio, si existe.
264
+ street_unknown_for_zip: Introduce un nombre de calle válido para el código
265
+ postal %{zip}.
266
+ building_number_invalid: No se ha podido localizar el número de edificio
267
+ para %{street}, %{zip}.
268
+ unknown_for_address: Puede que la segunda línea de la dirección sea incorrecta.
269
+ warnings:
270
+ contains_too_many_words: Se recomienda que la segunda línea de la dirección
271
+ tenga menos de %{word_count} palabras.