summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-14 12:43:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-14 12:43:41 +0000
commit761507b9f2ff395afb98bbcd71d747d90abbe21b (patch)
treea77103af72e22c7eff8b873c635add52d1eb1872 /ftp_wizard
parent385ff8e97c7d11d8fe71c9ca9de0ded1dfd25f40 (diff)
downloaddrakwizard-761507b9f2ff395afb98bbcd71d747d90abbe21b.tar
drakwizard-761507b9f2ff395afb98bbcd71d747d90abbe21b.tar.gz
drakwizard-761507b9f2ff395afb98bbcd71d747d90abbe21b.tar.bz2
drakwizard-761507b9f2ff395afb98bbcd71d747d90abbe21b.tar.xz
drakwizard-761507b9f2ff395afb98bbcd71d747d90abbe21b.zip
fix N() encapsuled strings not seen as "to be extracted" strings when
generating the pot
Diffstat (limited to 'ftp_wizard')
-rwxr-xr-xftp_wizard/Proftpd.pm22
1 files changed, 11 insertions, 11 deletions
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
},