forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user