diff options
author | Eike Ziller <[email protected]> | 2024-04-15 09:37:53 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2024-04-18 06:06:45 +0000 |
commit | 7f8adab0d0bc19b8af3460b01850bde78ecdefda (patch) | |
tree | 0a48047ca2ba4c1a9792b985beac3b593bdf45fb /src/plugins/terminal/terminalwidget.cpp | |
parent | 168136b9e63a301b5d8cac9818ae3f626123079a (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/terminal/terminalwidget.cpp')
-rw-r--r-- | src/plugins/terminal/terminalwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/terminal/terminalwidget.cpp b/src/plugins/terminal/terminalwidget.cpp index 756f1a11bee..efaf671a03d 100644 --- a/src/plugins/terminal/terminalwidget.cpp +++ b/src/plugins/terminal/terminalwidget.cpp @@ -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); } |