Browse Source

make MiB/KiB translatable

Thijs Kinkhorst 17 years ago
parent
commit
9ad293f984
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions/strings.php

+ 2 - 2
functions/strings.php

@@ -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) {