I've sent message with the same subject to users list. The languages list containing percentage values of translated items was generated with shell script:
#!/bin/bash
ENCOUNT=grep -e '^\\$' en_US/* | wc -l
for x in ls -1 | grep -e '^[a-zA-Z_]*$'
do
COUNT=grep -e '^\\$' ${x}/* | wc -l
DIFF=$((ENCOUNT-COUNT))
PERCENT=echo "scale=2; $COUNT * 100 / $ENCOUNT" | bc
echo "$x: $PERCENT% ($DIFF)"
done
It would be nice to have something like that somewhere on roundcube webpage.
On Tue, Dec 9, 2008 at 8:39 AM, A.L.E.C alec@alec.pl wrote:
I've sent message with the same subject to users list. The languages list containing percentage values of translated items was generated with shell script:
#!/bin/bash
ENCOUNT=
grep -e '^\\$' en_US/* | wc -l
for x in
ls -1 | grep -e '^[a-zA-Z_]*$'
do COUNT=grep -e '^\\$' ${x}/* | wc -l
DIFF=$((ENCOUNT-COUNT)) PERCENT=echo "scale=2; $COUNT * 100 / $ENCOUNT" | bc
echo "$x: $PERCENT% ($DIFF)" doneIt would be nice to have something like that somewhere on roundcube webpage.
Couldn't you add that to the translator app? (It's in trunk)
Till _______________________________________________ List info: http://lists.roundcube.net/dev/