From 761507b9f2ff395afb98bbcd71d747d90abbe21b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 14 Nov 2003 12:43:41 +0000 Subject: fix N() encapsuled strings not seen as "to be extracted" strings when generating the pot --- ftp_wizard/Proftpd.pm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ftp_wizard') diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm index 764a9cc4..2f783a49 100755 --- a/ftp_wizard/Proftpd.pm +++ b/ftp_wizard/Proftpd.pm @@ -42,49 +42,49 @@ my $o = { $o->{pages} = { welcome => { - name => N('FTP Server Configuration Wizard') . "\n\n" . N('This wizard will help you configuring the FTP Server for your network.'), + name => N("FTP Server Configuration Wizard") . "\n\n" . N("This wizard will help you configuring the FTP Server for your network."), no_back => 1, post => \&check, next => 'config' }, config => { - name => N('FTP Server') . "\n\n" . N('Your server can act as an FTP Server toward your internal network (intranet) and as an FTP Server for the Internet.') . "\n\n" . N('Select the kind of FTP service you want to activate:') . "\n\n" . N('Don\'t check any box if you don\'t want to activate your FTP Server.'), + name => N("FTP Server") . "\n\n" . N("Your server can act as an FTP Server toward your internal network (intranet) and as an FTP Server for the Internet.") . "\n\n" . N("Select the kind of FTP service you want to activate:") . "\n\n" . N("Don't check any box if you don't want to activate your FTP Server."), pre => sub { $o->{var}{wiz_ftp_internal} ||= 1; $o->{var}{wiz_ftp_external} ||= 0; }, data => [ - { text => N('Enable the FTP Server for the Intranet'), type => 'bool', val => \$o->{var}{wiz_ftp_internal} }, - { text => N('Enable the FTP Server for the Internet'), type => 'bool', val => \$o->{var}{wiz_ftp_external} }, + { text => N("Enable the FTP Server for the Intranet"), type => 'bool', val => \$o->{var}{wiz_ftp_internal} }, + { text => N("Enable the FTP Server for the Internet"), type => 'bool', val => \$o->{var}{wiz_ftp_external} }, ], next => 'summary' }, warning_dhcp => { - name => N('Warning.') . "\n\n" . N('Warning\nYou are in dhcp, server may not work with your configuration.'), + name => N("Warning.") . "\n\n" . N("Warning\nYou are in dhcp, server may not work with your configuration."), ignore => 1, next => 'config' }, must_be_root => { - name => N('Error.') . "\n\n" . N('Sorry, you must be root to do this...'), + name => N("Error.") . "\n\n" . N("Sorry, you must be root to do this..."), ignore => 1, next => 'config' }, summary => { - name => N('Configuring the FTP Server') . "\n\n" . N('The wizard collected the following parameters -needed to configure your FTP Server') . "\n\n" . N('To accept these values, and configure your server, click the Next button or use the Back button to correct them'), + name => N("Configuring the FTP Server") . "\n\n" . N("The wizard collected the following parameters +needed to configure your FTP Server") . "\n\n" . N("To accept these values, and configure your server, click the Next button or use the Back button to correct them"), pre => sub { $o->{var}{internal} = $o->{var}{wiz_ftp_internal} ? N("enabled") : N("disabled"); $o->{var}{external} = $o->{var}{wiz_ftp_external} ? N("enabled") : N("disabled") }, data => [ - { label => N('Intranet FTP Server:'), fixed_val => \$o->{var}{internal} }, - { label => N('Internet FTP Server:'), fixed_val => \$o->{var}{external} }, + { label => N("Intranet FTP Server:"), fixed_val => \$o->{var}{internal} }, + { label => N("Internet FTP Server:"), fixed_val => \$o->{var}{external} }, ], post => \&do_it, next => 'end' }, end => { - name => N('Congratulations') . "\n\n" . N('The wizard successfully configured your Intranet/Internet FTP Server'), + name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your Intranet/Internet FTP Server"), end => 1, next => 0 }, -- cgit v1.2.1