fix: panel language not found

This commit is contained in:
Simon
2026-01-10 23:33:36 +08:00
parent bfa6a5347e
commit 09772d79bd

View File

@@ -12,7 +12,7 @@ export class I18n {
constructor(language: SupportedLanguage = 'en-US') {
this.language = language in locales ? language : 'en-US'
this.translations = locales[language]
this.translations = locales[this.language]
}
// 类型安全的翻译方法