From 1e0289c2367b411fe9c4c34aff11988dc77c0f54 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 17 Dec 2002 13:45:19 +0000 Subject: - update by Carsten --- (limited to 'i18n') diff --git a/i18n/status.sh b/i18n/status.sh index 5cde18e..6f4b6e2 100755 --- a/i18n/status.sh +++ b/i18n/status.sh @@ -1,15 +1,21 @@ #/bin/sh arg=$1 +foo=$1 if [ x${arg}x = xx ] then arg=. + foo="all" fi + +echo "Status of $foo" +echo + echo "number of strings: " strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` echo $strs echo "unfinished: " unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` -echo $unfi `expr \( $strs - $unfi \) \* 100 / $strs`% +echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" echo "obsolete: " obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% -- cgit v0.9.0.2