-rwxr-xr-x | i18n/status.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18n/status.sh b/i18n/status.sh index 377244e..859c442 100755 --- a/i18n/status.sh +++ b/i18n/status.sh @@ -6,33 +6,33 @@ then arg=. foo="all" fi #general figures echo "Status of $foo" echo echo "number of strings: " strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` echo $strs echo "unfinished: " unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" echo "obsolete: " obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` -echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% +echo $obso `expr $obso \* 100 / $strs`% #if [ "foo" = "all" ] #then #from here on we will only look at the core-parts. All numbers have to be 0% if #the specific language will be in the official release. echo echo "Core:" core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l` core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l` core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l` core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l` libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l` _core_today=`grep translation $arg/today.ts | wc -l` _core_todo=`grep translation $arg/todolist.ts | wc -l` _core_addressbook=`grep translation $arg/addressbook.ts | wc -l` _core_datebook=`grep translation $arg/datebook.ts | wc -l` |