feat: Add folder upload functionality and enhance document upload experience
- Introduced a new option for users to upload entire folders, improving document management capabilities. - Enhanced file type verification to provide better feedback for unsupported files during uploads. - Updated UI components in the menu for clearer action items related to document uploads. - Improved localization support for new upload messages in English, Russian, and Chinese.
This commit is contained in:
@@ -50,6 +50,18 @@ export default {
|
||||
uploadFailed: 'Ошибка загрузки файла!',
|
||||
docActionUnsupported: 'Этот тип базы знаний не поддерживает данную операцию',
|
||||
fileExists: 'Файл уже существует',
|
||||
uploadingMultiple: 'Загрузка {total} файлов...',
|
||||
uploadAllSuccess: 'Успешно загружено {count} файлов!',
|
||||
uploadPartialSuccess: 'Загрузка завершена: успешно {success}, ошибка {fail}',
|
||||
uploadAllFailed: 'Все файлы не удалось загрузить',
|
||||
uploadingFolder: 'Загрузка {total} файлов из папки...',
|
||||
uploadingValidFiles: 'Загрузка {valid}/{total} действительных файлов...',
|
||||
noValidFiles: 'Нет действительных файлов',
|
||||
noValidFilesInFolder: 'Все {total} файлов в папке не поддерживаются',
|
||||
noValidFilesSelected: 'Все выбранные файлы не поддерживаются',
|
||||
unsupportedFileType: 'Неподдерживаемый тип файла',
|
||||
failedFilesList: 'Неудавшиеся файлы:',
|
||||
andMoreFiles: '...и ещё {count} файлов',
|
||||
uploadFile: 'Загрузить файл',
|
||||
uploadFileDesc: 'Поддерживает PDF, Word, TXT и т.д.',
|
||||
importURL: 'Импорт из URL',
|
||||
@@ -785,6 +797,8 @@ export default {
|
||||
downloadCompleted: '{name} успешно загружена',
|
||||
downloadFailed: 'Не удалось загрузить {name}',
|
||||
downloadStartFailed: 'Не удалось запустить загрузку',
|
||||
ollamaUnavailable: 'Сервис Ollama недоступен, локальные модели недоступны для выбора',
|
||||
goToOllamaSettings: 'Открыть настройки',
|
||||
validation: {
|
||||
modelNameRequired: 'Введите название модели',
|
||||
modelNameEmpty: 'Название модели не может быть пустым',
|
||||
@@ -1201,6 +1215,7 @@ export default {
|
||||
},
|
||||
upload: {
|
||||
uploadDocument: 'Загрузить документ',
|
||||
uploadFolder: 'Загрузить папку',
|
||||
onlineEdit: 'Онлайн редактирование',
|
||||
deleteRecord: 'Удалить запись'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user