diff options
Diffstat (limited to 'share/qtcreator/translations/extract-customwizards.xq')
-rw-r--r-- | share/qtcreator/translations/extract-customwizards.xq | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/qtcreator/translations/extract-customwizards.xq b/share/qtcreator/translations/extract-customwizards.xq new file mode 100644 index 0000000000..63e9887c48 --- /dev/null +++ b/share/qtcreator/translations/extract-customwizards.xq @@ -0,0 +1,6 @@ +let $prefix := string("QT_TRANSLATE_NOOP("ProjectExplorer::CustomWizard", "") +let $suffix := concat("")", codepoints-to-string(10)) +for $file in tokenize($files, string("\|")) + let $doc := doc($file) + for $text in ($doc/*:wizard/*:description, $doc/*:wizard/*:displayname, $doc/*:wizard/*:displaycategory, $doc/*:wizard/*:fieldpagetitle, $doc/*:wizard/*:fields/*:field/*:fielddescription) + return fn:concat($prefix, data($text), $suffix) |