fixes to translatable strings

Merge-request: 322
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Sergey Belyashov
2011-04-29 09:53:34 +02:00
committed by Oswald Buddenhagen
parent 12b2a5fff0
commit c3fa2d35a0
3 changed files with 4 additions and 4 deletions

View File

@@ -277,7 +277,7 @@ QVariant DataModel::data(const QModelIndex &index, int role) const
}
}
ret += "<dt>" + tr("Object:") + "</dt><dd>" + func->object() + "</dd>\n";
ret += "<dt>" + tr("Called:") + "</dt><dd>" + tr("%1 times").arg(func->called()) + "</dd>\n";
ret += "<dt>" + tr("Called:") + "</dt><dd>" + tr("%n time(s)", 0, func->called()) + "</dd>\n";
ret += "</dl><p/>";
// self/inclusive costs

View File

@@ -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);

View File

@@ -317,7 +317,7 @@ void MaemoCopyToSysrootStep::run(QFutureInterface<bool> &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();