Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Feat: Translate the fields of the embedded dialog box on the agent page #3221 (#10072)

balibabu664b781d6216
diff --git a/web/src/components/embed-dialog/index.tsx b/web/src/components/embed-dialog/index.tsx
index 48abfb0d09..9aa3895653 100644
--- a/web/src/components/embed-dialog/index.tsx
+++ b/web/src/components/embed-dialog/index.tsx
@@ -139,7 +139,7 @@ function EmbedDialog({
</form>
</Form>
<div>
- <span>Embed code</span>
+ <span>{t('embedCode', { keyPrefix: 'search' })}</span>
<HightLightMarkdown>{text}</HightLightMarkdown>
</div>
<div className=" font-medium mt-4 mb-1">
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index 7e98957567..5d79285f7e 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: '概要',