mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-14 14:50:50 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user