forked from qt-creator/qt-creator
Python: Fix capitalization of Python in UI text
Change-Id: I55beeb658eb583a74c4d79f3dc2f121010080101 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -117,11 +117,11 @@ public:
|
|||||||
if (!pipIsUsable(path)) {
|
if (!pipIsUsable(path)) {
|
||||||
result << BuildSystemTask(
|
result << BuildSystemTask(
|
||||||
Task::Warning,
|
Task::Warning,
|
||||||
Tr::tr("Python \"%1\" does not contain a usable pip. Pip is used to install "
|
Tr::tr("Python \"%1\" does not contain a usable pip. pip is needed to install "
|
||||||
"python "
|
"Python "
|
||||||
"packages from the Python Package Index, like PySide and the python "
|
"packages from the Python Package Index, like PySide and the Python "
|
||||||
"language server. If you want to use any of that functionality "
|
"language server. To use any of that functionality "
|
||||||
"ensure pip is installed for that python.")
|
"ensure that pip is installed for that Python.")
|
||||||
.arg(path.toUserOutput()));
|
.arg(path.toUserOutput()));
|
||||||
}
|
}
|
||||||
if (!venvIsUsable(path)) {
|
if (!venvIsUsable(path)) {
|
||||||
@@ -130,7 +130,7 @@ public:
|
|||||||
Tr::tr(
|
Tr::tr(
|
||||||
"Python \"%1\" does not contain a usable venv. venv is the recommended way "
|
"Python \"%1\" does not contain a usable venv. venv is the recommended way "
|
||||||
"to isolate a development environment for a project from the globally "
|
"to isolate a development environment for a project from the globally "
|
||||||
"installed python.")
|
"installed Python.")
|
||||||
.arg(path.toUserOutput()));
|
.arg(path.toUserOutput()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -35,7 +35,7 @@ Tasks PythonProject::projectIssues(const Kit *k) const
|
|||||||
return {};
|
return {};
|
||||||
return {
|
return {
|
||||||
BuildSystemTask{Task::Error,
|
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)
|
PythonProjectNode::PythonProjectNode(const FilePath &path)
|
||||||
|
Reference in New Issue
Block a user