]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Improve error message per discussion on http://translatewiki.net/wiki/Thread:Support...
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 21 Jun 2010 18:15:26 +0000 (20:15 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 21 Jun 2010 18:15:26 +0000 (20:15 +0200)
Spotted by Peter17 and changed per suggestion of McDutchie with approval of Brion.

lib/themeuploader.php

index 18ef8c4d1abe81a323854174feff94c680dbe636..370965db08de17d7f8dd5e3093772b14b1cddaf9 100644 (file)
@@ -55,10 +55,10 @@ class ThemeUploader
     public static function fromUpload($name)
     {
         if (!isset($_FILES[$name]['error'])) {
-            throw new ServerException(_("Theme upload missing or failed."));
+            throw new ServerException(_("The theme file is missing or the upload failed."));
         }
         if ($_FILES[$name]['error'] != UPLOAD_ERR_OK) {
-            throw new ServerException(_("Theme upload missing or failed."));
+            throw new ServerException(_("The theme file is missing or the upload failed."));
         }
         return new ThemeUploader($_FILES[$name]['tmp_name']);
     }