diff --git a/apps/desktop/layer/main/src/@types/constants.ts b/apps/desktop/layer/main/src/@types/constants.ts index 853148c27..bc16836b9 100644 --- a/apps/desktop/layer/main/src/@types/constants.ts +++ b/apps/desktop/layer/main/src/@types/constants.ts @@ -1,4 +1,4 @@ -const langs = ["en", "zh-CN", "zh-HK", "zh-TW", "ja"] as const +const langs = ["en", "zh-CN", "zh-TW", "ja"] as const export const currentSupportedLanguages = [...langs].sort() as string[] export type MainSupportedLanguages = (typeof langs)[number] diff --git a/apps/desktop/layer/main/src/@types/resources.ts b/apps/desktop/layer/main/src/@types/resources.ts index 6bad90d50..ed1fc2925 100644 --- a/apps/desktop/layer/main/src/@types/resources.ts +++ b/apps/desktop/layer/main/src/@types/resources.ts @@ -1,7 +1,6 @@ import en from "@locales/native/en.json" import ja from "@locales/native/ja.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" import type { MainSupportedLanguages, ns } from "./constants" @@ -13,9 +12,7 @@ export const resources = { "zh-CN": { native: zhCn, }, - "zh-HK": { - native: zhHk, - }, + "zh-TW": { native: zhTw, },