mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 01:36:30 +02:00
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:
parent
c964b47f99
commit
1c50106c81
7 changed files with 30 additions and 120 deletions
|
|
@ -360,14 +360,14 @@
|
|||
"upload_documents": {
|
||||
"title": "上传文档",
|
||||
"subtitle": "上传您的文件,使其可通过 AI 对话进行搜索和访问。",
|
||||
"file_size_limit": "最大文件大小:每个文件 50MB",
|
||||
"upload_limits": "上传限制:最多 {maxFiles} 个文件,总大小不超过 {maxSizeMB}MB",
|
||||
"file_size_limit": "最大文件大小:每个文件 500MB",
|
||||
"drop_files": "将文件或文件夹拖放到此处",
|
||||
"drag_drop": "拖放文件或文件夹到这里",
|
||||
"drag_drop_more": "拖放或浏览以添加更多文件",
|
||||
"or_browse": "或点击浏览",
|
||||
"browse_files": "浏览文件",
|
||||
"browse_folder": "浏览文件夹",
|
||||
"selected_files": "已选择的文件 ({count})",
|
||||
"selected_files": "已选择 {count} 个文件",
|
||||
"total_size": "总大小",
|
||||
"clear_all": "全部清除",
|
||||
"uploading_files": "正在上传文件...",
|
||||
|
|
@ -381,14 +381,7 @@
|
|||
"file_types_desc": "根据您当前的 ETL 服务配置支持这些文件类型。",
|
||||
"file_too_large": "文件过大",
|
||||
"file_too_large_desc": "\"{name}\" 超过了每个文件 {maxMB}MB 的限制。",
|
||||
"no_supported_files_in_folder": "所选文件夹中没有找到支持的文件类型。",
|
||||
"remaining_capacity": "剩余 {files} 个文件,{sizeMB}MB",
|
||||
"file_limit_reached": "已达文件数量上限",
|
||||
"file_limit_reached_desc": "最多允许 {max} 个文件",
|
||||
"max_files_exceeded": "文件数量过多",
|
||||
"max_files_exceeded_desc": "一次最多上传 {max} 个文件",
|
||||
"max_size_exceeded": "总大小超出限制",
|
||||
"max_size_exceeded_desc": "总上传大小不能超过 {max}MB"
|
||||
"no_supported_files_in_folder": "所选文件夹中没有找到支持的文件类型。"
|
||||
},
|
||||
"add_webpage": {
|
||||
"title": "添加网页爬取",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue