feat(i18n): AIOps 智能运维模块全量国际化迁移 — 12 文件 + 84 翻译键
迁移文件:
- AgentCLI.tsx: 主机格式/安全模式示例/确认弹框/历史记录/状态徽章等 12 处
- LLMConfig.tsx: 云服务/自定义分组/推理模式/测试连接/配置帮助等 15 处
- AIOpsAssistant.tsx: 能力展示/自动报告生成
- AIAlertAnalyzer.tsx: AI引擎状态/活跃计数/严重等级标签
- AIAnalysisResult.tsx: 分析结果标题/根因/影响/建议/相似案例/修复脚本
- AutoFixDialog.tsx: 脚本确认弹框/警告/取消/执行按钮
- PredictiveCapacityTab.tsx: 容量预警/AI解读/7天预测/当前/预测/阈值标签
- AIPredictiveAnalytics.tsx: 关键指标/线性回归/趋势/预测值/概率
- AgentCLIMessages.tsx: 轮次/工具数/思考/耗时标签
- AgentCLIHistory.tsx: 删除确认/新建/轮次摘要
- analyzerHelpers.ts: 持续时间格式化 (小时/分钟)
- predictUtils.ts: 时间范围/异常预测/容量摘要
翻译键总数: 6088 → 6172 (zh-CN/en-US 完全对齐)
CJK 残留: 1672 → 1114 字符 (33% 降幅)
tsc -b=0, npm build=✅, 17/17 集成测试通过
This commit is contained in:
1 parent
eb98a95842
commit
76393c663c
15 files changed
+254
-91
No files matched your search
@@ -6537,6 +6537,90 @@
|
||||
"predictivecapac.sf803eb75": "暂无容量数据",
|
||||
"predictivecapac.scb0ed5ef": "紧急",
|
||||
"assistantts.s16f94bee": "流式响应不可用",
|
||||
"assistantts.sfeeaa489": "LLM 流式响应错误"
|
||||
"assistantts.sfeeaa489": "LLM 流式响应错误",
|
||||
"history": "History",
|
||||
"examplePrefix": "Ex: ",
|
||||
"roundTokens": "Round {{round}} · {{tokens}}t",
|
||||
"historyReadonly": "History (read-only) · {{title}}",
|
||||
"describeTaskHint": "Describe the task you want to execute, e.g. \"Check disk usage and clean up large files\"",
|
||||
"currentSafetyMode": "Current safety mode: {{label}} ({{short}})",
|
||||
"taskAborted": "Task aborted",
|
||||
"errorOccurred": "An error occurred",
|
||||
"confirmToolExec": "Tool: {{tool}}\nRisk: {{risk}}\nCommand: {{cmd}}",
|
||||
"rejectedExec": "Execution rejected: {{cmd}}",
|
||||
"viewHistoryDetail": "Viewing history: {{title}} ({{status}}) — Read-only. Click \"Continue\" to resume execution",
|
||||
"resumingSession": "Resuming session \"{{title}}\"...",
|
||||
"hostIpFormat": "{{hostname}} ({{ip}})",
|
||||
"cloudService": "Cloud Services",
|
||||
"customAccess": "Custom Access",
|
||||
"unknownProviderHint": "Current provider \"{{provider}}\" is not in the preset list. You can continue using it or switch to another provider.",
|
||||
"providerNeedsKey": "To use {{name}}, you need to activate the service and obtain an API Key first",
|
||||
"reasoningPlanMode": "Reasoning / Plan Mode",
|
||||
"reasoningModelHint": "Suitable for reasoning models like OpenAI o-series / DeepSeek R1 / Claude 3.7 Sonnet. May cause errors with standard models.",
|
||||
"testConnectionBtn": "Test Connection",
|
||||
"saveConfigBtn": "Save Config",
|
||||
"verifiedCanSave": "Verified, ready to save",
|
||||
"testResultTitle": "Test Result",
|
||||
"modelColon": "Model: ",
|
||||
"providerColon": "Provider: ",
|
||||
"tokensConsumed": "Tokens Used: ",
|
||||
"configHelpText": "Cloud Services: Select a provider → Activate and enter API Key → Test Connection → Save.\n Coding Plans: GLM / Kimi / MiniMax fixed monthly plans, ideal for frequent Agent CLI usage (note: keys are not shared with pay-as-you-go versions).\n Custom LLM: Enter endpoint + API Key + model name, compatible with OpenRouter and other OpenAI-format services.\n Local/Self-hosted (Ollama, vLLM): Enter endpoint and model name; API Key can be left blank.\n Testing sends \"What model are you? Please answer briefly.\" to confirm the target model.",
|
||||
"capabilities": "Capabilities",
|
||||
"autoReportGen": "Automated Reporting",
|
||||
"aiEngineRunning": "AI Engine Active",
|
||||
"activeCount": "{{count}} active",
|
||||
"severityCritical": "Critical",
|
||||
"severityWarning": "Warning",
|
||||
"severityInfo": "Info",
|
||||
"durationHM": "{{hours}}h {{mins}}m",
|
||||
"durationM": "{{mins}}m",
|
||||
"confidencePercent": "Confidence {{n}}%",
|
||||
"noAnalysisYet": "Select an alert to view AI analysis",
|
||||
"aiAnalysisResult": "AI Analysis Result",
|
||||
"analyzingRootCause": "AI is analyzing alert root cause...",
|
||||
"rootCauseAnalysis": "Root Cause Analysis",
|
||||
"impactScopeLabel": "Impact Scope",
|
||||
"fixSuggestions": "Fix Suggestions",
|
||||
"similarCasesFound": "Found {{count}} similar historical cases",
|
||||
"autoFixScriptTitle": "Auto-Fix Script",
|
||||
"executeAutoFix": "Execute Auto-Fix",
|
||||
"autoFixDialogDesc": "AI-generated auto-fix script. Please confirm before execution.",
|
||||
"autoFixWarning": "Warning: Ensure important data is backed up before executing the script",
|
||||
"confirmExecute": "Confirm Execute",
|
||||
"aiDeepAnalysis": "AI Deep Analysis",
|
||||
"loadingCapacityData": "Loading capacity data...",
|
||||
"sevenDayForecast": "7-Day Usage Forecast",
|
||||
"expectedReachThreshold": "Expected to reach threshold in {{days}} days",
|
||||
"currentUsageLabel": "Current {{n}}%",
|
||||
"predictedUsageLabel": "Predicted {{n}}%",
|
||||
"thresholdLabel": "Threshold {{n}}%",
|
||||
"aiSuggestionColon": "AI Suggestion: ",
|
||||
"keyMetricForecast": "Key Metric Forecast",
|
||||
"linearRegressionForecast": "Linear Regression Forecast",
|
||||
"loadingMetricData": "Loading metric data...",
|
||||
"trendUp": "Up",
|
||||
"trendDown": "Down",
|
||||
"trendStable": "Stable",
|
||||
"predictedValueLabel": "Predicted ({{range}})",
|
||||
"probabilityColon": "Probability: ",
|
||||
"memoryKeyword": "Memory",
|
||||
"diskKeyword": "Disk",
|
||||
"networkKeyword": "Network",
|
||||
"roundN": "Round {{round}}",
|
||||
"toolCountLabel": "{{count}} tools",
|
||||
"roundThinking": "Round {{round}} Thinking",
|
||||
"durationLabel": "Duration {{duration}}",
|
||||
"confirmDeleteSession": "Delete \"{{title}}\"? This action cannot be undone.",
|
||||
"newSessionBtn": "New",
|
||||
"roundsTokensSummary": "{{rounds}} rounds · {{tokens}}t",
|
||||
"next4Hours": "Next 4 hours",
|
||||
"next12Hours": "Next 12 hours",
|
||||
"next24Hours": "Next 24 hours",
|
||||
"nextNDays": "Next {{n}} days",
|
||||
"mayTrigger": "{{name}} may trigger",
|
||||
"mayRecur": "{{name}} may recur",
|
||||
"daysToThreshold": "reaches threshold in {{days}} days",
|
||||
"forecastSummary": "- {{resource}}: Current {{current}}% → 7-day forecast {{predicted}}% (threshold {{threshold}}%), {{risk}}",
|
||||
"safetyBalancedExamples": "cat/grep/df auto · rm/reboot confirm"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user