mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 17:50:29 +08:00
- 将包含数字的无意义 i18n 键名替换为语义化名称 (如 kvm_text1 → about_title) - 为缺失多语言支持的界面文本添加中英文翻译 - 修复不准确的翻译内容和 HTML 标签格式错误 - 更新所有 Pug 模板文件以使用新的 i18n 键名 - 新增登录页面"记住我"、USB 连接确认等功能的多语言支持 - 统一翻译键命名规范,提升代码可维护性
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
li.right#macro-dropdown
|
|
a.menu-button(href="#")
|
|
+navbar_led("hid-recorder-led", "led-gear")
|
|
span(i18n="macro_menu") Macro
|
|
.menu
|
|
.text
|
|
b(i18n="macro_description") Record and play HID/ATX/GPIO actions#[br]
|
|
sub(i18n="macro_security_note") For security reasons, the record will not be saved on the PiKVM
|
|
hr
|
|
.buttons.buttons-row
|
|
button.row25#hid-recorder-record(disabled data-force-hide-menu i18n="macro_record") • Rec
|
|
button.row25#hid-recorder-stop(disabled i18n="macro_stop") Stop
|
|
button.row25#hid-recorder-play(disabled i18n="macro_play") Play
|
|
button.row25#hid-recorder-clear(disabled i18n="macro_clear") Clear
|
|
hr
|
|
|
|
table.kv
|
|
tr
|
|
td(i18n="macro_script_time") Script time:
|
|
td.value#hid-recorder-time(colspan="2") 00:00:00.0
|
|
tr
|
|
td(i18n="macro_script_events") Scripted events:
|
|
tdvalue#hid-recorder-events-count 0
|
|
td #[sup #[i(i18n="macro_include_delays") include delays]]
|
|
hr
|
|
+menu_switch_table("hid-recorder-loop-switch", "Infinite loop playback", false, false, "hid-recorder-loop-switch")
|
|
hr
|
|
input#hid-recorder-new-script-file(type="file" style="display: none")
|
|
.buttons.buttons-row
|
|
button.row50#hid-recorder-upload(disabled i18n="macro_upload_script") Upload script
|
|
button.row50#hid-recorder-download(disabled i18n="macro_download_script") Download script
|