diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-11-15 21:00:55 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-15 21:26:46 +0100 |
commit | 04c64128af0385fec7d86519d8d53f3ed50f20bf (patch) | |
tree | b705c8ce00331bb41a558571040e75396965e9d4 /translations/check-ts.xq | |
parent | 0963a4541555f42c0c925c7b38beea399755d897 (diff) | |
download | qttranslations-04c64128af0385fec7d86519d8d53f3ed50f20bf.tar.gz |
adjust to appearance of 'vanished' state
Change-Id: Ia83bf0cbc568bb2dccdd86bdb9d68524221664ab
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'translations/check-ts.xq')
-rw-r--r-- | translations/check-ts.xq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translations/check-ts.xq b/translations/check-ts.xq index 050f505..5d5eafa 100644 --- a/translations/check-ts.xq +++ b/translations/check-ts.xq @@ -1,5 +1,5 @@ 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/message[not (translation/@type = ('obsolete', 'vanished'))] return if (count($fresh) gt 0) then concat($file, ":", count($fresh/translation[not (@type = 'unfinished')]) * 100 idiv count($fresh)) else concat($file, ":n/a") |