Feat: use file size limit from api (#9711)

This commit is contained in:
KVOJJJin 2024-10-23 17:03:44 +08:00 • committed by GitHub
commit e32116b9a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 127 additions and 17 deletions

View file

@ -572,7 +572,7 @@ const translation = {
pasteFileLinkInputPlaceholder: 'Enter URL...',
uploadFromComputerReadError: 'File reading failed, please try again.',
uploadFromComputerUploadError: 'File upload failed, please upload again.',
uploadFromComputerLimit: 'Upload File cannot exceed {{size}}',
uploadFromComputerLimit: 'Upload {{type}} cannot exceed {{size}}',
pasteFileLinkInvalid: 'Invalid file link',
fileExtensionNotSupport: 'File extension not supported',
},