From acb7d2cd5b33252c74bccca4d5ccff29ceb24a92 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 19 Jun 2013 16:36:25 +0200 Subject: [PATCH] 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 --- src/plugins/qmlprojectmanager/qmlapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmlprojectmanager/qmlapp.cpp b/src/plugins/qmlprojectmanager/qmlapp.cpp index 143aaa12cd8..edffa2c3ed7 100644 --- a/src/plugins/qmlprojectmanager/qmlapp.cpp +++ b/src/plugins/qmlprojectmanager/qmlapp.cpp @@ -146,7 +146,7 @@ static inline bool assignLanguageElementText(QXmlStreamReader &reader, const QStringRef elementLanguage = reader.attributes().value(QLatin1String("xml:lang")); if (elementLanguage.isEmpty()) { // Try to find a translation for our Wizards - *target = QCoreApplication::translate("QmlProjectManager::Internal::QmlApplicationWizard", + *target = QCoreApplication::translate("QmlProjectManager::QmlApplicationWizard", reader.readElementText().toLatin1().constData()); return true; }