aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/terminal/terminalwidget.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2023-10-18 09:59:28 +0200
committerEike Ziller <[email protected]>2023-10-18 12:10:45 +0000
commitad7d5590281019233d11d640e7e1b4e1a5b8026b (patch)
treef839141c84870fe7bb348c92566dfc40758f5531 /src/plugins/terminal/terminalwidget.cpp
parentb519ebf1c947b7893af7c1f06521ac8f2468086e (diff)
Tr: More small fixes
Change-Id: I5d9324d3f64eaa522fa1d435efa39fa43d84798a Reviewed-by: Jarek Kobus <[email protected]> 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 604a0d82bc8..69f0256ef5c 100644
--- a/src/plugins/terminal/terminalwidget.cpp
+++ b/src/plugins/terminal/terminalwidget.cpp
@@ -85,7 +85,7 @@ void TerminalWidget::setupPty()
CommandLine{settings().shell(), settings().shellArguments(), CommandLine::Raw});
if (shellCommand.executable().isRootPath()) {
- writeToTerminal(Tr::tr("Connecting ...\r\n").toUtf8(), true);
+ writeToTerminal((Tr::tr("Connecting...") + "\r\n").toUtf8(), true);
// We still have to find the shell to start ...
m_findShellWatcher.reset(new QFutureWatcher<expected_str<FilePath>>());
connect(m_findShellWatcher.get(), &QFutureWatcher<FilePath>::finished, this, [this] {
@@ -107,7 +107,7 @@ void TerminalWidget::setupPty()
shellCommand.executable());
if (result && !result->isExecutableFile())
return make_unexpected(
- Tr::tr("'%1' is not executable.").arg(result->toUserOutput()));
+ Tr::tr("\"%1\" is not executable.").arg(result->toUserOutput()));
return result;
}));