summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index 325ce84e..3098b75a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -95,15 +95,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
use URPM;
use POSIX;
-use Locale::GetText;
+use Locale::gettext();
#- I18N.
setlocale (LC_ALL, "");
-Locale::GetText::textdomain ("urpmi");
+Locale::gettext::textdomain ("urpmi");
sub _ {
my ($format, @params) = @_;
- sprintf(Locale::GetText::I_($format), @params);
+ sprintf(Locale::gettext::gettext($format), @params);
}
#- create a new urpm object.