worldwide 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +46 -1
- data/db/data/regions/AE/cs.yml +37 -0
- data/db/data/regions/AE/de.yml +36 -0
- data/db/data/regions/AE/fr.yml +40 -0
- data/db/data/regions/AE/nb.yml +36 -0
- data/db/data/regions/AE/nl.yml +36 -0
- data/db/data/regions/AE/pt-BR.yml +37 -0
- data/db/data/regions/AE/ru.yml +41 -0
- data/db/data/regions/AE/tr.yml +37 -0
- data/db/data/regions/CR/cs.yml +37 -0
- data/db/data/regions/CR/de.yml +36 -0
- data/db/data/regions/CR/fr.yml +44 -0
- data/db/data/regions/CR/nb.yml +37 -0
- data/db/data/regions/CR/nl.yml +36 -0
- data/db/data/regions/CR/pt-BR.yml +37 -0
- data/db/data/regions/CR/ru.yml +40 -0
- data/db/data/regions/CR/tr.yml +37 -0
- data/db/data/regions/KW/cs.yml +37 -0
- data/db/data/regions/KW/de.yml +36 -0
- data/db/data/regions/KW/fr.yml +40 -0
- data/db/data/regions/KW/nb.yml +36 -0
- data/db/data/regions/KW/nl.yml +36 -0
- data/db/data/regions/KW/pt-BR.yml +37 -0
- data/db/data/regions/KW/ru.yml +40 -0
- data/db/data/regions/KW/tr.yml +37 -0
- data/db/data/regions/PA/cs.yml +42 -0
- data/db/data/regions/PA/de.yml +41 -0
- data/db/data/regions/PA/fr.yml +49 -0
- data/db/data/regions/PA/nb.yml +42 -0
- data/db/data/regions/PA/nl.yml +41 -0
- data/db/data/regions/PA/pt-BR.yml +42 -0
- data/db/data/regions/PA/ru.yml +45 -0
- data/db/data/regions/PA/tr.yml +42 -0
- data/db/data/regions/PE/cs.yml +42 -0
- data/db/data/regions/PE/de.yml +41 -0
- data/db/data/regions/PE/nb.yml +42 -0
- data/db/data/regions/PE/nl.yml +41 -0
- data/db/data/regions/PE/pt-BR.yml +42 -0
- data/db/data/regions/PE/ru.yml +45 -0
- data/db/data/regions/PE/tr.yml +42 -0
- data/db/data/regions/SA/cs.yml +42 -0
- data/db/data/regions/SA/de.yml +41 -0
- data/db/data/regions/SA/nb.yml +42 -0
- data/db/data/regions/SA/nl.yml +41 -0
- data/db/data/regions/SA/pt-BR.yml +42 -0
- data/db/data/regions/SA/ru.yml +45 -0
- data/db/data/regions/SA/tr.yml +42 -0
- data/db/data/regions/TR/cs.yml +2 -2
- data/db/data/regions/TR/de.yml +1 -1
- data/db/data/regions/TR/nb.yml +2 -1
- data/db/data/regions/TR/nl.yml +1 -1
- data/db/data/regions/TR/pt-BR.yml +2 -1
- data/db/data/regions/TR/ru.yml +1 -1
- data/db/data/regions/TR/tr.yml +2 -1
- data/db/data/regions/TW/cs.yml +2 -2
- data/db/data/regions/TW/de.yml +1 -1
- data/db/data/regions/TW/nb.yml +2 -1
- data/db/data/regions/TW/nl.yml +1 -1
- data/db/data/regions/TW/pt-BR.yml +2 -1
- data/db/data/regions/TW/ru.yml +1 -1
- data/db/data/regions/TW/tr.yml +2 -1
- data/lib/worldwide/version.rb +1 -1
- metadata +24 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ca4682e289e94a981562736025128be01134a54686d1da3e49bb6d633c6b693
|
4
|
+
data.tar.gz: 815abc7f901afd25e0bc61091e1e82a5dd8c38a42bbe5effcfc22183f5c944f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfe7165ee683732e1e352b6755dcda8160efd7809ba43af6811e5231fb5259f8b77ce69ccbbfd6fbf775decb0e6b17c3f242107ecb65a8d7d1206ce5ab00bdd1
|
7
|
+
data.tar.gz: 0a928ebfa493fa93bfd5ab39b568f2d22c0fe6f41a7e4396cb38f953addd8169fe98f4be958389353d650c099d656060ddfa36083626a758e08f926ea3019427
|
data/CHANGELOG.md
CHANGED
@@ -29,6 +29,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
29
29
|
|
30
30
|
--
|
31
31
|
|
32
|
+
## [1.4.1] - 2024-06-17
|
33
|
+
- Add translations for neighborhood error strings in AE, CR, KW, PA, PE, SA [#220](https://github.com/Shopify/worldwide/pull/220)
|
34
|
+
|
35
|
+
|
32
36
|
## [1.4.0] - 2024-06-14
|
33
37
|
- Add localized error strings for neighborhood in AE, CR, KW, PA, PE, SA [#215](https://github.com/Shopify/worldwide/pull/215)
|
34
38
|
- Change delimiter from Non-Breaking Space to Word Joiner [#221](https://github.com/Shopify/worldwide/pull/221)
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -364,7 +364,7 @@ $ library_address.format(
|
|
364
364
|
"United Kingdom",
|
365
365
|
]
|
366
366
|
```
|
367
|
-
|
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
|
data/db/data/regions/AE/cs.yml
CHANGED
@@ -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}.'
|
data/db/data/regions/AE/de.yml
CHANGED
@@ -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
|
data/db/data/regions/AE/fr.yml
CHANGED
@@ -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
|
data/db/data/regions/AE/nb.yml
CHANGED
@@ -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
|
data/db/data/regions/AE/nl.yml
CHANGED
@@ -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
|
data/db/data/regions/AE/ru.yml
CHANGED
@@ -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} сл.
|
data/db/data/regions/AE/tr.yml
CHANGED
@@ -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
|
data/db/data/regions/CR/cs.yml
CHANGED
@@ -10,3 +10,40 @@ cs:
|
|
10
10
|
errors:
|
11
11
|
blank_instructional: Vyberte provincii.
|
12
12
|
blank_informative: Provincie chybí.
|
13
|
+
neighborhood:
|
14
|
+
label:
|
15
|
+
default: Distrikt
|
16
|
+
optional: Distrikt (volitelné)
|
17
|
+
errors:
|
18
|
+
blank_instructional: Zadejte distrikt.
|
19
|
+
blank_informative: Distrikt chybí.
|
20
|
+
too_long_instructional: 'Název distriktu je příliš dlouhý (maximální počet
|
21
|
+
znaků: %{limit}).'
|
22
|
+
too_long_informative: Název distriktu je příliš dlouhý.
|
23
|
+
contains_emojis_instructional: Název distriktu nemůže obsahovat emoji.
|
24
|
+
contains_emojis_informative: Název distriktu nemůže obsahovat emoji.
|
25
|
+
contains_mathematical_symbols_instructional: Název distriktu nemůže obsahovat
|
26
|
+
matematické symboly.
|
27
|
+
contains_mathematical_symbols_informative: Název distriktu nemůže obsahovat
|
28
|
+
matematické symboly.
|
29
|
+
contains_restricted_characters_instructional: Název distriktu může obsahovat
|
30
|
+
pouze písmena, číslice, místní znaky a speciální znaky.
|
31
|
+
contains_restricted_characters_informative: Název distriktu nemůže obsahovat
|
32
|
+
zakázané znaky.
|
33
|
+
contains_too_many_words_instructional: 'Název distriktu musí obsahovat
|
34
|
+
méně než tento počet slov: %{word_count}.'
|
35
|
+
contains_too_many_words_informative: 'Název distriktu musí obsahovat méně
|
36
|
+
než tento počet slov: %{word_count}.'
|
37
|
+
contains_html_tags_instructional: Název distriktu nemůže obsahovat HTML.
|
38
|
+
contains_html_tags_informative: Název distriktu nemůže obsahovat HTML.
|
39
|
+
contains_url_instructional: Název distriktu nemůže obsahovat adresu URL.
|
40
|
+
contains_url_informative: Název distriktu nemůže obsahovat adresu URL.
|
41
|
+
unknown_for_city_instructional: 'Zadejte platný název distriktu pro: %{city}.'
|
42
|
+
unknown_for_city_informative: 'Distrikt není platný pro: %{city}.'
|
43
|
+
unknown_for_zip_instructional: 'Zadejte platný název distriktu pro: %{zip}.'
|
44
|
+
unknown_for_zip_informative: 'Distrikt není platný pro: %{zip}.'
|
45
|
+
unknown_for_address_instructional: Distrikt může být nesprávný.
|
46
|
+
unknown_for_address_informative: Distrikt může být nesprávný.
|
47
|
+
warnings:
|
48
|
+
contains_too_many_words: 'Doporučuje se, aby název distriktu obsahoval
|
49
|
+
méně než tento počet slov: %{word_count}.'
|
data/db/data/regions/CR/de.yml
CHANGED
@@ -10,3 +10,39 @@ de:
|
|
10
10
|
errors:
|
11
11
|
blank_instructional: Provinz auswählen
|
12
12
|
blank_informative: Provinz fehlt
|
13
|
+
neighborhood:
|
14
|
+
label:
|
15
|
+
default: Distrikt
|
16
|
+
optional: Distrikt (optional)
|
17
|
+
errors:
|
18
|
+
blank_instructional: Einen Distrikt eingeben
|
19
|
+
blank_informative: Distrikt fehlt
|
20
|
+
too_long_instructional: Distrikt ist zu lang (maximal %{limit} Zeichen).
|
21
|
+
too_long_informative: Distrikt ist zu lang
|
22
|
+
contains_emojis_instructional: Distrikt darf keine Emojis enthalten
|
23
|
+
contains_emojis_informative: Distrikt darf keine Emojis enthalten
|
24
|
+
contains_mathematical_symbols_instructional: Distrikt darf keine mathematischen
|
25
|
+
Symbole enthalten
|
26
|
+
contains_mathematical_symbols_informative: Distrikt darf keine mathematischen
|
27
|
+
Symbole enthalten
|
28
|
+
contains_restricted_characters_instructional: Distrikt darf nur Buchstaben,
|
29
|
+
Zahlen, Zeichen der lokalen Sprache und Sonderzeichen enthalten.
|
30
|
+
contains_restricted_characters_informative: Distrikt darf keine eingeschränkten
|
31
|
+
Zeichen enthalten
|
32
|
+
contains_too_many_words_instructional: Distrikt muss weniger als %{word_count}
|
33
|
+
Wörter enthalten
|
34
|
+
contains_too_many_words_informative: Distrikt muss weniger als %{word_count}
|
35
|
+
Wörter enthalten
|
36
|
+
contains_html_tags_instructional: Distrikt darf kein HTML enthalten
|
37
|
+
contains_html_tags_informative: Distrikt darf kein HTML enthalten
|
38
|
+
contains_url_instructional: Distrikt darf keine URL enthalten
|
39
|
+
contains_url_informative: Distrikt darf keine URL enthalten
|
40
|
+
unknown_for_city_instructional: Einen gültigen Distrikt für %{city} eingeben
|
41
|
+
unknown_for_city_informative: Distrikt ist für %{city} nicht gültig
|
42
|
+
unknown_for_zip_instructional: Einen gültigen Distrikt für %{zip} eingeben
|
43
|
+
unknown_for_zip_informative: Distrikt ist für %{zip} nicht gültig
|
44
|
+
unknown_for_address_instructional: Distrikt ist ggf. falsch
|
45
|
+
unknown_for_address_informative: Distrikt ist ggf. falsch
|
46
|
+
warnings:
|
47
|
+
contains_too_many_words: Es wird empfohlen, dass der Distrikt weniger
|
48
|
+
als %{word_count} Wörter enthält.
|
data/db/data/regions/CR/fr.yml
CHANGED
@@ -10,3 +10,47 @@ fr:
|
|
10
10
|
errors:
|
11
11
|
blank_instructional: Sélectionner une province
|
12
12
|
blank_informative: La province est manquante
|
13
|
+
neighborhood:
|
14
|
+
label:
|
15
|
+
default: District
|
16
|
+
optional: District (facultatif)
|
17
|
+
errors:
|
18
|
+
blank_instructional: Saisir un nom de district
|
19
|
+
blank_informative: Le nom de district est manquant
|
20
|
+
too_long_instructional: Le nom de district est trop long (le maximum est
|
21
|
+
de %{limit} caractères)
|
22
|
+
too_long_informative: Le nom de district est trop long
|
23
|
+
contains_emojis_instructional: Le nom de district ne peut pas contenir
|
24
|
+
d’emojis
|
25
|
+
contains_emojis_informative: Le nom de district ne peut pas contenir d’emojis
|
26
|
+
contains_mathematical_symbols_instructional: Le nom de district ne peut
|
27
|
+
pas contenir de symboles mathématiques
|
28
|
+
contains_mathematical_symbols_informative: Le nom de district ne peut
|
29
|
+
pas contenir de symboles mathématiques
|
30
|
+
contains_restricted_characters_instructional: Le nom de district ne peut
|
31
|
+
contenir que des lettres, des chiffres, des caractères locaux et des
|
32
|
+
caractères spéciaux
|
33
|
+
contains_restricted_characters_informative: Le nom de district ne peut
|
34
|
+
pas contenir de caractères non autorisés
|
35
|
+
contains_too_many_words_instructional: Le nom de district doit comporter
|
36
|
+
moins de %{word_count} mots
|
37
|
+
contains_too_many_words_informative: Le nom de district doit comporter
|
38
|
+
moins de %{word_count} mots
|
39
|
+
contains_html_tags_instructional: Le nom de district ne peut pas contenir
|
40
|
+
de HTML
|
41
|
+
contains_html_tags_informative: Le nom de district ne peut pas contenir
|
42
|
+
de HTML
|
43
|
+
contains_url_instructional: Le nom de district ne peut pas contenir d’URL
|
44
|
+
contains_url_informative: Le nom de district ne peut pas contenir d’URL
|
45
|
+
unknown_for_city_instructional: Saisir un nom de district valide pour
|
46
|
+
%{city}
|
47
|
+
unknown_for_city_informative: Le nom de district n’est pas valide pour
|
48
|
+
%{city}
|
49
|
+
unknown_for_zip_instructional: Saisir un nom de district valide pour %{zip}
|
50
|
+
unknown_for_zip_informative: Le nom de district n’est pas valide pour
|
51
|
+
%{zip}
|
52
|
+
unknown_for_address_instructional: Le nom de district est peut-être erroné
|
53
|
+
unknown_for_address_informative: Le nom de district est peut-être erroné
|
54
|
+
warnings:
|
55
|
+
contains_too_many_words: Il est conseillé que le nom de district comporte
|
56
|
+
moins de %{word_count} mots
|
data/db/data/regions/CR/nb.yml
CHANGED
@@ -10,3 +10,40 @@ nb:
|
|
10
10
|
errors:
|
11
11
|
blank_instructional: Velg en provins
|
12
12
|
blank_informative: Provins mangler
|
13
|
+
neighborhood:
|
14
|
+
label:
|
15
|
+
default: Distrikt
|
16
|
+
optional: Distrikt (valgfritt)
|
17
|
+
errors:
|
18
|
+
blank_instructional: Angi et distrikt
|
19
|
+
blank_informative: Distrikt mangler
|
20
|
+
too_long_instructional: Distriktsnavnet er for langt (maksimalt %{limit}
|
21
|
+
tegn)
|
22
|
+
too_long_informative: Distriktsnavnet er for langt
|
23
|
+
contains_emojis_instructional: Distriktsnavnet kan ikke inneholde emojier
|
24
|
+
contains_emojis_informative: Distriktsnavnet kan ikke inneholde emojier
|
25
|
+
contains_mathematical_symbols_instructional: Distriktsnavnet kan ikke
|
26
|
+
inneholde matematiske symboler
|
27
|
+
contains_mathematical_symbols_informative: Distriktsnavnet kan ikke inneholde
|
28
|
+
matematiske symboler
|
29
|
+
contains_restricted_characters_instructional: Distriktsnavnet kan kun
|
30
|
+
inneholde bokstaver, tall, lokale tegn og spesialtegn
|
31
|
+
contains_restricted_characters_informative: Distriktsnavnet kan ikke inneholde
|
32
|
+
begrensede tegn
|
33
|
+
contains_too_many_words_instructional: Distriktsnavnet må bestå av færre
|
34
|
+
enn %{word_count} ord
|
35
|
+
contains_too_many_words_informative: Distriktsnavnet må bestå av færre
|
36
|
+
enn %{word_count} ord
|
37
|
+
contains_html_tags_instructional: Distriktsnavnet kan ikke inneholde HTML
|
38
|
+
contains_html_tags_informative: Distriktsnavnet kan ikke inneholde HTML
|
39
|
+
contains_url_instructional: Distriktsnavnet kan ikke inneholde en URL-adresse
|
40
|
+
contains_url_informative: Distriktsnavnet kan ikke inneholde en URL-adresse
|
41
|
+
unknown_for_city_instructional: Angi et gyldig distrikt for %{city}
|
42
|
+
unknown_for_city_informative: Distriktet er ikke gyldig for %{city}
|
43
|
+
unknown_for_zip_instructional: Angi et gyldig distrikt for %{zip}
|
44
|
+
unknown_for_zip_informative: Distriktet er ikke gyldig for %{zip}
|
45
|
+
unknown_for_address_instructional: Distriktsnavnet kan være feil
|
46
|
+
unknown_for_address_informative: Distriktsnavnet kan være feil
|
47
|
+
warnings:
|
48
|
+
contains_too_many_words: Vi anbefaler at distriktsnavnet inneholder færre
|
49
|
+
enn %{word_count} ord
|
data/db/data/regions/CR/nl.yml
CHANGED
@@ -10,3 +10,39 @@ nl:
|
|
10
10
|
errors:
|
11
11
|
blank_instructional: Selecteer een provincie
|
12
12
|
blank_informative: Provincie ontbreekt
|
13
|
+
neighborhood:
|
14
|
+
label:
|
15
|
+
default: District
|
16
|
+
optional: District (optioneel)
|
17
|
+
errors:
|
18
|
+
blank_instructional: Vul een district in
|
19
|
+
blank_informative: District ontbreekt
|
20
|
+
too_long_instructional: District is te lang (maximaal %{limit} tekens)
|
21
|
+
too_long_informative: District is te lang
|
22
|
+
contains_emojis_instructional: District mag geen emoji's bevatten
|
23
|
+
contains_emojis_informative: District mag geen emoji's bevatten
|
24
|
+
contains_mathematical_symbols_instructional: District mag geen wiskundige
|
25
|
+
symbolen bevatten
|
26
|
+
contains_mathematical_symbols_informative: District mag geen wiskundige
|
27
|
+
symbolen bevatten
|
28
|
+
contains_restricted_characters_instructional: District mag alleen letters,
|
29
|
+
cijfers, lokale tekens en speciale tekens bevatten
|
30
|
+
contains_restricted_characters_informative: District mag geen verboden
|
31
|
+
tekens bevatten
|
32
|
+
contains_too_many_words_instructional: District mag niet langer zijn dan
|
33
|
+
%{word_count} woorden
|
34
|
+
contains_too_many_words_informative: District mag niet langer zijn dan
|
35
|
+
%{word_count} woorden
|
36
|
+
contains_html_tags_instructional: District mag geen HTML bevatten
|
37
|
+
contains_html_tags_informative: District mag geen HTML bevatten
|
38
|
+
contains_url_instructional: District mag geen URL bevatten
|
39
|
+
contains_url_informative: District mag geen URL bevatten
|
40
|
+
unknown_for_city_instructional: Voer een geldig district in voor %{city}
|
41
|
+
unknown_for_city_informative: District is niet geldig voor %{city}
|
42
|
+
unknown_for_zip_instructional: Voer een geldig district in voor %{zip}
|
43
|
+
unknown_for_zip_informative: District is niet geldig voor %{zip}
|
44
|
+
unknown_for_address_instructional: Het district is mogelijk onjuist
|
45
|
+
unknown_for_address_informative: Het district is mogelijk onjuist
|
46
|
+
warnings:
|
47
|
+
contains_too_many_words: Geef minder dan %{word_count} woorden op voor
|
48
|
+
het district
|