mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-30 00:19:25 +02:00
Upload_Validator fixing file size spelling
This commit is contained in:
parent
0178fa5a18
commit
7867c51388
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user