mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 21:29:23 +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));
|
$arg = File::format_size($this->getAllowedMaxFileSize($ext));
|
||||||
$this->errors[] = _t(
|
$this->errors[] = _t(
|
||||||
'File.TOOLARGE',
|
'File.TOOLARGE',
|
||||||
'Filesize is too large, maximum {size} allowed',
|
'File size is too large, maximum {size} allowed',
|
||||||
'Argument 1: Filesize (e.g. 1MB)',
|
'Argument 1: File size (e.g. 1MB)',
|
||||||
array('size' => $arg)
|
array('size' => $arg)
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user