Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/login.html')
-rw-r--r--web/html/login.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/login.html b/web/html/login.html
index 717adc56..82c9afd5 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -449,9 +449,9 @@
<a-row justify="center" class="centered">
<a-col :span="24">
<a-select ref="selectLang" v-model="lang"
- @change="setLang(lang)" style="width: 200px;"
+ @change="LanguageManager.setLanguage(lang)" style="width: 200px;"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="l.value" label="English" v-for="l in supportLangs">
+ <a-select-option :value="l.value" label="English" v-for="l in LanguageManager.supportedLanguages">
<span role="img" aria-label="l.name" v-text="l.icon"></span>
&nbsp;&nbsp;<span v-text="l.name"></span>
</a-select-option>
@@ -493,7 +493,7 @@
lang: ""
},
async created() {
- this.lang = getLang();
+ this.lang = LanguageManager.getLanguage();
this.secretEnable = await this.getSecretStatus();
},
methods: {