Move byte units translations to proper place.

This commit is contained in:
Michal Čihař
2010-05-13 11:26:54 +02:00
parent 588a63e6c0
commit 0dcbea28eb
64 changed files with 78536 additions and 78475 deletions

View File

@@ -43,7 +43,7 @@ class PMA_formatNumberByteDown_test extends PHPUnit_Framework_TestCase
$this->tmpGlobals = $GLOBALS;
$this->tmpSession = $_SESSION;
}
/**
@@ -107,10 +107,9 @@ class PMA_formatNumberByteDown_test extends PHPUnit_Framework_TestCase
*/
public function testFormatByteDown($a, $b, $c, $e) {
$GLOBALS['byteUnits'] = array('B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB');
$GLOBALS['number_thousands_separator'] = ' ';
$GLOBALS['number_decimal_separator'] = ',';
$result = PMA_formatByteDown($a, $b, $c);
$result[0] = trim($result[0]);