diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-10 19:05:22 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-10 19:05:22 +0000 |
commit | 20e1c9c5e830aff8414567da968dd94bbdd71b07 (patch) | |
tree | 5af68006317905af8ddab048649164ee60433e8d /perl-install/lang.pm | |
parent | bf7b3420a5101e8f4a29ff1233334e0c7547c223 (diff) | |
download | drakx-20e1c9c5e830aff8414567da968dd94bbdd71b07.tar drakx-20e1c9c5e830aff8414567da968dd94bbdd71b07.tar.gz drakx-20e1c9c5e830aff8414567da968dd94bbdd71b07.tar.bz2 drakx-20e1c9c5e830aff8414567da968dd94bbdd71b07.tar.xz drakx-20e1c9c5e830aff8414567da968dd94bbdd71b07.zip |
(pablo) workaround console localization broken in RTL languages
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r-- | perl-install/lang.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index e51e45fba..0f1f89f5b 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -895,6 +895,11 @@ sub write { } add2hash $h, $xim{$locale_lang}; + #- deactivate translations on console for RTL languages + if ($locale_lang =~ /ar|fa|he|ur|yi/) { + add2hash $h, { CONSOLE_NOT_LOCALIZED => 'yes' } + } + setVarsInSh($prefix . ($user_only ? "$ENV{HOME}/.i18n" : '/etc/sysconfig/i18n'), $h); eval { |