forked from qt-creator/qt-creator
Remove most trailing newlines from translated messages.
They are a hassle for translators and reviewers alike. Change-Id: I07c1b61e8b6719e54fdc1f69cf63f573119a6776 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -1893,7 +1893,7 @@ void GdbEngine::pythonDumpersFailed()
|
||||
void GdbEngine::showExecutionError(const QString &message)
|
||||
{
|
||||
showMessageBox(QMessageBox::Critical, tr("Execution Error"),
|
||||
tr("Cannot continue debugged process:\n") + message);
|
||||
tr("Cannot continue debugged process:") + QLatin1Char('\n') + message);
|
||||
}
|
||||
|
||||
void GdbEngine::handleExecuteContinue(const GdbResponse &response)
|
||||
@@ -2296,7 +2296,7 @@ void GdbEngine::handleExecuteNext(const GdbResponse &response)
|
||||
notifyInferiorRunFailed();
|
||||
} else {
|
||||
showMessageBox(QMessageBox::Critical, tr("Execution Error"),
|
||||
tr("Cannot continue debugged process:\n") + QString::fromLocal8Bit(msg));
|
||||
tr("Cannot continue debugged process:") + QLatin1Char('\n') + QString::fromLocal8Bit(msg));
|
||||
notifyInferiorIll();
|
||||
}
|
||||
}
|
||||
@@ -3848,7 +3848,7 @@ void GdbEngine::handleMakeSnapshot(const GdbResponse &response)
|
||||
} else {
|
||||
QByteArray msg = response.data["msg"].data();
|
||||
showMessageBox(QMessageBox::Critical, tr("Snapshot Creation Error"),
|
||||
tr("Cannot create snapshot:\n") + QString::fromLocal8Bit(msg));
|
||||
tr("Cannot create snapshot:") + QLatin1Char('\n') + QString::fromLocal8Bit(msg));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user