diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-12 12:23:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-12 12:23:18 +0000 |
commit | 8f93985ea83fc61c0e779471a667f8a4a0a3ca8e (patch) | |
tree | 2b71c1308011340891c18ce32cb1bca26dbee7e1 /perl-install/install_steps_gtk.pm | |
parent | 00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc (diff) | |
download | drakx-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar drakx-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar.gz drakx-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar.bz2 drakx-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar.xz drakx-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.zip |
(choosePackagesTree): translate the categories
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r-- | perl-install/install_steps_gtk.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index e51264144..36f183245 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -358,8 +358,9 @@ sub choosePackagesTree { push(@firstchoice, pkgs::packageName($p)) : push(@others, pkgs::packageName($p)); } - $add_node->($_, $root ) foreach sort @firstchoice; - $add_node->($_, $root . '|' . _("Other")) foreach sort @others; + my $root2 = join('|', map { translate($_) } split('\|', $root)); + $add_node->($_, $root2 ) foreach sort @firstchoice; + $add_node->($_, $root2 . '|' . _("Other")) foreach sort @others; } } }, |