diff options
author | Daouda Lo <daouda@mandriva.com> | 2002-09-12 10:02:47 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2002-09-12 10:02:47 +0000 |
commit | 2f4f00a51cdcc20e38a18a000076ce0c1b410a8d (patch) | |
tree | 484614bbfb9fa24ac29633487ca1126b3aae70e3 | |
parent | 7145caa7c34ce4cacb226f0469de145dc2833aa9 (diff) | |
download | mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar.gz mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar.bz2 mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.tar.xz mgaonline-2f4f00a51cdcc20e38a18a000076ce0c1b410a8d.zip |
- gettext udpdate
-rwxr-xr-x | mdkupdate | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"; |