diff --git a/application/utils.inc.php b/application/utils.inc.php index 16de6f929..635eaae4d 100644 --- a/application/utils.inc.php +++ b/application/utils.inc.php @@ -92,7 +92,7 @@ class utils case UPLOAD_ERR_FORM_SIZE: case UPLOAD_ERR_INI_SIZE: - throw new FileUploadException(Dict::Format('UI:Error:UploadedFileTooBig'), ini_get('upload_max_filesize')); + throw new FileUploadException(Dict::Format('UI:Error:UploadedFileTooBig', ini_get('upload_max_filesize'))); break; case UPLOAD_ERR_PARTIAL: diff --git a/dictionaries/dictionary.itop.ui.php b/dictionaries/dictionary.itop.ui.php index d023216f0..760677e1b 100644 --- a/dictionaries/dictionary.itop.ui.php +++ b/dictionaries/dictionary.itop.ui.php @@ -336,7 +336,7 @@ Dict::Add('EN US', 'English', 'English', array( 'UI:Error:IncorrectLinkDefinition_LinkedClass_Class' => 'Incorrect link definition: the class of objects to manage: %1$s was not found as an external key in the class %2$s', 'UI:Error:Object_Class_Id_NotFound' => 'Object: %1$s:%2$d not found.', 'UI:Error:WizardCircularReferenceInDependencies' => 'Error: Circular reference in the dependencies between the fields, check the data model.', - 'UI:Error:UploadedFileTooBig' => 'Uploaded file is too big. (Max allowed size is %1$s. Check you PHP configuration for upload_max_filesize.', + 'UI:Error:UploadedFileTooBig' => 'Uploaded file is too big. (Max allowed size is %1$s). Check you PHP configuration for upload_max_filesize.', 'UI:Error:UploadedFileTruncated.' => 'Uploaded file has been truncated !', 'UI:Error:NoTmpDir' => 'The temporary directory is not defined.', 'UI:Error:CannotWriteToTmp_Dir' => 'Unable to write the temporary file to the disk. upload_tmp_dir = "%1$s".',