diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json index a44e7e1..c013a91 100644 --- a/frontend/src/locales/en-US.json +++ b/frontend/src/locales/en-US.json @@ -114,7 +114,13 @@ "fixSuccess": "Fixed: {items}", "fixFailed": "Fix failed: {items}", "fixNeedRoot": "Root privileges required to modify system config", - "fixNothing": "Nothing to auto-fix" + "fixNothing": "Nothing to auto-fix", + "quickErrorTunnels": "Unhealthy tunnels", + "quickErrorHint": "Tunnels in error state", + "quickOnline": "Online sessions", + "quickOnlineHint": "Currently connected users", + "quickAlerts": "Open alerts", + "quickAlertsHint": "Traffic and quota alerts" }, "tunnels": { "searchPlaceholder": "Search by name", @@ -356,7 +362,10 @@ "installSuccess": "{protocol} {version} installed successfully {method}", "methodPackageManager": "(Package Manager)", "methodDownload": "(One-Click Install)", - "installFailed": "Failed to install {protocol}" + "installFailed": "Failed to install {protocol}", + "groupEmployee": "Employee access", + "groupSite": "Site interconnect", + "groupPenetrate": "Intranet penetration" }, "users": { "title": "Admins", @@ -581,7 +590,7 @@ "cleanupHint": "Delete log data older than specified days", "cleanupPrompt": "Keep logs from the last how many days?", "cleanupInputError": "Please enter a positive integer", - "cleanupDone": "Cleanup done: {audit} audit, {conn} connection, {session} session records deleted", + "cleanupDone": "Cleanup done: {audit} audit logs, {session} session records", "loadFailed": "Failed to load logs", "noAlerts": "No traffic alerts" }, diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json index ff6c3ca..e58fef3 100644 --- a/frontend/src/locales/zh-CN.json +++ b/frontend/src/locales/zh-CN.json @@ -114,7 +114,13 @@ "fixSuccess": "已修复:{items}", "fixFailed": "修复失败:{items}", "fixNeedRoot": "需要以 root 运行才能修改系统配置", - "fixNothing": "当前没有可自动修复的项" + "fixNothing": "当前没有可自动修复的项", + "quickErrorTunnels": "异常专线", + "quickErrorHint": "状态为错误的专线", + "quickOnline": "在线会话", + "quickOnlineHint": "当前在线拨号用户", + "quickAlerts": "待处理告警", + "quickAlertsHint": "流量异常与配额告警" }, "tunnels": { "searchPlaceholder": "搜索名称", @@ -356,7 +362,10 @@ "installSuccess": "{protocol} {version} 安装成功 {method}", "methodPackageManager": "(包管理器安装)", "methodDownload": "(一键安装)", - "installFailed": "{protocol} 安装失败" + "installFailed": "{protocol} 安装失败", + "groupEmployee": "员工接入", + "groupSite": "站点对接", + "groupPenetrate": "内网穿透" }, "users": { "title": "管理员", @@ -581,7 +590,7 @@ "cleanupHint": "删除指定天数之前的日志数据", "cleanupPrompt": "保留最近多少天的日志?", "cleanupInputError": "请输入正整数", - "cleanupDone": "清理完成:审计 {audit} 条、连接 {conn} 条、会话 {session} 条", + "cleanupDone": "清理完成:操作审计 {audit} 条、会话记录 {session} 条", "loadFailed": "加载日志失败", "noAlerts": "暂无流量告警" }, diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue index 98197ef..9efedc3 100644 --- a/frontend/src/views/Dashboard.vue +++ b/frontend/src/views/Dashboard.vue @@ -31,6 +31,16 @@ + + + +
{{ item.title }}
+
{{ item.value }}
+
{{ item.hint }}
+
+
+
+