diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-09 03:20:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-09 03:20:47 +0000 |
commit | 2808f751a28cf02e71a3ef28ad4f59d026a35311 (patch) | |
tree | 64e8ccd8209a01aad36db7574d6b013e7ff4e2c3 | |
parent | 6eb86c4cee760c9e7d22d01ec024a2d97a9fef74 (diff) | |
download | drakx-2808f751a28cf02e71a3ef28ad4f59d026a35311.tar drakx-2808f751a28cf02e71a3ef28ad4f59d026a35311.tar.gz drakx-2808f751a28cf02e71a3ef28ad4f59d026a35311.tar.bz2 drakx-2808f751a28cf02e71a3ef28ad4f59d026a35311.tar.xz drakx-2808f751a28cf02e71a3ef28ad4f59d026a35311.zip |
prototype compliance with perl_checker
-rw-r--r-- | perl-install/lang.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 11e0efaa0..d4861bf42 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -1124,14 +1124,14 @@ sub bindtextdomain() { } sub load_mo { - my ($lang) = @_; + my ($o_lang) = @_; my $localedir = bindtextdomain(); my $suffix = 'LC_MESSAGES/libDrakX.mo'; - $lang ||= $ENV{LANGUAGE} || $ENV{LC_ALL} || $ENV{LC_MESSAGES} || $ENV{LANG}; + $o_lang ||= $ENV{LANGUAGE} || $ENV{LC_ALL} || $ENV{LC_MESSAGES} || $ENV{LANG}; - my @possible_langs = map { { name => $_, mofile => "$localedir/$_/$suffix" } } split ':', $lang; + my @possible_langs = map { { name => $_, mofile => "$localedir/$_/$suffix" } } split ':', $o_lang; -s $_->{mofile} and return $_->{name} foreach @possible_langs; |