refactor(i18n): U28 多模块 phantom key 清零 — theme/middleware-monitor/site-monitor/analytics/cost-predict/predict-types/agentAlertHelper/export-audit/AgentCLIMessages/copy-button 10 文件 74 phantom key → 语义化键, 新增 4 命名空间 (theme/agent.alerts.metric*/audit.*) + 扩展 3 命名空间 (monitor.lbl.mw*/site*/aiops.predict*), zh/en 7294→7358 +64 键对齐, phantom key 103→29 (残留全为 JSX 模板表达式/ANSI 转义码误匹配), tsc -b=0, npm build✓ (17.40s), ESLint=0/53/0, go build=0, 17/17 测试通过
This commit is contained in:
1 parent
b812b3b20c
commit
b2715ca3bd
12 files changed
+206
-74
No files matched your search
@@ -513,7 +513,8 @@
|
||||
"critical": "Critical",
|
||||
"request.tokenExpired": "Session expired, please log in again",
|
||||
"days": "days",
|
||||
"seconds": "sec"
|
||||
"seconds": "sec",
|
||||
"copyManually": "Please manually select and copy"
|
||||
},
|
||||
"menu": {
|
||||
"dashboard": "Dashboard",
|
||||
@@ -1505,7 +1506,9 @@
|
||||
"failed": "Failed",
|
||||
"closed": "Closed"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reportTitle": "Terminal Session Audit Report",
|
||||
"csvHeader": "Time,User,Command,Output Size,Session ID,Critical"
|
||||
},
|
||||
"deploy": {
|
||||
"pipeline": {
|
||||
@@ -4865,7 +4868,44 @@
|
||||
"selectMetricsHint": "Please check metrics from the left panel",
|
||||
"probeName": "Probe Name",
|
||||
"execCommand": "Execute Command",
|
||||
"refreshing": " · Refreshing..."
|
||||
"refreshing": " · Refreshing...",
|
||||
"mwMemUsage": "Memory Usage",
|
||||
"mwSlowQueryRate": "Slow Query Rate",
|
||||
"mwBlockedClients": "Blocked Clients",
|
||||
"mwActiveThreads": "Active Threads",
|
||||
"mwBufferHitRate": "Buffer Pool Hit Rate",
|
||||
"mwPerCycle": "/cycle",
|
||||
"mwCluster": "Cluster",
|
||||
"mwInstanceOffline": "Instance Offline",
|
||||
"mwHitRateBelow80": "Hit Rate < 80%",
|
||||
"mwHitRateBelow90": "Hit Rate < 90%",
|
||||
"mwMemAbove90": "Memory > 90%",
|
||||
"mwMemAbove80": "Memory > 80%",
|
||||
"mwKeyEviction": "Key Eviction",
|
||||
"mwBufferHitBelow90": "Buffer Pool Hit < 90%",
|
||||
"mwBufferHitBelow95": "Buffer Pool Hit < 95%",
|
||||
"mwConnAbove90": "Connections > 90% Limit",
|
||||
"mwConnAbove80": "Connections > 80% Limit",
|
||||
"mwTooManyThreads": "Too Many Active Threads",
|
||||
"siteRecentHour": "Last 1 hour",
|
||||
"siteRecent24h": "Last 24 hours",
|
||||
"siteRecent7d": "Last 7 days",
|
||||
"siteTargetUrl": "Target URL",
|
||||
"siteHttpHint": "Web request (supports http/https), detects status code and response time",
|
||||
"siteSslAddr": "SSL Address",
|
||||
"siteSslPlaceholder": "example.com:443 or https://example.com",
|
||||
"siteSslHint": "TLS handshake certificate check (supports host:port / https:// domain, no HTTP request)",
|
||||
"siteHostPort": "Host:Port",
|
||||
"siteTcpPlaceholder": "192.168.1.1:8080 or example.com:443",
|
||||
"siteTcpHint": "TCP Port Connectivity",
|
||||
"siteHostAddr": "Host Address",
|
||||
"sitePingPlaceholder": "192.168.1.1 or example.com",
|
||||
"sitePingHint": "ICMP connectivity and latency (default 2 min/interval)",
|
||||
"siteServerError": "Server Error",
|
||||
"siteClientError": "Client/Auth Error",
|
||||
"siteRequestFailed": "Request Failed",
|
||||
"siteRequestTimeout": "Request Timeout",
|
||||
"siteConnFailed": "Connection Failed"
|
||||
},
|
||||
"alertRuleDialog2": {
|
||||
"editRule": "Edit Alert Rule",
|
||||
@@ -6806,7 +6846,11 @@
|
||||
"deleteRule": "Delete Rule",
|
||||
"thresholdTriggered": "Alert threshold triggered",
|
||||
"noResolved": "No resolved alerts",
|
||||
"noActive": "No active alerts, all clear"
|
||||
"noActive": "No active alerts, all clear",
|
||||
"metricSwap": "Swap Usage",
|
||||
"metricLoad1": "1-min Load Average",
|
||||
"metricInode": "Inode Usage",
|
||||
"metricTcpEst": "TCP Established"
|
||||
},
|
||||
"monitor": {
|
||||
"loadHostFailed": "Failed to load host list",
|
||||
@@ -7809,7 +7853,17 @@
|
||||
"predictTypes": {
|
||||
"memUsage": "Memory Usage",
|
||||
"diskUsage": "Disk Usage"
|
||||
}
|
||||
},
|
||||
"predictMemLeak": "Investigate memory leaks, optimize process memory config, consider adding nodes",
|
||||
"predictDiskFull": "Clean up historical data and logs, implement data archiving, expand disk",
|
||||
"predictIn24h": "In 24 hours",
|
||||
"predictNext24h": "Next 24 hours",
|
||||
"predictCpuUsage": "CPU Usage",
|
||||
"predictIn1h": "In 1 hour",
|
||||
"predictIn7d": "In 7 days",
|
||||
"predictIn30d": "In 30 days",
|
||||
"agentCliErrorOccurred": "Error occurred",
|
||||
"agentCliNoOutput": "(no output)"
|
||||
},
|
||||
"breadcrumb": {
|
||||
"dashboard": "Dashboard",
|
||||
@@ -7936,5 +7990,17 @@
|
||||
"quickQuery": "Quick Query",
|
||||
"quickQueryHint": "{{engine}} common query templates, click to fill",
|
||||
"entries": "entries"
|
||||
},
|
||||
"theme": {
|
||||
"system": "Follow System",
|
||||
"deepBlue": "Deep Ocean Blue",
|
||||
"brightWhite": "Bright White",
|
||||
"brightWhiteDesc": "Enterprise console clean light theme",
|
||||
"oneDarkDesc": "Atom warm gray IDE, purple-green syntax",
|
||||
"draculaDesc": "Classic purple-pink dark, high contrast",
|
||||
"tokyoNightDesc": "Tokyo neon deep blue-purple, VS Code popular",
|
||||
"catppuccinDesc": "Macaron soft dark, eye-friendly",
|
||||
"mainstream": "Mainstream",
|
||||
"developer": "Developer"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user