diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-12-15 08:48:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-12-15 08:48:51 +0000 |
commit | 226bc14e18ffe6c106d28680ea935cad227a9e05 (patch) | |
tree | 170f4b1a3214a90592075fd3e42ff07e21134d31 /perl-install/mygtk2.pm | |
parent | d78b368c177b069dc2a157f6a094df272a385eab (diff) | |
download | drakx-226bc14e18ffe6c106d28680ea935cad227a9e05.tar drakx-226bc14e18ffe6c106d28680ea935cad227a9e05.tar.gz drakx-226bc14e18ffe6c106d28680ea935cad227a9e05.tar.bz2 drakx-226bc14e18ffe6c106d28680ea935cad227a9e05.tar.xz drakx-226bc14e18ffe6c106d28680ea935cad227a9e05.zip |
use Locale::gettext for dgettext, bindtextdomain and bind_textdomain_codeset instead of module c
(that way we can also use dngettext, and it's more modular)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 07992705c..18142326d 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -18,7 +18,7 @@ unless ($::no_ugtk_init) { $::one_message_has_been_translated and warn("N() was called from $::one_message_has_been_translated BEFORE gtk2 initialisation, replace it with a N_() AND a translate() later.\n"), c::_exit(1); Gtk2->init; - c::bind_textdomain_codeset($_, 'UTF8') foreach 'libDrakX', @::textdomains; + Locale::gettext::bind_textdomain_codeset($_, 'UTF8') foreach 'libDrakX', @::textdomains; $::need_utf8_i18n = 1; } Gtk2->croak_execeptions if (!$::no_ugtk_init || $::isInstall) && 0.95 < $Gtk2::VERSION; |