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:
parent
66a81b897b
commit
892899d878
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue