summaryrefslogtreecommitdiff
path: root/modules/gallery/views/simple_uploader.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/simple_uploader.html.php')
-rw-r--r--modules/gallery/views/simple_uploader.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php
index fc426e8f..1f185780 100644
--- a/modules/gallery/views/simple_uploader.html.php
+++ b/modules/gallery/views/simple_uploader.html.php
@@ -217,7 +217,7 @@
var fp = new File_Progress(file);
switch (error_code) {
case SWFUpload.UPLOAD_ERROR.HTTP_ERROR:
- fp.set_status("error", "<?= t("Upload error: ")->for_js() ?>" + message);
+ fp.set_status("error", "<?= t("Upload error: bad image file")->for_js() ?>");
break;
case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED:
fp.set_status("error", "<?= t("Upload failed")->for_js() ?>");