Merge pull request #5226 from timkung/pulls/upload-validator-filesize-spelling

DOCS Upload_Validator fixing file size spelling
This commit is contained in:
Daniel Hensby 2016-03-24 09:41:35 +00:00
commit 0ce257495b

View File

@ -540,8 +540,8 @@ class Upload_Validator {
$arg = File::format_size($this->getAllowedMaxFileSize($ext));
$this->errors[] = _t(
'File.TOOLARGE',
'Filesize is too large, maximum {size} allowed',
'Argument 1: Filesize (e.g. 1MB)',
'File size is too large, maximum {size} allowed',
'Argument 1: File size (e.g. 1MB)',
array('size' => $arg)
);
return false;