make MiB/KiB translatable
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 24 Jan 2008 15:22:43 +0000 (15:22 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 24 Jan 2008 15:22:43 +0000 (15:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12898 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/strings.php

index c497ff9033c0565593ebac14ffc8419f4c40e79e..9383d83d09120c06c0b0f8bb67d59eb2171ea6f8 100644 (file)
@@ -743,11 +743,11 @@ function OneTimePadCreate ($length=100) {
  */
 function show_readable_size($bytes) {
     $bytes /= 1024;
-    $type = 'KiB';
+    $type = _("KiB");
 
     if ($bytes / 1024 > 1) {
         $bytes /= 1024;
-        $type = 'MiB';
+        $type = _("MiB");
     }
 
     if ($bytes < 10) {