From d28186ac627b5a947d12a8f935d1a1304a72b275 Mon Sep 17 00:00:00 2001 From: Frudrax Cheng Date: Tue, 8 Oct 2024 00:20:06 +0800 Subject: 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> --- src/components/hooks/dates.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/hooks') 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 = { tr, uk, ['zh-CN']: zhCN, + ['zh-HK']: zhHK, ['zh-TW']: zhTW, } -- cgit 1.4.1