summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-08 13:54:49 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-08 13:54:49 +0000
commit92c4d36be81de527b008fb7813d29bd7dd58d713 (patch)
tree878f94b15c9e301879aee015344873e4dead7ce7
parent173e5e26a8ea183267246a47b9c22824133e4e5a (diff)
downloadurpmi-92c4d36be81de527b008fb7813d29bd7dd58d713.tar
urpmi-92c4d36be81de527b008fb7813d29bd7dd58d713.tar.gz
urpmi-92c4d36be81de527b008fb7813d29bd7dd58d713.tar.bz2
urpmi-92c4d36be81de527b008fb7813d29bd7dd58d713.tar.xz
urpmi-92c4d36be81de527b008fb7813d29bd7dd58d713.zip
Plug i18n function in.
-rw-r--r--gurpmi7
1 files changed, 1 insertions, 6 deletions
diff --git a/gurpmi b/gurpmi
index 5b9081e2..68d57783 100644
--- a/gurpmi
+++ b/gurpmi
@@ -24,6 +24,7 @@ BEGIN {
}
use urpm;
+use urpm::msg qw(N);
use Gtk2;
use MDK::Common qw(partition);
@@ -41,12 +42,6 @@ sub fatal { print STDERR "$_[0]\n"; exit 1 }
sub quit () { Gtk2->main_quit }
-sub N {
- #- TODO i18n (and possibly UTF-8 conversion)
- my $msg = shift;
- sprintf $msg, @_;
-}
-
sub but ($) { " $_[0] " }
#- globals