summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
Diffstat (limited to 'mdkupdate')
-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";