translations/check-ts.xq
changeset 37 758a864f9613
parent 33 3e2da88830cd
--- a/translations/check-ts.xq	Fri Sep 17 08:34:18 2010 +0300
+++ b/translations/check-ts.xq	Mon Oct 04 01:19:32 2010 +0300
@@ -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))