Browse files

MDL-35288 drag and drop upload - adjust error message text when attem…

…pting to upload a folder
  • Loading branch information...
1 parent 5d6285c commit 91813c1b4bf195e91933c780a716f6c2104d5c0e @davosmith davosmith committed Oct 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 repository/upload/lang/en/repository_upload.php
View
2 repository/upload/lang/en/repository_upload.php
@@ -34,4 +34,4 @@
$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.';

0 comments on commit 91813c1

Please sign in to comment.