summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-12 12:23:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-12 12:23:18 +0000
commit8f93985ea83fc61c0e779471a667f8a4a0a3ca8e (patch)
tree2b71c1308011340891c18ce32cb1bca26dbee7e1 /perl-install/install_steps_gtk.pm
parent00f2b6666140dd22b4c6e3e4861f7d4cb6644bcc (diff)
downloaddrakx-backup-do-not-use-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar
drakx-backup-do-not-use-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar.gz
drakx-backup-do-not-use-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar.bz2
drakx-backup-do-not-use-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.tar.xz
drakx-backup-do-not-use-8f93985ea83fc61c0e779471a667f8a4a0a3ca8e.zip
(choosePackagesTree): translate the categories
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm5
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;
}
}
},