summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-14 19:20:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-14 19:20:40 +0000
commit24df2ffd61569b0ee249cc592d136ecf8480d0c6 (patch)
tree68f5577fb6ddda82310a9c3c10798e898e397a2e /perl-install/interactive.pm
parente93329d14b4af50b261dcab5fbeaeed8fedc8c37 (diff)
downloaddrakx-backup-do-not-use-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar
drakx-backup-do-not-use-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar.gz
drakx-backup-do-not-use-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar.bz2
drakx-backup-do-not-use-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar.xz
drakx-backup-do-not-use-24df2ffd61569b0ee249cc592d136ecf8480d0c6.zip
let interactive uses stock items on x11 and old drak translated items in
other backends
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 8af325cfa..321f8cebe 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -137,7 +137,7 @@ sub ask_okcancel {
sub ask_warn_ {
my ($o, $common) = @_;
- ask_from_listf_raw_no_check($o, $common, undef, [ N("Ok") ]);
+ ask_from_listf_raw_no_check($o, $common, undef, [ $o->ok ]);
}
sub ask_yesorno_ {
@@ -154,7 +154,7 @@ sub ask_okcancel_ {
$common->{focus_cancel} = !$b_def;
ask_from_no_check($o, $common, []);
} else {
- ask_from_listf_raw($o, $common, sub { translate($_[0]) }, [ N_("Ok"), N_("Cancel") ], $b_def ? "Ok" : "Cancel") eq "Ok";
+ ask_from_listf_raw($o, $common, sub { translate($_[0]) }, [ $o->ok, $o->cancel ], $b_def ? "Ok" : "Cancel") eq "Ok";
}
}