summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/msg.pm10
1 files changed, 4 insertions, 6 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm
index 151f016b..44f1280d 100644
--- a/urpm/msg.pm
+++ b/urpm/msg.pm
@@ -6,12 +6,10 @@ our @ISA = 'Exporter';
our @EXPORT = qw(N log_it to_utf8 message_input message toMb from_utf8);
#- I18N.
-eval {
- require Locale::gettext;
- use POSIX qw(LC_ALL);
- POSIX::setlocale(LC_ALL, "");
- Locale::gettext::textdomain("urpmi");
-};
+use Locale::gettext;
+use POSIX qw(LC_ALL);
+POSIX::setlocale(LC_ALL, "");
+Locale::gettext::textdomain("urpmi");
my $codeset; #- encoding of the current locale
eval {