diff --git a/src/libs/valgrind/callgrind/callgrinddatamodel.cpp b/src/libs/valgrind/callgrind/callgrinddatamodel.cpp
index ff3c595ac9f..30697fe49a6 100644
--- a/src/libs/valgrind/callgrind/callgrinddatamodel.cpp
+++ b/src/libs/valgrind/callgrind/callgrinddatamodel.cpp
@@ -277,7 +277,7 @@ QVariant DataModel::data(const QModelIndex &index, int role) const
}
}
ret += "
" + tr("Object:") + "" + func->object() + "\n";
- ret += "" + tr("Called:") + "" + tr("%1 times").arg(func->called()) + "\n";
+ ret += "" + tr("Called:") + "" + tr("%n time(s)", 0, func->called()) + "\n";
ret += "";
// self/inclusive costs
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index e372640cc60..571cbc243a4 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -871,10 +871,10 @@ void GdbEngine::commandTimeout()
int timeOut = m_commandTimer.interval();
//m_commandTimer.stop();
const QString msg = tr("The gdb process has not responded "
- "to a command within %1 seconds. This could mean it is stuck "
+ "to a command within %n second(s). This could mean it is stuck "
"in an endless loop or taking longer than expected to perform "
"the operation.\nYou can choose between waiting "
- "longer or abort debugging.").arg(timeOut / 1000);
+ "longer or abort debugging.", 0, timeOut / 1000);
QMessageBox *mb = showMessageBox(QMessageBox::Critical,
tr("GDB not responding"), msg,
QMessageBox::Ok | QMessageBox::Cancel);
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemoinstalltosysrootstep.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemoinstalltosysrootstep.cpp
index 4b0f5ac4b4c..49547a0da7a 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemoinstalltosysrootstep.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemoinstalltosysrootstep.cpp
@@ -317,7 +317,7 @@ void MaemoCopyToSysrootStep::run(QFutureInterface &fi)
MaemoGlobal::removeRecursively(targetFilePath, errorMsg);
if (!MaemoGlobal::copyRecursively(deployable.localFilePath,
targetFilePath, &errorMsg)) {
- emit addOutput(tr("Sysroot installation failed: $1\n"
+ emit addOutput(tr("Sysroot installation failed: %1\n"
" Continuing anyway.").arg(errorMsg), ErrorMessageOutput);
}
QCoreApplication::processEvents();