mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-03 03:21:54 +08:00
feat: 完善 Web 界面国际化支持
- 将包含数字的无意义 i18n 键名替换为语义化名称 (如 kvm_text1 → about_title) - 为缺失多语言支持的界面文本添加中英文翻译 - 修复不准确的翻译内容和 HTML 标签格式错误 - 更新所有 Pug 模板文件以使用新的 i18n 键名 - 新增登录页面"记住我"、USB 连接确认等功能的多语言支持 - 统一翻译键命名规范,提升代码可维护性
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
li.right#shortcuts-dropdown
|
||||
a.menu-button(href="#" i18n="kvm_text56") Shortcuts
|
||||
a.menu-button(href="#" i18n="shortcuts_menu") Shortcuts
|
||||
|
||||
.menu#shortcuts-menu
|
||||
.text
|
||||
b(i18n="kvm_text57") Quick keyboard shortcuts#[br]
|
||||
sub(i18n="kvm_text58") Also see #[i System → Show keyboard]
|
||||
b(i18n="shortcuts_description") Quick keyboard shortcuts#[br]
|
||||
sub(i18n="shortcuts_also_see") Also see #[i System → Show keyboard]
|
||||
hr
|
||||
|
||||
.buttons
|
||||
@@ -41,7 +41,7 @@ li.right#shortcuts-dropdown
|
||||
|
||||
.text
|
||||
| ↓ • Alt+SysRq+... <sup><i>linux magic
|
||||
| #[a(target="_blank" href="https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html" i18n="kvm_text59") help]</i></sup>
|
||||
| #[a(target="_blank" href="https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html" i18n="shortcuts_help") help]</i></sup>
|
||||
hr
|
||||
|
||||
.buttons
|
||||
|
||||
Reference in New Issue
Block a user