diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-28 13:45:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-28 13:45:04 +0000 |
commit | cbcd081080ffb4ce0c9fa976f545e9a97aa71f13 (patch) | |
tree | 795bed95ba20953382167c56ac015025dc5f02c6 | |
parent | 653f8b50ff822e3865848c1a98a3900890cb337d (diff) | |
download | urpmi-cbcd081080ffb4ce0c9fa976f545e9a97aa71f13.tar urpmi-cbcd081080ffb4ce0c9fa976f545e9a97aa71f13.tar.gz urpmi-cbcd081080ffb4ce0c9fa976f545e9a97aa71f13.tar.bz2 urpmi-cbcd081080ffb4ce0c9fa976f545e9a97aa71f13.tar.xz urpmi-cbcd081080ffb4ce0c9fa976f545e9a97aa71f13.zip |
Initialize the noexpr and yesexpr *after* the locale has been set.
-rw-r--r-- | urpm/msg.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |