summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-02 10:27:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-02 10:27:20 +0000
commit391e1909ebed4c603be02f5766d9e686dd2eddae (patch)
tree2d7600bca47921bfa21f7c8f7909e7f958a54fc2 /urpm.pm
parentab18e550dddce9519cc42bfa1c3353066fc7b7f4 (diff)
downloadurpmi-391e1909ebed4c603be02f5766d9e686dd2eddae.tar
urpmi-391e1909ebed4c603be02f5766d9e686dd2eddae.tar.gz
urpmi-391e1909ebed4c603be02f5766d9e686dd2eddae.tar.bz2
urpmi-391e1909ebed4c603be02f5766d9e686dd2eddae.tar.xz
urpmi-391e1909ebed4c603be02f5766d9e686dd2eddae.zip
use perl-Locale-gettext instead of perl-gettext
(ie. Locale::gettext instead of Locale::GetText)
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.