forked from qt-creator/qt-creator
Debugger: fix UI text capitalization and punctuation
Added full stops to ends of messages. Used book-style capitalization for message box titles. Wrote "operating system" in lower case. Change-Id: I8cee1a1c7f4ae55952daa507395845feae203ab9 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -1204,7 +1204,7 @@ void DebuggerEngine::notifyDebuggerProcessFinished(int exitCode,
|
||||
notifyEngineIll(); // Initiate shutdown sequence
|
||||
const QString msg = exitStatus == QProcess::CrashExit ?
|
||||
tr("The %1 process terminated.") :
|
||||
tr("The %2 process terminated unexpectedly (exitCode %1)").arg(exitCode);
|
||||
tr("The %2 process terminated unexpectedly (exit code %1).").arg(exitCode);
|
||||
AsynchronousMessageBox::critical(tr("Unexpected %1 Exit").arg(backendName),
|
||||
msg.arg(backendName));
|
||||
break;
|
||||
@@ -1712,7 +1712,7 @@ bool DebuggerEngine::isDying() const
|
||||
|
||||
QString DebuggerEngine::msgStopped(const QString &reason)
|
||||
{
|
||||
return reason.isEmpty() ? tr("Stopped.") : tr("Stopped: \"%1\"").arg(reason);
|
||||
return reason.isEmpty() ? tr("Stopped.") : tr("Stopped: \"%1\".").arg(reason);
|
||||
}
|
||||
|
||||
QString DebuggerEngine::msgStoppedBySignal(const QString &meaning,
|
||||
@@ -1739,11 +1739,11 @@ void DebuggerEngine::showStoppedBySignalMessageBox(QString meaning, QString name
|
||||
if (meaning.isEmpty())
|
||||
meaning = QLatin1Char(' ') + tr("<Unknown>", "meaning") + QLatin1Char(' ');
|
||||
const QString msg = tr("<p>The inferior stopped because it received a "
|
||||
"signal from the Operating System.<p>"
|
||||
"signal from the operating system.<p>"
|
||||
"<table><tr><td>Signal name : </td><td>%1</td></tr>"
|
||||
"<tr><td>Signal meaning : </td><td>%2</td></tr></table>")
|
||||
.arg(name, meaning);
|
||||
AsynchronousMessageBox::information(tr("Signal received"), msg);
|
||||
AsynchronousMessageBox::information(tr("Signal Received"), msg);
|
||||
}
|
||||
|
||||
void DebuggerEngine::showStoppedByExceptionMessageBox(const QString &description)
|
||||
|
@@ -90,7 +90,7 @@ void Terminal::setup()
|
||||
return;
|
||||
}
|
||||
if (!S_ISCHR(s.st_mode)) {
|
||||
error(tr("Terminal: Slave is no character device"));
|
||||
error(tr("Terminal: Slave is no character device."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user