chore: some i18n

This commit is contained in:
CaptainB 2025-10-17 12:51:42 +08:00
parent 947152ed33
commit c9266e6631
5 changed files with 49 additions and 4 deletions

View File

@ -139,6 +139,28 @@ export default {
requiredMessage: 'Please select a search question',
},
},
searchDocumentNode: {
label: 'Document Search',
text: 'Search for documents that meet the conditions based on the document label within the specified search scope',
selectKnowledge: 'Search Scope',
searchSetting: 'Search Settings',
custom: 'Manual',
auto: 'Automatic',
document_list: 'Document List',
knowledge_list: 'Knowledge Base List',
result: 'Search Results',
searchParam: 'Search Parameters',
select_variable: 'Select Variable',
showKnowledge: {
label: 'Results are displayed in the knowledge source',
requiredMessage: 'Please set parameters',
},
searchQuestion: {
label: 'Search Question',
placeholder: 'Please select a search question',
requiredMessage: 'Please select a search question',
},
},
questionNode: {
label: 'Question Optimization',
text: 'Optimize and improve the current question based on historical chat records to better match knowledge segments',

View File

@ -158,6 +158,7 @@ export default {
knowledge_list: '知识库列表',
result: '检索结果',
searchParam: '检索参数',
select_variable: '选择变量',
showKnowledge: {
label: '结果显示在知识来源中',
requiredMessage: '请设置参数',

View File

@ -140,6 +140,28 @@ export default {
requiredMessage: '請選擇檢索問題',
},
},
searchDocumentNode: {
label: '文檔檢索',
text: '從設定的檢索範圍中,根據文檔標籤檢索出符合條件的文檔',
selectKnowledge: '檢索範圍',
searchSetting: '檢索設定',
custom: '手動',
auto: '自動',
document_list: '文件清單',
knowledge_list: '知識庫列表',
result: '檢索結果',
searchParam: '檢索參數',
select_variable: '選擇變數',
showKnowledge: {
label: '結果顯示在知識來源',
requiredMessage: '請設定參數',
},
searchQuestion: {
label: '檢索問題',
placeholder: '請選擇檢索問題',
requiredMessage: '請選擇檢索問題',
},
},
questionNode: {
label: '問題優化',
text: '根據歷史聊天記錄優化完善當前問題,更利於匹配知識庫分段',
@ -376,13 +398,13 @@ export default {
loopItem: '循環元素',
loopVariable: '循環變量',
},
loopBodyNode: { label: '循環體', text: '循環體' },
loopBodyNode: {label: '循環體', text: '循環體'},
loopContinueNode: {
label: 'Continue',
text: '用於終止當前循環,執行下次循環',
isContinue: 'Continue',
},
loopBreakNode: { label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break' },
loopBreakNode: {label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break'},
variableSplittingNode: {
label: '變量拆分',
text: '用於拆分變量',

View File

@ -77,7 +77,7 @@
<template #label>
<div class="flex-between">
<span>
{{ $t('选择变量') }}
{{ $t('views.applicationWorkflow.nodes.searchDocumentNode.select_variable') }}
</span>
<span>
<el-select

View File

@ -73,7 +73,7 @@
<template #label>
<div class="flex-between">
<span>
{{ $t('选择变量') }}
{{ $t('views.applicationWorkflow.nodes.searchDocumentNode.select_variable') }}
</span>
<span>
<el-select