From 9cebf9887d020e57c87a3ec9d7b61b44e7eabd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E7=A9=BA=E7=9A=84=E7=9B=A1=E9=A0=AD?= <9551552+ghostendsky@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:45:32 +0800 Subject: [PATCH] feat(locales): add support for "zh_HK" and "zh_TW" context menu locales (#2850) * feat(locales): add support for zh_HK and zh_TW context menu locales * update --- apps/main/src/@types/resources.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/apps/main/src/@types/resources.ts b/apps/main/src/@types/resources.ts index dd0ac1daa..da9fb6022 100644 --- a/apps/main/src/@types/resources.ts +++ b/apps/main/src/@types/resources.ts @@ -1,13 +1,21 @@ import en from "@locales/native/en.json" import ja from "@locales/native/ja.json" -import zh from "@locales/native/zh-CN.json" +import zhCn from "@locales/native/zh-CN.json" +import zhHk from "@locales/native/zh-HK.json" +import zhTw from "@locales/native/zh-TW.json" export const resources = { en: { native: en, }, - zh: { - native: zh, + "zh-CN": { + native: zhCn, + }, + "zh-HK": { + native: zhHk, + }, + "zh-TW": { + native: zhTw, }, ja: { native: ja,