* Mb -> MB (for megabyte)

* i18n for MB and kB
This commit is contained in:
Siebrand Mazeland
2009-11-26 23:28:16 +01:00
parent b805208733
commit c6b1ca3765
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}