summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-29 17:14:01 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-29 17:14:01 +0000
commitecb7350fb94a6386abb4975ed8e6d55805a27920 (patch)
tree5dfd49fb567770cf132a4643f254671e35f731bd /perl-install/standalone
parentf4084dfbc10924c4c963fe4e9244017ddaab0adc (diff)
downloaddrakx-backup-do-not-use-ecb7350fb94a6386abb4975ed8e6d55805a27920.tar
drakx-backup-do-not-use-ecb7350fb94a6386abb4975ed8e6d55805a27920.tar.gz
drakx-backup-do-not-use-ecb7350fb94a6386abb4975ed8e6d55805a27920.tar.bz2
drakx-backup-do-not-use-ecb7350fb94a6386abb4975ed8e6d55805a27920.tar.xz
drakx-backup-do-not-use-ecb7350fb94a6386abb4975ed8e6d55805a27920.zip
translate reason (needed for next commit)
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 31d46e6bd..1401b0cec 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -135,7 +135,7 @@ foreach my $device (@devices) {
next if $previous_xorg_config{XORG_DRV} eq $new_key;
if (!member($current_driver, $card_data->{Driver}, $card_data->{Driver2}, 'fbdev', 'vesa')) {
- my $reason = 'no more supported by this driver';
+ my $reason = N("no more supported by this driver");
switch_x_driver($current_driver, $card_data->{Driver}, $reason);
schedule_warn_about_switch() if any { $current_driver =~ $_->{xorg_driver_regexp} } @cards;
next;
@@ -163,7 +163,7 @@ foreach my $card (@cards) {
my $driver = $cards[0]{Driver};
my $old_driver = cat_('/etc/X11/xorg.conf') =~ /Driver "($card->{xorg_driver_regexp})"/ && $1;
if ($old_driver) {
- my $reason = 'proprietary driver not found for current driver';
+ my $reason = N("proprietary driver not found for current driver");
switch_x_driver($card->{xorg_driver_regexp}, $driver, $reason);
schedule_warn_about_switch();
}