diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-02 10:27:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-02 10:27:20 +0000 |
commit | 391e1909ebed4c603be02f5766d9e686dd2eddae (patch) | |
tree | 2d7600bca47921bfa21f7c8f7909e7f958a54fc2 /urpm.pm | |
parent | ab18e550dddce9519cc42bfa1c3353066fc7b7f4 (diff) | |
download | urpmi-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.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |