feat(i18n): add file upload translations and update raptor prompt

This commit is contained in:
2025-10-29 16:54:04 +08:00
parent 9199ed7c29
commit b35fe51d60
4 changed files with 30 additions and 12 deletions

View File

@@ -1234,11 +1234,6 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
destinationFolder: '目标文件夹',
pleaseUploadAtLeastOneFile: '请上传至少一个文件',
},
layout: {
file: 'file',
knowledge: 'knowledge',
chat: 'chat',
},
mcp: {
export: '导出',
import: '导入',
@@ -1523,6 +1518,20 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
downloadFile: '下载文件',
openInNewTab: '在新标签页中打开',
},
fileUpload: {
uploadFiles: '上传文件',
fileSizeExceeded: '文件大小超出限制',
unsupportedFileType: '不支持的文件类型',
maxFilesExceeded: '超出最大文件数量限制',
duplicateFile: '重复文件',
uploadFailed: '上传失败',
dropFilesHere: '将文件拖拽到此处',
dragOrClickToUpload: '拖拽文件到此处或点击上传',
supportedFormats: '支持的格式:.pdf, .docx, .txt, .md, .png, .jpg, .jpeg, .mp4, .wav',
fileLimits: '文件限制',
selectedFiles: '已选择的文件',
uploading: '上传中...',
},
dialog: {
confirm: '确认',
cancel: '取消',