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:
Eike Ziller
2024-04-15 09:37:53 +02:00
parent 168136b9e6
commit 7f8adab0d0
21 changed files with 259 additions and 369 deletions

View File

@@ -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);
}