aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-10 15:07:34 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-10 15:07:34 +0000
commitaa27ed8c0d2ff24a1289993076204d4cb7a1f60e (patch)
tree617a48c4f2626c78dcb4ed54cde8bd8999b28aba /Rpmdrake/gui.pm
parentc96ad4891f2c434bbab9008fd118670ad05a322d (diff)
downloadrpmdrake-aa27ed8c0d2ff24a1289993076204d4cb7a1f60e.tar
rpmdrake-aa27ed8c0d2ff24a1289993076204d4cb7a1f60e.tar.gz
rpmdrake-aa27ed8c0d2ff24a1289993076204d4cb7a1f60e.tar.bz2
rpmdrake-aa27ed8c0d2ff24a1289993076204d4cb7a1f60e.tar.xz
rpmdrake-aa27ed8c0d2ff24a1289993076204d4cb7a1f60e.zip
(deps_msg,perform_installation,toggle_nodes) use new formatlistpkg() for better rendering
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index ca77631b..c726ac0b 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -455,7 +455,8 @@ sub deps_msg {
@deps > 0 or return 1;
deps_msg_again:
my $results = interactive_msg(
- $title, $msg . urpm::select::translate_why_removed($urpm, $urpm->{state}, @deps),
+ $title, $msg .
+ formatlistpkg(map { scalar(urpm::select::translate_why_removed_one($urpm, $urpm->{state}, $_)) } @deps),
yesno => [ N("Cancel"), N("More info"), N("Ok") ],
scroll => 1,
);
@@ -563,8 +564,8 @@ sub toggle_nodes {
interactive_msg(
($count == 1 ? N("One package cannot be installed") : N("Some packages can't be installed")),
($count == 1 ?
- N("Sorry, the following package cannot be selected:\n\n%s", join("\n", @reasons))
- : N("Sorry, the following packages can't be selected:\n\n%s", join("\n", @reasons))),
+ N("Sorry, the following package cannot be selected:\n\n%s", formatlistpkg(@reasons))
+ : N("Sorry, the following packages can't be selected:\n\n%s", formatlistpkg(@reasons))),
scroll => 1,
);
foreach (@cant) {