-rw-r--r-- | i18n/opie-i18n-zh-tw.control | 10 | ||||
-rwxr-xr-x | i18n/status.sh | 6 |
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 @@ | |||
1 | Files: i18n/zh_TW/.directory i18n/zh_TW/*.qm | ||
2 | Priority: optional | ||
3 | Section: opie/i18n | ||
4 | Maintainer: Carstem Niehaus <cniehaus@kde.org> | ||
5 | Architecture: arm | ||
6 | Arch: iPAQ | ||
7 | Version: $QPE_VERSION-$SUB_VERSION | ||
8 | Depends: opie-base ($QPE_VERSION), qpf-cyberbit-120-50-t10 | ||
9 | Description: i18n: Chinese (TW) | ||
10 | 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 | |||
8 | fi | 8 | fi |
9 | 9 | ||
10 | #general figures | 10 | #general figures |
11 | echo "Status of $foo" | 11 | echo "Status of $foo" |
12 | echo | 12 | echo |
13 | 13 | ||
14 | echo "number of strings: " | 14 | echo "number of strings: " |
15 | strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` | 15 | strs=`find $arg -name "*.ts" -exec cat {} \; | grep translation | wc -l` |
16 | echo $strs | 16 | echo $strs |
17 | echo "unfinished: " | 17 | echo "unfinished: " |
18 | unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` | 18 | unfi=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"unfinished\" | wc -l` |
19 | echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" | 19 | echo $unfi", that means" `expr \( $strs - $unfi \) \* 100 / $strs`% "are done" |
20 | echo "obsolete: " | 20 | echo "obsolete: " |
21 | obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` | 21 | obso=`find $arg -name "*.ts" -exec cat {} \; | grep translation | grep type=\"obsolete\" | wc -l` |
22 | echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% | 22 | echo $obso `expr \( $strs - $obso \) \* 100 / $strs`% |
23 | 23 | ||
24 | if [ "foo" = "all" ] | 24 | #if [ "foo" = "all" ] |
25 | then | 25 | #then |
26 | #from here on we will only look at the core-parts. All numbers have to be 0% if | 26 | #from here on we will only look at the core-parts. All numbers have to be 0% if |
27 | #the specific language will be in the official release. | 27 | #the specific language will be in the official release. |
28 | echo | 28 | echo |
29 | echo "Core:" | 29 | echo "Core:" |
30 | core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l` | 30 | core_today=`grep translation $arg/today.ts | grep type=\"unfinished\" | wc -l` |
31 | core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l` | 31 | core_todo=`grep translation $arg/todolist.ts | grep type=\"unfinished\" | wc -l` |
32 | core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l` | 32 | core_addressbook=`grep translation $arg/addressbook.ts | grep type=\"unfinished\" | wc -l` |
33 | core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l` | 33 | core_datebook=`grep translation $arg/datebook.ts | grep type=\"unfinished\" | wc -l` |
34 | libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l` | 34 | libopie=`grep translation $arg/libopie.ts | grep type=\"unfinished\" | wc -l` |
35 | _core_today=`grep translation $arg/today.ts | wc -l` | 35 | _core_today=`grep translation $arg/today.ts | wc -l` |
36 | _core_todo=`grep translation $arg/todolist.ts | wc -l` | 36 | _core_todo=`grep translation $arg/todolist.ts | wc -l` |
37 | _core_addressbook=`grep translation $arg/addressbook.ts | wc -l` | 37 | _core_addressbook=`grep translation $arg/addressbook.ts | wc -l` |
38 | _core_datebook=`grep translation $arg/datebook.ts | wc -l` | 38 | _core_datebook=`grep translation $arg/datebook.ts | wc -l` |
39 | _libopie=`grep translation $arg/libopie.ts | wc -l` | 39 | _libopie=`grep translation $arg/libopie.ts | wc -l` |
40 | #fi | ||
40 | 41 | ||
41 | echo "Today:" $core_today", that means" `expr $core_today \* 100 / $_core_today`% "needs to be done" | 42 | echo "Today:" $core_today", that means" `expr $core_today \* 100 / $_core_today`% "needs to be done" |
42 | echo "Datebook:" $core_datebook", that means" `expr $core_datebook \* 100 / $_core_datebook`% "needs to be done" | 43 | echo "Datebook:" $core_datebook", that means" `expr $core_datebook \* 100 / $_core_datebook`% "needs to be done" |
43 | echo "Todo:" $core_todo", that means" `expr $core_todo \* 100 / $_core_todo`% "needs to be done" | 44 | echo "Todo:" $core_todo", that means" `expr $core_todo \* 100 / $_core_todo`% "needs to be done" |
44 | echo "Addressbook:" $core_addressbook", that means" `expr $core_addressbook \* 100 / $_core_addressbook`% "needs to be done" | 45 | echo "Addressbook:" $core_addressbook", that means" `expr $core_addressbook \* 100 / $_core_addressbook`% "needs to be done" |
45 | echo "libopie:" $libopie", that means" `expr $libopie \* 100 / $_libopie`% "needs to be done" | 46 | echo "libopie:" $libopie", that means" `expr $libopie \* 100 / $_libopie`% "needs to be done" |
46 | fi | ||