diff options
author | Frudrax Cheng <i@cynosura.one> | 2024-02-06 06:50:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 14:50:10 -0800 |
commit | a5cd1d377f00dc5e6c83657c02445e987d985f7f (patch) | |
tree | 1bba9eb4c445dffab36c22627cbc39367c561299 /src/locale/i18n.web.ts | |
parent | 0b37cf4ee7f113348a3845e20a0ef77617f51d93 (diff) | |
download | voidsky-a5cd1d377f00dc5e6c83657c02445e987d985f7f.tar.zst |
Chinese localization (#2668)
* Chinese localization * fixed languages.ts typo * crosscheck with proofreading of translation * fixed messages.po string styles * a minor adjustment * Update Chinese localization * fixed a typo & modify the translation of handle * based on the latest messages.po translation * removed unused strings * based on the latest messages.po translation
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 10e0fc7eb..42cff16d9 100644 --- a/src/locale/i18n.web.ts +++ b/src/locale/i18n.web.ts @@ -52,6 +52,10 @@ export async function dynamicActivate(locale: AppLanguage) { mod = await import(`./locales/ca/messages`) break } + case AppLanguage.zh_CN: { + mod = await import(`./locales/zh-CN/messages`) + break + } default: { mod = await import(`./locales/en/messages`) break |