From fd02edcd5261ab198e2738bc4eef39b7fdf26998 Mon Sep 17 00:00:00 2001 From: gongzhiyong Date: Thu, 28 May 2026 18:16:06 +0800 Subject: [PATCH] fix: localize simulated agnet status --- heicode/VERSION | 2 +- heicode/web/default/src/features/agnet-console/pages.tsx | 2 ++ heicode/web/default/src/i18n/locales/zh.json | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/heicode/VERSION b/heicode/VERSION index 079d7f6..f86e029 100644 --- a/heicode/VERSION +++ b/heicode/VERSION @@ -1 +1 @@ -1.4.11 +1.4.12 diff --git a/heicode/web/default/src/features/agnet-console/pages.tsx b/heicode/web/default/src/features/agnet-console/pages.tsx index 82bc519..309e45f 100644 --- a/heicode/web/default/src/features/agnet-console/pages.tsx +++ b/heicode/web/default/src/features/agnet-console/pages.tsx @@ -91,6 +91,7 @@ const STATUS_TO_KEY: Record = { active: 'running', in_progress: 'running', stopped: 'success', + simulated: 'success', succeeded: 'success', success: 'success', completed: 'success', @@ -122,6 +123,7 @@ function formatStatusLabel( active: t('Running'), in_progress: t('In progress'), stopped: t('Stopped'), + simulated: t('Simulated'), succeeded: t('Success'), success: t('Success'), completed: t('Completed'), diff --git a/heicode/web/default/src/i18n/locales/zh.json b/heicode/web/default/src/i18n/locales/zh.json index c7867aa..ed07496 100644 --- a/heicode/web/default/src/i18n/locales/zh.json +++ b/heicode/web/default/src/i18n/locales/zh.json @@ -4128,6 +4128,7 @@ "Merged timeline": "合并时间线", "No timeline records yet": "暂无时间线记录", "Simulate": "模拟事件", + "Simulated": "模拟", "Simulated events recorded": "模拟事件已记录", "Failed to simulate events": "模拟事件失败", "All levels": "全部级别",