diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2009-11-26 23:28:16 +0100 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2009-11-26 23:28:16 +0100 |
commit | c6b1ca37658e69304af059e8048cdf22db375c3c (patch) | |
tree | 9db2600fb3906f17c18f12c8f26b2106566c77d1 /lib/imagefile.php | |
parent | b8052087330f90a0f864547d28d202e67fbab247 (diff) |
* Mb -> MB (for megabyte)
* i18n for MB and kB
Diffstat (limited to 'lib/imagefile.php')
-rw-r--r-- | lib/imagefile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/imagefile.php b/lib/imagefile.php index cf1668f20..6bc8e599b 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -214,9 +214,9 @@ class ImageFile $value = ImageFile::maxFileSizeInt(); if ($value > 1024 * 1024) { - return ($value/(1024*1024)).'Mb'; + return ($value/(1024*1024)) . _('MB'); } else if ($value > 1024) { - return ($value/(1024)).'kB'; + return ($value/(1024)) . _('kB'); } else { return $value; } |