N°2945 - Fix fatal error when adding empty attachment

alert when empty attachment is detected
This commit is contained in:
Eric
2020-04-20 10:54:27 +02:00
parent bbc751bee4
commit 432a950f8c
5 changed files with 30 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ Dict::Add('EN US', 'English', 'English', array(
'Attachments:NoAttachment' => 'No attachment. ',
'Attachments:PreviewNotAvailable' => 'Preview not available for this type of attachment.',
'Attachments:Error:FileTooLarge' => 'File is too large to be uploaded. %1$s',
'Attachments:Error:UploadedFileEmpty' => 'The received file is empty. Check that your server disk is not full.',
'Attachments:Render:Icons' => 'Display as icons',
'Attachments:Render:Table' => 'Display as list',
));