worldwide 0.15.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1cd66b7dc7bd4cb0d9fa138e6705cd0c054948bf2d37cd3f436c923bae032c4e
4
- data.tar.gz: 48d50d253a37879a501c72e760d3d2c1ed81636f80f5dedc2f62e52ea0ebde30
3
+ metadata.gz: c140a160ce0f41af612fd9d09978d253495660a59f58e39b6dcba367c8f2fcba
4
+ data.tar.gz: 251d15b70e470b99a94394d4ee2125e78c54feb9f39438a6e477ab1f9ca1a94f
5
5
  SHA512:
6
- metadata.gz: 0b3a335f1fc55dca4faa29630159f9646a49e50981ecaa5c7ebd734b592fe1ea7b96330b5d2026bc7a542d208fd9b426fa3bc3e96bcba066fede8ac9bf02b740
7
- data.tar.gz: d363f428b2cbc1bb13f51835a28309a9aeb7c10a3d05af591baa086f03e5c25449797e41218f8bc92aa1a6787a2e6a0b88adb54463c7a2c33b2504a22de72a21
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
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (0.15.0)
16
+ worldwide (1.0.0)
17
17
  activesupport (>= 7.0)
18
18
  i18n
19
19
  phonelib (~> 0.8)
@@ -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,
@@ -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
@@ -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,
@@ -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,
@@ -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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Worldwide
4
- VERSION = "0.15.0"
4
+ VERSION = "1.0.0"
5
5
  end
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.15.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-30 00:00:00.000000000 Z
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