summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xi18n/status.sh6
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
foo="all"
fi
-echo "Status of $foo"
-echo
-
#general figures
echo "Status of $foo"
echo
@@ -24,6 +21,8 @@ echo "obsolete: "
obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l`
echo $obso `expr \( $strs - $obso \) \* 100 / $strs`%
+if [ "foo" = "all" ]
+then
#from here on we will only look at the core-parts. All numbers have to be 0% if
#the specific language will be in the official release.
echo
@@ -44,3 +43,4 @@ echo "Datebook:" $core_datebook", that means" `expr $core_datebook \* 100 / $_co
echo "Todo:" $core_todo", that means" `expr $core_todo \* 100 / $_core_todo`% "needs to be done"
echo "Addressbook:" $core_addressbook", that means" `expr $core_addressbook \* 100 / $_core_addressbook`% "needs to be done"
echo "libopie:" $libopie", that means" `expr $libopie \* 100 / $_libopie`% "needs to be done"
+fi