summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2000-04-20 14:26:10 +0000
committerPablo Saratxaga <pablo@mandriva.com>2000-04-20 14:26:10 +0000
commit03021569d9c56fb99dda63b6d76bd57b0acf741f (patch)
tree09e15e95c37e9740a0d087f149f614fb9691b9c8
parent75549889e2b228c19dfb01f86de68ed2783d5641 (diff)
downloaddrakx-03021569d9c56fb99dda63b6d76bd57b0acf741f.tar
drakx-03021569d9c56fb99dda63b6d76bd57b0acf741f.tar.gz
drakx-03021569d9c56fb99dda63b6d76bd57b0acf741f.tar.bz2
drakx-03021569d9c56fb99dda63b6d76bd57b0acf741f.tar.xz
drakx-03021569d9c56fb99dda63b6d76bd57b0acf741f.zip
added a variable $XIM_PROGRAM for i18n files; so automatic programs
can test it, and if defined just execute it to launch the XIM server.
-rw-r--r--perl-install/lang.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 69a2c7b90..d214b0932 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -100,21 +100,31 @@ my %xim = (
'zh_TW.Big5' => {
ENC => 'big5',
XIM => 'xcin',
+ XIM_PROGRAM => 'xcin',
XMODIFIERS => '"@im=xcin"',
},
'zh_CN' => {
ENC => 'gb',
XIM => 'xcin-zh_CN',
+ XIM_PROGRAM => 'xcin',
XMODIFIERS => '"@im=xcin-zh_CN"',
},
+ 'zh_CN.GB2312' => {
+ ENC => 'gb',
+ XIM => 'xcin-zh_CN.GB2312',
+ XIM_PROGRAM => 'xcin',
+ XMODIFIERS => '"@im=xcin-zh_CN.GB2312"',
+ },
'ko' => {
ENC => 'kr',
XIM => 'Ami',
+ XIM_PROGRAM => 'ami',
XMODIFIERS => '"@im=Ami"',
},
'ja' => {
ENC => 'eucj',
XIM => 'kinput2',
+ XIM_PROGRAM => 'kinput2'
XMODIFIERS => '"@im=kinput2"',
}
);