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; }