diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-15 22:38:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-15 22:38:40 +0000 |
commit | 49b471ad86586818c8fc46e197c5c097d2d7f416 (patch) | |
tree | 014099ada6bed314706742adb699225b9cb47637 /rpmdrake.pm | |
parent | 6dbb3408f45f260f4b56447b115b6a3bfb977ae7 (diff) | |
download | rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar.gz rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar.bz2 rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar.xz rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.zip |
(choose_mirror) rename "msg" as "errors" (more understandable)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 6a29dd44..7fa04ce3 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -551,21 +551,21 @@ Is it ok to continue?"); @transient_options ); my @mirrors = eval { mirrors('/var/cache/urpmi', $options{want_base_distro}) }; - my $msg = $@; + my $error = $@; remove_wait_msg($wait); - if ($msg) { + if ($error) { interactive_msg(N("Error during download"), ($branded ? N("There was an error downloading the mirror list: %s The network, or the website, may be unavailable. -Please try again later.", $msg) +Please try again later.", $error) : N("There was an error downloading the mirror list: %s The network, or the Mandriva website, may be unavailable. -Please try again later.", $msg)), %options +Please try again later.", $error)), %options ); return ''; |