diff options
-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"; |