aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/terminal/terminalwidget.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2024-04-15 09:37:53 +0200
committerEike Ziller <[email protected]>2024-04-18 06:06:45 +0000
commit7f8adab0d0bc19b8af3460b01850bde78ecdefda (patch)
tree0a48047ca2ba4c1a9792b985beac3b593bdf45fb /src/plugins/terminal/terminalwidget.cpp
parent168136b9e63a301b5d8cac9818ae3f626123079a (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.cpp4
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);
}