diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-05 16:46:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-05 16:46:41 +0000 |
commit | bce4e569acbe751f79b5442b5838314013124efc (patch) | |
tree | 59bff7e72da81831c48cd5da7a50e34b1871d9a7 | |
parent | c97518f1025386fb09e3cfe50ab1d7be7ea72515 (diff) | |
download | urpmi-bce4e569acbe751f79b5442b5838314013124efc.tar urpmi-bce4e569acbe751f79b5442b5838314013124efc.tar.gz urpmi-bce4e569acbe751f79b5442b5838314013124efc.tar.bz2 urpmi-bce4e569acbe751f79b5442b5838314013124efc.tar.xz urpmi-bce4e569acbe751f79b5442b5838314013124efc.zip |
merge some strings (thus giving more control to translators for the
second occurence)
-rwxr-xr-x | gurpmi2 | 2 | ||||
-rwxr-xr-x | urpmi | 9 |
2 files changed, 5 insertions, 6 deletions
@@ -336,7 +336,7 @@ sub do_install_3 () { add_button_box($vbox, $quit_button); change_mainw($vbox); if (@errors) { - $progress_label->set_label(N("Installation failed") . ":\n" . join("\n", map { "\t$_" } @errors)); + $progress_label->set_label(N("Installation failed:") . "\n" . join("\n", map { "\t$_" } @errors)); } elsif (values %error_sources) { $progress_label->set_label(N("Installation failed, some files are missing:\n%s\nYou may want to update your urpmi database", join "\n", map { s|([^:]*://[^/:\@]*:)[^/:\@]*(\@.*)|$1xxxx$2|; " $_" } values %error_sources)); @@ -390,7 +390,7 @@ exists $urpm->{options}{'split-length'} or $urpm->{options}{'split-length'} = $s # comma-separated list of packages that should be installed first, # and that trigger an urpmi restart exists $urpm->{options}{'priority-upgrade'} - or $urpm->{options}{'priority-upgrade'} = 'rpm,perl-URPM,urpmi,glibc'; + or $urpm->{options}{'priority-upgrade'} = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,glibc'; my $state = {}; my %requested = $urpm->register_rpms(@files, @src_files); @@ -625,8 +625,7 @@ urpm::removable::copy_packages_of_removable_media($urpm, #- probably run from a drak tool (my $gmessage) = grep { -x $_ } '/usr/X11R6/bin/gmessage', '/usr/bin/gmessage'; if ($gmessage) { - my $m = to_utf8("\n$msg\n"); - return system($gmessage, '-buttons', N("Ok") . ':1,' . N("Cancel") . ':0', $m); + return system($gmessage, '-buttons', N("Ok") . ':1,' . N("Cancel") . ':0', "\n$msg\n"); } } return defined message_input("$msg\n$msg2 "); @@ -777,7 +776,7 @@ foreach my $set (@{$state->{transaction} || []}) { ); if (@l) { #- Warning : the following message is parsed in urpm::parallel_* - print N("Installation failed") . ":\n" . join("\n", map { "\t$_" } @l), "\n"; + print N("Installation failed:") . "\n" . join("\n", map { "\t$_" } @l), "\n"; if (!$urpm->{options}{'allow-force'}) { ++$nok; ++$urpm->{logger_id}; @@ -794,7 +793,7 @@ foreach my $set (@{$state->{transaction} || []}) { ); if (@l) { #- Warning : the following message is parsed in urpm::parallel_* - print N("Installation failed") . ":\n" . join("\n", map { "\t$_" } @l), "\n"; + print N("Installation failed:") . "\n" . join("\n", map { "\t$_" } @l), "\n"; ++$nok; ++$urpm->{logger_id}; push @errors, @l; |