forked from qt-creator/qt-creator
10 lines
597 B
Plaintext
10 lines
597 B
Plaintext
|
|
let $prefix := string("QT_TRANSLATE_NOOP3("TextEditor::Internal::Snippets", "")
|
||
|
|
let $midfix := string("", "")
|
||
|
|
let $suffix := concat("")", codepoints-to-string(10))
|
||
|
|
for $file in tokenize($files, string("\|"))
|
||
|
|
for $snippet in (doc($file)/*/snippet)
|
||
|
|
let $group := fn:concat(string("group:'"), data($snippet/@group), string("' "))
|
||
|
|
let $trigger := fn:concat(string("trigger:'"), data($snippet/@trigger), string("'"))
|
||
|
|
where ($snippet/@complement)
|
||
|
|
return fn:concat($prefix, data($snippet/@complement), $midfix, $group, $trigger, $suffix)
|