aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/terminal/terminalwidget.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2023-10-24 13:05:55 +0200
committerEike Ziller <[email protected]>2023-10-24 13:05:55 +0200
commitdf80454d26dc91423c4bc6d76e6a94b9964e2e02 (patch)
treea81f942275353e6850350810d33e63984ee9a160 /src/plugins/terminal/terminalwidget.cpp
parent03acf2810d2c834fd5a1822ee7d164dcc54ea341 (diff)
parent5e3d14e2e932da0a3dc3314d2802bc3df0dc504c (diff)
Merge remote-tracking branch 'origin/12.0'
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 44b55c85960..183b843b741 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;
}));