#!/bin/sh
out="../doc/avelsieve_translation_statistics.html"
echo "
Translation statistics for avelsieve
" > $out
echo "Updated ` date -I `
" >> $out
cd ../locale
for dir in `ls -1d ??_??`
do
echo "- Language: $dir " >> $out
msgfmt -c -v --statistics -c -o /dev/null $dir/LC_MESSAGES/avelsieve.po >> $out 2>&1
echo "
" >> $out
done
echo "
" >> $out