summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-03-06 00:48:27 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-03-06 00:48:27 +0000
commit69929fe91a3ef388b1d6e2f425f92a862b86a906 (patch)
treecb2427c5cc83667eab97f3f3358ea07ddc4c1ae4 /perl-install/lang.pm
parentda6fe8205129c500947e085bd94780505234bcbf (diff)
downloaddrakx-69929fe91a3ef388b1d6e2f425f92a862b86a906.tar
drakx-69929fe91a3ef388b1d6e2f425f92a862b86a906.tar.gz
drakx-69929fe91a3ef388b1d6e2f425f92a862b86a906.tar.bz2
drakx-69929fe91a3ef388b1d6e2f425f92a862b86a906.tar.xz
drakx-69929fe91a3ef388b1d6e2f425f92a862b86a906.zip
fixed XIM definitions for Chinese locales
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm33
1 files changed, 32 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index e481c1a9b..2989186c9 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -408,11 +408,14 @@ sub getLANGUAGE {
}
my %xim = (
+#- xcin only works with 'zh_TW', 'zh_TW.Big5', 'zh_CN', 'zh_CN.GB2312'
+#- all other locale names, in particular 'zh_HK' or 'zh_TW.UTF-8'
+#- are unknown to it. So chinput is used for all but 'zh_TW'
'zh_TW' => {
ENC => 'big5',
XIM => 'xcin',
XIM_PROGRAM => 'xcin',
- XMODIFIERS => '"@im=xcin"',
+ XMODIFIERS => '"@im=xcin-zh_TW"',
CONSOLE_NOT_LOCALIZED => 'yes',
},
'zh_TW.UTF-8' => {
@@ -436,6 +439,34 @@ my %xim = (
XMODIFIERS => '"@im=Chinput"',
CONSOLE_NOT_LOCALIZED => 'yes',
},
+ 'zh_SG' => {
+ ENC => 'gb',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
+ 'zh_SG.UTF-8' => {
+ ENC => 'utf8',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
+ 'zh_HK' => {
+ ENC => 'big5',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
+ 'zh_HK.UTF-8' => {
+ ENC => 'utf8',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
'ko_KR' => {
ENC => 'kr',
XIM => 'Ami',