MDL-35288 drag and drop upload - adjust error message text when attempting to upload a folder

This commit is contained in:
Davo Smith 2012-10-03 08:46:55 +01:00
parent 5d6285c220
commit 91813c1b4b

View File

@ -34,4 +34,4 @@ $string['upload_error_no_file'] = 'No file was uploaded.';
$string['upload_error_no_tmp_dir'] = 'PHP is missing a temporary folder.';
$string['upload_error_cant_write'] = 'Failed to write file to disk.';
$string['upload_error_extension'] = 'A PHP extension stopped the file upload.';
$string['upload_error_invalid_file'] = 'The file \'{$a}\' has no data in it - did you try to upload a folder?';
$string['upload_error_invalid_file'] = 'The file \'{$a}\' is either empty or a folder. To upload folders zip them first.';