-rwxr-xr-x | i18n/status.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/i18n/status.sh b/i18n/status.sh index 5cde18e..6f4b6e2 100755 --- a/i18n/status.sh +++ b/i18n/status.sh @@ -2,2 +2,3 @@ arg=$1 +foo=$1 if [ x${arg}x = xx ] @@ -5,3 +6,8 @@ then arg=. + foo="all" fi + +echo "Status of $foo" +echo + echo "number of strings: " @@ -11,3 +17,3 @@ 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: " |