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

@@ -1327,11 +1327,6 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
cancelText: 'Cancel',
chooseDataset: 'Please select a dataset first',
},
layout: {
file: 'file',
knowledge: 'knowledge',
chat: 'chat',
},
language: {
english: 'English',
chinese: 'Chinese',
@@ -1559,6 +1554,20 @@ Important structured information may include: names, dates, locations, events, k
filePreview: 'File Preview',
loadingFile: 'Loading file...',
},
fileUpload: {
uploadFiles: 'Upload Files',
fileSizeExceeded: 'File size exceeded',
unsupportedFileType: 'Unsupported file type',
maxFilesExceeded: 'Maximum number of files exceeded',
duplicateFile: 'Duplicate file',
uploadFailed: 'Upload failed',
dropFilesHere: 'Drop files here',
dragOrClickToUpload: 'Drag files here or click to upload',
supportedFormats: 'Supported formats: .pdf, .docx, .txt, .md, .png, .jpg, .jpeg, .mp4, .wav',
fileLimits: 'File limits',
selectedFiles: 'Selected files',
uploading: 'Uploading...',
},
dialog: {
confirm: 'Confirm',
cancel: 'Cancel',