From 2767b77d44f3ea965c68a44dacf506fb22656cea Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@digia.com>
Date: Tue, 2 Jul 2013 11:41:18 +0200
Subject: [PATCH] QmlApplicationWizard: translation fix for QML wizards

Fixing the generated context and extract from the right element.

Change-Id: Ibb454e82d6f197014451399bbb8a9fc0bad04a99
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
---
 share/qtcreator/translations/extract-qmlwizards.xq | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/qtcreator/translations/extract-qmlwizards.xq b/share/qtcreator/translations/extract-qmlwizards.xq
index b3daf0c6545..9d6d8c0abe7 100644
--- a/share/qtcreator/translations/extract-qmlwizards.xq
+++ b/share/qtcreator/translations/extract-qmlwizards.xq
@@ -1,6 +1,6 @@
-let $prefix := string("QT_TRANSLATE_NOOP(&quot;QmlProjectManager::QmlApplicationWizardDialog&quot;, &quot;")
+let $prefix := string("QT_TRANSLATE_NOOP(&quot;QmlProjectManager::QmlApplicationWizard&quot;, &quot;")
 let $suffix := concat("&quot;)", codepoints-to-string(10))
 for $file in tokenize($files, string("\|"))
     let $doc := doc($file)
-    for $text in ($doc/*:template/*:description, $doc/*:wizard/*:displayname)
+    for $text in ($doc/*:template/*:description, $doc/*:template/*:displayname)
         return fn:concat($prefix, data($text), $suffix)
-- 
GitLab