summaryrefslogtreecommitdiff
path: root/i18n/status.sh
authorcniehaus <cniehaus>2002-12-20 16:58:39 (UTC)
committer cniehaus <cniehaus>2002-12-20 16:58:39 (UTC)
commitb7f0fe02a2b5b8d8adbcad338eff0cdb173364ad (patch) (side-by-side diff)
tree47aae8d70ab4e166a8b879633c74a8b3f99b8835 /i18n/status.sh
parent1417713572e0c7fe186b88048edf4365364a2815 (diff)
downloadopie-b7f0fe02a2b5b8d8adbcad338eff0cdb173364ad.zip
opie-b7f0fe02a2b5b8d8adbcad338eff0cdb173364ad.tar.gz
opie-b7f0fe02a2b5b8d8adbcad338eff0cdb173364ad.tar.bz2
as nobody read this nobody will notice my stupid bug
Diffstat (limited to 'i18n/status.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-xi18n/status.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/i18n/status.sh b/i18n/status.sh
index 2eef724..b669bf2 100755
--- a/i18n/status.sh
+++ b/i18n/status.sh
@@ -1,41 +1,40 @@
#/bin/sh
arg=$1
foo=$1
if [ x${arg}x = xx ]
then
arg=.
foo="all"
fi
echo "Status of $foo"
echo
#general figures
echo "Status of $foo"
echo
->>>>>>> 1.4
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", 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`%
#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
echo "Core:"
core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l`
core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l`
core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l`
core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l`
libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l`
_core_today=`grep translation $arg/today.ts | wc -l`
_core_todo=`grep translation $arg/todolist.ts | wc -l`
_core_addressbook=`grep translation $arg/addressbook.ts | wc -l`
_core_datebook=`grep translation $arg/datebook.ts | wc -l`
_libopie=`grep translation $arg/libopie.ts | wc -l`