summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-06-28 16:15:53 +0000
committerThierry Vignaud <tv@mandriva.org>2007-06-28 16:15:53 +0000
commitfd824398b11fa129726a6d7fc99c31175ee18b02 (patch)
tree4ec7d1572a3a5c5a624876c4aba2e5e0d5a25eec /perl-install/mygtk2.pm
parent90f8406ba21657b75f123e483b0cea7724cb0d8d (diff)
downloaddrakx-fd824398b11fa129726a6d7fc99c31175ee18b02.tar
drakx-fd824398b11fa129726a6d7fc99c31175ee18b02.tar.gz
drakx-fd824398b11fa129726a6d7fc99c31175ee18b02.tar.bz2
drakx-fd824398b11fa129726a6d7fc99c31175ee18b02.tar.xz
drakx-fd824398b11fa129726a6d7fc99c31175ee18b02.zip
centralize common textdomains in a single common place, thus ensuring they'll be binded (#31580)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 91e38c306..d885df298 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -18,7 +18,9 @@ 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;
- Locale::gettext::bind_textdomain_codeset($_, 'UTF8') foreach 'libDrakX', if_(!$::isInstall, 'libDrakX-standalone'), @::textdomains;
+ Locale::gettext::bind_textdomain_codeset($_, 'UTF8') foreach 'libDrakX', if_(!$::isInstall, 'libDrakX-standalone'),
+ 'drakx-net', 'drakx-kbd-mouse-x11', # shared translation
+ @::textdomains;
}
Gtk2->croak_execeptions if (!$::no_ugtk_init || $::isInstall) && 0.95 < $Gtk2::VERSION;