summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-12-20 16:58:39 (UTC)
committer cniehaus <cniehaus>2002-12-20 16:58:39 (UTC)
commitb7f0fe02a2b5b8d8adbcad338eff0cdb173364ad (patch) (unidiff)
tree47aae8d70ab4e166a8b879633c74a8b3f99b8835
parent1417713572e0c7fe186b88048edf4365364a2815 (diff)
downloadopie-b7f0fe02a2b5b8d8adbcad338eff0cdb173364ad.zip
opie-b7f0fe02a2b5b8d8adbcad338eff0cdb173364ad.tar.gz
opie-b7f0fe02a2b5b8d8adbcad338eff0cdb173364ad.tar.bz2
as nobody read this nobody will notice my stupid bug
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xi18n/status.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/i18n/status.sh b/i18n/status.sh
index 2eef724..b669bf2 100755
--- a/i18n/status.sh
+++ b/i18n/status.sh
@@ -1,41 +1,40 @@
1#/bin/sh 1#/bin/sh
2arg=$1 2arg=$1
3foo=$1 3foo=$1
4if [ x${arg}x = xx ] 4if [ x${arg}x = xx ]
5then 5then
6 arg=. 6 arg=.
7 foo="all" 7 foo="all"
8fi 8fi
9 9
10echo "Status of $foo" 10echo "Status of $foo"
11echo 11echo
12 12
13#general figures 13#general figures
14echo "Status of $foo" 14echo "Status of $foo"
15echo 15echo
16 16
17>>>>>>> 1.4
18echo "number of strings: " 17echo "number of strings: "
19strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` 18strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l`
20echo $strs 19echo $strs
21echo "unfinished: " 20echo "unfinished: "
22unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` 21unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l`
23echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" 22echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done"
24echo "obsolete: " 23echo "obsolete: "
25obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` 24obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l`
26echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% 25echo $obso `expr \( $strs - $obso \) \* 100 / $strs`%
27 26
28#from here on we will only look at the core-parts. All numbers have to be 0% if 27#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. 28#the specific language will be in the official release.
30echo 29echo
31echo "Core:" 30echo "Core:"
32core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l` 31core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l`
33core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l` 32core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l`
34core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l` 33core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l`
35core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l` 34core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l`
36libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l` 35libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l`
37_core_today=`grep translation $arg/today.ts | wc -l` 36_core_today=`grep translation $arg/today.ts | wc -l`
38_core_todo=`grep translation $arg/todolist.ts | wc -l` 37_core_todo=`grep translation $arg/todolist.ts | wc -l`
39_core_addressbook=`grep translation $arg/addressbook.ts | wc -l` 38_core_addressbook=`grep translation $arg/addressbook.ts | wc -l`
40_core_datebook=`grep translation $arg/datebook.ts | wc -l` 39_core_datebook=`grep translation $arg/datebook.ts | wc -l`
41_libopie=`grep translation $arg/libopie.ts | wc -l` 40_libopie=`grep translation $arg/libopie.ts | wc -l`