about summary refs log tree commit diff
path: root/src/locale/i18n.web.ts
diff options
context:
space:
mode:
authorFrudrax Cheng <i@cynosura.one>2024-02-06 06:50:10 +0800
committerGitHub <noreply@github.com>2024-02-05 14:50:10 -0800
commita5cd1d377f00dc5e6c83657c02445e987d985f7f (patch)
tree1bba9eb4c445dffab36c22627cbc39367c561299 /src/locale/i18n.web.ts
parent0b37cf4ee7f113348a3845e20a0ef77617f51d93 (diff)
downloadvoidsky-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.ts4
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