Commit acb7d2cd authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlApplicationWizard: translation fix

The translation contexts did not match and there was
a mistake in the .xq for xmlpatterns file.

Change-Id: Ibb454e82d6f197014451399cbb8a9fc0bad04a98
Reviewed-by: default avatarFriedemann Kleint <>
parent d42544e0
...@@ -146,7 +146,7 @@ static inline bool assignLanguageElementText(QXmlStreamReader &reader, ...@@ -146,7 +146,7 @@ static inline bool assignLanguageElementText(QXmlStreamReader &reader,
const QStringRef elementLanguage = reader.attributes().value(QLatin1String("xml:lang")); const QStringRef elementLanguage = reader.attributes().value(QLatin1String("xml:lang"));
if (elementLanguage.isEmpty()) { if (elementLanguage.isEmpty()) {
// Try to find a translation for our Wizards // Try to find a translation for our Wizards
*target = QCoreApplication::translate("QmlProjectManager::Internal::QmlApplicationWizard", *target = QCoreApplication::translate("QmlProjectManager::QmlApplicationWizard",
reader.readElementText().toLatin1().constData()); reader.readElementText().toLatin1().constData());
return true; return true;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment