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/i18n.web.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/i18n.web.ts')
-rw-r--r-- | src/locale/i18n.web.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/locale/i18n.web.ts b/src/locale/i18n.web.ts index 5f5f8592e..f2ec0146e 100644 --- a/src/locale/i18n.web.ts +++ b/src/locale/i18n.web.ts @@ -76,6 +76,10 @@ export async function dynamicActivate(locale: AppLanguage) { mod = await import(`./locales/zh-CN/messages`) break } + case AppLanguage.zh_HK: { + mod = await import(`./locales/zh-HK/messages`) + break + } case AppLanguage.zh_TW: { mod = await import(`./locales/zh-TW/messages`) break |