From 1992516be9d2ec3cc3a37c6840db1a887b60f942 Mon Sep 17 00:00:00 2001 From: clousky Date: Thu, 16 Apr 2026 16:24:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20i18n(combos):=20add=20internatio?= =?UTF-8?q?nalization=20support=20for=20agent=20features=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - replace hardcoded english text with translation keys in combo form modal - add english and chinese translations for agent features labels and descriptions - include system message override, tool filter regex, and context cache protection strings 📝 docs(translations): update i18n message files with new agent features entries - add agentFeaturesTitle, agentFeaturesDescription, agentFeaturesSystemMessageOverride - add agentFeaturesSystemMessagePlaceholder, agentFeaturesSystemMessageHint - add agentFeaturesToolFilterRegex, agentFeaturesToolFilterHint - add agentFeaturesContextCacheProtection, agentFeaturesContextCacheHint --- src/app/(dashboard)/dashboard/combos/page.tsx | 23 ++++++++----------- src/i18n/messages/en.json | 11 ++++++++- src/i18n/messages/zh-CN.json | 11 ++++++++- 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/src/app/(dashboard)/dashboard/combos/page.tsx b/src/app/(dashboard)/dashboard/combos/page.tsx index 5cd52d6bf6..5f07cf6610 100644 --- a/src/app/(dashboard)/dashboard/combos/page.tsx +++ b/src/app/(dashboard)/dashboard/combos/page.tsx @@ -3388,34 +3388,31 @@ function ComboFormModal({ isOpen, combo, onClose, onSave, activeProviders }) { smart_toy -

Agent Features

- - — optional, for agent/tool workflows - +

{t("agentFeaturesTitle")}

+ {t("agentFeaturesDescription")} {/* System Message Override */}