mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
i18n 修复
Makefile 添加 run-nogpio run-build 便于测试和构建发布 对于 docker 环境的适配
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<tr>
|
||||
<td i18n="password">Password: </td>
|
||||
<td>
|
||||
<input type="current-password" id="passwd-input" autocapitalize="off">
|
||||
<input type="password" id="passwd-input" autocapitalize="off">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -78,8 +78,8 @@
|
||||
<td i18n="select_language">Select language: </td>
|
||||
<td>
|
||||
<select id="selectLanguage">
|
||||
<option class="chinese" value="ch" selected="selected" i18n="chinese">Simplified Chinese</option>
|
||||
<option class="english" value="en" i18n="english">English</option>
|
||||
<option id="zh" selected="selected" i18n="chinese">Simplified Chinese</option>
|
||||
<option id="en" i18n="english">English</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -55,7 +55,7 @@ $(document).ready(function() {
|
||||
defaultLang: selectOptionId,
|
||||
filePath: "/share/i18n/"
|
||||
});
|
||||
setCookie('userLanguage', "cn")
|
||||
setCookie('userLanguage', selectOptionId)
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user