diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 12:02:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 12:02:28 +0000 |
commit | f9c438f16b716359522e5fb139642968f7926d70 (patch) | |
tree | 1b3aca172496eb61e71ca3a9ebf868cddff7382c /rpmdrake.pm | |
parent | ec4ead64bc77a232fb1910c0fade732782eeffd4 (diff) | |
download | rpmdrake-f9c438f16b716359522e5fb139642968f7926d70.tar rpmdrake-f9c438f16b716359522e5fb139642968f7926d70.tar.gz rpmdrake-f9c438f16b716359522e5fb139642968f7926d70.tar.bz2 rpmdrake-f9c438f16b716359522e5fb139642968f7926d70.tar.xz rpmdrake-f9c438f16b716359522e5fb139642968f7926d70.zip |
(add_medium_and_check,update_sources_check) fix bad looking error messages (#26971)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
1 files 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; |