summaryrefslogtreecommitdiff
path: root/i18n/status.sh
Side-by-side diff
Diffstat (limited to 'i18n/status.sh') (more/less context) (show 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`
echo $strs
echo "unfinished: "
unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l`
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`%
+echo $obso `expr $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