From 2808f751a28cf02e71a3ef28ad4f59d026a35311 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 9 Aug 2004 03:20:47 +0000 Subject: prototype compliance with perl_checker --- perl-install/lang.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install') 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; -- cgit v1.2.1