diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-14 12:48:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-14 12:48:41 +0000 |
commit | 066056ec735078dec3ab1ab9762084380ee920b8 (patch) | |
tree | b6dbcde84253ef404755671c16e21fbe2bf2a06c /Wiztemplate.pm | |
parent | c986d6ea226e16bded4a45e94b5933d7783e8ea3 (diff) | |
download | drakwizard-066056ec735078dec3ab1ab9762084380ee920b8.tar drakwizard-066056ec735078dec3ab1ab9762084380ee920b8.tar.gz drakwizard-066056ec735078dec3ab1ab9762084380ee920b8.tar.bz2 drakwizard-066056ec735078dec3ab1ab9762084380ee920b8.tar.xz drakwizard-066056ec735078dec3ab1ab9762084380ee920b8.zip |
do not mark empty strings as translatable
Diffstat (limited to 'Wiztemplate.pm')
-rwxr-xr-x | Wiztemplate.pm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Wiztemplate.pm b/Wiztemplate.pm index 0eb01ebc..0602a823 100755 --- a/Wiztemplate.pm +++ b/Wiztemplate.pm @@ -39,43 +39,43 @@ my $o = { $o->{pages} = { welcome => { - name => N('') . "\n\n" . N('') . "\n\n" . N(''), + name => "\n\n" . "\n\n", no_back => 1, next => 'config' }, confige => { - name => N('') . "\n\n" . N('') . "\n\n" . N(''), + name => "\n\n" . "\n\n", pre => sub { $o->{var}{ip1} ||= f1(); $o->{var}{ip2} ||= f2(); }, post => \&check, data => [ - { label => N(''), val => \$o->{var}{ip1} }, - { label => N(''), val => \$o->{var}{ip2} }, + { label => '', val => \$o->{var}{ip1} }, + { label => '', val => \$o->{var}{ip2} }, ], next => 'summary' }, warning => { - name => N("Warning.") . "\n\n" . N(''), + name => N("Warning.") . "\n\n", next => 'summary' }, error => { - name => N("Error.") . "\n\n" . N(''), + name => N("Error.") . "\n\n", next => 'config' }, summary => { - name => N('') . "\n\n" . N('') . "\n\n" . N(''), + name => "\n\n" . "\n\n", data => [ - { label => N(''), fixed_val => \$o->{var}{ip1} }, + { label => '', fixed_val => \$o->{var}{ip1} }, { label => '' }, - { label => N(''), fixed_val => \$o->{var}{ip2} }, + { label => '', fixed_val => \$o->{var}{ip2} }, ], post => \&do_it, next => 'end' }, end => { - name => N("Congratulations") . "\n\n" . N(''), + name => N("Congratulations") . "\n\n", end => 1, next => 0 }, |