shadow/po/stats
nekral-guest 79bf2081fe Commit the last version from the PLD CVS repository.
(last changelog entry: 2007-02-01)
This also adds the files which were present in the CVS repository, but not
present in the shadow archives.
2007-10-07 14:36:51 +00:00

21 lines
585 B
Bash

#!/bin/sh
export LANG=C
echo "language translated fuzzy untranslated"
echo "-----------------------------------------"
for i in $(cat LINGUAS | xargs); do
echo -n " $i "
msgfmt -c --statistics -o $i.gmo $i.po 2>&1 |
awk -v LNG="$1" '{
gsub(/ untranslated/, "");
gsub(/ translated/, "");
gsub(/ messages/, "");
gsub(/ message/, "");
gsub(/ translations/, "");
gsub(/ translation/, "");
gsub(/ fuzzy/, "");
gsub(/[.,]/, "");
{printf "%8s %8s %8s\n", $1, $2, $3}
}'
done
echo "-----------------------------------------"