Skip to content

i18n: 完成剩余项接入并收尾#14

Merged
massif-01 merged 3 commits intothomas-hiddenpeak:mainfrom
massif-01:main
Feb 12, 2026
Merged

i18n: 完成剩余项接入并收尾#14
massif-01 merged 3 commits intothomas-hiddenpeak:mainfrom
massif-01:main

Conversation

@massif-01
Copy link
Collaborator

@massif-01 massif-01 commented Feb 12, 2026

修改内容

完成 WebUI i18n 剩余项接入:

  • app.js:terminateProcess msgMap、数据组件工具栏/状态、错误文案、变量分组、图标预览等
  • terminal.js:错误输出文案
  • index.html:首屏 Loading 增加 data-i18n
  • 语言包:新增 common.loadFailedMsg、refreshOnce、uploadFailedMsg;toast.terminate*;terminal.errorLabel、unknownError;sshPage.getVarFailed、failMatchedTrue/False
  • docs:新增 I18N_REMAINING_CHECK 收尾报告

- 添加数据源自动发现提示去重叠
- 操作列 btn-icon-square 统一(数据源/规则/动作)
- 添加规则: 图标/规则选项 config-section、条件逻辑冷却时间样式、匹配后自动停止去 icon
- 新建指令: 图标 config-section、去白底
- LED 控制卡片:标题到内容间距 24px→12px,与 Device Panel 一致
- LED 控制:header 垂直居中,上下灰/蓝线间距对称
- 系统页:Resource Monitor/Device Panel/Fan Control/LED 卡片间距统一为 20px
- 系统页加载:refreshQuickActions 移至 initDataWidgets 之后后台执行,避免 loadSshCommands 阻塞数据组件变量获取
- i18n:风扇/OTA/Toast/网络等缺失文案补全(中英双语)
- app.js: terminateProcess msgMap、数据组件工具栏/状态、错误文案等
- terminal.js: 错误输出文案
- index.html: 首屏 Loading 增加 data-i18n
- 语言包: 新增 common/toast/terminal/sshPage 等 key
- docs: 新增 I18N_REMAINING_CHECK 收尾报告
@massif-01 massif-01 merged commit 0ec6658 into thomas-hiddenpeak:main Feb 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments