summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-01 09:32:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-01 09:32:19 +0000
commitfb79117f9b1d004b462069990cc17a364cb38820 (patch)
treedb8eff329edaaf3e545a1b80d2a71f650e4f78da /perl-install/standalone
parentdb26373d5065646c6b55ff76d27480ee0866ce89 (diff)
downloaddrakx-backup-do-not-use-fb79117f9b1d004b462069990cc17a364cb38820.tar
drakx-backup-do-not-use-fb79117f9b1d004b462069990cc17a364cb38820.tar.gz
drakx-backup-do-not-use-fb79117f9b1d004b462069990cc17a364cb38820.tar.bz2
drakx-backup-do-not-use-fb79117f9b1d004b462069990cc17a364cb38820.tar.xz
drakx-backup-do-not-use-fb79117f9b1d004b462069990cc17a364cb38820.zip
translate "XYZ was added/removed" messages
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/service_harddrake4
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;