summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-14 12:57:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-14 12:57:10 +0000
commitd0f17f7a2524e3e1c19414ba1cff55310baa960c (patch)
tree5eeaa26fbe8bb90d7d9661dea03e54f5e13717f8 /perl-install
parent7c20ad554c7b8f754f673cf5f4ebbf5dbd47ab37 (diff)
downloaddrakx-d0f17f7a2524e3e1c19414ba1cff55310baa960c.tar
drakx-d0f17f7a2524e3e1c19414ba1cff55310baa960c.tar.gz
drakx-d0f17f7a2524e3e1c19414ba1cff55310baa960c.tar.bz2
drakx-d0f17f7a2524e3e1c19414ba1cff55310baa960c.tar.xz
drakx-d0f17f7a2524e3e1c19414ba1cff55310baa960c.zip
(acceptLicense): do translate "Accept" and "Refuse"
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 257b57c4a..b11853cb0 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -86,7 +86,7 @@ sub acceptLicense {
interactive_help_id => 'acceptLicense',
callbacks => { ok_disabled => sub { $r eq 'Refuse' } },
},
- [ { list => [ N_("Accept"), N_("Refuse") ], val => \$r, type => 'list' } ]);
+ [ { list => [ N_("Accept"), N_("Refuse") ], val => \$r, type => 'list', format => sub { translate($_[0]) } } ]);
}
#------------------------------------------------------------------------------