i18n in UI

This commit is contained in:
nkanaev
2026-05-01 23:35:14 +01:00
parent 552ebb7ad5
commit 6069330e92
4 changed files with 93 additions and 69 deletions

View File

@@ -280,12 +280,11 @@
"en": "Password",
"zh": "密码"
},
"language": {
"en": "Language",
"zh": "语言"
}
};
class i18n {
constructor() {
this.lang = 'en'
}
setLang(lang) {
this.lang = lang
}