mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #5226 from timkung/pulls/upload-validator-filesize-spelling
DOCS Upload_Validator fixing file size spelling
This commit is contained in:
commit
0ce257495b
@ -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