summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-28 13:45:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-28 13:45:04 +0000
commitcbcd081080ffb4ce0c9fa976f545e9a97aa71f13 (patch)
tree795bed95ba20953382167c56ac015025dc5f02c6 /urpm
parent653f8b50ff822e3865848c1a98a3900890cb337d (diff)
downloadurpmi-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.
Diffstat (limited to 'urpm')
-rw-r--r--urpm/msg.pm6
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) {