summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:52:11 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:52:11 +0000
commit1734ec1d100bcc65a7e80c0c93285738365a9ae8 (patch)
tree822505a8f18b5cc6fe72a6954ad0073348bf32c4 /gurpmi2
parent43f50f4049244eeab50031d47391b16f4460a642 (diff)
downloadurpmi-1734ec1d100bcc65a7e80c0c93285738365a9ae8.tar
urpmi-1734ec1d100bcc65a7e80c0c93285738365a9ae8.tar.gz
urpmi-1734ec1d100bcc65a7e80c0c93285738365a9ae8.tar.bz2
urpmi-1734ec1d100bcc65a7e80c0c93285738365a9ae8.tar.xz
urpmi-1734ec1d100bcc65a7e80c0c93285738365a9ae8.zip
factorize 1 gurpm string with 2 urpm::main_loop strings
(easier for translators)
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi25
1 files changed, 3 insertions, 2 deletions
diff --git a/gurpmi2 b/gurpmi2
index d1989753..57687d18 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -399,9 +399,10 @@ sub do_install_3 () {
},
missing_files_summary => sub {
my ($error_sources) = @_;
- $progress_label->set_label(N("Installation failed, some files are missing:\n%s\nYou may want to update your urpmi database",
+ $progress_label->set_label(N("Installation failed, some files are missing:\n%s",
join("\n", map { s|([^:]*://[^/:\@]*:)[^/:\@]*(\@.*)|$1xxxx$2|; " $_" }
- values %$error_sources)));
+ values %$error_sources))
+ . "\n" . N("You may want to update your urpmi database."));
},
trans_error_summary => sub {
my ($_nok, $errors) = @_;