-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 | |||
@@ -10,25 +10,25 @@ fi | |||
10 | #general figures | 10 | #general figures |
11 | echo "Status of $foo" | 11 | echo "Status of $foo" |
12 | echo | 12 | echo |
13 | 13 | ||
14 | echo "number of strings: " | 14 | echo "number of strings: " |
15 | strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` | 15 | strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` |
16 | echo $strs | 16 | echo $strs |
17 | echo "unfinished: " | 17 | echo "unfinished: " |
18 | unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` | 18 | unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` |
19 | echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" | 19 | echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" |
20 | echo "obsolete: " | 20 | echo "obsolete: " |
21 | obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` | 21 | obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` |
22 | echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% | 22 | echo $obso `expr $obso \* 100 / $strs`% |
23 | 23 | ||
24 | #if [ "foo" = "all" ] | 24 | #if [ "foo" = "all" ] |
25 | #then | 25 | #then |
26 | #from here on we will only look at the core-parts. All numbers have to be 0% if | 26 | #from here on we will only look at the core-parts. All numbers have to be 0% if |
27 | #the specific language will be in the official release. | 27 | #the specific language will be in the official release. |
28 | echo | 28 | echo |
29 | echo "Core:" | 29 | echo "Core:" |
30 | core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l` | 30 | core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l` |
31 | core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l` | 31 | core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l` |
32 | core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l` | 32 | core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l` |
33 | core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l` | 33 | core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l` |
34 | libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l` | 34 | libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l` |