From f9c438f16b716359522e5fb139642968f7926d70 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Nov 2006 12:02:28 +0000 Subject: (add_medium_and_check,update_sources_check) fix bad looking error messages (#26971) --- rpmdrake.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index d4a0bc57..bffae077 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -721,7 +721,7 @@ sub update_sources_check { update_sources($urpm, %$options, noclean => 1, medialist => \@media); fatal_error: if (@error_msgs) { - interactive_msg(N("Error"), sprintf(translate($error_msg), join("\n", @error_msgs)), scroll => 1); + interactive_msg(N("Error"), sprintf(translate($error_msg), join("\n", map { formatAlaTeX($_) } @error_msgs)), scroll => 1); return 0; } return 1; @@ -804,7 +804,7 @@ sub add_medium_and_check { interactive_msg( N("Error"), N("Unable to add medium, errors reported:\n\n%s", - join("\n", @error_msgs)) . "\n\n" . N("Medium: ") . "$_[0] ($_[1])", + join("\n", map { formatAlaTeX($_) } @error_msgs)) . "\n\n" . N("Medium: ") . "$_[0] ($_[1])", scroll => 1, ); return 0; -- cgit v1.2.1