mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
updated stats script
This commit is contained in:
parent
4dc710b249
commit
cf1c0e35c1
1 changed files with 5 additions and 1 deletions
|
@ -6,5 +6,9 @@ for file in ../../assets/resources/application/*.xml; do
|
|||
all_lcount=`egrep 'name=.+value="' $lfile | wc | awk '{ print $1 }'`
|
||||
neg_count=`fgrep toBeTranslated $file | wc | awk '{ print $1 }'`
|
||||
neg_lcount=`fgrep toBeTranslated $lfile | wc | awk '{ print $1 }'`
|
||||
echo $lang $(($neg_count+$neg_lcount)) of $(($all_count+$all_lcount))
|
||||
if [ "$1" == "-html" ]; then
|
||||
echo "<tr><td>$lang</td><td>$(($all_count+$all_lcount))</td><td>$(($neg_count+$neg_lcount))</td>"
|
||||
else
|
||||
echo $lang $(($neg_count+$neg_lcount)) of $(($all_count+$all_lcount))
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue