From: Sam Reed Date: Sat, 31 Dec 2011 20:35:35 +0000 (+0000) Subject: bug 33014 and r107734 X-Git-Tag: 1.31.0-rc.0~25653 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=a9d2474110cc63422d4d683f528ff1017a3b22ef;p=lhc%2Fweb%2Fwiklou.git bug 33014 and r107734 Add Tbps through Ybps (yay for code that just works (tm)) --- diff --git a/languages/Language.php b/languages/Language.php index 95488ef2a8..ce1cb8613a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -3810,7 +3810,7 @@ class Language { * @return string */ function formatBitrate( $bps ) { - $units = array( 'bps', 'kbps', 'Mbps', 'Gbps' ); + $units = array( 'bps', 'kbps', 'Mbps', 'Gbps', 'Tbps', 'Pbps', 'Ebps', 'Zbps', 'Ypbs' ); if ( $bps <= 0 ) { return $this->formatNum( $bps ) . $units[0]; }