From c2140930b7392193bc6da6d1796fcc4580638dca Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 19 Aug 2003 23:06:47 +0000 Subject: do translate choices N_("Yes"), N_("No"), N_("See hardware info") (thanks to Arpad Biro) --- perl-install/modules/interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/modules/interactive.pm b/perl-install/modules/interactive.pm index 3acc1bfa2..c746e1f02 100644 --- a/perl-install/modules/interactive.pm +++ b/perl-install/modules/interactive.pm @@ -62,7 +62,7 @@ sub load_category__prompt_for_more { $in->ask_from_({ messages => $msg, if_($category =~ m|disk/scsi|, interactive_help_id => 'setupSCSI'), }, - [ { list => [ N_("Yes"), N_("No"), N_("See hardware info") ], val => \$r, type => 'list' } ]); + [ { list => [ N_("Yes"), N_("No"), N_("See hardware info") ], val => \$r, type => 'list', format => \&translate } ]); if ($r eq "No") { return @l } if ($r eq "Yes") { push @l, load_category__prompt($in, $category) || next; -- cgit v1.2.1