author | cniehaus <cniehaus> | 2002-12-20 16:48:37 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-20 16:48:37 (UTC) |
commit | 2edec634f67221e3dda5521df0937c6d597b9a62 (patch) (unidiff) | |
tree | 685fa84cba7ac67d7796c12836e82e8abcff2490 /i18n | |
parent | 91cee7565825322eeadf5a8ec3208f7bb6dd6439 (diff) | |
download | opie-2edec634f67221e3dda5521df0937c6d597b9a62.zip opie-2edec634f67221e3dda5521df0937c6d597b9a62.tar.gz opie-2edec634f67221e3dda5521df0937c6d597b9a62.tar.bz2 |
mmh, update
-rwxr-xr-x | i18n/status.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/i18n/status.sh b/i18n/status.sh index 6f4b6e2..2eef724 100755 --- a/i18n/status.sh +++ b/i18n/status.sh | |||
@@ -11,4 +11,9 @@ echo "Status of $foo" | |||
11 | echo | 11 | echo |
12 | 12 | ||
13 | #general figures | ||
14 | echo "Status of $foo" | ||
15 | echo | ||
16 | |||
17 | >>>>>>> 1.4 | ||
13 | echo "number of strings: " | 18 | echo "number of strings: " |
14 | strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` | 19 | strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` |
@@ -20,2 +25,23 @@ echo "obsolete: " | |||
20 | obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` | 25 | obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` |
21 | echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% | 26 | echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% |
27 | |||
28 | #from here on we will only look at the core-parts. All numbers have to be 0% if | ||
29 | #the specific language will be in the official release. | ||
30 | echo | ||
31 | echo "Core:" | ||
32 | core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l` | ||
33 | core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l` | ||
34 | core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l` | ||
35 | core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l` | ||
36 | libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l` | ||
37 | _core_today=`grep translation $arg/today.ts | wc -l` | ||
38 | _core_todo=`grep translation $arg/todolist.ts | wc -l` | ||
39 | _core_addressbook=`grep translation $arg/addressbook.ts | wc -l` | ||
40 | _core_datebook=`grep translation $arg/datebook.ts | wc -l` | ||
41 | _libopie=`grep translation $arg/libopie.ts | wc -l` | ||
42 | |||
43 | echo "Today:" $core_today", that means" `expr $core_today \* 100 / $_core_today`% "needs to be done" | ||
44 | echo "Datebook:" $core_datebook", that means" `expr $core_datebook \* 100 / $_core_datebook`% "needs to be done" | ||
45 | echo "Todo:" $core_todo", that means" `expr $core_todo \* 100 / $_core_todo`% "needs to be done" | ||
46 | echo "Addressbook:" $core_addressbook", that means" `expr $core_addressbook \* 100 / $_core_addressbook`% "needs to be done" | ||
47 | echo "libopie:" $libopie", that means" `expr $libopie \* 100 / $_libopie`% "needs to be done" | ||