diff options
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-x | drakwizard.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drakwizard.pl b/drakwizard.pl index 755cc42f..ddd7b809 100755 --- a/drakwizard.pl +++ b/drakwizard.pl @@ -38,7 +38,7 @@ Locale::gettext::textdomain("drakwizard"); my $in = 'interactive'->vnew('su', 'default'); $::direct = /-direct/; $::Wizard_no_previous = 1; -$Wizard_title = "Drakwizard"; +$::Wizard_title = "Drakwizard"; $::isWizard = 1; my $standalone = 1; @@ -237,7 +237,7 @@ sub display { foreach(@{$page->{freetext}}) { if($_->{main_order} eq 'bool'){ $ENV{$variable{$_->{variableName}}} = $ENV{$variable{$_->{variableName}}} ? 1 : 0; - $bitfield{$variable{$_->{variableName}}} = $ENV{$variable{$_->{variableName}}} ? translate("enabled") : translate("disabled"); + $bitfield{$variable{$_->{variableName}}} = $ENV{$variable{$_->{variableName}}} ? __("enabled") : __("disabled"); } $ENV{$chooser_var} = $chooser_hash{$ENV{$chooser_var}}; } |