summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--i18n/opie-i18n-zh-tw.control10
-rwxr-xr-xi18n/status.sh6
2 files changed, 13 insertions, 3 deletions
diff --git a/i18n/opie-i18n-zh-tw.control b/i18n/opie-i18n-zh-tw.control
new file mode 100644
index 0000000..51423df
--- a/dev/null
+++ b/i18n/opie-i18n-zh-tw.control
@@ -0,0 +1,10 @@
+Files: i18n/zh_TW/.directory i18n/zh_TW/*.qm
+Priority: optional
+Section: opie/i18n
+Maintainer: Carstem Niehaus <cniehaus@kde.org>
+Architecture: arm
+Arch: iPAQ
+Version: $QPE_VERSION-$SUB_VERSION
+Depends: opie-base ($QPE_VERSION), qpf-cyberbit-120-50-t10
+Description: i18n: Chinese (TW)
+ Chinese UI texts for OPIE environment.
diff --git a/i18n/status.sh b/i18n/status.sh
index 125d8a1..377244e 100755
--- a/i18n/status.sh
+++ b/i18n/status.sh
@@ -8,39 +8,39 @@ then
fi
#general figures
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", 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`%
-if [ "foo" = "all" ]
-then
+#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
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`
+#fi
echo "Today:" $core_today", that means" `expr $core_today \* 100 / $_core_today`% "needs to be done"
echo "Datebook:" $core_datebook", that means" `expr $core_datebook \* 100 / $_core_datebook`% "needs to be done"
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