refactor(i18n): U25 AIOps 模块 phantom key 清零 — analyzerHelpers.ts (23处) + capacity-predict.ts (18处) 中文文本键替换为 aiops.analysis.*/aiops.capacity.* 语义化键 + 硬编码资源名 i18n 化 + buildCapacityInsightPrompt 重复行合并, zh/en 6990=6990 对齐, tsc -b=0, npm build✓ (18.66s), ESLint=0/53/0, go build=0, 17/17 测试通过

This commit is contained in:
attacker committed 2026-07-11 22:31:07 +08:00
1 parent d21eac9117
commit c6a50216dd
4 files changed
+81 -43

No files matched your search

+20 -1
View File
@@ -7402,7 +7402,26 @@
"predictivecost.aiInsight": "AI 深度解读",
"agentcli.archLayer": "LLM + 工具层",
"agentcli.archDesc": "OpenAI 兼容 LLM;工具含 ssh_execute(远程执行)与 analyze_output(输出分析)。",
"agentcli.securityLayer": "安全 + Prompt"
"agentcli.securityLayer": "安全 + Prompt",
"analysis": {
"checkAbnormalTasks": "检查是否有异常定时任务或批处理任务在运行",
"checkSystemLogs": "检查对应时间段的系统日志和应用日志",
"unknownAlert": "未知告警",
"unknownTarget": "未知目标",
"topCpuProcess": "最高 CPU 进程: PID=$PID"
},
"capacity": {
"recCpu": "CPU增长趋势明显,建议尽快扩容计算资源或优化高负载进程",
"recMemory": "内存增长趋势明显,建议增加内存或排查内存泄漏",
"recDisk": "磁盘空间即将耗尽,建议立即扩容或清理历史数据与日志",
"recMonitor": "建议持续监控资源使用趋势",
"in24Hours": "24小时后",
"noRisk": "增长平缓,暂无触顶风险",
"expertPrompt": "你是 AIOps 容量规划专家。基于以下服务器资源容量预测数据,给出综合风险评估与可执行的运维建议:",
"resCpu": "服务器CPU算力",
"resMemory": "服务器内存",
"resDisk": "存储磁盘空间"
}
},
"breadcrumb": {
"dashboard": "仪表盘",