Skip to content

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

Docs: fix wording - restore draft (#21660)

Wang Qi84f0da0296eb
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index f6d27e0230..0034552232 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -3455,7 +3455,7 @@ This delimiter is used to split the input text into several text pieces echo of
'Deleting a version that a dataset or file is bound to will make that file unparseable. This cannot be undone.',
deleteAgentConfirmContent:
'If this agent is embedded in a website or serving external traffic, deleting its latest published version will roll back or interrupt the live service. Your current canvas is not affected. This cannot be undone.',
- restore: 'Restore as current',
+ restore: 'Restore as current draft',
restoreConfirmTitle: 'Restore this version as the current agent?',
restoreConfirmContent:
'The current agent DSL will be replaced by this version. Save again to create a new version.',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index 7a03c9463b..11c1630977 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -2487,7 +2487,7 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取 Entities 和 R
'若数据集或文件正绑定此版本,删除后将导致对应文件无法解析。此操作不可撤销。',
deleteAgentConfirmContent:
'若该智能体已嵌入网站或对外提供服务,删除最新发布版本将导致线上服务回退到更早的版本或中断。删除不影响当前画布内容,但操作不可撤销。',
- restore: '恢复为当前版本',
+ restore: '恢复为当前草稿',
restoreConfirmTitle: '恢复此版本为当前智能体?',
restoreConfirmContent:
'当前智能体 DSL 将被此版本替换。再次保存会创建新版本。',