From 52e848ae82ebbb9cf5368a5df7037fbfd66be10a Mon Sep 17 00:00:00 2001 From: kazeyukiro Date: Wed, 7 Oct 2026 02:16:54 +0000 Subject: [PATCH] fix(i18n): put dashboard metric keys inside dashboard section --- frontend/src/i18n/locales/en.ts | 12 ++++++++++-- frontend/src/i18n/locales/zh-CN.ts | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/frontend/src/i18n/locales/en.ts b/frontend/src/i18n/locales/en.ts index 1dda25e..e9f0fbf 100644 --- a/frontend/src/i18n/locales/en.ts +++ b/frontend/src/i18n/locales/en.ts @@ -118,7 +118,7 @@ export default { }, "dashboard": { "title": "Dashboard", - "subtitle": "System & Core Overview", + "subtitle": "Runtime, system monitoring and traffic overview", "status": "Core Status", "running": "Running", "stoppedStatus": "Stopped", @@ -171,7 +171,15 @@ export default { "openSockets": "Open sockets", "coreName": "Mihomo", "tcp": "TCP", - "udp": "UDP" + "udp": "UDP", + "systemCpu": "System CPU", + "systemMemory": "System Memory", + "systemDisk": "System Disk", + "recentActive": "Active in recent window", + "lastUpdated": "Last updated", + "autoRefresh": "Auto refresh", + "autoRefreshPaused": "Auto refresh paused", + "pause": "Pause" }, "listeners": { "subtitle": "Create and manage Mihomo inbound listeners.", diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts index 9b6fbfc..c706ba8 100644 --- a/frontend/src/i18n/locales/zh-CN.ts +++ b/frontend/src/i18n/locales/zh-CN.ts @@ -118,7 +118,7 @@ export default { }, "dashboard": { "title": "仪表盘", - "subtitle": "系统与核心状态概览", + "subtitle": "运行时、系统监控与流量概览", "status": "核心状态", "running": "运行中", "stoppedStatus": "已停止", @@ -171,7 +171,15 @@ export default { "openSockets": "打开连接", "coreName": "Mihomo", "tcp": "TCP", - "udp": "UDP" + "udp": "UDP", + "systemCpu": "系统 CPU", + "systemMemory": "系统内存", + "systemDisk": "系统硬盘", + "recentActive": "最近窗口活跃", + "lastUpdated": "最后更新", + "autoRefresh": "自动刷新", + "autoRefreshPaused": "自动刷新已暂停", + "pause": "暂停" }, "listeners": { "subtitle": "创建与管理 Mihomo 入站节点。",