N°2945 - Adding an empty file as an attachment is generating a fatal error

Changed error message
This commit is contained in:
Eric
2020-05-07 08:48:38 +02:00
parent 32f05ea917
commit c15b3462d1
2 changed files with 6 additions and 2 deletions

View File

@@ -32,7 +32,9 @@ 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:Error:UploadedFileEmpty' => 'The received file is empty and cannot be attached.
Either you have pushed an empty file,
or ask your iTop administrator if the iTop server disk is full.',
'Attachments:Render:Icons' => 'Display as icons',
'Attachments:Render:Table' => 'Display as list',
));