summaryrefslogtreecommitdiffstats
path: root/translations/check-ts.xq
diff options
context:
space:
mode:
Diffstat (limited to 'translations/check-ts.xq')
-rw-r--r--translations/check-ts.xq2
1 files changed, 1 insertions, 1 deletions
diff --git a/translations/check-ts.xq b/translations/check-ts.xq
index 2d6404c..1062e90 100644
--- a/translations/check-ts.xq
+++ b/translations/check-ts.xq
@@ -1,3 +1,3 @@
for $file in tokenize($files, codepoints-to-string(10))
- let $fresh := doc($file)/TS/context/message[not (translation/@type = 'obsolete')]
+ let $fresh := doc($file)/TS/context[not (name = 'QtXmlPatterns')]/message[not (translation/@type = 'obsolete')]
return concat($file, ":", count($fresh/translation[not (@type = 'unfinished')]) * 100 idiv count($fresh))