diff options
author | Frudrax Cheng <i@cynosura.one> | 2025-01-01 03:34:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-31 11:34:48 -0800 |
commit | cf1ccdf8e3ca235447756701eb88e2655c0cdf98 (patch) | |
tree | a6252e8bd8dcc092709807f86ea4fc0b3a07463c /src/locale/helpers.ts | |
parent | 444c4a944e87200f9f470f14a37f63a97c63425e (diff) | |
download | voidsky-cf1ccdf8e3ca235447756701eb88e2655c0cdf98.tar.zst |
Update Chinese & Cantonese localization (#7235)
* Update translates from crowdin * Convert language codes from RFC-1766 to RFC-4646 * Update translates from crowdin * Update deviceLocales.ts * Revert 'changes zh-HK to yue' * Fix zh-HK messages.po * Revert 'en/messages.po' * Update deviceLocales.ts * Revert code comments * Update translates from crowdin * zh-TW: Improved translations
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r-- | src/locale/helpers.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts index 9c57268fd..a0d36421a 100644 --- a/src/locale/helpers.ts +++ b/src/locale/helpers.ts @@ -173,11 +173,11 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage { return AppLanguage.uk case 'vi': return AppLanguage.vi - case 'zh-CN': + case 'zh-Hans-CN': return AppLanguage.zh_CN - case 'zh-HK': + case 'zh-Hant-HK': return AppLanguage.zh_HK - case 'zh-TW': + case 'zh-Hant-TW': return AppLanguage.zh_TW default: continue |