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 | |
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
-rwxr-xr-x | Wiztemplate.pm | 20 | ||||
-rwxr-xr-x | proxy_wizard/Squid.pm | 2 | ||||
-rwxr-xr-x | samba_wizard/Samba.pm | 8 | ||||
-rw-r--r-- | time_wizard/Ntp.pm | 2 | ||||
-rwxr-xr-x | web_wizard/Apache.pm | 2 |
5 files changed, 17 insertions, 17 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 }, diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm index 4f544bfd..fee43edb 100755 --- a/proxy_wizard/Squid.pm +++ b/proxy_wizard/Squid.pm @@ -67,7 +67,7 @@ $o->{pages} = { next => 'port' }, port => { - name => N("Proxy Port") . "\n\n" . N("Proxy port value sets what port the proxy server will listen on for http requests. Default is 3128, other common value can be 8080, the port value needs to be greater than 1024.") . "\n\n" . N(''), + name => N("Proxy Port") . "\n\n" . N("Proxy port value sets what port the proxy server will listen on for http requests. Default is 3128, other common value can be 8080, the port value needs to be greater than 1024.") . "\n\n", pre => sub { $o->{var}{wiz_squid_port} ||= 3128; }, diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm index a8d08d10..6aab7962 100755 --- a/samba_wizard/Samba.pm +++ b/samba_wizard/Samba.pm @@ -98,7 +98,7 @@ $o->{pages} = { next => 'ask_banner' }, ask_net => { - name => N("Access control") . "\n\n" . N('') . "\n\n" . N(''), + name => N("Access control") . "\n\n" . "\n\n", pre => sub { $o->{var}{wiz_level} ||= 1 }, @@ -159,7 +159,7 @@ $o->{pages} = { next => 'ask_dir' }, ask_access => { - name => N("File permissions") . "\n\n" . N("Type users or group separated by a comma (groups must be preceded by a '@') like this :\nroot, fred, @users, @wheel for each kind of permission.") . "\n\n" . N(''), + name => N("File permissions") . "\n\n" . N("Type users or group separated by a comma (groups must be preceded by a '@') like this :\nroot, fred, @users, @wheel for each kind of permission.") . "\n\n", pre => sub { $o->{var}{wiz_read_list} ||= get_read(); $o->{var}{wiz_write_list} ||= get_write() @@ -186,13 +186,13 @@ $o->{pages} = { }, warning => { name => N("Warning."), - data => [ { label => N('') } ], + data => [ { label => '' } ], ignore => 1, next => 'summary' }, error => { name => N("Error."), - data => [ { label => N('') } ], + data => [ { label => '' } ], ignore => 1, next => 'config' }, diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm index 53988573..23d7e0ac 100644 --- a/time_wizard/Ntp.pm +++ b/time_wizard/Ntp.pm @@ -135,7 +135,7 @@ $o->{pages} = { }, warning => { name => N("Warning."), - data => [ { label => N('') } ], + data => [ { label => '' } ], ignore => 1, next => 'summary' }, diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm index 163c2357..12e9d9f5 100755 --- a/web_wizard/Apache.pm +++ b/web_wizard/Apache.pm @@ -121,7 +121,7 @@ available on your http server via http://www.yourserver.com/~user."), type => 'b }, error => { name => N("Error."), - data => [ { label => N('') } ], + data => [ { label => '' } ], ignore => 1, next => 'config' }, |