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

This commit is contained in:
KVOJJJin
2024-10-24 22:55:17 +08:00
committed by GitHub
parent 2346b0ab99
commit 5d1424f67c
19 changed files with 205 additions and 28 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',
},