From 764dcf24e9dc6313ba24d02674196cbebc25d697 Mon Sep 17 00:00:00 2001 From: OG T Date: Thu, 9 Apr 2026 23:11:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20byAnomalyAutoRate=20=E6=8F=92?= =?UTF-8?q?=E5=80=BC=E4=BF=AE=E6=AD=A3=20+=20mttrUnit=20=E5=96=AE=E4=BD=8D?= =?UTF-8?q?=E6=94=B9=E5=88=86=E9=90=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit byAnomalyAutoRate: "自動修復率" → "自動修復率 {pct}%" (缺少 {pct} 插值導致顯示原始 key) mttrUnit: "秒" → "分鐘" (前端已做 /60 換算) Co-Authored-By: Claude Sonnet 4.6 --- apps/web/messages/en.json | 4 ++-- apps/web/messages/zh-TW.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 09cb42d1..f445ea0e 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -214,9 +214,9 @@ "cotTools": "Tool Calls", "cotClickHint": "Click an event to view reasoning details", "byAnomalyTitle": "Anomaly Type Distribution Top 5", - "byAnomalyAutoRate": "Auto-Repair Rate", + "byAnomalyAutoRate": "Auto {pct}%", "mttrTitle": "MTTR Overview", - "mttrUnit": "s", + "mttrUnit": "min", "mttrNoData": "No MTTR data yet" }, "openclaw": { diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index 55784702..f4499fa3 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -215,9 +215,9 @@ "cotTools": "工具呼叫", "cotClickHint": "點擊事件查看推理細節", "byAnomalyTitle": "異常類型分佈 Top 5", - "byAnomalyAutoRate": "自動修復率", + "byAnomalyAutoRate": "自動修復率 {pct}%", "mttrTitle": "MTTR 概覽", - "mttrUnit": "秒", + "mttrUnit": "分鐘", "mttrNoData": "尚無 MTTR 資料" }, "openclaw": {