summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-03-28 17:07:54 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-03-28 17:07:54 +0000
commit95976bdde99d59e98fa20f72fc819aac91de7ef0 (patch)
tree6ae9ad62d0da32baaaf38e8532e9e9a2f7dbe3ad /perl-install
parent22aa34691eda7885218ec1b19543ed44ac9b7417 (diff)
downloaddrakx-95976bdde99d59e98fa20f72fc819aac91de7ef0.tar
drakx-95976bdde99d59e98fa20f72fc819aac91de7ef0.tar.gz
drakx-95976bdde99d59e98fa20f72fc819aac91de7ef0.tar.bz2
drakx-95976bdde99d59e98fa20f72fc819aac91de7ef0.tar.xz
drakx-95976bdde99d59e98fa20f72fc819aac91de7ef0.zip
Special cases for KDE to recognize zh_HK and zh_SG
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index b0ecb50e6..ff3e25c32 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -614,7 +614,9 @@ sub get_kde_lang {
$lang eq 'no' ? 'nb' :
$lang eq 'sp' ? 'sr' :
$lang eq 'zh_CN' ? 'zh_CN.GB2312' :
+ $lang eq 'zh_SG' ? 'zh_CN.GB2312' :
$lang eq 'zh_TW' ? 'zh_TW.Big5' :
+ $lang eq 'zh_HK' ? 'zh_TW.Big5' :
exists $valid_kde_langs{$lang} ? $lang :
exists $valid_kde_langs{substr($lang, 0, 2)} ? substr($lang, 0, 2) : '';
};