From 1193adf0f540dba2fc6ae3d7be482616b4cb8be5 Mon Sep 17 00:00:00 2001 From: fa1seut0pia <178009183+fa1seut0pia@users.noreply.github.com> Date: Mon, 14 Oct 2024 09:23:20 +0800 Subject: [PATCH] fix(web): change the code zh-Hans to zh-CN (#13414) fix/(web) change the code zh-Hans to zh-CN --- web/src/lib/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/lib/constants.ts b/web/src/lib/constants.ts index b86e057ffd..c94b53239b 100644 --- a/web/src/lib/constants.ts +++ b/web/src/lib/constants.ts @@ -314,13 +314,13 @@ export const langs = [ { name: 'Vietnamese', code: 'vi', loader: () => import('$lib/i18n/vi.json') }, { name: 'Chinese (Traditional)', - code: 'zh-Hant', + code: 'zh-TW', weblateCode: 'zh_Hant', loader: () => import('$lib/i18n/zh_Hant.json'), }, { name: 'Chinese (Simplified)', - code: 'zh-Hans', + code: 'zh-CN', weblateCode: 'zh_SIMPLIFIED', loader: () => import('$lib/i18n/zh_SIMPLIFIED.json'), },