diff options
author | Frudrax Cheng <i@cynosura.one> | 2024-10-08 00:20:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 11:20:06 -0500 |
commit | d28186ac627b5a947d12a8f935d1a1304a72b275 (patch) | |
tree | 481c15d6581c516ce984566906bb6f220e2afbfa /src/locale/helpers.ts | |
parent | ff70b8ff614fa7d4098f34fd4b020049e148376d (diff) | |
download | voidsky-d28186ac627b5a947d12a8f935d1a1304a72b275.tar.zst |
Add Cantonese Localization (#5479)
* Add zh-HK localization * Update dates.ts * HK: Update Translates * HK: Fix typo * HK: Fix wrong language code * HK: Update Translates * HK: Update Translates * rename 'Chinese (Hong Kong)' to 'Cantonese' * HK: Update Translates * Update languages.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * HK: Update Translates by reviewers --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r-- | src/locale/helpers.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts index a7517eae9..af82de0b9 100644 --- a/src/locale/helpers.ts +++ b/src/locale/helpers.ts @@ -151,6 +151,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage { return AppLanguage.uk case 'zh-CN': return AppLanguage.zh_CN + case 'zh-HK': + return AppLanguage.zh_HK case 'zh-TW': return AppLanguage.zh_TW default: |