From 664b781d62161c099c5e2a456a6ac5a86c68ec2f Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 12 Sep 2025 16:01:12 +0800 Subject: [PATCH] Feat: Translate the fields of the embedded dialog box on the agent page #3221 (#10072) ### What problem does this PR solve? Feat: Translate the fields of the embedded dialog box on the agent page #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/components/embed-dialog/index.tsx | 2 +- web/src/locales/zh.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/components/embed-dialog/index.tsx b/web/src/components/embed-dialog/index.tsx index 48abfb0d0..9aa389565 100644 --- a/web/src/components/embed-dialog/index.tsx +++ b/web/src/components/embed-dialog/index.tsx @@ -139,7 +139,7 @@ function EmbedDialog({
- Embed code + {t('embedCode', { keyPrefix: 'search' })} {text}
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 7e9895756..5d79285f7 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -632,6 +632,8 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于 }, cancel: '取消', chatSetting: '聊天设置', + avatarHidden: '隐藏头像', + locale: '地区', }, setting: { profile: '概要',