worldwide 0.15.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/db/data/regions/CL/en.yml +1 -1
- data/db/data/regions/MX/en.yml +20 -0
- data/db/data/regions/PH/en.yml +25 -0
- data/db/data/regions/TR/en.yml +1 -1
- data/db/data/regions/TW/en.yml +1 -1
- data/db/data/regions/VN/en.yml +1 -1
- data/lib/worldwide/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c140a160ce0f41af612fd9d09978d253495660a59f58e39b6dcba367c8f2fcba
|
|
4
|
+
data.tar.gz: 251d15b70e470b99a94394d4ee2125e78c54feb9f39438a6e477ab1f9ca1a94f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba7a0483b1c7ed9ad4acd8ed217e31236932a689ee734dc93617689092e8f02f1f7620de969912684afb442c23b11b9014ab30354859a79711c36f9b307c9633
|
|
7
|
+
data.tar.gz: cbd161a04d8f08565ae5f9e9965260aaadeb52671576b5bef7a620eeb5e0182406f7585390bd205a15e31b4665ee27e3b61fc0b22f4bd8c9d80a466b9f899452
|
data/CHANGELOG.md
CHANGED
|
@@ -27,7 +27,14 @@ 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
|
---
|
|
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
|
+
|
|
31
38
|
## [0.15.0] - 2024-05-30
|
|
32
39
|
|
|
33
40
|
- Created npm package `@shopify/worldwide` (see [README.md](./lang/typescript/README.md)) [#167](https://github.com/Shopify/worldwide/pull/167)
|
data/Gemfile.lock
CHANGED
data/db/data/regions/CL/en.yml
CHANGED
|
@@ -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
|
|
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,
|
data/db/data/regions/MX/en.yml
CHANGED
|
@@ -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
|
|
@@ -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
|
data/db/data/regions/TR/en.yml
CHANGED
|
@@ -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
|
|
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,
|
data/db/data/regions/TW/en.yml
CHANGED
|
@@ -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
|
|
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,
|
data/db/data/regions/VN/en.yml
CHANGED
|
@@ -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
|
|
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,
|
data/lib/worldwide/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: worldwide
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-05-
|
|
11
|
+
date: 2024-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -7706,6 +7706,7 @@ files:
|
|
|
7706
7706
|
- db/data/regions/PF.yml
|
|
7707
7707
|
- db/data/regions/PG.yml
|
|
7708
7708
|
- db/data/regions/PH.yml
|
|
7709
|
+
- db/data/regions/PH/en.yml
|
|
7709
7710
|
- db/data/regions/PK.yml
|
|
7710
7711
|
- db/data/regions/PL.yml
|
|
7711
7712
|
- db/data/regions/PM.yml
|