Python: Tr fixes

Add missing colons, quotes and full stops, and don't use book style
capitalization for labels.

Change-Id: If338922c7221eac498612ad5a152f24cd921e884
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Eike Ziller
2023-06-13 15:25:38 +02:00
parent 7a605e9a59
commit a6f2ee5b8c
4 changed files with 10 additions and 9 deletions

View File

@@ -811,12 +811,12 @@ void PythonSettings::createVirtualEnvironmentInteractive(
if (!preselectedId.isEmpty() && interpreter.id == preselectedId)
interpreters->setCurrentIndex(interpreters->count() - 1);
}
layout->addRow(Tr::tr("Python Interpreter"), interpreters);
layout->addRow(Tr::tr("Python interpreter:"), interpreters);
auto pathChooser = new PathChooser();
pathChooser->setInitialBrowsePathBackup(startDirectory);
pathChooser->setExpectedKind(PathChooser::Directory);
pathChooser->setPromptDialogTitle(Tr::tr("New Python Virtual Environment Directory"));
layout->addRow(Tr::tr("Virtual Environment Directory"), pathChooser);
layout->addRow(Tr::tr("Virtual environment directory:"), pathChooser);
auto buttons = new QDialogButtonBox(QDialogButtonBox::Cancel);
auto createButton = buttons->addButton(Tr::tr("Create"), QDialogButtonBox::AcceptRole);
createButton->setEnabled(false);