From 011dd28fa210d557dd625cbe685f270d3bfb4a72 Mon Sep 17 00:00:00 2001 From: Alfred Date: Sun, 15 Feb 2026 13:37:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(webui):=20=E7=BB=88=E7=AB=AF=E9=A1=B5?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E4=B8=8E=E6=8C=89=E9=92=AE=20i18n=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 导航标签「日志」改名为「终端」(nav.terminal) - 系统日志按钮:文案改为「系统日志」+ ri-file-list-line 图标 - 清屏按钮:添加 ri-delete-bin-line 图标 - 断开按钮:添加 ri-link-unlink 图标 --- components/ts_webui/web/index.html | 2 +- components/ts_webui/web/js/app.js | 6 +++--- components/ts_webui/web/js/lang/en-US.js | 2 ++ components/ts_webui/web/js/lang/zh-CN.js | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/components/ts_webui/web/index.html b/components/ts_webui/web/index.html index 9b85a1d..21e5ee1 100644 --- a/components/ts_webui/web/index.html +++ b/components/ts_webui/web/index.html @@ -71,7 +71,7 @@ 系统 网络 文件 - 日志 + 终端 自动化 指令 安全 diff --git a/components/ts_webui/web/js/app.js b/components/ts_webui/web/js/app.js index 5b9b1ed..9aa13ce 100644 --- a/components/ts_webui/web/js/app.js +++ b/components/ts_webui/web/js/app.js @@ -13989,9 +13989,9 @@ async function loadTerminalPage() {
- - - + + +
diff --git a/components/ts_webui/web/js/lang/en-US.js b/components/ts_webui/web/js/lang/en-US.js index 5caf125..5dc8c78 100644 --- a/components/ts_webui/web/js/lang/en-US.js +++ b/components/ts_webui/web/js/lang/en-US.js @@ -180,6 +180,7 @@ if (typeof i18n !== 'undefined') i18n.registerLanguage('en-US', { led: 'LED Control', network: 'Network', files: 'Files', + terminal: 'Terminal', ssh: 'SSH Commands', security: 'Security', ota: 'OTA Update', @@ -3327,6 +3328,7 @@ if (typeof i18n !== 'undefined') i18n.registerLanguage('en-US', { sessionRestored: 'Session restored, please retry', terminalHint: 'Tip: Type help for commands | Ctrl+C interrupt | Ctrl+L clear | ↑↓ history', systemLogTitle: 'System Logs', + systemLogsButton: 'System Logs', levelLabel: 'Level', levelAll: 'All', clearScreen: 'Clear', diff --git a/components/ts_webui/web/js/lang/zh-CN.js b/components/ts_webui/web/js/lang/zh-CN.js index 353ed10..83f68e2 100644 --- a/components/ts_webui/web/js/lang/zh-CN.js +++ b/components/ts_webui/web/js/lang/zh-CN.js @@ -180,6 +180,7 @@ if (typeof i18n !== 'undefined') i18n.registerLanguage('zh-CN', { led: 'LED 控制', network: '网络', files: '文件', + terminal: '终端', ssh: 'SSH 命令', security: '安全', ota: 'OTA 升级', @@ -3317,6 +3318,7 @@ if (typeof i18n !== 'undefined') i18n.registerLanguage('zh-CN', { sessionRestored: '会话已恢复,请重试', terminalHint: '提示: 输入 help 查看命令 | Ctrl+C 中断 | Ctrl+L 清屏 | ↑↓ 历史', systemLogTitle: '系统日志', + systemLogsButton: '系统日志', levelLabel: '级别', levelAll: '全部', clearScreen: '清屏',