diff options
| author | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-20 17:50:54 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-20 17:50:54 +0300 |
| commit | 91360a3f49895d80d34183a0421f2dcc5d64b18e (patch) | |
| tree | d3f2305ff43ee0fc84322e0e9d93b7d3c644e136 /web/html/xui/settings.html | |
| parent | 4831c2f1b2c73c1e40f23a61e728530b7cf4afe9 (diff) | |
add tgLang to settings
Diffstat (limited to 'web/html/xui/settings.html')
| -rw-r--r-- | web/html/xui/settings.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 7dd503a6..f5ea4994 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -338,6 +338,29 @@ <setting-list-item type="text" title='{{ i18n "pages.settings.telegramNotifyTime"}}' desc='{{ i18n "pages.settings.telegramNotifyTimeDesc"}}' v-model="allSetting.tgRunTime"></setting-list-item> <setting-list-item type="switch" title='{{ i18n "pages.settings.tgNotifyBackup" }}' desc='{{ i18n "pages.settings.tgNotifyBackupDesc" }}' v-model="allSetting.tgBotBackup"></setting-list-item> <setting-list-item type="number" title='{{ i18n "pages.settings.tgNotifyCpu" }}' desc='{{ i18n "pages.settings.tgNotifyCpuDesc" }}' v-model="allSetting.tgCpu" :min="0" :max="100"></setting-list-item> + <a-list-item> + <a-row style="padding: 20px"> + <a-col :lg="24" :xl="12"> + <a-list-item-meta title="Telegram Bot Language" /> + </a-col> + + <a-col :lg="24" :xl="12"> + <template> + <a-select + ref="selectBotLang" + v-model="allSetting.tgLang" + :dropdown-class-name="themeSwitcher.darkCardClass" + style="width: 100%" + > + <a-select-option :value="l.value" :label="l.value" v-for="l in supportLangs"> + <span role="img" aria-label="l.name" v-text="l.icon"></span> + <span v-text="l.name"></span> + </a-select-option> + </a-select> + </template> + </a-col> + </a-row> + </a-list-item> </a-list> </a-tab-pane> </a-tabs> |
