diff options
Diffstat (limited to 'share/qtcreator/translations/check-ts.xq')
-rw-r--r-- | share/qtcreator/translations/check-ts.xq | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qtcreator/translations/check-ts.xq b/share/qtcreator/translations/check-ts.xq new file mode 100644 index 0000000000..2d6404cefc --- /dev/null +++ b/share/qtcreator/translations/check-ts.xq @@ -0,0 +1,3 @@ +for $file in tokenize($files, codepoints-to-string(10)) + let $fresh := doc($file)/TS/context/message[not (translation/@type = 'obsolete')] + return concat($file, ":", count($fresh/translation[not (@type = 'unfinished')]) * 100 idiv count($fresh)) |