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/components/hooks/dates.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/components/hooks/dates.ts')
-rw-r--r-- | src/components/hooks/dates.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts index 00b70f762..8bfe0144e 100644 --- a/src/components/hooks/dates.ts +++ b/src/components/hooks/dates.ts @@ -25,6 +25,7 @@ import { tr, uk, zhCN, + zhHK, zhTW, } from 'date-fns/locale' @@ -52,6 +53,7 @@ const locales: Record<AppLanguage, Locale | undefined> = { tr, uk, ['zh-CN']: zhCN, + ['zh-HK']: zhHK, ['zh-TW']: zhTW, } |