tr()-Fixes.

Change-Id: Ie4645f3a3c82d18099dd154293d242ab07b1e5fc
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
Friedemann Kleint
2013-06-05 09:39:11 +02:00
parent 7c8db79817
commit 506b4ca9a8
3 changed files with 3 additions and 3 deletions

View File

@@ -308,7 +308,7 @@ void VariableManager::registerFileVariables(const QByteArray &prefix, const QStr
{ {
registerVariable(prefix + kFilePathPostfix, tr("%1: Full path including file name.").arg(heading)); registerVariable(prefix + kFilePathPostfix, tr("%1: Full path including file name.").arg(heading));
registerVariable(prefix + kPathPostfix, tr("%1: Full path excluding file name.").arg(heading)); registerVariable(prefix + kPathPostfix, tr("%1: Full path excluding file name.").arg(heading));
registerVariable(prefix + kFileNamePostfix, tr("%1: File name without including path.").arg(heading)); registerVariable(prefix + kFileNamePostfix, tr("%1: File name without path.").arg(heading));
registerVariable(prefix + kFileBaseNamePostfix, tr("%1: File base name without path and suffix.").arg(heading)); registerVariable(prefix + kFileBaseNamePostfix, tr("%1: File base name without path and suffix.").arg(heading));
} }

View File

@@ -183,7 +183,7 @@ GdbOptionsPageWidget::GdbOptionsPageWidget(QWidget *parent)
"<html><head/><body><p>GDB commands entered here will be executed after " "<html><head/><body><p>GDB commands entered here will be executed after "
"GDB has been started, but before the debugged program is started or " "GDB has been started, but before the debugged program is started or "
"attached, and before the debugging helpers are initialized.</p>%1" "attached, and before the debugging helpers are initialized.</p>%1"
"<body></html>").arg(howToUsePython)); "</body></html>").arg(howToUsePython));
textEditStartupCommands = new QTextEdit(groupBoxStartupCommands); textEditStartupCommands = new QTextEdit(groupBoxStartupCommands);
textEditStartupCommands->setAcceptRichText(false); textEditStartupCommands->setAcceptRichText(false);

View File

@@ -632,7 +632,7 @@ void QmlEngine::notifyEngineRemoteServerRunning(const QByteArray &serverChannel,
if (ok) if (ok)
startParameters().qmlServerPort = qmlPort; startParameters().qmlServerPort = qmlPort;
else else
qWarning() << tr("QML debugging port not set! Unable to convert %1 to unsigned int.").arg(QString::fromLatin1(serverChannel)); qWarning() << tr("QML debugging port not set: Unable to convert %1 to unsigned int.").arg(QString::fromLatin1(serverChannel));
DebuggerEngine::notifyEngineRemoteServerRunning(serverChannel, pid); DebuggerEngine::notifyEngineRemoteServerRunning(serverChannel, pid);
notifyEngineSetupOk(); notifyEngineSetupOk();