blob: 1062e90063b94d7ed61513c02b16be2949ff6438 [file] [log] [blame]
for $file in tokenize($files, codepoints-to-string(10))
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))