diff options
Diffstat (limited to 'ldap_wizard')
-rw-r--r-- | ldap_wizard/ldap.pm | 36 |
1 files changed, 18 insertions, 18 deletions
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 |