Feat: use file size limit from api (#9739)
This commit is contained in:
@@ -386,7 +386,7 @@ const translation = {
|
||||
'localUpload': 'Local Upload',
|
||||
'both': 'Both',
|
||||
'maxNumberOfUploads': 'Max number of uploads',
|
||||
'maxNumberTip': 'Max {{size}} each',
|
||||
'maxNumberTip': 'Document < {{docLimit}}, image < {{imgLimit}}, audio < {{audioLimit}}, video < {{videoLimit}}',
|
||||
'errorMsg': {
|
||||
labelNameRequired: 'Label name is required',
|
||||
varNameCanBeRepeat: 'Variable name can not be repeated',
|
||||
|
@@ -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',
|
||||
},
|
||||
|
@@ -379,7 +379,7 @@ const translation = {
|
||||
'localUpload': '本地上传',
|
||||
'both': '两者',
|
||||
'maxNumberOfUploads': '最大上传数',
|
||||
'maxNumberTip': '最大上传文件大小为 {{size}}',
|
||||
'maxNumberTip': '文档 < {{docLimit}}, 图片 < {{imgLimit}}, 音频 < {{audioLimit}}, 视频 < {{videoLimit}}',
|
||||
'content': '内容',
|
||||
'errorMsg': {
|
||||
labelNameRequired: '显示名称必填',
|
||||
|
@@ -572,7 +572,7 @@ const translation = {
|
||||
pasteFileLinkInputPlaceholder: '输入文件链接',
|
||||
uploadFromComputerReadError: '文件读取失败,请重新选择。',
|
||||
uploadFromComputerUploadError: '文件上传失败,请重新上传。',
|
||||
uploadFromComputerLimit: '上传文件不能超过 {{size}}',
|
||||
uploadFromComputerLimit: '上传 {{type}} 不能超过 {{size}}',
|
||||
pasteFileLinkInvalid: '文件链接无效',
|
||||
fileExtensionNotSupport: '文件类型不支持',
|
||||
},
|
||||
|
Reference in New Issue
Block a user