Skip to content
Browse files

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

…pting to upload a folder
  • Loading branch information...
1 parent fff33fd commit cd2a0bf71557b4fa525a0644bc2b9f61d22a7c7b @davosmith davosmith committed with Sam Hemelryk 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 cd2a0bf

Please sign in to comment.
Something went wrong with that request. Please try again.