From 8f93985ea83fc61c0e779471a667f8a4a0a3ca8e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Sep 2001 12:23:18 +0000 Subject: (choosePackagesTree): translate the categories --- perl-install/install_steps_gtk.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install') 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; } } }, -- cgit v1.2.1