worldwide 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +20 -0
  3. data/.github/workflows/ci-typescript.yml +32 -0
  4. data/.github/workflows/npm-release.yml +38 -0
  5. data/.vscode/settings.json +8 -0
  6. data/CHANGELOG.md +12 -2
  7. data/Gemfile.lock +1 -1
  8. data/db/data/regions/AE/bg.yml +1 -3
  9. data/db/data/regions/AE/cs.yml +1 -3
  10. data/db/data/regions/AE/da.yml +1 -3
  11. data/db/data/regions/AE/de.yml +1 -3
  12. data/db/data/regions/AE/el.yml +1 -3
  13. data/db/data/regions/AE/en.yml +1 -3
  14. data/db/data/regions/AE/es.yml +1 -3
  15. data/db/data/regions/AE/fi.yml +1 -3
  16. data/db/data/regions/AE/fr.yml +1 -3
  17. data/db/data/regions/AE/hi.yml +1 -3
  18. data/db/data/regions/AE/hr.yml +1 -3
  19. data/db/data/regions/AE/hu.yml +1 -3
  20. data/db/data/regions/AE/id.yml +1 -3
  21. data/db/data/regions/AE/it.yml +1 -3
  22. data/db/data/regions/AE/ja.yml +1 -3
  23. data/db/data/regions/AE/ko.yml +1 -3
  24. data/db/data/regions/AE/lt.yml +1 -3
  25. data/db/data/regions/AE/ms.yml +1 -2
  26. data/db/data/regions/AE/nb.yml +1 -3
  27. data/db/data/regions/AE/nl.yml +1 -3
  28. data/db/data/regions/AE/pl.yml +1 -3
  29. data/db/data/regions/AE/pt-BR.yml +1 -3
  30. data/db/data/regions/AE/pt-PT.yml +1 -3
  31. data/db/data/regions/AE/ro.yml +1 -3
  32. data/db/data/regions/AE/ru.yml +1 -3
  33. data/db/data/regions/AE/sk.yml +1 -3
  34. data/db/data/regions/AE/sl.yml +1 -3
  35. data/db/data/regions/AE/sv.yml +1 -3
  36. data/db/data/regions/AE/th.yml +1 -3
  37. data/db/data/regions/AE/tr.yml +1 -3
  38. data/db/data/regions/AE/vi.yml +1 -3
  39. data/db/data/regions/AE/zh-CN.yml +1 -3
  40. data/db/data/regions/AE/zh-TW.yml +1 -3
  41. data/db/data/regions/AE.yml +2 -3
  42. data/db/data/regions/BE.yml +5 -2
  43. data/db/data/regions/BR.yml +9 -6
  44. data/db/data/regions/CL.yml +9 -6
  45. data/db/data/regions/CO.yml +5 -4
  46. data/db/data/regions/ES.yml +5 -2
  47. data/db/data/regions/ID.yml +5 -4
  48. data/db/data/regions/IL.yml +11 -0
  49. data/db/data/regions/MX.yml +9 -6
  50. data/db/data/regions/NL.yml +5 -2
  51. data/db/data/regions/PH.yml +6 -4
  52. data/db/data/regions/TR.yml +6 -4
  53. data/db/data/regions/TW.yml +9 -1
  54. data/db/data/regions/VN.yml +6 -4
  55. data/db/data/regions/_default/cs.yml +27 -2
  56. data/db/data/regions/_default/da.yml +25 -1
  57. data/db/data/regions/_default/el.yml +28 -1
  58. data/db/data/regions/_default/en.yml +23 -1
  59. data/db/data/regions/_default/es.yml +29 -1
  60. data/db/data/regions/_default/fi.yml +25 -1
  61. data/db/data/regions/_default/fr.yml +28 -1
  62. data/db/data/regions/_default/hi.yml +25 -1
  63. data/db/data/regions/_default/hu.yml +28 -2
  64. data/db/data/regions/_default/id.yml +26 -1
  65. data/db/data/regions/_default/ja.yml +20 -1
  66. data/db/data/regions/_default/lt.yml +28 -1
  67. data/db/data/regions/_default/ms.yml +26 -1
  68. data/db/data/regions/_default/pl.yml +1 -1
  69. data/db/data/regions/_default/pt-BR.yml +26 -1
  70. data/db/data/regions/_default/ro.yml +26 -1
  71. data/db/data/regions/_default/ru.yml +25 -1
  72. data/db/data/regions/_default/sk.yml +25 -1
  73. data/db/data/regions/_default/sl.yml +27 -1
  74. data/db/data/regions/_default/sv.yml +25 -1
  75. data/db/data/regions/_default/th.yml +24 -1
  76. data/db/data/regions/_default/tr.yml +24 -1
  77. data/db/data/regions/_default/vi.yml +24 -1
  78. data/db/data/regions/_default/zh-CN.yml +20 -1
  79. data/db/data/regions/_default/zh-TW.yml +20 -1
  80. data/lib/worldwide/address.rb +7 -4
  81. data/lib/worldwide/field.rb +1 -0
  82. data/lib/worldwide/region.rb +27 -2
  83. data/lib/worldwide/regions_loader.rb +2 -1
  84. data/lib/worldwide/version.rb +1 -1
  85. data/worldwide.gemspec +1 -1
  86. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5f1c770329ba40871714943c6c452fef6f83dfd0cd953d7f77eed768813ca50
4
- data.tar.gz: 0f2c38dbe144fb20a6170ee96fe21311e87fd684c2f3ed6371f00c55071d8cef
3
+ metadata.gz: 1cd66b7dc7bd4cb0d9fa138e6705cd0c054948bf2d37cd3f436c923bae032c4e
4
+ data.tar.gz: 48d50d253a37879a501c72e760d3d2c1ed81636f80f5dedc2f62e52ea0ebde30
5
5
  SHA512:
6
- metadata.gz: ef479b6e96db4c6f6e8115c90486698fe640c426fb8ce64064ae1fa5508fecb05d15971590713f5ed3ad957ea1248d0948a6b2f3f076ccfee54837d9306b69ea
7
- data.tar.gz: 037644c70830596802059e8b924abf2b8a07352f0b35aaa3c3bb856c90fae026276d6b7721bd597931105814441e9924b2ab3edff28572b10515d82035532885
6
+ metadata.gz: 0b3a335f1fc55dca4faa29630159f9646a49e50981ecaa5c7ebd734b592fe1ea7b96330b5d2026bc7a542d208fd9b426fa3bc3e96bcba066fede8ac9bf02b740
7
+ data.tar.gz: d363f428b2cbc1bb13f51835a28309a9aeb7c10a3d05af591baa086f03e5c25449797e41218f8bc92aa1a6787a2e6a0b88adb54463c7a2c33b2504a22de72a21
@@ -0,0 +1,20 @@
1
+ version: 2
2
+ registries:
3
+ ruby-shopify:
4
+ type: rubygems-server
5
+ url: https://pkgs.shopify.io/basic/gems/ruby
6
+ username: ${{secrets.RUBYGEMS_SERVER_PKGS_SHOPIFY_IO_USERNAME}}
7
+ password: ${{secrets.RUBYGEMS_SERVER_PKGS_SHOPIFY_IO_PASSWORD}}
8
+ github-com:
9
+ type: git
10
+ url: https://github.com
11
+ username: ${{secrets.DEPENDENCIES_GITHUB_USER}}
12
+ password: ${{secrets.DEPENDENCIES_GITHUB_TOKEN}}
13
+ updates:
14
+ - package-ecosystem: bundler
15
+ directory: "/"
16
+ schedule:
17
+ interval: daily
18
+ open-pull-requests-limit: 100
19
+ insecure-external-code-execution: allow
20
+ registries: "*"
@@ -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,9 +27,16 @@ 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
-
32
30
  ---
31
+ ## [0.15.0] - 2024-05-30
32
+
33
+ - Created npm package `@shopify/worldwide` (see [README.md](./lang/typescript/README.md)) [#167](https://github.com/Shopify/worldwide/pull/167)
34
+ - 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)
35
+
36
+ ## [0.14.0] - 2024-05-29
37
+
38
+ - Add support for a line2 address field [#173](https://github.com/Shopify/worldwide/pull/173)
39
+ - Re-add city to UAE address form and disable city autofill [#175](https://github.com/Shopify/worldwide/pull/175)
33
40
 
34
41
  ## [0.13.0] - 2024-05-27
35
42
 
@@ -37,6 +44,9 @@ nil.
37
44
  - Add Address#concatenated_address1 and Address#concatenated_address2 methods [#158](https://github.com/Shopify/worldwide/pull/158)
38
45
  - Updated root translation keys for regional locales `bg-BG`, `hr-HR`, `lt-LT`, `ro-RO`, `sk-SK`, `sl-SI` to the base locale (e.g. `bg`) [#164](https://github.com/Shopify/worldwide/pull/164).
39
46
  - Remove city from UAE address form and enable city autofill [#159](https://github.com/Shopify/worldwide/pull/159)
47
+ - Support additional fields in IL, update streetNumber and neighborhood requirement for BE, CL, ES, MX [#166](https://github.com/Shopify/worldwide/pull/166)
48
+
49
+ ---
40
50
 
41
51
  ## [0.12.2] - 2024-05-21
42
52
 
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- worldwide (0.13.0)
16
+ worldwide (0.15.0)
17
17
  activesupport (>= 7.0)
18
18
  i18n
19
19
  phonelib (~> 0.8)
@@ -9,6 +9,4 @@ bg:
9
9
  optional: Емирство (незадължително)
10
10
  errors:
11
11
  blank: Изберете емирство
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ cs:
9
9
  optional: Emirát (volitelné)
10
10
  errors:
11
11
  blank: Vyberte emirát
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ da:
9
9
  optional: Emirat (valgfrit)
10
10
  errors:
11
11
  blank: Vælg et emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ de:
9
9
  optional: Emirat (optional)
10
10
  errors:
11
11
  blank: Wähle ein Emirat aus
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ el:
9
9
  optional: Εμιράτο (προαιρετικά)
10
10
  errors:
11
11
  blank: Επιλέξτε εμιράτο
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ en:
9
9
  optional: Emirate (optional)
10
10
  errors:
11
11
  blank: Select an emirate
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ es:
9
9
  optional: Emirato (opcional)
10
10
  errors:
11
11
  blank: Selecciona un emirato
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ fi:
9
9
  optional: Emiraatti (valinnainen)
10
10
  errors:
11
11
  blank: Valitse emiraatti
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ fr:
9
9
  optional: Émirat (facultatif)
10
10
  errors:
11
11
  blank: Sélectionner un émirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ hi:
9
9
  optional: अमीरात (वैकल्पिक)
10
10
  errors:
11
11
  blank: एक अमीरात चुनें
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ hr:
9
9
  optional: Emirat (neobavezno)
10
10
  errors:
11
11
  blank: Odaberi emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ hu:
9
9
  optional: Emírség (nem kötelező megadni)
10
10
  errors:
11
11
  blank: Válassz emírséget
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ id:
9
9
  optional: Emirat (opsional)
10
10
  errors:
11
11
  blank: Pilih emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ it:
9
9
  optional: Emirato (facoltativo)
10
10
  errors:
11
11
  blank: Seleziona un emirato
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ ja:
9
9
  optional: 首長国 (任意)
10
10
  errors:
11
11
  blank: 首長国を選択してください
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ ko:
9
9
  optional: 토후국(선택 사항)
10
10
  errors:
11
11
  blank: 에미레이트 선택
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ lt:
9
9
  optional: Emyratas (pasirinktinai)
10
10
  errors:
11
11
  blank: Pasirinkite emyratą
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,5 +9,4 @@ ms:
9
9
  optional: Emiriah (opsyenal)
10
10
  errors:
11
11
  blank: Pilih amiriah
12
- city:
13
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ nb:
9
9
  optional: Emirat (valgfritt)
10
10
  errors:
11
11
  blank: Velg et emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ nl:
9
9
  optional: Emiraat (optioneel)
10
10
  errors:
11
11
  blank: Selecteer een emiraat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ pl:
9
9
  optional: Emirat (opcjonalnie)
10
10
  errors:
11
11
  blank: Wybierz emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ pt-BR:
9
9
  optional: Emirado (opcional)
10
10
  errors:
11
11
  blank: Selecione um emirado
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ pt-PT:
9
9
  optional: Emirado (opcional)
10
10
  errors:
11
11
  blank: Selecione um emirato
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ ro:
9
9
  optional: Emirat (opțional)
10
10
  errors:
11
11
  blank: Selectează un emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ ru:
9
9
  optional: Эмират (необязательно)
10
10
  errors:
11
11
  blank: Выберите эмират
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ sk:
9
9
  optional: Emirát (voliteľné)
10
10
  errors:
11
11
  blank: Vyberte emirát
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ sl:
9
9
  optional: Emirat (izbirno)
10
10
  errors:
11
11
  blank: Izberite emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ sv:
9
9
  optional: Emirat (valfritt)
10
10
  errors:
11
11
  blank: Välj ett emirat
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ th:
9
9
  optional: เอมิเรต (ไม่จำเป็น)
10
10
  errors:
11
11
  blank: เลือกเอมิเรต
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ tr:
9
9
  optional: Emirlik (isteğe bağlı)
10
10
  errors:
11
11
  blank: Emirlik seçin
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ vi:
9
9
  optional: Tiểu vương quốc (không bắt buộc)
10
10
  errors:
11
11
  blank: Chọn tiểu vương quốc
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ zh-CN:
9
9
  optional: 酋长国(可选)
10
10
  errors:
11
11
  blank: 选择酋长国
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -9,6 +9,4 @@ zh-TW:
9
9
  optional: 大公國 (選填)
10
10
  errors:
11
11
  blank: 選擇一個大公國
12
- city:
13
- # This is the placeholder city text for an address in the United Arab Emirates.
14
- autofill: "-"
12
+
@@ -10,10 +10,9 @@ group_name: Asia
10
10
  phone_number_prefix: 971
11
11
  building_number_required: true
12
12
  week_start_day: saturday
13
- autofill_city_enabled: true
14
13
  format:
15
- edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{province}_{phone}"
16
- show: "{firstName} {lastName}_{company}_{address1}_{address2} {province}_{country}_{phone}"
14
+ edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{city}{province}_{phone}"
15
+ show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city} {province}_{country}_{phone}"
17
16
  emoji: "\U0001F1E6\U0001F1EA"
18
17
  languages:
19
18
  - ar
@@ -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: false
35
38
  emoji: "\U0001F1E7\U0001F1EA"
36
39
  timezone: Europe/Brussels
@@ -20,20 +20,23 @@ format:
20
20
  edit: "{country}_{firstName}{lastName}_{company}_{zip}_{address1}_{address2}_{city}{province}_{phone}"
21
21
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city} {province}_{country}_{phone}"
22
22
  format_extended:
23
- edit: "{country}_{firstName}{lastName}_{company}_{zip}_{streetName}{streetNumber}_{address2}{neighborhood}_{city}{province}_{phone}"
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
- - key: address2
33
- required: false
37
+ - key: line2
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
@@ -15,18 +15,21 @@ format:
15
15
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{zip}{city}_{province}_{phone}"
16
16
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{province}_{country}_{phone}"
17
17
  format_extended:
18
- edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}{neighborhood}_{zip}{city}_{province}_{phone}"
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: false
25
30
  address2:
26
- - key: address2
27
- required: false
31
+ - key: line2
28
32
  - key: neighborhood
29
- required: false
30
33
  emoji: "\U0001F1E8\U0001F1F1"
31
34
  languages:
32
35
  - es
@@ -16,13 +16,14 @@ format:
16
16
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{city}{province}{zip}_{phone}"
17
17
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city} {province}_{country}_{phone}"
18
18
  format_extended:
19
- edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}{neighborhood}_{city}{province}{zip}_{phone}"
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
- - key: address2
23
- required: false
25
+ - key: line2
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: false
32
35
  emoji: "\U0001F1EA\U0001F1F8"
33
36
  zones:
34
37
  - name: A Coruña
@@ -18,14 +18,15 @@ format:
18
18
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{city}_{province}{zip}_{phone}"
19
19
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{city}_{province} {zip}_{country}_{phone}"
20
20
  format_extended:
21
- edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}{neighborhood}_{city}_{province}{zip}_{phone}"
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
- - key: address2
25
- required: false
27
+ - key: line2
26
28
  - key: neighborhood
27
29
  decorator: ","
28
- required: false
29
30
  emoji: "\U0001F1EE\U0001F1E9"
30
31
  zones:
31
32
  - name: Aceh
@@ -16,6 +16,17 @@ week_start_day: sunday
16
16
  format:
17
17
  edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{zip}{city}_{phone}"
18
18
  show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
19
+ format_extended:
20
+ edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
21
+ additional_address_fields:
22
+ - name: streetName
23
+ required: true
24
+ - name: streetNumber
25
+ required: true
26
+ combined_address_format:
27
+ address1:
28
+ - key: streetNumber
29
+ - key: streetName
19
30
  emoji: "\U0001F1EE\U0001F1F1"
20
31
  languages:
21
32
  - ar