Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing translations #498

Merged
merged 4 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
name: CI
on: push
on:
push:
paths-ignore:
- "*.md"
- .gitignore
- index.cjs
- index.d.ts
- index.mjs

jobs:
test:
php-tests:
name: Tests on PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
strategy:
Expand All @@ -14,11 +21,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install packages
run: sudo apt-get install -y jsonlint

- name: Lint JSON files
run: find . -type f -name "*.json" | xargs jsonlint-php
- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -42,3 +46,16 @@ jobs:

- name: Test conversion of countries data
run: php countries.php convert

json-lint:
name: Lint JSON files
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install packages
run: sudo apt-get install -y jsonlint

- name: Lint JSON files
run: find . -type f -name "*.json" | xargs jsonlint-php
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- add missing translations for Curaçao (Croatian) and Iran (Persian) (#496)
- add missing Japanese translations for Curaçao and Kosovo (#498)
- add missing Chinese translations (#498)

## [5.0.0] - 2023-09-17
### Breaking changes
Expand Down
42 changes: 35 additions & 7 deletions countries.json
Original file line number Diff line number Diff line change
Expand Up @@ -7053,6 +7053,10 @@
"urd": {
"official": "\u0639\u0648\u0627\u0645\u06cc \u062c\u0645\u06c1\u0648\u0631\u06cc\u06c1 \u0686\u06cc\u0646",
"common": "\u0686\u06cc\u0646"
},
"zho": {
"official": "\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd",
"common": "\u4e2d\u56fd"
}
},
"latlng": [
Expand Down Expand Up @@ -8790,6 +8794,10 @@
"official": "Paese di Cura\u00e7ao",
"common": "Cura\u00e7ao"
},
"jpn": {
"official": "\u30ad\u30e5\u30e9\u30bd\u30fc",
"common": "\u30ad\u30e5\u30e9\u30bd\u30fc"
},
"kor": {
"official": "\ud034\ub77c\uc18c",
"common": "\ud034\ub77c\uc18c"
Expand Down Expand Up @@ -15298,6 +15306,10 @@
"urd": {
"official": "\u06c1\u0627\u0646\u06af \u06a9\u0627\u0646\u06af \u0639\u0648\u0627\u0645\u06cc \u062c\u0645\u06c1\u0648\u0631\u06cc\u06c1 \u0686\u06cc\u0646 \u06a9\u0627 \u062e\u0635\u0648\u0635\u06cc \u0627\u0646\u062a\u0638\u0627\u0645\u06cc \u0639\u0644\u0627\u0642\u06c1",
"common": "\u06c1\u0627\u0646\u06af \u06a9\u0627\u0646\u06af"
},
"zho": {
"official": "\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u9999\u6e2f\u7279\u522b\u884c\u653f\u533a",
"common": "\u9999\u6e2f"
}
},
"latlng": [
Expand Down Expand Up @@ -19426,6 +19438,10 @@
"official": "Repubblica del Kosovo",
"common": "Kosovo"
},
"jpn": {
"official": "\u30b3\u30bd\u30dc\u5171\u548c\u56fd",
"common": "\u30b3\u30bd\u30dc"
},
"kor": {
"official": "\ucf54\uc18c\ubcf4 \uacf5\ud654\uad6d",
"common": "\ucf54\uc18c\ubcf4"
Expand Down Expand Up @@ -21462,6 +21478,10 @@
"urd": {
"official": "\u0645\u06a9\u0627\u0624 \u0639\u0648\u0627\u0645\u06cc \u062c\u0645\u06c1\u0648\u0631\u06cc\u06c1 \u0686\u06cc\u0646 \u06a9\u0627 \u062e\u0635\u0648\u0635\u06cc \u0627\u0646\u062a\u0638\u0627\u0645\u06cc \u0639\u0644\u0627\u0642\u06c1",
"common": "\u0645\u06a9\u0627\u0624"
},
"zho": {
"official": "\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u6fb3\u95e8\u7279\u522b\u884c\u653f\u533a",
"common": "\u6fb3\u95e8"
}
},
"latlng": [
Expand Down Expand Up @@ -30427,10 +30447,6 @@
"common": "Singapore",
"official": "Republic of Singapore",
"native": {
"zho": {
"official": "\u65b0\u52a0\u5761\u5171\u548c\u56fd",
"common": "\u65b0\u52a0\u5761"
},
"eng": {
"official": "Republic of Singapore",
"common": "Singapore"
Expand All @@ -30442,6 +30458,10 @@
"tam": {
"official": "\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd \u0b95\u0bc1\u0b9f\u0bbf\u0baf\u0bb0\u0b9a\u0bc1",
"common": "\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd"
},
"zho": {
"official": "\u65b0\u52a0\u5761\u5171\u548c\u56fd",
"common": "\u65b0\u52a0\u5761"
}
}
},
Expand Down Expand Up @@ -30481,10 +30501,10 @@
"region": "Asia",
"subregion": "South-Eastern Asia",
"languages": {
"zho": "Chinese",
"eng": "English",
"msa": "Malay",
"tam": "Tamil"
"tam": "Tamil",
"zho": "Chinese"
},
"translations": {
"ces": {
Expand Down Expand Up @@ -30562,6 +30582,10 @@
"urd": {
"official": "\u062c\u0645\u06c1\u0648\u0631\u06cc\u06c1 \u0633\u0646\u06af\u0627\u067e\u0648\u0631",
"common": "\u0633\u0646\u06af\u0627\u067e\u0648\u0631"
},
"zho": {
"official": "\u65b0\u52a0\u5761\u5171\u548c\u56fd",
"common": "\u65b0\u52a0\u5761"
}
},
"latlng": [
Expand Down Expand Up @@ -35604,6 +35628,10 @@
"urd": {
"official": "\u062c\u0645\u06c1\u0648\u0631\u06cc\u06c1 \u0686\u06cc\u0646 (\u062a\u0627\u0626\u06cc\u0648\u0627\u0646)",
"common": "\u062a\u0627\u0626\u06cc\u0648\u0627\u0646"
},
"zho": {
"official": "\u4e2d\u83ef\u6c11\u570b",
"common": "\u53f0\u7063"
}
},
"latlng": [
Expand Down Expand Up @@ -39200,4 +39228,4 @@
}
}
}
]
]
14 changes: 7 additions & 7 deletions dist/countries-unescaped.json

Large diffs are not rendered by default.

Loading