summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-11 14:55:54 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-11 14:55:54 +0000
commit0a374a5afce0ebe9bf0c3c5718b635fc7f2bc6c6 (patch)
treea326c012f48d7a6c61109742ddde5c2769f72d13 /perl-install/harddrake/sound.pm
parent2c4f1afb1d3b9f7235dab7860ed37af47ebeefcd (diff)
downloaddrakx-0a374a5afce0ebe9bf0c3c5718b635fc7f2bc6c6.tar
drakx-0a374a5afce0ebe9bf0c3c5718b635fc7f2bc6c6.tar.gz
drakx-0a374a5afce0ebe9bf0c3c5718b635fc7f2bc6c6.tar.bz2
drakx-0a374a5afce0ebe9bf0c3c5718b635fc7f2bc6c6.tar.xz
drakx-0a374a5afce0ebe9bf0c3c5718b635fc7f2bc6c6.zip
(switch) use the same API when there's no alternative driver (needed
for next commits)
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 55751e42e..ca1c2352a 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -236,9 +236,11 @@ sub switch {
my %des = modules::category2modules_and_description('multimedia/sound');
if ($new_driver eq 'unknown') {
- $in->ask_from(N("No alternative driver"),
- N("There's no known OSS/ALSA alternative driver for your sound card (%s) which currently uses \"%s\"",
- $device->{description}, $driver),
+ $in->ask_from_({
+ title => N("No alternative driver"),
+ messages => N("There's no known OSS/ALSA alternative driver for your sound card (%s) which currently uses \"%s\"",
+ $device->{description}, $driver),
+ },
[
get_any_driver_entry($in, $modules_conf, $driver, $device),
]