feat: 支持繁体中文和日语国际化

This commit is contained in:
digua
2026-03-11 22:07:59 +08:00
committed by digua
parent e7f2ee7db7
commit a633b4f326
62 changed files with 5470 additions and 79 deletions

View File

@@ -3,7 +3,7 @@
*/
export function isChineseLocale(locale?: string): boolean {
return locale === 'zh-CN'
return locale?.startsWith('zh') ?? false
}
export const i18nTexts = {