summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-18 15:29:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-18 15:29:36 +0000
commite0d64fdf2b5e6e16b6037a85dfc1cb38f4848336 (patch)
tree84717120d56231c9f15b95dfa6c2cb89566ac850 /perl-install/lang.pm
parent3ae38cbfb9cd8ef428ade8f6355f504e7e368ff1 (diff)
downloaddrakx-backup-do-not-use-e0d64fdf2b5e6e16b6037a85dfc1cb38f4848336.tar
drakx-backup-do-not-use-e0d64fdf2b5e6e16b6037a85dfc1cb38f4848336.tar.gz
drakx-backup-do-not-use-e0d64fdf2b5e6e16b6037a85dfc1cb38f4848336.tar.bz2
drakx-backup-do-not-use-e0d64fdf2b5e6e16b6037a85dfc1cb38f4848336.tar.xz
drakx-backup-do-not-use-e0d64fdf2b5e6e16b6037a85dfc1cb38f4848336.zip
(lang2kde_lang): add missing valid_kde_langs
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 36993fe4e..a6be76621 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -479,7 +479,9 @@ sub country2lang {
sub lang2kde_lang {
my ($lang, $default) = @_;
- my @valid_kde_langs = qw(C ca cs da de el en es et fi fr he hu is it ja ko nl no no_NY pl pt pt_BR ro ru sk sr sv tr uk zh_CN.GB2312 zh_TW.Big5);
+ #- get it using
+ #- echo C $(rpm -qp --qf "%{name}\n" /RPMS/kde-i18n-* | sed 's/kde-i18n-//')
+ my @valid_kde_langs = qw(C af az bg ca cs da de el en_GB eo es et fi fr he hu is it ja ko lt lv mt nl no no_NY pl pt pt_BR ro ru sl sk sr sv ta th tr uk xh zh_CN.GB2312 zh_TW.Big5);
my %valid_kde_langs; @valid_kde_langs{@valid_kde_langs} = ();
my $valid_lang = sub {