From 8f9c5cf8429ed54fd8ba5dac74d00dea4153acb3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 21 Jan 2004 15:16:36 +0000 Subject: use N("...") rather than N('...') for perl_checker --- ldap_wizard/ldap.pm | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'ldap_wizard') diff --git a/ldap_wizard/ldap.pm b/ldap_wizard/ldap.pm index 7c4c9ce6..a69c0eb5 100644 --- a/ldap_wizard/ldap.pm +++ b/ldap_wizard/ldap.pm @@ -59,7 +59,7 @@ my %level = ( $o->{pages} = { welcome => { - name => N('LDAP configuration wizard') . "\n\n" . N('Setup a ldap server.'), + name => N("LDAP configuration wizard") . "\n\n" . N("Setup a ldap server."), no_back => 1, pre => sub { $o->{var}{wiz_level} ||= 1; }, post => sub { if ($o->{var}{wiz_level} == 2) { @@ -96,18 +96,18 @@ $o->{pages} = { next => 'summaryadd', }, setldap => { - name => N('Ldap RootDSE') . "\n\n" . N('example:') . "\n" . N('obelx.nux.com') . "\n\n" . N('will be in ldap config:') . "\n" . N('dc=obelx,dc=nux,dc=com') . "\n\n" . N('RootDN is the manager of your ldap server.'), + name => N("Ldap RootDSE") . "\n\n" . N("example:") . "\n" . N("obelx.nux.com") . "\n\n" . N("will be in ldap config:") . "\n" . N("dc=obelx,dc=nux,dc=com") . "\n\n" . N("RootDN is the manager of your ldap server."), data => [ - { label => N('RootDSE'), val => \$o->{var}{rootdse} }, - { label => N('RootDN'), val => \$o->{var}{rootdn} }, - { label => N('Password'), val => \$o->{var}{rootpass} }, - { label => N('Default OU'), val => \$o->{var}{defou} }, + { label => N("RootDSE"), val => \$o->{var}{rootdse} }, + { label => N("RootDN"), val => \$o->{var}{rootdn} }, + { label => N("Password"), val => \$o->{var}{rootpass} }, + { label => N("Default OU"), val => \$o->{var}{defou} }, ], post => \&test_set, next => 'summaryset', }, summaryadd => { - name => N('Ok Now add entry in LDAP'), + name => N("Ok Now add entry in LDAP"), data => [ { label => N("First Name:"), fixed_val => \$o->{var}{cn} }, @@ -144,40 +144,40 @@ $o->{pages} = { next => 'endadd', }, summaryset => { - name => N('Ok Now building your LDAP configuration') . "\n\n" . N('with this configuration:'), + name => N("Ok Now building your LDAP configuration") . "\n\n" . N("with this configuration:"), data => [ - { label => N('RootDSE'), fixed_val => \$o->{var}{rootdse} }, - { label => N('RootDN'), fixed_val => \$o->{var}{rootdn} }, + { label => N("RootDSE"), fixed_val => \$o->{var}{rootdse} }, + { label => N("RootDN"), fixed_val => \$o->{var}{rootdn} }, ], post => \&do_it_setldap, next => 'end' }, error_homedir => { - name => N('Error in Home directory'), + name => N("Error in Home directory"), next => 'add_user_posix', }, error_pass => { - name => N('Error, pass could not be empty'), + name => N("Error, pass could not be empty"), next => 'setldap', }, error_shell => { - name => N('Error in Login shell') . "\n\n" . N('Please choose a correct one'), + name => N("Error in Login shell") . "\n\n" . N("Please choose a correct one"), next => 'add_user_posix', }, error_nb => { - name => N('Error') . "\n\n" . N('Please Should be a number'), + name => N("Error") . "\n\n" . N("Please Should be a number"), next => 'add_user_posix', }, end => { - name => N('Congratulations'), - data => [ { label => N('The wizard successfully configured the LDAP.') } ], + name => N("Congratulations"), + data => [ { label => N("The wizard successfully configured the LDAP.") } ], no_back => 1, end => 1, next => 0 }, endadd => { - name => N('Successfully add data'), - data => [ { label => N('The wizard successfully add entry in ldap') } ], + name => N("Successfully add data"), + data => [ { label => N("The wizard successfully add entry in ldap") } ], no_back => 1, end => 1, next => 0 -- cgit v1.2.1