Commit 53034ada authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix i18n formating

parent 9d149650
......@@ -1547,10 +1547,10 @@ QVariant ProcessModel::data(const QModelIndex &index, int role) const
}
if(process->userTime() > 0)
tooltip += xi18nc("@info:tooltip", "<para><emphasis strong='true'>CPU time spent running as user:</emphasis> %1 seconds</para>",
process->userTime() / 100.0, 0, 'f', 1);
QString::number(process->userTime() / 100.0, 'f', 1));
if(process->sysTime() > 0)
tooltip += xi18nc("@info:tooltip", "<para><emphasis strong='true'>CPU time spent running in kernel:</emphasis> %1 seconds</para>",
process->sysTime() / 100.0, 0, 'f', 1);
QString::number(process->sysTime() / 100.0, 'f', 1));
if(process->niceLevel() != 0)
tooltip += xi18nc("@info:tooltip", "<para><emphasis strong='true'>Nice level:</emphasis> %1 (%2)</para>", process->niceLevel(), process->niceLevelAsString() );
if(process->ioPriorityClass() != KSysGuard::Process::None) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment