summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-17 09:57:58 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-17 11:34:30 (GMT)
commit2b5469fcb541fd0c37c04acbe1470228272f8adf (patch)
tree27ab7380e941990212467b511df8a78ba128af4c
parent63434c07fbe4e3d8735a9e28200ce9b3b121bec8 (diff)
downloadQt-2b5469fcb541fd0c37c04acbe1470228272f8adf.zip
Qt-2b5469fcb541fd0c37c04acbe1470228272f8adf.tar.gz
Qt-2b5469fcb541fd0c37c04acbe1470228272f8adf.tar.bz2
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.
-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))