feat(i18n): add Traditional Chinese (zh-Hant) localization support

add Traditional Chinese translations for all application strings
include new language files for artist, history, donation, favorite, login, search, user, common, download, player, settings, comp components
update main i18n configuration to include zh-Hant language
add zh-Hant option to language switcher component
This commit is contained in:
dongguacute
2025-07-20 22:53:25 +08:00
parent 2f339b1373
commit 2cc03cb080
17 changed files with 851 additions and 2 deletions

View File

@@ -1,9 +1,11 @@
import enUS from './lang/en-US';
import zhCN from './lang/zh-CN';
import zhHant from './lang/zh-Hant';
const messages = {
'zh-CN': zhCN,
'en-US': enUS
'en-US': enUS,
'zh-Hant': zhHant
} as const;
type Language = keyof typeof messages;