|
|
@ -328,8 +328,8 @@ void KNetLoad::takeReadingInternal() {
|
|
|
|
fullReading = i18n(
|
|
|
|
fullReading = i18n(
|
|
|
|
"Current In: %1 KBit/s, Total In: %2 MB.\n"
|
|
|
|
"Current In: %1 KBit/s, Total In: %2 MB.\n"
|
|
|
|
"Current Out: %3 KBit/s, Total Out: %4 MB.")
|
|
|
|
"Current Out: %3 KBit/s, Total Out: %4 MB.")
|
|
|
|
.arg((int)((bitRateIn + 50) / 100) / 10.0).arg(proc->totalMbIn())
|
|
|
|
.arg(KGlobal::locale()->formatNumber((int)((bitRateIn + 50) / 100) / 10.0)).arg(KGlobal::locale()->formatNumber(proc->totalMbIn()))
|
|
|
|
.arg((int)((bitRateOut + 50) / 100) / 10.0).arg(proc->totalMbOut());
|
|
|
|
.arg(KGlobal::locale()->formatNumber((int)((bitRateOut + 50) / 100) / 10.0)).arg(KGlobal::locale()->formatNumber(proc->totalMbOut()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KNetLoad::updateDeviceMenu(KPopupMenu* menu) {
|
|
|
|
void KNetLoad::updateDeviceMenu(KPopupMenu* menu) {
|
|
|
|