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)) {
|
||||
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()));
|
||||
}
|
||||
}
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user