diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-27 13:52:34 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-27 13:52:34 +0200 |
commit | 7ccb80aa5abe0cd152ff8e4e36e7bc915bb8eb86 (patch) | |
tree | 229d74402b496bae8ac9de757a6e597328fea65a /share/qtcreator/translations/extract-customwizards.xq | |
parent | 272d22f130c068f0a50d1eae26cc0f14e36b36d8 (diff) |
Custom wizard: Add validation rules.
Add XML-elements allowing for Javascript-based
validation rules along with error messages.
Rubber-stamped-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Diffstat (limited to 'share/qtcreator/translations/extract-customwizards.xq')
-rw-r--r-- | share/qtcreator/translations/extract-customwizards.xq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/translations/extract-customwizards.xq b/share/qtcreator/translations/extract-customwizards.xq index 55adeacfe5..0ded98410b 100644 --- a/share/qtcreator/translations/extract-customwizards.xq +++ b/share/qtcreator/translations/extract-customwizards.xq @@ -2,5 +2,5 @@ let $prefix := string("QT_TRANSLATE_NOOP("ProjectExplorer::CustomWizard&quo 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, $doc/*:wizard/*:fields/*:field/*:fieldcontrol/*:comboentries/*:comboentry/*:comboentrytext) + for $text in ($doc/*:wizard/*:description, $doc/*:wizard/*:displayname, $doc/*:wizard/*:displaycategory, $doc/*:wizard/*:fieldpagetitle, $doc/*:wizard/*:fields/*:field/*:fielddescription, $doc/*:wizard/*:fields/*:field/*:fieldcontrol/*:comboentries/*:comboentry/*:comboentrytext, $doc/*:wizard/*:validationrules/*:validationrule/*:message) return fn:concat($prefix, data($text), $suffix) |