2007-10-07 20:06:51 +05:30
|
|
|
#!/bin/sh
|
|
|
|
export LANG=C
|
|
|
|
echo "language translated fuzzy untranslated"
|
|
|
|
echo "-----------------------------------------"
|
|
|
|
for i in $(cat LINGUAS | xargs); do
|
|
|
|
echo -n " $i "
|
2007-11-27 03:34:20 +05:30
|
|
|
msgfmt -c --statistics -o /dev/null $i.po 2>&1 |
|
2007-10-07 20:06:51 +05:30
|
|
|
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 "-----------------------------------------"
|