From: Flavio Tordini Date: Sun, 10 Oct 2010 15:34:10 +0000 (+0200) Subject: Back to MB and KB, we're in string freeze X-Git-Tag: 1.2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ba49028eda977e4b1253b49a0cd156ad1fe148c;p=minitube Back to MB and KB, we're in string freeze --- diff --git a/src/downloaditem.cpp b/src/downloaditem.cpp index 25e85cb..ab92fc3 100644 --- a/src/downloaditem.cpp +++ b/src/downloaditem.cpp @@ -214,10 +214,10 @@ QString DownloadItem::formattedFilesize(qint64 size) { unit = tr("bytes"); } else if (size < 1024*1024) { size /= 1024; - unit = tr("KiB"); + unit = tr("KB"); } else { size /= 1024*1024; - unit = tr("MiB"); + unit = tr("MB"); } return QString(QLatin1String("%1 %2")).arg(size).arg(unit); } @@ -236,10 +236,10 @@ QString DownloadItem::formattedSpeed(double speed) { unit = tr("bytes/sec"); } else if (speedInt < 1024*1024) { speedInt /= 1024; - unit = tr("KiB/sec"); + unit = tr("KB/sec"); } else { speedInt /= 1024*1024; - unit = tr("MiB/sec"); + unit = tr("MB/sec"); } return QString(QLatin1String("%1 %2")).arg(speedInt).arg(unit); }