Updated error message for invalid attachments (#24872)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6746857ee7
Коммит
89eae8babe
@@ -360,7 +360,7 @@ export class FileUpload extends PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
if (files.length === 0) {
|
||||
this.props.onUploadError(localizeMessage('file_upload.drag_folder', 'Folders cannot be uploaded. Please drag all files separately.'));
|
||||
this.props.onUploadError(localizeMessage('file_upload.drag_folder', 'This attachment cannot be uploaded.'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -3486,7 +3486,7 @@
|
||||
"file_search_result_item.more_actions": "More Actions",
|
||||
"file_search_result_item.open_in_channel": "Open in channel",
|
||||
"file_upload.disabled": "File attachments are disabled.",
|
||||
"file_upload.drag_folder": "Folders cannot be uploaded. Please drag all files separately.",
|
||||
"file_upload.drag_folder": "This attachment cannot be uploaded.",
|
||||
"file_upload.fileAbove": "File above {max}MB could not be uploaded: {filename}",
|
||||
"file_upload.filesAbove": "Files above {max}MB could not be uploaded: {filenames}",
|
||||
"file_upload.generic_error": "There was a problem uploading your files.",
|
||||
|
||||
@@ -3490,7 +3490,7 @@
|
||||
"file_search_result_item.more_actions": "More Actions",
|
||||
"file_search_result_item.open_in_channel": "Open in channel",
|
||||
"file_upload.disabled": "File attachments are disabled.",
|
||||
"file_upload.drag_folder": "Folders cannot be uploaded. Please drag all files separately.",
|
||||
"file_upload.drag_folder": "This attachment cannot be uploaded.",
|
||||
"file_upload.fileAbove": "File above {max}MB cannot be uploaded: {filename}",
|
||||
"file_upload.filesAbove": "Files above {max}MB cannot be uploaded: {filenames}",
|
||||
"file_upload.generic_error": "There was a problem uploading your files.",
|
||||
|
||||
Ссылка в новой задаче
Block a user