aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonutils.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <[email protected]>2019-10-28 16:18:04 +0100
committerLeena Miettinen <[email protected]>2019-10-29 07:52:51 +0000
commit70ce3986026071f1041d5112653991b9599d1681 (patch)
tree29cf4c6fd9d760007eab57b302b35e8a712747e1 /src/plugins/python/pythonutils.cpp
parent3db95cd69466a1d5594d1be602e24bf1cc76e969 (diff)
Python: Fix UI text
Change-Id: Ia3fa732d9ed6bb880ea7721712093fbe8faa27bd Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Cristian Maureira-Fredes <[email protected]> Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
-rw-r--r--src/plugins/python/pythonutils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp
index 03096ee96e9..86ee34e922b 100644
--- a/src/plugins/python/pythonutils.cpp
+++ b/src/plugins/python/pythonutils.cpp
@@ -250,7 +250,7 @@ public:
m_process.start(m_python.toString(), {"-m", "pip", "install", "--user", pylsVersion});
- Core::MessageManager::write(tr("Running '%1 %2' to install python language server")
+ Core::MessageManager::write(tr("Running \"%1 %2\" to install Python language server")
.arg(m_process.program(), m_process.arguments().join(' ')));
m_killTimer.setSingleShot(true);
@@ -261,7 +261,7 @@ private:
void cancel()
{
SynchronousProcess::stopProcess(m_process);
- Core::MessageManager::write(tr("The Python language server installation canceled by %1.")
+ Core::MessageManager::write(tr("The Python language server installation was canceled by %1.")
.arg(m_killTimer.isActive() ? tr("user") : tr("time out")));
}
@@ -371,7 +371,7 @@ void PyLSConfigureAssistant::openDocumentWithPython(const FilePath &python,
&& infoBar->canInfoBeAdded(installPylsInfoBarId)) {
auto message
= tr("Install and set up Python language server (PyLS) for %1 (%2). "
- "The language server provides Python specific completions and annotations.")
+ "The language server provides Python specific completion and annotation.")
.arg(pythonName(python), python.toUserOutput());
Core::InfoBarEntry info(installPylsInfoBarId,
message,
@@ -383,7 +383,7 @@ void PyLSConfigureAssistant::openDocumentWithPython(const FilePath &python,
} else if (lsState.state == PythonLanguageServerState::AlreadyInstalled
&& infoBar->canInfoBeAdded(startPylsInfoBarId)) {
auto message = tr("Found a Python language server for %1 (%2). "
- "Should this one be set up for this document?")
+ "Set it up for this document?")
.arg(pythonName(python), python.toUserOutput());
Core::InfoBarEntry info(startPylsInfoBarId,
message,