From c6b1ca37658e69304af059e8048cdf22db375c3c Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 26 Nov 2009 23:28:16 +0100 Subject: * Mb -> MB (for megabyte) * i18n for MB and kB --- lib/imagefile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/imagefile.php') 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; } -- cgit v1.2.3-54-g00ecf