translations/check-ts.xq
changeset 33 3e2da88830cd
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
       
     1 for $file in tokenize($files, codepoints-to-string(10))
       
     2     let $fresh := doc($file)/TS/context/message[not (translation/@type = 'obsolete')]
       
     3     return concat($file, ":", count($fresh/translation[not (@type = 'unfinished')]) * 100 idiv count($fresh))