feat: support batch upload files (#419)

This commit is contained in:
Joel
2023-06-21 09:44:01 +08:00
committed by GitHub
parent 8a4d19d9ba
commit d637a147ee
10 changed files with 288 additions and 226 deletions

View File

@ -23,10 +23,10 @@ const translation = {
title: 'Upload text file',
button: 'Drag and drop file, or',
browse: 'Browse',
tip: 'Supports txt, html, markdown, xlsx, and pdf.',
tip: 'Supports txt, html, markdown, xlsx, and pdf. Max 10MB each.',
validation: {
typeError: 'File type not supported',
size: 'File too large. Maximum is 15MB',
size: 'File too large. Maximum is 10MB',
count: 'Multiple files not supported',
},
cancel: 'Cancel',

View File

@ -23,10 +23,10 @@ const translation = {
title: '上传文本文件',
button: '拖拽文件至此,或者',
browse: '选择文件',
tip: '已支持 TXT, HTML, Markdown, PDF, XLSX',
tip: '已支持 TXT HTML Markdown PDF XLSX,每个文件不超过 10 MB。',
validation: {
typeError: '文件类型不支持',
size: '文件太大了,不能超过 15MB',
size: '文件太大了,不能超过 10MB',
count: '暂不支持多个文件',
},
cancel: '取消',