Skip to content

Commit

Permalink
MDL-35288 drag and drop upload - adjust error message text when attem…
Browse files Browse the repository at this point in the history
…pting to upload a folder
  • Loading branch information
davosmith committed Oct 3, 2012
1 parent 5d6285c commit 91813c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/upload/lang/en/repository_upload.php
Expand Up @@ -34,4 +34,4 @@
$string['upload_error_no_tmp_dir'] = 'PHP is missing a temporary folder.'; $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_cant_write'] = 'Failed to write file to disk.';
$string['upload_error_extension'] = 'A PHP extension stopped the file upload.'; $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.';

0 comments on commit 91813c1

Please sign in to comment.