diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts index b781eeb9..13b87ad4 100755 --- a/frontend/src/i18n/locales/en-US.ts +++ b/frontend/src/i18n/locales/en-US.ts @@ -1627,6 +1627,7 @@ export default { atLeastOne: 'At least one indexing strategy must be enabled', embeddingRequired: 'RAG search requires an Embedding model', wikiModelRequired: 'Wiki requires a synthesis model to be configured', + lockedTip: 'The indexing strategy cannot be changed once the knowledge base contains content. Please clear the knowledge base first.', rebuildConfirmTitle: 'Rebuild Index', rebuildConfirmBody: 'Indexing strategy has changed. Re-process {count} existing documents? This may take some time.', rebuildSuccess: 'Rebuild task submitted for {count} documents', diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts index dd3151c6..040a7de2 100755 --- a/frontend/src/i18n/locales/zh-CN.ts +++ b/frontend/src/i18n/locales/zh-CN.ts @@ -2152,6 +2152,7 @@ export default { atLeastOne: "至少需要开启一种索引策略", embeddingRequired: "RAG 检索需要配置 Embedding 模型", wikiModelRequired: "Wiki 知识库需要配置合成模型", + lockedTip: "知识库已有内容,索引策略暂不支持调整。如需变更,请先清空知识库。", rebuildConfirmTitle: "重建索引", rebuildConfirmBody: "索引策略已变更,是否对已有的 {count} 篇文档重新处理?这可能需要一些时间。", rebuildSuccess: "已提交重建任务,共 {count} 篇文档", diff --git a/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue b/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue index 3b1f8fa5..0619dce4 100644 --- a/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue +++ b/frontend/src/views/knowledge/KnowledgeBaseEditorModal.vue @@ -57,25 +57,27 @@
{{ $t('knowledgeEditor.indexing.description') }}
-{{ $t('knowledgeEditor.indexing.searchDesc') }}
{{ $t('knowledgeEditor.indexing.wikiDesc') }}
+ {{ $t('knowledgeEditor.indexing.lockedTip') }} +