summaryrefslogtreecommitdiff
path: root/lib/themeuploader.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-11-01 13:50:24 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-11-01 16:49:33 +0100
commitb89dfa3a5b5d0febdbf1a45f2a8b855315204b69 (patch)
tree05d426bdfc4f5e1726570464d46e5bee8d995f0f /lib/themeuploader.php
parent68bfeaa6c69e676f5b08f6f3a2ec2576cd2fc6c9 (diff)
Fix i18n issues that are solved by using plural.
Diffstat (limited to 'lib/themeuploader.php')
-rw-r--r--lib/themeuploader.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/themeuploader.php b/lib/themeuploader.php
index 5a48e884e..b7b14d7b9 100644
--- a/lib/themeuploader.php
+++ b/lib/themeuploader.php
@@ -163,9 +163,10 @@ class ThemeUploader
$estSize = $blockSize * max(1, intval(ceil($size / $blockSize)));
$totalSize += $estSize;
if ($totalSize > $sizeLimit) {
- $msg = sprintf(_("Uploaded theme is too large; " .
- "must be less than %d bytes uncompressed."),
- $sizeLimit);
+ $msg = sprintf(_m('Uploaded theme is too large; must be less than %d byte uncompressed.',
+ 'Uploaded theme is too large; must be less than %d bytes uncompressed.',
+ $sizeLimit),
+ $sizeLimit);
throw new ClientException($msg);
}