diff options
-rw-r--r-- | knetload/knetload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/knetload/knetload.cpp b/knetload/knetload.cpp index f92aac9..84f2627 100644 --- a/knetload/knetload.cpp +++ b/knetload/knetload.cpp @@ -328,8 +328,8 @@ void KNetLoad::takeReadingInternal() { fullReading = i18n( "Current In: %1 KBit/s, Total In: %2 MB.\n" "Current Out: %3 KBit/s, Total Out: %4 MB.") - .arg((int)((bitRateIn + 50) / 100) / 10.0).arg(proc->totalMbIn()) - .arg((int)((bitRateOut + 50) / 100) / 10.0).arg(proc->totalMbOut()); + .arg(KGlobal::locale()->formatNumber((int)((bitRateIn + 50) / 100) / 10.0)).arg(KGlobal::locale()->formatNumber(proc->totalMbIn())) + .arg(KGlobal::locale()->formatNumber((int)((bitRateOut + 50) / 100) / 10.0)).arg(KGlobal::locale()->formatNumber(proc->totalMbOut())); } void KNetLoad::updateDeviceMenu(KPopupMenu* menu) { |