diff options
| author | 2025-10-06 15:09:01 -0400 | |
|---|---|---|
| committer | 2025-10-06 21:09:01 +0200 | |
| commit | b6f4276c6cc2e5a53f0a4afb1536960427fa995e (patch) | |
| tree | 8ac7062239b9fa4d3cdb1a9d106db6ada1676a77 | |
| parent | aeecba7b30cf04a53fc23f7ed7a8c5ce12cb11a6 (diff) | |
Change regional language codes (#8065)
* Change regional language codes
According to `ISO-639-1` and `ISO-3166-1 alpha-2` recommendations, regional
languages must be written with the language code in lowercase and the region
in uppercase. For instance, we should have `en-US` instead of `en-us`.
Folders have been updated to reflect those recommendations and regional
language codes have been updated in the translation files.
* Update README files
* Fix configuration for typos
* Revert language order in documentation
* Remove unnecessary code
* Change language configuration getter
* Fix phpstan error
* Fix typo
* Add types
* escape regex
* Move language logic to avoid magic or deprecated methods
* Minor fix on regex
| -rw-r--r-- | .typos.toml | 9 | ||||
| -rw-r--r-- | README.fr.md | 10 | ||||
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | app/Models/Context.php | 6 | ||||
| -rw-r--r-- | app/i18n/cs/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/de/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/el/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/en-US/admin.php (renamed from app/i18n/en-us/admin.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en-US/api.php (renamed from app/i18n/en-us/api.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en-US/conf.php (renamed from app/i18n/en-us/conf.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en-US/feedback.php (renamed from app/i18n/en-us/feedback.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en-US/gen.php (renamed from app/i18n/en-us/gen.php) | 10 | ||||
| -rw-r--r-- | app/i18n/en-US/index.php (renamed from app/i18n/en-us/index.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en-US/install.php (renamed from app/i18n/en-us/install.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en-US/sub.php (renamed from app/i18n/en-us/sub.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en-US/user.php (renamed from app/i18n/en-us/user.php) | 0 | ||||
| -rw-r--r-- | app/i18n/en/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/es/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/fa/gen.php | 12 | ||||
| -rw-r--r-- | app/i18n/fi/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/fr/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/he/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/hu/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/id/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/it/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/ja/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/ko/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/lv/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/nl/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/oc/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/pl/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/pt-BR/admin.php (renamed from app/i18n/pt-br/admin.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-BR/api.php (renamed from app/i18n/pt-br/api.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-BR/conf.php (renamed from app/i18n/pt-br/conf.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-BR/feedback.php (renamed from app/i18n/pt-br/feedback.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-BR/gen.php (renamed from app/i18n/pt-br/gen.php) | 10 | ||||
| -rw-r--r-- | app/i18n/pt-BR/index.php (renamed from app/i18n/pt-br/index.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-BR/install.php (renamed from app/i18n/pt-br/install.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-BR/sub.php (renamed from app/i18n/pt-br/sub.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-BR/user.php (renamed from app/i18n/pt-br/user.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/admin.php (renamed from app/i18n/pt-pt/admin.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/api.php (renamed from app/i18n/pt-pt/api.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/conf.php (renamed from app/i18n/pt-pt/conf.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/feedback.php (renamed from app/i18n/pt-pt/feedback.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/gen.php (renamed from app/i18n/pt-pt/gen.php) | 10 | ||||
| -rw-r--r-- | app/i18n/pt-PT/index.php (renamed from app/i18n/pt-pt/index.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/install.php (renamed from app/i18n/pt-pt/install.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/sub.php (renamed from app/i18n/pt-pt/sub.php) | 0 | ||||
| -rw-r--r-- | app/i18n/pt-PT/user.php (renamed from app/i18n/pt-pt/user.php) | 0 | ||||
| -rw-r--r-- | app/i18n/ru/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/sk/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/tr/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/uk/gen.php | 10 | ||||
| -rw-r--r-- | app/i18n/zh-CN/admin.php (renamed from app/i18n/zh-cn/admin.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-CN/api.php (renamed from app/i18n/zh-cn/api.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-CN/conf.php (renamed from app/i18n/zh-cn/conf.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-CN/feedback.php (renamed from app/i18n/zh-cn/feedback.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-CN/gen.php (renamed from app/i18n/zh-cn/gen.php) | 10 | ||||
| -rw-r--r-- | app/i18n/zh-CN/index.php (renamed from app/i18n/zh-cn/index.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-CN/install.php (renamed from app/i18n/zh-cn/install.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-CN/sub.php (renamed from app/i18n/zh-cn/sub.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-CN/user.php (renamed from app/i18n/zh-cn/user.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/admin.php (renamed from app/i18n/zh-tw/admin.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/api.php (renamed from app/i18n/zh-tw/api.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/conf.php (renamed from app/i18n/zh-tw/conf.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/feedback.php (renamed from app/i18n/zh-tw/feedback.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/gen.php (renamed from app/i18n/zh-tw/gen.php) | 10 | ||||
| -rw-r--r-- | app/i18n/zh-TW/index.php (renamed from app/i18n/zh-tw/index.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/install.php (renamed from app/i18n/zh-tw/install.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/sub.php (renamed from app/i18n/zh-tw/sub.php) | 0 | ||||
| -rw-r--r-- | app/i18n/zh-TW/user.php (renamed from app/i18n/zh-tw/user.php) | 0 | ||||
| -rwxr-xr-x | cli/check.translation.php | 10 | ||||
| -rw-r--r-- | docs/en/users/05_Configuration.md | 14 | ||||
| -rw-r--r-- | docs/fr/users/05_Configuration.md | 15 |
74 files changed, 179 insertions, 167 deletions
diff --git a/.typos.toml b/.typos.toml index b650ed722..6d5f5db86 100644 --- a/.typos.toml +++ b/.typos.toml @@ -32,13 +32,14 @@ extend-exclude = [ "app/i18n/nl/", "app/i18n/oc/", "app/i18n/pl/", - "app/i18n/pt-br/", - "app/i18n/pt-pt/", + "app/i18n/pt-BR/", + "app/i18n/pt-PT/", "app/i18n/ru/", "app/i18n/sk/", "app/i18n/tr/", - "app/i18n/zh-cn/", - "app/i18n/zh-tw/", + "app/i18n/uk/", + "app/i18n/zh-CN/", + "app/i18n/zh-TW/", "bin/", "composer.lock", "data/", diff --git a/README.fr.md b/README.fr.md index 84cc14285..c3a132d88 100644 --- a/README.fr.md +++ b/README.fr.md @@ -230,7 +230,7 @@ Voir le [dépôt dédié à ces extensions](https://github.com/FreshRSS/Extensio | Deutsch (de) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fde+%2F%28TODO%7CDIRTY%29%24%2F) | | Ελληνικά (el) | ■■・・・・・・・・ 22% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fel+%2F%28TODO%7CDIRTY%29%24%2F) | | English (en) | ■■■■■■■■■■ 100% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fen+%2F%28TODO%7CDIRTY%29%24%2F) | -| English (United States) (en-US) | ■■■■■■■■■■ 100% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fen-us+%2F%28TODO%7CDIRTY%29%24%2F) | +| English (United States) (en-US) | ■■■■■■■■■■ 100% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fen-US+%2F%28TODO%7CDIRTY%29%24%2F) | | Español (es) | ■■■■■■■■■・ 91% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fes+%2F%28TODO%7CDIRTY%29%24%2F) | | فارسی (fa) | ■■■■■■■■■・ 97% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ffa+%2F%28TODO%7CDIRTY%29%24%2F) | | Suomi (fi) | ■■■■■■■■■・ 92% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ffi+%2F%28TODO%7CDIRTY%29%24%2F) | @@ -245,14 +245,14 @@ Voir le [dépôt dédié à ces extensions](https://github.com/FreshRSS/Extensio | Nederlands (nl) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fnl+%2F%28TODO%7CDIRTY%29%24%2F) | | Occitan (oc) | ■■■■■■■■・・ 81% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Foc+%2F%28TODO%7CDIRTY%29%24%2F) | | Polski (pl) | ■■■■■■■■■■ 100% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpl+%2F%28TODO%7CDIRTY%29%24%2F) | -| Português (Brasil) (pt-BR) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-br+%2F%28TODO%7CDIRTY%29%24%2F) | -| Português (Portugal) (pt-PT) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-pt+%2F%28TODO%7CDIRTY%29%24%2F) | +| Português (Brasil) (pt-BR) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-BR+%2F%28TODO%7CDIRTY%29%24%2F) | +| Português (Portugal) (pt-PT) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-PT+%2F%28TODO%7CDIRTY%29%24%2F) | | Русский (ru) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fru+%2F%28TODO%7CDIRTY%29%24%2F) | | Slovenčina (sk) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fsk+%2F%28TODO%7CDIRTY%29%24%2F) | | Türkçe (tr) | ■■■■■■■■■・ 96% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ftr+%2F%28TODO%7CDIRTY%29%24%2F) | | Українська (uk) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%24%2F) | -| 简体中文 (zh-CN) | ■■■■■■■■■・ 90% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-cn+%2F%28TODO%7CDIRTY%29%24%2F) | -| 正體中文 (zh-TW) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-tw+%2F%28TODO%7CDIRTY%29%24%2F) | +| 简体中文 (zh-CN) | ■■■■■■■■■・ 90% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%24%2F) | +| 正體中文 (zh-TW) | ■■■■■■■■・・ 88% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%24%2F) | </translations> @@ -128,7 +128,7 @@ See the [repository dedicated to those extensions](https://github.com/FreshRSS/E | Deutsch (de) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fde+%2F%28TODO%7CDIRTY%29%24%2F) | | Ελληνικά (el) | ■■・・・・・・・・ 22% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fel+%2F%28TODO%7CDIRTY%29%24%2F) | | English (en) | ■■■■■■■■■■ 100% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fen+%2F%28TODO%7CDIRTY%29%24%2F) | -| English (United States) (en-US) | ■■■■■■■■■■ 100% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fen-us+%2F%28TODO%7CDIRTY%29%24%2F) | +| English (United States) (en-US) | ■■■■■■■■■■ 100% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fen-US+%2F%28TODO%7CDIRTY%29%24%2F) | | Español (es) | ■■■■■■■■■・ 91% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fes+%2F%28TODO%7CDIRTY%29%24%2F) | | فارسی (fa) | ■■■■■■■■■・ 97% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ffa+%2F%28TODO%7CDIRTY%29%24%2F) | | Suomi (fi) | ■■■■■■■■■・ 92% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ffi+%2F%28TODO%7CDIRTY%29%24%2F) | @@ -143,14 +143,14 @@ See the [repository dedicated to those extensions](https://github.com/FreshRSS/E | Nederlands (nl) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fnl+%2F%28TODO%7CDIRTY%29%24%2F) | | Occitan (oc) | ■■■■■■■■・・ 81% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Foc+%2F%28TODO%7CDIRTY%29%24%2F) | | Polski (pl) | ■■■■■■■■■■ 100% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpl+%2F%28TODO%7CDIRTY%29%24%2F) | -| Português (Brasil) (pt-BR) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-br+%2F%28TODO%7CDIRTY%29%24%2F) | -| Português (Portugal) (pt-PT) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-pt+%2F%28TODO%7CDIRTY%29%24%2F) | +| Português (Brasil) (pt-BR) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-BR+%2F%28TODO%7CDIRTY%29%24%2F) | +| Português (Portugal) (pt-PT) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fpt-PT+%2F%28TODO%7CDIRTY%29%24%2F) | | Русский (ru) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fru+%2F%28TODO%7CDIRTY%29%24%2F) | | Slovenčina (sk) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fsk+%2F%28TODO%7CDIRTY%29%24%2F) | | Türkçe (tr) | ■■■■■■■■■・ 96% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ftr+%2F%28TODO%7CDIRTY%29%24%2F) | | Українська (uk) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%24%2F) | -| 简体中文 (zh-CN) | ■■■■■■■■■・ 90% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-cn+%2F%28TODO%7CDIRTY%29%24%2F) | -| 正體中文 (zh-TW) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-tw+%2F%28TODO%7CDIRTY%29%24%2F) | +| 简体中文 (zh-CN) | ■■■■■■■■■・ 90% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%24%2F) | +| 正體中文 (zh-TW) | ■■■■■■■■・・ 88% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%24%2F) | </translations> diff --git a/app/Models/Context.php b/app/Models/Context.php index 1dccff6f6..d6942fbcd 100644 --- a/app/Models/Context.php +++ b/app/Models/Context.php @@ -160,6 +160,12 @@ final class FreshRSS_Context { FreshRSS_Context::$user_conf->shortcuts = $shortcuts; FreshRSS_Context::$user_conf->save(); } + + FreshRSS_Context::$user_conf->language = preg_replace_callback( + '/-(\\w{2})$/', + static fn (array $matches): string => strtoupper($matches[0]), + FreshRSS_Context::$user_conf->language ?? Minz_Translate::DEFAULT_LANGUAGE + ) ?? Minz_Translate::DEFAULT_LANGUAGE; } /** diff --git a/app/i18n/cs/gen.php b/app/i18n/cs/gen.php index c615008e4..fe68fd80d 100644 --- a/app/i18n/cs/gen.php +++ b/app/i18n/cs/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'O aplikaci', diff --git a/app/i18n/de/gen.php b/app/i18n/de/gen.php index ea41d7b10..3170b7bde 100644 --- a/app/i18n/de/gen.php +++ b/app/i18n/de/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Info', diff --git a/app/i18n/el/gen.php b/app/i18n/el/gen.php index 35245ce7a..9719e6a4f 100644 --- a/app/i18n/el/gen.php +++ b/app/i18n/el/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'About', // TODO diff --git a/app/i18n/en-us/admin.php b/app/i18n/en-US/admin.php index 199edfe65..199edfe65 100644 --- a/app/i18n/en-us/admin.php +++ b/app/i18n/en-US/admin.php diff --git a/app/i18n/en-us/api.php b/app/i18n/en-US/api.php index 3e1ba55ed..3e1ba55ed 100644 --- a/app/i18n/en-us/api.php +++ b/app/i18n/en-US/api.php diff --git a/app/i18n/en-us/conf.php b/app/i18n/en-US/conf.php index d64e93ca1..d64e93ca1 100644 --- a/app/i18n/en-us/conf.php +++ b/app/i18n/en-US/conf.php diff --git a/app/i18n/en-us/feedback.php b/app/i18n/en-US/feedback.php index 6da240f4f..6da240f4f 100644 --- a/app/i18n/en-us/feedback.php +++ b/app/i18n/en-US/feedback.php diff --git a/app/i18n/en-us/gen.php b/app/i18n/en-US/gen.php index e4fb41e0d..ce4c8a6fc 100644 --- a/app/i18n/en-us/gen.php +++ b/app/i18n/en-US/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'About', // IGNORE diff --git a/app/i18n/en-us/index.php b/app/i18n/en-US/index.php index 7a019bce0..7a019bce0 100644 --- a/app/i18n/en-us/index.php +++ b/app/i18n/en-US/index.php diff --git a/app/i18n/en-us/install.php b/app/i18n/en-US/install.php index a25ce674a..a25ce674a 100644 --- a/app/i18n/en-us/install.php +++ b/app/i18n/en-US/install.php diff --git a/app/i18n/en-us/sub.php b/app/i18n/en-US/sub.php index b3c4042ee..b3c4042ee 100644 --- a/app/i18n/en-us/sub.php +++ b/app/i18n/en-US/sub.php diff --git a/app/i18n/en-us/user.php b/app/i18n/en-US/user.php index abae569f8..abae569f8 100644 --- a/app/i18n/en-us/user.php +++ b/app/i18n/en-US/user.php diff --git a/app/i18n/en/gen.php b/app/i18n/en/gen.php index 42beb0a03..68e096416 100644 --- a/app/i18n/en/gen.php +++ b/app/i18n/en/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', 'el' => 'Ελληνικά', 'en' => 'English', - 'en-us' => 'English (United States)', + 'en-US' => 'English (United States)', 'es' => 'Español', 'fa' => 'فارسی', 'fi' => 'Suomi', @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', 'oc' => 'Occitan', 'pl' => 'Polski', - 'pt-br' => 'Português (Brasil)', - 'pt-pt' => 'Português (Portugal)', + 'pt-BR' => 'Português (Brasil)', + 'pt-PT' => 'Português (Portugal)', 'ru' => 'Русский', 'sk' => 'Slovenčina', 'tr' => 'Türkçe', 'uk' => 'Українська', - 'zh-cn' => '简体中文', - 'zh-tw' => '正體中文', + 'zh-CN' => '简体中文', + 'zh-TW' => '正體中文', ), 'menu' => array( 'about' => 'About', diff --git a/app/i18n/es/gen.php b/app/i18n/es/gen.php index d16f2f07c..bd320df0a 100644 --- a/app/i18n/es/gen.php +++ b/app/i18n/es/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Acerca de', diff --git a/app/i18n/fa/gen.php b/app/i18n/fa/gen.php index 65ae9645a..34f05a62d 100644 --- a/app/i18n/fa/gen.php +++ b/app/i18n/fa/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE - 'uk' => 'Українська', // TODO - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'uk' => 'Українська', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => ' در مورد', diff --git a/app/i18n/fi/gen.php b/app/i18n/fi/gen.php index eb1babb2d..ad48083f3 100644 --- a/app/i18n/fi/gen.php +++ b/app/i18n/fi/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Tietoja', diff --git a/app/i18n/fr/gen.php b/app/i18n/fr/gen.php index 46dda0d5c..60df9d64a 100644 --- a/app/i18n/fr/gen.php +++ b/app/i18n/fr/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'À propos', diff --git a/app/i18n/he/gen.php b/app/i18n/he/gen.php index 0da616b8e..68b2cbaf8 100644 --- a/app/i18n/he/gen.php +++ b/app/i18n/he/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'אודות', diff --git a/app/i18n/hu/gen.php b/app/i18n/hu/gen.php index 117a8e333..c0cc355da 100644 --- a/app/i18n/hu/gen.php +++ b/app/i18n/hu/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Névjegy', diff --git a/app/i18n/id/gen.php b/app/i18n/id/gen.php index 19035c401..a8f63a93d 100644 --- a/app/i18n/id/gen.php +++ b/app/i18n/id/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Tentang', diff --git a/app/i18n/it/gen.php b/app/i18n/it/gen.php index b68a6cf3c..b4c6e7e45 100644 --- a/app/i18n/it/gen.php +++ b/app/i18n/it/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Informazioni', diff --git a/app/i18n/ja/gen.php b/app/i18n/ja/gen.php index d0a44b615..5d67cb97a 100644 --- a/app/i18n/ja/gen.php +++ b/app/i18n/ja/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'FreshRSSについて', diff --git a/app/i18n/ko/gen.php b/app/i18n/ko/gen.php index 683d7f1b2..66a29d19d 100644 --- a/app/i18n/ko/gen.php +++ b/app/i18n/ko/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => '정보', diff --git a/app/i18n/lv/gen.php b/app/i18n/lv/gen.php index 2752eaf47..7d3ae82bb 100644 --- a/app/i18n/lv/gen.php +++ b/app/i18n/lv/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Par', diff --git a/app/i18n/nl/gen.php b/app/i18n/nl/gen.php index 191cbed94..c5cc37474 100644 --- a/app/i18n/nl/gen.php +++ b/app/i18n/nl/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Over', diff --git a/app/i18n/oc/gen.php b/app/i18n/oc/gen.php index abe430a0a..aeb7714fc 100644 --- a/app/i18n/oc/gen.php +++ b/app/i18n/oc/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'A prepaus', diff --git a/app/i18n/pl/gen.php b/app/i18n/pl/gen.php index a35987c02..e5c864469 100644 --- a/app/i18n/pl/gen.php +++ b/app/i18n/pl/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'O serwisie', diff --git a/app/i18n/pt-br/admin.php b/app/i18n/pt-BR/admin.php index 6e2a53ae8..6e2a53ae8 100644 --- a/app/i18n/pt-br/admin.php +++ b/app/i18n/pt-BR/admin.php diff --git a/app/i18n/pt-br/api.php b/app/i18n/pt-BR/api.php index 0021dfa98..0021dfa98 100644 --- a/app/i18n/pt-br/api.php +++ b/app/i18n/pt-BR/api.php diff --git a/app/i18n/pt-br/conf.php b/app/i18n/pt-BR/conf.php index 9f2daba08..9f2daba08 100644 --- a/app/i18n/pt-br/conf.php +++ b/app/i18n/pt-BR/conf.php diff --git a/app/i18n/pt-br/feedback.php b/app/i18n/pt-BR/feedback.php index 9ec1ffb35..9ec1ffb35 100644 --- a/app/i18n/pt-br/feedback.php +++ b/app/i18n/pt-BR/feedback.php diff --git a/app/i18n/pt-br/gen.php b/app/i18n/pt-BR/gen.php index b2d263554..598364066 100644 --- a/app/i18n/pt-br/gen.php +++ b/app/i18n/pt-BR/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Sobre', diff --git a/app/i18n/pt-br/index.php b/app/i18n/pt-BR/index.php index 9a52c27cd..9a52c27cd 100644 --- a/app/i18n/pt-br/index.php +++ b/app/i18n/pt-BR/index.php diff --git a/app/i18n/pt-br/install.php b/app/i18n/pt-BR/install.php index 6fd6344a3..6fd6344a3 100644 --- a/app/i18n/pt-br/install.php +++ b/app/i18n/pt-BR/install.php diff --git a/app/i18n/pt-br/sub.php b/app/i18n/pt-BR/sub.php index 829b21660..829b21660 100644 --- a/app/i18n/pt-br/sub.php +++ b/app/i18n/pt-BR/sub.php diff --git a/app/i18n/pt-br/user.php b/app/i18n/pt-BR/user.php index e1655313c..e1655313c 100644 --- a/app/i18n/pt-br/user.php +++ b/app/i18n/pt-BR/user.php diff --git a/app/i18n/pt-pt/admin.php b/app/i18n/pt-PT/admin.php index 1076ef573..1076ef573 100644 --- a/app/i18n/pt-pt/admin.php +++ b/app/i18n/pt-PT/admin.php diff --git a/app/i18n/pt-pt/api.php b/app/i18n/pt-PT/api.php index 0021dfa98..0021dfa98 100644 --- a/app/i18n/pt-pt/api.php +++ b/app/i18n/pt-PT/api.php diff --git a/app/i18n/pt-pt/conf.php b/app/i18n/pt-PT/conf.php index 5977c0b97..5977c0b97 100644 --- a/app/i18n/pt-pt/conf.php +++ b/app/i18n/pt-PT/conf.php diff --git a/app/i18n/pt-pt/feedback.php b/app/i18n/pt-PT/feedback.php index 28a27eea1..28a27eea1 100644 --- a/app/i18n/pt-pt/feedback.php +++ b/app/i18n/pt-PT/feedback.php diff --git a/app/i18n/pt-pt/gen.php b/app/i18n/pt-PT/gen.php index 705789dc5..4cc34a15e 100644 --- a/app/i18n/pt-pt/gen.php +++ b/app/i18n/pt-PT/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Sobre', diff --git a/app/i18n/pt-pt/index.php b/app/i18n/pt-PT/index.php index 14a9acacc..14a9acacc 100644 --- a/app/i18n/pt-pt/index.php +++ b/app/i18n/pt-PT/index.php diff --git a/app/i18n/pt-pt/install.php b/app/i18n/pt-PT/install.php index 0906c011d..0906c011d 100644 --- a/app/i18n/pt-pt/install.php +++ b/app/i18n/pt-PT/install.php diff --git a/app/i18n/pt-pt/sub.php b/app/i18n/pt-PT/sub.php index dcedaeee8..dcedaeee8 100644 --- a/app/i18n/pt-pt/sub.php +++ b/app/i18n/pt-PT/sub.php diff --git a/app/i18n/pt-pt/user.php b/app/i18n/pt-PT/user.php index 3f738b9fa..3f738b9fa 100644 --- a/app/i18n/pt-pt/user.php +++ b/app/i18n/pt-PT/user.php diff --git a/app/i18n/ru/gen.php b/app/i18n/ru/gen.php index 9a9459b19..399f0b8ac 100644 --- a/app/i18n/ru/gen.php +++ b/app/i18n/ru/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'О проекте', diff --git a/app/i18n/sk/gen.php b/app/i18n/sk/gen.php index 3e907404f..a240ec81d 100644 --- a/app/i18n/sk/gen.php +++ b/app/i18n/sk/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'O FreshRSS', diff --git a/app/i18n/tr/gen.php b/app/i18n/tr/gen.php index 3b96ebd54..9dfa52a81 100644 --- a/app/i18n/tr/gen.php +++ b/app/i18n/tr/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Hakkında', diff --git a/app/i18n/uk/gen.php b/app/i18n/uk/gen.php index fd7eeca35..32466778c 100644 --- a/app/i18n/uk/gen.php +++ b/app/i18n/uk/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => 'Про програму', diff --git a/app/i18n/zh-cn/admin.php b/app/i18n/zh-CN/admin.php index 8bf7d5fed..8bf7d5fed 100644 --- a/app/i18n/zh-cn/admin.php +++ b/app/i18n/zh-CN/admin.php diff --git a/app/i18n/zh-cn/api.php b/app/i18n/zh-CN/api.php index 0021dfa98..0021dfa98 100644 --- a/app/i18n/zh-cn/api.php +++ b/app/i18n/zh-CN/api.php diff --git a/app/i18n/zh-cn/conf.php b/app/i18n/zh-CN/conf.php index 1ee9bf404..1ee9bf404 100644 --- a/app/i18n/zh-cn/conf.php +++ b/app/i18n/zh-CN/conf.php diff --git a/app/i18n/zh-cn/feedback.php b/app/i18n/zh-CN/feedback.php index 3aa767f95..3aa767f95 100644 --- a/app/i18n/zh-cn/feedback.php +++ b/app/i18n/zh-CN/feedback.php diff --git a/app/i18n/zh-cn/gen.php b/app/i18n/zh-CN/gen.php index 71fdc1416..032bfb682 100644 --- a/app/i18n/zh-cn/gen.php +++ b/app/i18n/zh-CN/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '简体中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => '关于', diff --git a/app/i18n/zh-cn/index.php b/app/i18n/zh-CN/index.php index 33c9998b0..33c9998b0 100644 --- a/app/i18n/zh-cn/index.php +++ b/app/i18n/zh-CN/index.php diff --git a/app/i18n/zh-cn/install.php b/app/i18n/zh-CN/install.php index f4c9480e9..f4c9480e9 100644 --- a/app/i18n/zh-cn/install.php +++ b/app/i18n/zh-CN/install.php diff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-CN/sub.php index 4769893d5..4769893d5 100644 --- a/app/i18n/zh-cn/sub.php +++ b/app/i18n/zh-CN/sub.php diff --git a/app/i18n/zh-cn/user.php b/app/i18n/zh-CN/user.php index 1684623d9..1684623d9 100644 --- a/app/i18n/zh-cn/user.php +++ b/app/i18n/zh-CN/user.php diff --git a/app/i18n/zh-tw/admin.php b/app/i18n/zh-TW/admin.php index e19660e39..e19660e39 100644 --- a/app/i18n/zh-tw/admin.php +++ b/app/i18n/zh-TW/admin.php diff --git a/app/i18n/zh-tw/api.php b/app/i18n/zh-TW/api.php index 0021dfa98..0021dfa98 100644 --- a/app/i18n/zh-tw/api.php +++ b/app/i18n/zh-TW/api.php diff --git a/app/i18n/zh-tw/conf.php b/app/i18n/zh-TW/conf.php index ac83b7c1f..ac83b7c1f 100644 --- a/app/i18n/zh-tw/conf.php +++ b/app/i18n/zh-TW/conf.php diff --git a/app/i18n/zh-tw/feedback.php b/app/i18n/zh-TW/feedback.php index 4bdf243a4..4bdf243a4 100644 --- a/app/i18n/zh-tw/feedback.php +++ b/app/i18n/zh-TW/feedback.php diff --git a/app/i18n/zh-tw/gen.php b/app/i18n/zh-TW/gen.php index 24442f281..d7216765a 100644 --- a/app/i18n/zh-tw/gen.php +++ b/app/i18n/zh-TW/gen.php @@ -161,7 +161,7 @@ return array( 'de' => 'Deutsch', // IGNORE 'el' => 'Ελληνικά', // IGNORE 'en' => 'English', // IGNORE - 'en-us' => 'English (United States)', // IGNORE + 'en-US' => 'English (United States)', // IGNORE 'es' => 'Español', // IGNORE 'fa' => 'فارسی', // IGNORE 'fi' => 'Suomi', // IGNORE @@ -176,14 +176,14 @@ return array( 'nl' => 'Nederlands', // IGNORE 'oc' => 'Occitan', // IGNORE 'pl' => 'Polski', // IGNORE - 'pt-br' => 'Português (Brasil)', // IGNORE - 'pt-pt' => 'Português (Portugal)', // IGNORE + 'pt-BR' => 'Português (Brasil)', // IGNORE + 'pt-PT' => 'Português (Portugal)', // IGNORE 'ru' => 'Русский', // IGNORE 'sk' => 'Slovenčina', // IGNORE 'tr' => 'Türkçe', // IGNORE 'uk' => 'Українська', // IGNORE - 'zh-cn' => '簡體中文', // IGNORE - 'zh-tw' => '正體中文', // IGNORE + 'zh-CN' => '简体中文', // IGNORE + 'zh-TW' => '正體中文', // IGNORE ), 'menu' => array( 'about' => '關於', diff --git a/app/i18n/zh-tw/index.php b/app/i18n/zh-TW/index.php index 4fcae7478..4fcae7478 100644 --- a/app/i18n/zh-tw/index.php +++ b/app/i18n/zh-TW/index.php diff --git a/app/i18n/zh-tw/install.php b/app/i18n/zh-TW/install.php index 85efc75b2..85efc75b2 100644 --- a/app/i18n/zh-tw/install.php +++ b/app/i18n/zh-TW/install.php diff --git a/app/i18n/zh-tw/sub.php b/app/i18n/zh-TW/sub.php index 836de4795..836de4795 100644 --- a/app/i18n/zh-tw/sub.php +++ b/app/i18n/zh-TW/sub.php diff --git a/app/i18n/zh-tw/user.php b/app/i18n/zh-TW/user.php index 1ef0f5a12..1ef0f5a12 100644 --- a/app/i18n/zh-tw/user.php +++ b/app/i18n/zh-TW/user.php diff --git a/cli/check.translation.php b/cli/check.translation.php index 5c0873099..dbb5d0fe4 100755 --- a/cli/check.translation.php +++ b/cli/check.translation.php @@ -124,16 +124,8 @@ if ($cliOptions->generateReadme) { $ghSearchUrl = 'https://github.com/search?q=' . urlencode("repo:FreshRSS/FreshRSS path:app/i18n/$lang /(TODO|DIRTY)$/"); - // BCP 47 / ISO 3166: Uppercase the last (region) subtag if any (e.g. pt-pt -> pt-PT) - $bcp47 = $lang; - if (str_contains($bcp47, '-')) { - $parts = explode('-', $bcp47); - $parts[count($parts) - 1] = strtoupper($parts[count($parts) - 1]); - $bcp47 = implode('-', $parts); - } - $markdownTable .= '| ' . implode(' | ', [ - _t('gen.lang.' . $lang) . " ($bcp47)", + _t('gen.lang.' . $lang) . " ($lang)", $progressBar . ' ' . $percentageInt . '%', "[__contribute__]($ghSearchUrl)", ]) . " |\n"; diff --git a/docs/en/users/05_Configuration.md b/docs/en/users/05_Configuration.md index 499e770d0..65eef7dfd 100644 --- a/docs/en/users/05_Configuration.md +++ b/docs/en/users/05_Configuration.md @@ -19,8 +19,10 @@ Available languages are: | German | Deutsch | de | | Greek | Ελληνικά | el | | English | English | en | -| English (United States) | English (United States) | en-us | +| English (United States) | English (United States) | en-US | | Spanish | Español | es | +| Farsi | فارسی | fa | +| Finnish | Suomi | fi | | French | Français | fr | | Hebrew | עברית | he | | Hungarian | Magyar | hu | @@ -32,12 +34,16 @@ Available languages are: | Dutch | Nederlands | nl | | Occitan | Occitan | oc | | Polish | Polski | pl | -| Brazilian Portuguese | Português (Brasil) | pt-br | +| Brazilian Portuguese | Português (Brasil) | pt-BR | +| Portuguese | Português (Portugal) | pt-PT | | Russian | Русский | ru | | Slovak | Slovenčina | sk | | Turkish | Türkçe | tr | -| Chinese (Simplified, People’s Republic of China) | 简体中文 | zh-cn | -| Chinese (Traditional, Taiwan) | 正體中文 | zh-tw | +| Ukrainian | Українська | uk | +| Chinese (Simplified, People’s Republic of China) | 简体中文 | zh-CN | +| Chinese (Traditional, Taiwan) | 正體中文 | zh-TW | + +**Note** for regional languages, we are following the recommendations of _ISO-639-1_ and _ISO-3166-1 alpha-2_. ### Theme diff --git a/docs/fr/users/05_Configuration.md b/docs/fr/users/05_Configuration.md index 8e0174fa4..8e25fec7d 100644 --- a/docs/fr/users/05_Configuration.md +++ b/docs/fr/users/05_Configuration.md @@ -25,10 +25,13 @@ Les langues disponibles sont: | Allemand | Deutsch | de | | Grec | Ελληνικά | el | | Anglais | English | en | -| Anglais (États-Unis) | English (United States) | en-us | +| Anglais (États-Unis) | English (United States) | en-US | | Espagnol | Español | es | +| Farsi | فارسی | fa | +| Finnois | Suomi | fi | | Français | Français | fr | | Hébreu | עברית | he | +| Hongrois | Magyar | hu | | Indonésien | Bahasa Indonesia | id | | Italien | Italiano | it | | Japonais | 日本語 | ja | @@ -37,12 +40,16 @@ Les langues disponibles sont: | Néerlandais | Nederlands | nl | | Occitan | Occitan | oc | | Polonais | Polski | pl | -| Portugais brésilien | Português (Brasil) | pt-br | +| Portugais brésilien | Português (Brasil) | pt-BR | +| Portugais | Português (Portugal) | pt-PT | | Russe | Русский | ru | | Slovaque | Slovenčina | sk | | Turc | Türkçe | tr | -| Chinois (simplifié, République populaire de Chine) | 简体中文 | zh-cn | -| Chinois (traditionnel, Taïwan) | 正體中文 | zh-tw | +| Ukrainien | Українська | uk | +| Chinois (simplifié, République populaire de Chine) | 简体中文 | zh-CN | +| Chinois (traditionnel, Taïwan) | 正體中文 | zh-TW | + +**Note** pour les langues régionales, nous suivons les recommandations de _ISO-639-1_ et _ISO-3166-1 alpha-2_. ### Thème |
