diff options
Diffstat (limited to 'urpm/msg.pm')
-rw-r--r-- | urpm/msg.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm index fb5264c7..d913b233 100644 --- a/urpm/msg.pm +++ b/urpm/msg.pm @@ -12,13 +12,16 @@ my $yesexpr = N("Yy"); eval { require Locale::gettext; use POSIX qw(LC_ALL); - setlocale(LC_ALL, ""); + POSIX::setlocale(LC_ALL, ""); Locale::gettext::textdomain("urpmi"); }; sub N { my ($format, @params) = @_; - sprintf(eval { Locale::gettext::gettext($format || '') } || $format, @params); + sprintf( + eval { Locale::gettext::gettext($format || '') } || $format, + @params, + ); } sub log_it { |