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: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Thomas Hartmann
2013-06-19 16:36:25 +02:00
parent d42544e037
commit acb7d2cd5b

View File

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