diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-14 12:43:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-14 12:43:41 +0000 |
commit | 761507b9f2ff395afb98bbcd71d747d90abbe21b (patch) | |
tree | a77103af72e22c7eff8b873c635add52d1eb1872 /dns_wizard | |
parent | 385ff8e97c7d11d8fe71c9ca9de0ded1dfd25f40 (diff) | |
download | drakwizard-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 'dns_wizard')
-rw-r--r-- | dns_wizard/Bind.pm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm index d931aa73..5ffef02b 100644 --- a/dns_wizard/Bind.pm +++ b/dns_wizard/Bind.pm @@ -44,45 +44,45 @@ my $o = { $o->{pages} = { welcome => { - name => N('DNS configuration wizard') . "\n\n" . N('DNS (Domain Name Server) is the service that maps an IP address of a machine with an internet host name.') . "\n\n" . N('This wizard will help you configuring the DNS services of your server. This configuration will provide a local DNS service for local computers names, with non-local requests forwarded to an outside DNS.'), + name => N("DNS configuration wizard") . "\n\n" . N("DNS (Domain Name Server) is the service that maps an IP address of a machine with an internet host name.") . "\n\n" . N("This wizard will help you configuring the DNS services of your server. This configuration will provide a local DNS service for local computers names, with non-local requests forwarded to an outside DNS."), no_back => 1, next => 'dns_ip' }, dns_ip => { - name => N('DNS Server Addresses') . "\n\n" . N('DNS will allow your network to communicate with the Internet using standard internet host names. In order to configure DNS, you must provide the IP address of primary and secondary DNS server; usually this address are given by your Internet provider.') . N('IP addresses are a dotted list of four numbers smaller than 256'), + name => N("DNS Server Addresses") . "\n\n" . N("DNS will allow your network to communicate with the Internet using standard internet host names. In order to configure DNS, you must provide the IP address of primary and secondary DNS server; usually this address are given by your Internet provider.") . N("IP addresses are a dotted list of four numbers smaller than 256"), pre => sub { $o->{var}{ext_dns1} ||= $dns1; $o->{var}{ext_dns2} ||= $dns2 }, data => [ - { label => N('Primary DNS Address'), val => \$o->{var}{ext_dns1} }, - { label => N('Secondary DNS Address:'), val => \$o->{var}{ext_dns2} }, + { label => N("Primary DNS Address"), val => \$o->{var}{ext_dns1} }, + { label => N("Secondary DNS Address:"), val => \$o->{var}{ext_dns2} }, ], next => 'summary' }, ip_error => { - name => 'Error.' . "\n\n" . N('This is not a valid address... press next to continue'), + name => 'Error.' . "\n\n" . N("This is not a valid address... press next to continue"), ignore => 1, next => 'dns_ip' }, ip_warning => { - name => 'Warning.' . "\n\n" . N('You have entered an empty address for the DNS server.') . "\n\n" . - N('Your setting could be accepted, but you will not be able to identify machine names outside your local network.') . "\n\n" . - N('"Press next to leave these values empty, or back to enter a value.'), + name => 'Warning.' . "\n\n" . N("You have entered an empty address for the DNS server.") . "\n\n" . + N("Your setting could be accepted, but you will not be able to identify machine names outside your local network.") . "\n\n" . + N("Press next to leave these values empty, or back to enter a value."), next => 'summary' }, summary => { - name => N('Configuring the DNS Server') . "\n\n" . N('The wizard collected the following parameters needed to configure your DNS service:') . "\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 DNS Server") . "\n\n" . N("The wizard collected the following parameters needed to configure your DNS service:") . "\n\n" . N("To accept these values, and configure your server, click the Next button or use the Back button to correct them"), data => [ - { label => N('Primary DNS Address:'), fixed_val => \$o->{var}{ext_dns1} }, - { label => N('Secondary DNS Address:'), fixed_val => \$o->{var}{ext_dns2} }, + { label => N("Primary DNS Address:"), fixed_val => \$o->{var}{ext_dns1} }, + { label => N("Secondary DNS Address:"), fixed_val => \$o->{var}{ext_dns2} }, ], post => \&do_it, next => 'end' }, end => { - name => N('Congratulations'), - data => [ { label => N('The wizard successfully configured the DNS services of your server.') } ], + name => N("Congratulations"), + data => [ { label => N("The wizard successfully configured the DNS services of your server.") } ], end => 1, next => 0 }, |