diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-06-21 20:15:26 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-06-21 20:15:26 +0200 |
commit | 87125a1395ed4bf8660e2ba47645835b9d1f4acf (patch) | |
tree | 95621a603816273b54307d6bd418500399f772d5 | |
parent | f31a6de311cfed99eb4cf27bd4ff3d0df27d5434 (diff) |
Improve error message per discussion on http://translatewiki.net/wiki/Thread:Support/Unclear_message.
Spotted by Peter17 and changed per suggestion of McDutchie with approval of Brion.
-rw-r--r-- | lib/themeuploader.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/themeuploader.php b/lib/themeuploader.php index 18ef8c4d1..370965db0 100644 --- a/lib/themeuploader.php +++ b/lib/themeuploader.php @@ -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']); } |