summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-17 11:57:58 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-17 13:34:30 +0200
commit2b5469fcb541fd0c37c04acbe1470228272f8adf (patch)
tree27ab7380e941990212467b511df8a78ba128af4c /translations
parent63434c07fbe4e3d8735a9e28200ce9b3b121bec8 (diff)
exclude QtXmlPatterns from the completeness assessment
that context is a *huge* collection of cryptic error messages, translation of which does not add too much value. so skip it.
Diffstat (limited to 'translations')
-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 2d6404cefc..1062e90063 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))