Skip to content

Commit

Permalink
Patch name of GB in Suomi
Browse files Browse the repository at this point in the history
  • Loading branch information
cejaekl committed Feb 1, 2024
1 parent 20496b5 commit ccc5203
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Patch data related to region 830 (Channel Islands). [#85](https://github.com/Shopify/worldwide/pull/85)
- Patch name of SZ (eSwatini) in Italian. [#86](https://github.com/Shopify/worldwide/pull/86)
- Patch names of HK and MO in zh-TW and zh-Hant. [#87](https://github.com/Shopify/worldwide/pull/87)
- Patch name of GB (United Kingdom) in Suomi. [#88](https://github.com/Shopify/worldwide/pull/88)

[0.7.0] - 2024-01-31

Expand Down
2 changes: 1 addition & 1 deletion data/cldr/locales/fi/territories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ fi:
FO: Färsaaret
FR: Ranska
GA: Gabon
GB: Iso-Britannia
GB: Yhdistynyt kuningaskunta
GD: Grenada
GE: Georgia
GF: Ranskan Guayana
Expand Down
6 changes: 6 additions & 0 deletions rake/cldr/patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,12 @@ def perform
[:TR, "Turkey", "Türkiye"],
])

patch_territories(:fi, [
# GB is the ISO code for the United Kingdom of Great Britain _and_ Northern Ireland
# (Northern Ireland is part of the United Kingdom, but not part of Great Britain).
[:GB, "Iso-Britannia", "Yhdistynyt kuningaskunta"],
])

patch_territories(:fr, [
# UN M49 uses 830 for "Channel Islands", but ISO 3166-1 does not, so CLDR is missing this code
# https://en.wikipedia.org/wiki/UN_M49#cite_note-7
Expand Down

0 comments on commit ccc5203

Please sign in to comment.