fix: i18n

This commit is contained in:
wangdan-fit2cloud 2025-01-21 16:46:18 +08:00
parent 5009a28853
commit 7779dbe1b0
14 changed files with 79 additions and 79 deletions

View File

@ -40,7 +40,7 @@ export default {
noData: 'No data', noData: 'No data',
result: 'Result', result: 'Result',
fileUpload: { fileUpload: {
document: 'Documentation', document: 'Documents',
image: 'Image', image: 'Image',
audio: 'Audio', audio: 'Audio',
video: 'Video' video: 'Video'

View File

@ -108,13 +108,13 @@ export default {
defaultPrompt: 'Known Information' defaultPrompt: 'Known Information'
}, },
searchDatasetNode: { searchDatasetNode: {
label: 'Knowledge Base Search', label: 'Knowledge Search',
text: 'Associate knowledge base and find relevant segments', text: 'Associate knowledge and find relevant segments',
paragraph_list: 'List of retrieved paragraphs', paragraph_list: 'List of retrieved paragraphs',
is_hit_handling_method_list: 'List of segments that meet direct response criteria', is_hit_handling_method_list: 'List of segments that meet direct response criteria',
result: 'Search Result', result: 'Search Result',
directly_return: 'Content of segments that meet direct response criteria', directly_return: 'Content of segments that meet direct response criteria',
selectDatasetText: 'Associated knowledge base displayed here', selectDatasetText: 'Associated knowledge displayed here',
searchParam: 'Search Parameters', searchParam: 'Search Parameters',
searchQuestion: { searchQuestion: {
label: 'Search Question', label: 'Search Question',
@ -124,7 +124,7 @@ export default {
}, },
questionNode: { questionNode: {
label: 'Question Optimization', label: 'Question Optimization',
text: 'Optimize and improve the current question based on historical chat records to better match knowledge base segments', text: 'Optimize and improve the current question based on historical chat records to better match knowledge segments',
result: 'Optimized Question Result', result: 'Optimized Question Result',
defaultPrompt: `Optimize and improve the user's question based on context: {{start.question}} defaultPrompt: `Optimize and improve the user's question based on context: {{start.question}}
Please output an optimized question.`, Please output an optimized question.`,
@ -155,7 +155,7 @@ Please output an optimized question.`,
}, },
rerankerNode: { rerankerNode: {
label: 'Multi-path Recall', label: 'Multi-path Recall',
text: 'Use re-ranking model to perform secondary recall on retrieval results from multiple knowledge bases', text: 'Use Rerank to perform secondary recall on retrieval results from multiple knowledge',
result_list: 'Re-ranked Results List', result_list: 'Re-ranked Results List',
result: 'Re-ranking Result', result: 'Re-ranking Result',
rerankerContent: { rerankerContent: {
@ -166,8 +166,8 @@ Please output an optimized question.`,
ScoreTooltip: 'The higher the Score, the stronger the relevance.', ScoreTooltip: 'The higher the Score, the stronger the relevance.',
max_paragraph_char_number: 'Maximum number of characters to quote', max_paragraph_char_number: 'Maximum number of characters to quote',
reranker_model: { reranker_model: {
label: 'Re-ranking Model', label: 'Rerank',
placeholder: 'Please select a re-ranking model' placeholder: 'Please select a Rerank'
} }
}, },
formNode: { formNode: {
@ -194,8 +194,8 @@ Please output an optimized question.`,
text: 'Identify objects, scenes, etc., in images to answer user questions', text: 'Identify objects, scenes, etc., in images to answer user questions',
answer: 'AI Answer Content', answer: 'AI Answer Content',
model: { model: {
label: 'Image Understanding Model', label: 'Vision Model',
requiredMessage: 'Please select an image understanding model' requiredMessage: 'Please select a Vision Model'
}, },
image: { image: {
label: 'Select Image', label: 'Select Image',
@ -221,7 +221,7 @@ Please output an optimized question.`,
} }
}, },
speechToTextNode: { speechToTextNode: {
label: 'Speech-to-Text', label: 'Speech2Text',
text: 'Convert audio to text through speech recognition model', text: 'Convert audio to text through speech recognition model',
stt_model: { stt_model: {
label: 'Speech Recognition Model' label: 'Speech Recognition Model'
@ -232,7 +232,7 @@ Please output an optimized question.`,
} }
}, },
textToSpeechNode: { textToSpeechNode: {
label: 'Text-to-Speech', label: 'TTS',
text: 'Convert text to audio through speech synthesis model', text: 'Convert text to audio through speech synthesis model',
tts_model: { tts_model: {
label: 'Speech Synthesis Model' label: 'Speech Synthesis Model'

View File

@ -65,7 +65,7 @@ export default {
noReferencesTooltip: noReferencesTooltip:
'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {question} is the question posed by the user.', 'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {question} is the question posed by the user.',
referencesTooltip: referencesTooltip:
'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge base; {question} is the question posed by the user.', 'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge; {question} is the question posed by the user.',
defaultPrompt: `Known information: {data} defaultPrompt: `Known information: {data}
Question: {question} Question: {question}
Response requirements: Response requirements:
@ -76,16 +76,16 @@ export default {
label: 'Historical chat records' label: 'Historical chat records'
}, },
relatedKnowledge: { relatedKnowledge: {
label: 'Related Knowledge Base', label: 'Related Knowledge',
placeholder: 'Associated knowledge bases are displayed here' placeholder: 'Associated knowledge are displayed here'
}, },
multipleRoundsDialogue: 'Multiple Rounds Dialogue', multipleRoundsDialogue: 'Multiple Rounds Dialogue',
prologue: 'Prologue', prologue: 'Prologue',
defaultPrologue: defaultPrologue:
'Hello, I am XXX Assistant. You can ask me questions about using XXX.\n- What are the main features of MaxKB?\n- Which large language models does MaxKB support?\n- What document types does MaxKB support?', 'Hello, I am XXX Assistant. You can ask me questions about using XXX.\n- What are the main features of MaxKB?\n- Which LLM does MaxKB support?\n- What document types does MaxKB support?',
problemOptimization: { problemOptimization: {
label: 'Problem Optimization', label: 'Questions Optimization',
tooltip: tooltip:
'Optimize the current question based on historical chat to better match knowledge points.' 'Optimize the current question based on historical chat to better match knowledge points.'
}, },
@ -111,29 +111,29 @@ export default {
addModel: 'Add Model' addModel: 'Add Model'
}, },
dialog: { dialog: {
addDataset: 'Add Related Knowledge Base', addDataset: 'Add Related Knowledge',
addDatasetPlaceholder: 'The selected knowledge bases must use the same embedding model', addDatasetPlaceholder: 'The selected knowledge must use the same embedding model',
selected: 'Selected', selected: 'Selected',
countDataset: 'Knowledge', countDataset: 'Knowledge',
selectSearchMode: 'Search Mode', selectSearchMode: 'Search Mode',
vectorSearch: 'Vector Search', vectorSearch: 'Vector Search',
vectorSearchTooltip: vectorSearchTooltip:
'Vector search is a retrieval method based on vector distance calculations, suitable for large data volumes in the knowledge base.', 'Vector search is a retrieval method based on vector distance calculations, suitable for large data volumes in the knowledge.',
fullTextSearch: 'Full-text Search', fullTextSearch: 'Full-text Search',
fullTextSearchTooltip: fullTextSearchTooltip:
'Full-text search is a retrieval method based on text similarity, suitable for small data volumes in the knowledge base.', 'Full-text search is a retrieval method based on text similarity, suitable for small data volumes in the knowledge.',
hybridSearch: 'Hybrid Search', hybridSearch: 'Hybrid Search',
hybridSearchTooltip: hybridSearchTooltip:
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge base.', 'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
similarityThreshold: 'Similarity Threshold', similarityThreshold: 'Similarity Threshold',
topReferences: 'Top N References', topReferences: 'Top N References',
maxCharacters: 'Maximum Characters per Reference', maxCharacters: 'Maximum Characters per Reference',
noReferencesAction: 'When there are no knowledge base references', noReferencesAction: 'When there are no knowledge references',
continueQuestioning: 'Continue Questioning AI Model', continueQuestioning: 'Continue Questioning AI Model',
provideAnswer: 'Provide a Specific Answer', provideAnswer: 'Provide a Specific Answer',
designated_answer: designated_answer:
'Hello, I am XXX Assistant. My knowledge base only contains information related to XXX products. Please rephrase your question.', 'Hello, I am XXX Assistant. My knowledge only contains information related to XXX products. Please rephrase your question.',
defaultPrompt1: defaultPrompt1:
"The content inside the parentheses () represents the user's question. Based on the context, please speculate and complete the user's question ({question}). The requirement is to output a completed question and place it", "The content inside the parentheses () represents the user's question. Based on the context, please speculate and complete the user's question ({question}). The requirement is to output a completed question and place it",
defaultPrompt2: 'tag' defaultPrompt2: 'tag'
@ -200,7 +200,7 @@ export default {
copyUrl: 'Copy the link and fill it in' copyUrl: 'Copy the link and fill it in'
}, },
hitTest: { hitTest: {
title: 'Hit testing', title: 'Retrieval Test',
text: 'Ensure effective response by matching paragraphs to user inquiries.', text: 'Ensure effective response by matching paragraphs to user inquiries.',
emptyMessage1: 'The matching paragraph is displayed here', emptyMessage1: 'The matching paragraph is displayed here',
emptyMessage2: 'No matching sections found' emptyMessage2: 'No matching sections found'

View File

@ -13,15 +13,15 @@ export default {
}, },
tip: { tip: {
professionalMessage: professionalMessage:
'The community edition supports up to 50 knowledge bases. For more knowledge bases, please upgrade to the professional edition.', 'The community edition supports up to 50 knowledge. For more knowledge, please upgrade to the professional edition.',
syncSuccess: 'Sync task sent successfully', syncSuccess: 'Sync task sent successfully',
updateModeMessage: updateModeMessage:
'After modifying the knowledge base vector model, you need to vectorize the knowledge base. Do you want to continue saving?' 'After modifying the knowledge vector model, you need to vectorize the knowledge. Do you want to continue saving?'
}, },
delete: { delete: {
confirmTitle: 'Confirm Deletion of Knowledge Base:', confirmTitle: 'Confirm Deletion of Knowledge:',
confirmMessage1: 'This knowledge base is associated with', confirmMessage1: 'This knowledge is associated with',
confirmMessage2: 'applications. Deleting it will be irreversible, please proceed with caution.' confirmMessage2: 'APP. Deleting it will be irreversible, please proceed with caution.'
}, },
datasetForm: { datasetForm: {
title: { title: {
@ -29,15 +29,15 @@ export default {
}, },
form: { form: {
datasetName: { datasetName: {
label: 'Knowledge Base Name', label: 'Knowledge Name',
placeholder: 'Please enter the knowledge base name', placeholder: 'Please enter the knowledge name',
requiredMessage: 'Please enter the knowledge base name' requiredMessage: 'Please enter the knowledge name'
}, },
datasetDescription: { datasetDescription: {
label: 'Knowledge Base Description', label: 'Knowledge Description',
placeholder: placeholder:
'Describe the content of the knowledge base. A detailed description will help AI understand the content better, improving the accuracy of content retrieval and hit rate.', 'Describe the content of the knowledge. A detailed description will help AI understand the content better, improving the accuracy of content retrieval and hit rate.',
requiredMessage: 'Please enter the knowledge base description' requiredMessage: 'Please enter the knowledge description'
}, },
EmbeddingModel: { EmbeddingModel: {
label: 'Embedding Model', label: 'Embedding Model',
@ -45,7 +45,7 @@ export default {
requiredMessage: 'Please enter the Embedding model' requiredMessage: 'Please enter the Embedding model'
}, },
datasetType: { datasetType: {
label: 'Knowledge Base Type', label: 'Knowledge Type',
generalInfo: 'Upload local files or manually enter', generalInfo: 'Upload local files or manually enter',
webInfo: 'Sync text data from a Web site' webInfo: 'Sync text data from a Web site'
}, },

View File

@ -8,7 +8,7 @@ export default {
placeholder: 'Search by Document Name' placeholder: 'Search by Document Name'
}, },
setting: { setting: {
migration: 'Migration', migration: 'Move',
cancelGenerateQuestion: 'Cancel Generating Questions', cancelGenerateQuestion: 'Cancel Generating Questions',
cancelVectorization: 'Cancel Vectorization', cancelVectorization: 'Cancel Vectorization',
cancelGenerate: 'Cancel Generation' cancelGenerate: 'Cancel Generation'
@ -20,7 +20,7 @@ export default {
vectorizationSuccess: 'Batch vectorization successful', vectorizationSuccess: 'Batch vectorization successful',
nameMessage: 'File name cannot be empty!', nameMessage: 'File name cannot be empty!',
importMessage: 'Import successful', importMessage: 'Import successful',
migrationSuccess: 'Migration successful' migrationSuccess: 'Move successful'
}, },
upload: { upload: {
selectFile: 'Select File', selectFile: 'Select File',

View File

@ -15,12 +15,12 @@ export default {
delete: { delete: {
confirmTitle: 'Confirm Deletion of Function:', confirmTitle: 'Confirm Deletion of Function:',
confirmMessage: confirmMessage:
'Deleting this function will cause errors in applications that reference it when they are queried. Please proceed with caution.' 'Deleting this function will cause errors in APP that reference it when they are queried. Please proceed with caution.'
}, },
disabled: { disabled: {
confirmTitle: 'Confirm Disable Function:', confirmTitle: 'Confirm Disable Function:',
confirmMessage: confirmMessage:
'Disabling this function will cause errors in applications that reference it when they are queried. Please proceed with caution.' 'Disabling this function will cause errors in APP that reference it when they are queried. Please proceed with caution.'
}, },
functionForm: { functionForm: {
title: { title: {

View File

@ -1,8 +1,8 @@
export default { export default {
title: 'Conversation Logs', title: 'Conversation Logs',
delete: { delete: {
confirmTitle: 'Confirm Deletion of Problem:', confirmTitle: 'Confirm Deletion of Question:',
confirmMessage1: 'Deleting this problem will cancel the association of', confirmMessage1: 'Deleting this Question will cancel the association of',
confirmMessage2: 'paragraphs. Please proceed with caution.' confirmMessage2: 'paragraphs. Please proceed with caution.'
}, },
buttons: { buttons: {
@ -21,10 +21,10 @@ export default {
mark: 'Improvement Label', mark: 'Improvement Label',
recenTimes: 'Recent Conversation Time' recenTimes: 'Recent Conversation Time'
}, },
addToDataset: 'Add to Knowledge Base', addToDataset: 'Add to Knowledge',
daysText: 'Days ago', daysText: 'Days ago',
selectDataset: 'Select Knowledge Base', selectDataset: 'Select Knowledge',
selectDatasetPlaceholder: 'Please select a knowledge base', selectDatasetPlaceholder: 'Please select a knowledge',
saveToDocument: 'Save to Document', saveToDocument: 'Save to Document',
documentPlaceholder: 'Please select a document', documentPlaceholder: 'Please select a document',
editContent: 'Edit Content', editContent: 'Edit Content',

View File

@ -1,12 +1,12 @@
export default { export default {
title: 'Problem', title: 'Questions',
createProblem: 'Create Problem', createProblem: 'Create Question',
detailProblem: 'Problem Details', detailProblem: 'Question Details',
quickCreateProblem: 'Quick Create Problem', quickCreateProblem: 'Quick Create Question',
tip: { tip: {
placeholder: 'Enter the problem, support multiple entries, one per line.', placeholder: 'Enter the question, support multiple entries, one per line.',
errorMessage: 'Problem cannot be empty!', errorMessage: 'Question cannot be empty!',
requiredMessage: 'Please enter a problem', requiredMessage: 'Please enter a question',
relatedSuccess: 'Batch association of paragraphs successful' relatedSuccess: 'Batch association of paragraphs successful'
}, },
@ -22,8 +22,8 @@ export default {
updateTime: 'Update Time' updateTime: 'Update Time'
}, },
delete: { delete: {
confirmTitle: 'Confirm Deletion of Problem:', confirmTitle: 'Confirm Deletion of question:',
confirmMessage1: 'Deleting this problem will cancel the association of', confirmMessage1: 'Deleting this question will cancel the association of',
confirmMessage2: 'paragraphs. Please proceed with caution.' confirmMessage2: 'paragraphs. Please proceed with caution.'
}, },
relateParagraph: { relateParagraph: {

View File

@ -117,7 +117,7 @@ export default {
websiteSlogan: 'Welcome Message', websiteSlogan: 'Welcome Message',
websiteSloganPlaceholder: 'Please enter the welcome message', websiteSloganPlaceholder: 'Please enter the welcome message',
websiteSloganTip: 'The welcome message below the product logo', websiteSloganTip: 'The welcome message below the product logo',
defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Base Q&A System', defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Q&A System',
defaultTip: 'Default is the MaxKB platform interface, supports custom settings', defaultTip: 'Default is the MaxKB platform interface, supports custom settings',
platformSetting: 'Platform Settings', platformSetting: 'Platform Settings',
showUserManual: 'Show User Manual', showUserManual: 'Show User Manual',
@ -130,7 +130,7 @@ export default {
saveSuccess: 'Appearance settings successfully applied' saveSuccess: 'Appearance settings successfully applied'
}, },
email: { email: {
title: 'Email Setting', title: 'Mail Setting',
smtpHost: 'SMTP Host', smtpHost: 'SMTP Host',
smtpHostPlaceholder: 'Please enter SMTP Host', smtpHostPlaceholder: 'Please enter SMTP Host',
smtpPort: 'SMTP Port', smtpPort: 'SMTP Port',

View File

@ -12,7 +12,7 @@ export default {
button: 'Remove', button: 'Remove',
confirmTitle: 'Confirm Removal of Member:', confirmTitle: 'Confirm Removal of Member:',
confirmMessage: confirmMessage:
'Removing the member will revoke their access to knowledge bases and applications.' 'Removing the member will revoke their access to knowledge and APP.'
}, },
setting: { setting: {
management: 'Manage', management: 'Manage',

View File

@ -1,5 +1,5 @@
export default { export default {
title: 'Model Settings', title: 'Models',
provider: 'Provider', provider: 'Provider',
providerPlaceholder: 'Select Provider', providerPlaceholder: 'Select Provider',
addModel: 'Add Model', addModel: 'Add Model',
@ -25,12 +25,12 @@ export default {
allModel: 'All Models', allModel: 'All Models',
publicModel: 'Public Models', publicModel: 'Public Models',
privateModel: 'Private Models', privateModel: 'Private Models',
LLM: 'Large Language Model', LLM: 'LLM',
EMBEDDING: 'Embedding Model', EMBEDDING: 'Embedding Model',
RERANKER: 'Reranker Model', RERANKER: 'Rerank',
STT: 'Speech-to-Text', STT: 'Speech2Text',
TTS: 'Text-to-Speech', TTS: 'TTS',
IMAGE: 'Image Understanding', IMAGE: 'Vision Model',
TTI: 'Image Generation' TTI: 'Image Generation'
}, },
templateForm: { templateForm: {
@ -60,17 +60,17 @@ export default {
label: 'Model Type', label: 'Model Type',
placeholder: 'Select a model type', placeholder: 'Select a model type',
tooltip1: tooltip1:
'Large Language Model: An inference model for AI conversations in the application.', 'LLM: An inference model for AI conversations in the APP.',
tooltip2: tooltip2:
'Embedding Model: A model for vectorizing document content in the knowledge base.', 'Embedding Model: A model for vectorizing document content in the knowledge.',
tooltip3: 'Speech-to-Text: A model used for speech recognition in the application.', tooltip3: 'Speech2Text: A model used for speech recognition in the APP.',
tooltip4: 'Text-to-Speech: A model used for text-to-speech in the application.', tooltip4: 'TTS: A model used for TTS in the APP.',
tooltip5: tooltip5:
'Reranker Model: A model used to reorder candidate segments when using multi-route recall in advanced orchestration applications.', 'Rerank: A model used to reorder candidate segments when using multi-route recall in advanced orchestration APP.',
tooltip6: tooltip6:
'Image Understanding: A visual model used for image understanding in advanced orchestration applications.', 'Vision Model: A visual model used for image understanding in advanced orchestration APP.',
tooltip7: tooltip7:
'Image Generation: A visual model used for image generation in advanced orchestration applications.', 'Image Generation: A visual model used for image generation in advanced orchestration APP.',
requiredMessage: 'Model type cannot be empty' requiredMessage: 'Model type cannot be empty'
}, },
base_model: { base_model: {

View File

@ -1,5 +1,5 @@
export default { export default {
title: 'User Management', title: 'User',
createUser: 'Create User', createUser: 'Create User',
editUser: 'Edit User', editUser: 'Edit User',
setting: { setting: {
@ -13,12 +13,12 @@ export default {
delete: { delete: {
confirmTitle: 'Confirm Deletion of User:', confirmTitle: 'Confirm Deletion of User:',
confirmMessage: confirmMessage:
'Deleting this user will also delete all resources (applications, knowledge bases, models) created by this user. Please proceed with caution.' 'Deleting this user will also delete all resources (APP, knowledge, models) created by this user. Please proceed with caution.'
}, },
disabled: { disabled: {
confirmTitle: 'Confirm Disable Function:', confirmTitle: 'Confirm Disable Function:',
confirmMessage: confirmMessage:
'Disabling this function will cause errors when applications that reference it are queried. Please proceed with caution.' 'Disabling this function will cause errors when APP that reference it are queried. Please proceed with caution.'
}, },
userForm: { userForm: {
form: { form: {

View File

@ -92,7 +92,7 @@ export default {
fileUploadType: { fileUploadType: {
label: '上传的文件类型', label: '上传的文件类型',
documentText: '需要使用“文档内容提取”节点解析文档内容', documentText: '需要使用“文档内容提取”节点解析文档内容',
imageText: '需要使用“图片理解”节点解析图片内容', imageText: '需要使用“视觉模型”节点解析图片内容',
audioText: '需要使用“语音转文本”节点解析音频内容' audioText: '需要使用“语音转文本”节点解析音频内容'
} }
} }
@ -195,8 +195,8 @@ export default {
text: '识别出图片中的对象、场景等信息回答用户问题', text: '识别出图片中的对象、场景等信息回答用户问题',
answer: 'AI 回答内容', answer: 'AI 回答内容',
model: { model: {
label: '图片理解模型', label: '视觉模型',
requiredMessage: '请选择图片理解模型' requiredMessage: '请选择视觉模型'
}, },
image: { image: {
label: '选择图片', label: '选择图片',

View File

@ -30,7 +30,7 @@ export default {
RERANKER: '重排模型', RERANKER: '重排模型',
STT: '语音识别', STT: '语音识别',
TTS: '语音合成', TTS: '语音合成',
IMAGE: '图片理解', IMAGE: '视觉模型',
TTI: '图片生成' TTI: '图片生成'
}, },
templateForm: { templateForm: {
@ -64,7 +64,7 @@ export default {
tooltip3: '语音识别:在应用中开启语音识别后用于语音转文字的模型。', tooltip3: '语音识别:在应用中开启语音识别后用于语音转文字的模型。',
tooltip4: '语音合成:在应用中开启语音播放后用于文字转语音的模型。', tooltip4: '语音合成:在应用中开启语音播放后用于文字转语音的模型。',
tooltip5: '重排模型:在高级编排应用中使用多路召回时,对候选分段进行重新排序的模型。', tooltip5: '重排模型:在高级编排应用中使用多路召回时,对候选分段进行重新排序的模型。',
tooltip6: '图片理解:在高级编排应用中用于图片理解的视觉模型。', tooltip6: '视觉模型:在高级编排应用中用于图片理解的视觉模型。',
tooltip7: '图片生成:在高级编排应用中用于图片生成的视觉模型。', tooltip7: '图片生成:在高级编排应用中用于图片生成的视觉模型。',
requiredMessage: '模型类型不能为空' requiredMessage: '模型类型不能为空'
}, },