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/components/hooks/dates.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/components/hooks/dates.ts')
-rw-r--r-- | src/components/hooks/dates.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts index 06b2d685f..3da33a3ae 100644 --- a/src/components/hooks/dates.ts +++ b/src/components/hooks/dates.ts @@ -73,9 +73,9 @@ const locales: Record<AppLanguage, Locale | undefined> = { tr, uk, vi, - ['zh-CN']: zhCN, - ['zh-HK']: zhHK, - ['zh-TW']: zhTW, + ['zh-Hans-CN']: zhCN, + ['zh-Hant-HK']: zhHK, + ['zh-Hant-TW']: zhTW, } /** |