forked from qt-creator/qt-creator
Translations: Fix various \n, full stops, spaces
Add missing full stops, remove space at beginning and end, remove end lines at end Change-Id: I4ce28f578e13e100dcfbd8ef70630462faf407fc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -156,7 +156,7 @@ void TerminalWidget::setupPty()
|
||||
const int exitCode = QTC_GUARD(m_process) ? m_process->exitCode() : -1;
|
||||
if (m_process) {
|
||||
if (exitCode != 0) {
|
||||
errorMessage = Tr::tr("Terminal process exited with code %1").arg(exitCode);
|
||||
errorMessage = Tr::tr("Terminal process exited with code %1.").arg(exitCode);
|
||||
|
||||
if (!m_process->errorString().isEmpty())
|
||||
errorMessage += QString(" (%1)").arg(m_process->errorString());
|
||||
@@ -183,7 +183,7 @@ void TerminalWidget::setupPty()
|
||||
|
||||
writeToTerminal(msg, true);
|
||||
} else {
|
||||
QString exitMsg = Tr::tr("Process exited with code: %1").arg(exitCode);
|
||||
QString exitMsg = Tr::tr("Process exited with code: %1.").arg(exitCode);
|
||||
QByteArray msg = QString("\r\n%1").arg(exitMsg).toUtf8();
|
||||
writeToTerminal(msg, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user