author | cniehaus <cniehaus> | 2002-12-20 17:16:32 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-20 17:16:32 (UTC) |
commit | fdcb16419ebc646875a1c2cc4e9f623af502a31d (patch) (unidiff) | |
tree | 1aa8f60e413f5cd40a7492997c13952309720bdf | |
parent | b7f0fe02a2b5b8d8adbcad338eff0cdb173364ad (diff) | |
download | opie-fdcb16419ebc646875a1c2cc4e9f623af502a31d.zip opie-fdcb16419ebc646875a1c2cc4e9f623af502a31d.tar.gz opie-fdcb16419ebc646875a1c2cc4e9f623af502a31d.tar.bz2 |
Thanks to Chris /me learned another sh-thing :)
-rwxr-xr-x | i18n/status.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18n/status.sh b/i18n/status.sh index b669bf2..125d8a1 100755 --- a/i18n/status.sh +++ b/i18n/status.sh | |||
@@ -7,9 +7,6 @@ then | |||
7 | foo="all" | 7 | foo="all" |
8 | fi | 8 | fi |
9 | 9 | ||
10 | echo "Status of $foo" | ||
11 | echo | ||
12 | |||
13 | #general figures | 10 | #general figures |
14 | echo "Status of $foo" | 11 | echo "Status of $foo" |
15 | echo | 12 | echo |
@@ -24,6 +21,8 @@ echo "obsolete: " | |||
24 | 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` |
25 | echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% | 22 | echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% |
26 | 23 | ||
24 | if [ "foo" = "all" ] | ||
25 | then | ||
27 | #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 |
28 | #the specific language will be in the official release. | 27 | #the specific language will be in the official release. |
29 | echo | 28 | echo |
@@ -44,3 +43,4 @@ echo "Datebook:" $core_datebook", that means" `expr $core_datebook \* 100 / $_co | |||
44 | echo "Todo:" $core_todo", that means" `expr $core_todo \* 100 / $_core_todo`% "needs to be done" | 43 | echo "Todo:" $core_todo", that means" `expr $core_todo \* 100 / $_core_todo`% "needs to be done" |
45 | echo "Addressbook:" $core_addressbook", that means" `expr $core_addressbook \* 100 / $_core_addressbook`% "needs to be done" | 44 | echo "Addressbook:" $core_addressbook", that means" `expr $core_addressbook \* 100 / $_core_addressbook`% "needs to be done" |
46 | echo "libopie:" $libopie", that means" `expr $libopie \* 100 / $_libopie`% "needs to be done" | 45 | echo "libopie:" $libopie", that means" `expr $libopie \* 100 / $_libopie`% "needs to be done" |
46 | fi | ||