From cbcd081080ffb4ce0c9fa976f545e9a97aa71f13 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 28 Apr 2004 13:45:04 +0000 Subject: Initialize the noexpr and yesexpr *after* the locale has been set. --- urpm/msg.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'urpm') diff --git a/urpm/msg.pm b/urpm/msg.pm index b8e4ae03..e7315735 100644 --- a/urpm/msg.pm +++ b/urpm/msg.pm @@ -5,9 +5,6 @@ use Exporter; our @ISA = 'Exporter'; our @EXPORT = qw(N log_it to_utf8 message_input gmessage message toMb); -my $noexpr = N("Nn"); -my $yesexpr = N("Yy"); - #- I18N. eval { require Locale::gettext; @@ -24,6 +21,9 @@ sub N { ); } +my $noexpr = N("Nn"); +my $yesexpr = N("Yy"); + sub log_it { #- if invoked as a simple user, nothing should be logged. if ($::log) { -- cgit v1.2.1