summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-09-12 10:02:47 +0000
committerDaouda Lo <daouda@mandriva.com>2002-09-12 10:02:47 +0000
commit2f4f00a51cdcc20e38a18a000076ce0c1b410a8d (patch)
tree484614bbfb9fa24ac29633487ca1126b3aae70e3
parent7145caa7c34ce4cacb226f0469de145dc2833aa9 (diff)
downloadmgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar
mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar.gz
mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar.bz2
mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar.xz
mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.zip
- gettext udpdate
-rwxr-xr-xmdkupdate6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkupdate b/mdkupdate
index a423228b..c81b74ee 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -27,15 +27,15 @@ use HTTP::Request::Common;
use LWP::UserAgent;
use MDK::Common;
use lib qw(/usr/lib/libDrakX);
-use Locale::GetText;
+use Locale::gettext;
#- I18N.
setlocale (LC_ALL, "");
-Locale::GetText::textdomain ("mdkupdate");
+textdomain ("mdkupdate");
sub _ {
my ($format, @params) = @_;
- sprintf(Locale::GetText::I_($format), @params);
+ sprintf(Locale::gettext::gettext($format), @params);
}
$logfile = "/var/log/mdkupdate.log";