summaryrefslogtreecommitdiff
path: root/i18n/status.sh
authormellen <mellen>2003-01-15 22:52:39 (UTC)
committer mellen <mellen>2003-01-15 22:52:39 (UTC)
commitc9286a607b460274a070e10f34863920dae0b9a9 (patch) (unidiff)
tree51cf05d0365efec6548bac2bb164e5cea0484949 /i18n/status.sh
parent05277c7e728e4126d81aa566b54db9ae3034475c (diff)
downloadopie-c9286a607b460274a070e10f34863920dae0b9a9.zip
opie-c9286a607b460274a070e10f34863920dae0b9a9.tar.gz
opie-c9286a607b460274a070e10f34863920dae0b9a9.tar.bz2
Fixed obsolete strings percentage calculation.
Diffstat (limited to 'i18n/status.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-xi18n/status.sh2
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
@@ -16,13 +16,13 @@ strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l`
16echo $strs 16echo $strs
17echo "unfinished: " 17echo "unfinished: "
18unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` 18unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l`
19echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" 19echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done"
20echo "obsolete: " 20echo "obsolete: "
21obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` 21obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l`
22echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% 22echo $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