diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-01 09:32:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-01 09:32:19 +0000 |
commit | fb79117f9b1d004b462069990cc17a364cb38820 (patch) | |
tree | db8eff329edaaf3e545a1b80d2a71f650e4f78da | |
parent | db26373d5065646c6b55ff76d27480ee0866ce89 (diff) | |
download | drakx-fb79117f9b1d004b462069990cc17a364cb38820.tar drakx-fb79117f9b1d004b462069990cc17a364cb38820.tar.gz drakx-fb79117f9b1d004b462069990cc17a364cb38820.tar.bz2 drakx-fb79117f9b1d004b462069990cc17a364cb38820.tar.xz drakx-fb79117f9b1d004b462069990cc17a364cb38820.zip |
translate "XYZ was added/removed" messages
-rwxr-xr-x | perl-install/standalone/service_harddrake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 60eef552c..a96bae577 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -56,11 +56,11 @@ foreach (@harddrake::data::tree) { my @was_removed = difference2([ keys %$oldconfig ], [ keys %ID ]); if (@was_removed) { $msg .= N("Some devices in the \"%s\" hardware class were removed:\n", $item) . - "- " . join('', map { harddrake::data::custom_id($oldconfig->{$_}, $item) . " was removed\n" } @was_removed) . "\n"; + join('', map { N("- %s was removed\n", harddrake::data::custom_id($oldconfig->{$_}, $item)) } @was_removed) . "\n"; } my @added = difference2([ keys %ID ], [ keys %$oldconfig ]); $msg .= N("Some devices were added: %s\n", $item) if @added; - $msg .= "- " . harddrake::data::custom_id($ID{$_}, $item) . " was added\n" foreach @added; + $msg .= N("- %s was added\n", harddrake::data::custom_id($ID{$_}, $item)) foreach @added; modules::load('ohci1394') if $Ident eq 'FIREWIRE_CONTROLLER' && any { $_->{driver} eq 'ohci1394' } @added; @added || @was_removed or next; $splash and !system('echo verbose > /proc/splash') and $splash = 0; |