summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/newt.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/newt.pm
parente93329d14b4af50b261dcab5fbeaeed8fedc8c37 (diff)
downloaddrakx-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar
drakx-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar.gz
drakx-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar.bz2
drakx-24df2ffd61569b0ee249cc592d136ecf8480d0c6.tar.xz
drakx-24df2ffd61569b0ee249cc592d136ecf8480d0c6.zip
let interactive uses stock items on x11 and old drak translated items in
other backends
Diffstat (limited to 'perl-install/interactive/newt.pm')
-rw-r--r--perl-install/interactive/newt.pm12
1 files changed, 10 insertions, 2 deletions
diff --git a/perl-install/interactive/newt.pm b/perl-install/interactive/newt.pm
index 86c6ea4b2..861e3b6c3 100644
--- a/perl-install/interactive/newt.pm
+++ b/perl-install/interactive/newt.pm
@@ -296,8 +296,8 @@ sub ask_fromW_real {
};
my ($ok, $cancel) = ($common->{ok}, $common->{cancel});
- $cancel = $::isWizard ? 'gtk-go-back"' : 'gtk-cancel' if !defined $cancel && !defined $ok;
- $ok ||= $::isWizard ? ($::Wizard_finished ? N("Finish") : '"gtk-go-forward') : 'gtk-ok';
+ $cancel = $::isWizard ? N("<- Previous") : N("Cancel") if !defined $cancel && !defined $ok;
+ $ok ||= $::isWizard ? ($::Wizard_finished ? N("Finish") : N("Next ->")) : N("Ok");
my @okcancel = grep { $_ } $ok, $cancel;
@okcancel = reverse(@okcancel) if $::isWizard;
@@ -398,4 +398,12 @@ sub simplify_string {
$s;
}
+sub ok {
+ N("Ok");
+}
+
+sub cancel {
+ N("Cancel");
+}
+
1;