From fdb1fa2a3b868ced9075b6e40527364f209edbed Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 26 Feb 2024 17:13:01 +0100 Subject: [PATCH] Python: Fix capitalization of Python in UI text Change-Id: I55beeb658eb583a74c4d79f3dc2f121010080101 Reviewed-by: Reviewed-by: David Schulz Reviewed-by: Eike Ziller --- src/plugins/python/pythonkitaspect.cpp | 12 ++++++------ src/plugins/python/pythonproject.cpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/plugins/python/pythonkitaspect.cpp b/src/plugins/python/pythonkitaspect.cpp index 26ad44bad48..254a720d7cc 100644 --- a/src/plugins/python/pythonkitaspect.cpp +++ b/src/plugins/python/pythonkitaspect.cpp @@ -117,11 +117,11 @@ public: if (!pipIsUsable(path)) { result << BuildSystemTask( Task::Warning, - Tr::tr("Python \"%1\" does not contain a usable pip. Pip is used to install " - "python " - "packages from the Python Package Index, like PySide and the python " - "language server. If you want to use any of that functionality " - "ensure pip is installed for that python.") + Tr::tr("Python \"%1\" does not contain a usable pip. pip is needed to install " + "Python " + "packages from the Python Package Index, like PySide and the Python " + "language server. To use any of that functionality " + "ensure that pip is installed for that Python.") .arg(path.toUserOutput())); } if (!venvIsUsable(path)) { @@ -130,7 +130,7 @@ public: Tr::tr( "Python \"%1\" does not contain a usable venv. venv is the recommended way " "to isolate a development environment for a project from the globally " - "installed python.") + "installed Python.") .arg(path.toUserOutput())); } } diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp index 129782773d3..db0831005f1 100644 --- a/src/plugins/python/pythonproject.cpp +++ b/src/plugins/python/pythonproject.cpp @@ -35,7 +35,7 @@ Tasks PythonProject::projectIssues(const Kit *k) const return {}; return { BuildSystemTask{Task::Error, - Tr::tr("No python interpreter set for kit \"%1\"").arg(k->displayName())}}; + Tr::tr("No Python interpreter set for kit \"%1\"").arg(k->displayName())}}; } PythonProjectNode::PythonProjectNode(const FilePath &path)