1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

Fix for "make ts", used for updating GCS translations

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@854 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
dankers 2010-06-22 01:12:25 +00:00 committed by dankers
parent 018cac7a4e
commit aaadb3e2ae

View File

@ -1,6 +1,8 @@
let $files := ( $$MIMETYPES_FILES )
let $prefix := string(\"QT_TRANSLATE_NOOP("MimeType", "\")
let $suffix := concat(\"")\", codepoints-to-string(10))
for $file in $files
for $comment in doc($file)/*:mime-info/*:mime-type/*:comment
return fn:concat($prefix, data($comment), $suffix)
let $files := ( $$MIMETYPES_FILES )
let $prefix := string(\"QT_TRANSLATE_NOOP("MimeType", "\")
let $suffix := concat(\"")\", codepoints-to-string(10))
where empty($files)
return
for $file in $files
for $comment in doc($file)/*:mime-info/*:mime-type/*:comment
return fn:concat($prefix, data($comment), $suffix)