diff options
Diffstat (limited to 'i18n/ibus-table')
-rwxr-xr-x | i18n/ibus-table/CONFIGURE | 1 | ||||
-rw-r--r-- | i18n/ibus-table/HISTORY | 4 | ||||
-rwxr-xr-x | i18n/ibus-table/PRE_BUILD | 6 | ||||
-rw-r--r-- | i18n/ibus-table/chinese.patch | 12 |
4 files changed, 23 insertions, 0 deletions
diff --git a/i18n/ibus-table/CONFIGURE b/i18n/ibus-table/CONFIGURE new file mode 100755 index 0000000000..555084565a --- /dev/null +++ b/i18n/ibus-table/CONFIGURE @@ -0,0 +1 @@ +config_query TR_CHINESE "Do you want to be able to type traditional Chinese characters in non-Chinese environments?" y diff --git a/i18n/ibus-table/HISTORY b/i18n/ibus-table/HISTORY index 291d9cba8d..4b8c0e41e4 100644 --- a/i18n/ibus-table/HISTORY +++ b/i18n/ibus-table/HISTORY @@ -1,3 +1,7 @@ +2010-11-02 Peng Chang (Charles) <chp@sourcemage.org> + * CONFIGURE, PRE_BUILD: added an optional patch for traditional Chinese + * chinese.patch: the patch + 2010-08-27 Peng Chang (Charles) <chp@sourcemage.org> * DETAILS: updated spell to 1.3.0.20100621 diff --git a/i18n/ibus-table/PRE_BUILD b/i18n/ibus-table/PRE_BUILD new file mode 100755 index 0000000000..6e7696ca1e --- /dev/null +++ b/i18n/ibus-table/PRE_BUILD @@ -0,0 +1,6 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && + +if [ $TR_CHINESE == y ]; then + patch -p1 < $SPELL_DIRECTORY/chinese.patch +fi diff --git a/i18n/ibus-table/chinese.patch b/i18n/ibus-table/chinese.patch new file mode 100644 index 0000000000..19f3c507e6 --- /dev/null +++ b/i18n/ibus-table/chinese.patch @@ -0,0 +1,12 @@ +diff -aurp ibus-table-1.3.0.20100621.orig/engine/table.py ibus-table-1.3.0.20100621/engine/table.py +--- ibus-table-1.3.0.20100621.orig/engine/table.py 2010-11-02 10:36:33.806000000 +0800 ++++ ibus-table-1.3.0.20100621/engine/table.py 2010-11-02 10:36:45.716000001 +0800 +@@ -123,7 +123,7 @@ class editor(object): + else: + if self.db._is_chinese: + # if IME declare as Chinese IME +- return 0 ++ return 1 + else: + return -1 + except: |