Upload_Validator fixing file size spelling

This commit is contained in:
Tim Kung 2016-03-24 15:45:58 +13:00
parent 0178fa5a18
commit 7867c51388

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;