diff options
| author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-06-19 11:37:18 +0200 |
|---|---|---|
| committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-06-19 09:53:51 +0000 |
| commit | 7da84e1734a35758da1639379e8d80550046a4b9 (patch) | |
| tree | d370508fecc50544a37771f5d675b489c74db020 /src/plugins/python/pythonwizardpage.cpp | |
| parent | 8ea70c51853d05e71796438c82d8145baa386343 (diff) | |
Python: Use double quotes for emphasis
And write Python with an initial capital letter and UI with
all caps.
Change-Id: I5c7a85aa4ae9e5af1f4cc66e8705db126fbec23b
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python/pythonwizardpage.cpp')
| -rw-r--r-- | src/plugins/python/pythonwizardpage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/python/pythonwizardpage.cpp b/src/plugins/python/pythonwizardpage.cpp index 253422ed20c..2216dbfa574 100644 --- a/src/plugins/python/pythonwizardpage.cpp +++ b/src/plugins/python/pythonwizardpage.cpp @@ -64,7 +64,7 @@ bool PythonWizardPageFactory::validateData(Id typeId, const QVariant &data, QStr if (items.isEmpty()) { if (errorMessage) { - *errorMessage = Tr::tr("'data' of a Python wizard page expects a map with 'items' " + *errorMessage = Tr::tr("\"data\" of a Python wizard page expects a map with \"items\" " "containing a list of objects."); } return false; @@ -73,9 +73,9 @@ bool PythonWizardPageFactory::validateData(Id typeId, const QVariant &data, QStr if (!Utils::allOf(items, &validItem)) { if (errorMessage) { *errorMessage = Tr::tr( - "An item of Python wizard page data expects a 'trKey' field containing the ui " - "visible string for that python version and an field 'value' containing an object " - "with a 'PySideVersion' field used for import statements in the python files."); + "An item of Python wizard page data expects a \"trKey\" field containing the UI " + "visible string for that Python version and a \"value\" field containing an object " + "with a \"PySideVersion\" field used for import statements in the Python files."); } return false; } |
