Skip to content

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

Fix: Edit wiki-style text (#18419)

balibabu0158a6bae83a
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index e9b77bedd7..ec38e120d7 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -1938,7 +1938,7 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取 Entities 和 R
processFlowComingSoon: '流程视图预览即将到来',
compilationTitleSuffix: '的数据集',
llmWiki: 'Wiki',
- skills: '技能',
+ skills: 'To Skills',
navTree: 'PageIndex',
graph: 'Graph',
structureMindmap: 'Mindmap',
@@ -2078,7 +2078,6 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取 Entities 和 R
sectionTitle: '章节标题',
},
canvasCategory: '画布分类',
- tags: '标签',
created: '创建于',
editTags: '编辑标签',
editTagsDescription: '添加标签以整理和筛选你的智能体。按回车或逗号添加。',
diff --git a/web/src/pages/user-setting/compilation-templates/edit-next/hooks/use-blueprint-selection.ts b/web/src/pages/user-setting/compilation-templates/edit-next/hooks/use-blueprint-selection.ts
index a6c8f43892..2e8750369b 100644
--- a/web/src/pages/user-setting/compilation-templates/edit-next/hooks/use-blueprint-selection.ts
+++ b/web/src/pages/user-setting/compilation-templates/edit-next/hooks/use-blueprint-selection.ts
@@ -93,9 +93,9 @@ export function useBlueprintSelection({
label: capitalize(lowerCase(preset.id)),
value: preset.id,
})),
- { label: t('knowledgeCompilation.custom'), value: CustomBlueprintValue },
+ { label: 'Custom', value: CustomBlueprintValue },
],
- [presets, t],
+ [presets],
);
const handleSelect = useCallback(
diff --git a/web/src/utils/compilation-template-util.ts b/web/src/utils/compilation-template-util.ts
index e3e44ead78..5c693c31ad 100644
--- a/web/src/utils/compilation-template-util.ts
+++ b/web/src/utils/compilation-template-util.ts
@@ -25,6 +25,12 @@ export function formatKindLabel(t: TFunction, kind: string): string {
if (kind === CompilationTemplateKind.KnowledgeGraph) {
return t('knowledgeCompilation.graph');
}
+ if (kind === CompilationTemplateKind.PageIndex) {
+ return 'PageIndex';
+ }
+ if (kind === CompilationTemplateKind.MindMap) {
+ return 'Mindmap';
+ }
return capitalize(lowerCase(kind));
}
export const isCreateCompilationTemplateGroup = (