diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-08 18:52:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-08 18:52:11 +0000 |
commit | 1734ec1d100bcc65a7e80c0c93285738365a9ae8 (patch) | |
tree | 822505a8f18b5cc6fe72a6954ad0073348bf32c4 /gurpmi2 | |
parent | 43f50f4049244eeab50031d47391b16f4460a642 (diff) | |
download | urpmi-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-x | gurpmi2 | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) = @_; |