chore(desktop): remove support for zh-HK language and update resources

- Removed "zh-HK" from the supported languages list in constants.ts.
- Updated resources.ts to eliminate references to the "zh-HK" locale, streamlining language support.
This commit is contained in:
Innei 2025-04-30 15:36:25 +08:00
parent 66a81b897b
commit 892899d878
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 2 additions and 5 deletions

View File

@ -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]

View File

@ -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,
},