refactor: simplify file upload logic in DocumentUploadTab by removing file count and size limits; update file size limit messages in multiple languages

This commit is contained in:
Anish Sarkar 2026-04-03 17:24:06 +05:30
parent c964b47f99
commit 1c50106c81
7 changed files with 30 additions and 120 deletions

View file

@ -376,14 +376,14 @@
"upload_documents": {
"title": "Upload Documents",
"subtitle": "Upload your files to make them searchable and accessible through AI-powered conversations.",
"file_size_limit": "Maximum file size: 50MB per file",
"upload_limits": "Upload limit: {maxFiles} files, {maxSizeMB}MB total",
"file_size_limit": "Maximum file size: 500MB per file",
"drop_files": "Drop files or folders here",
"drag_drop": "Drag & drop files or folders here",
"drag_drop_more": "Drop or browse to add more files",
"or_browse": "or click to browse",
"browse_files": "Browse Files",
"browse_folder": "Browse Folder",
"selected_files": "Selected Files ({count})",
"selected_files": "{count} selected {count, plural, one {file} other {files}}",
"total_size": "Total size",
"clear_all": "Clear all",
"uploading_files": "Uploading files",
@ -397,14 +397,7 @@
"file_types_desc": "These file types are supported based on your current ETL service configuration.",
"file_too_large": "File Too Large",
"file_too_large_desc": "\"{name}\" exceeds the {maxMB}MB per-file limit.",
"no_supported_files_in_folder": "No supported file types found in the selected folder.",
"remaining_capacity": "{files} files, {sizeMB}MB remaining",
"file_limit_reached": "File limit reached",
"file_limit_reached_desc": "Maximum of {max} files allowed",
"max_files_exceeded": "Too many files",
"max_files_exceeded_desc": "You can upload a maximum of {max} files at once",
"max_size_exceeded": "Total size exceeded",
"max_size_exceeded_desc": "Total upload size cannot exceed {max}MB"
"no_supported_files_in_folder": "No supported file types found in the selected folder."
},
"add_webpage": {
"title": "Add Webpages for Crawling",