]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/imagefile.php
* Mb -> MB (for megabyte)
[quix0rs-gnu-social.git] / lib / imagefile.php
index edc7218d035d528bfb39dbbadd7c35c3cd0434e4..6bc8e599b3022f7aa29d9c80045157989f627293 100644 (file)
@@ -119,7 +119,7 @@ class ImageFile
             return;
         }
 
-        // Do not crop/scale if it is not necessary
+        // Don't crop/scale if it isn't necessary
         if ($size === $this->width
             && $size === $this->height
             && $x === 0
@@ -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;
         }