diff options
-rw-r--r-- | ldap_wizard/ldap.pm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ldap_wizard/ldap.pm b/ldap_wizard/ldap.pm index 0daa584e..463f71ea 100644 --- a/ldap_wizard/ldap.pm +++ b/ldap_wizard/ldap.pm @@ -110,27 +110,27 @@ $o->{pages} = { add_userposix => { name => N("Ldap User Add") . "\n\n" . N("Bla Bla Bla ") . "\n\n" . N("User Create in : ") . $o->{var}{defou} . "," . $o->{var}{suffix} . "\n\n", data => [ - { label => N("Nom :"), val => \$o->{var}{sn} }, - { label => N("Prenom :"), val => \$o->{var}{cn} }, - { label => N("Nom de Login:"), val => \$o->{var}{uid} }, + { label => N("First Name:"), val => \$o->{var}{sn} }, + { label => N("Name:"), val => \$o->{var}{cn} }, + { label => N("User Name:"), val => \$o->{var}{uid} }, ], next => 'password' }, password => { name => N("Ldap User Password") . "\n\n" . N("Bla Bla Bla ") . "\n\n" . N("Password for Users : ") . $o->{var}{cn} . $o->{var}{defou} . "," . $o->{var}{suffix} . "\n\n", data => [ - { label => N("Mot de pass):"), val => \$o->{var}{uidpass}, hidden => 1 }, - { label => N("Confirmer le mot de pass:"), val => \$o->{var}{uidpass2}, hidden => 1 }, + { label => N("Password:):"), val => \$o->{var}{uidpass}, hidden => 1 }, + { label => N("Password (again):"), val => \$o->{var}{uidpass2}, hidden => 1 }, ], complete => sub { if (not ($o->{var}{uidpass})) { - $::in->ask_warn("Erreur", "Il faut entrer un mot de passe pour Ldap."); + $::in->ask_warn(N("Error"), "Il faut entrer un mot de passe pour Ldap."); return 1; } if (not ($o->{var}{uidpass} eq $o->{var}{uidpass2})) { - $::in->ask_warn("Erreur", "Les mots de passe ne correspondent pas."); + $::in->ask_warn(N("Error"), N("The passwords do not match")); return 1; } }, @@ -149,17 +149,17 @@ $o->{pages} = { complete => sub { if (not ($o->{var}{suffix})) { - $::in->ask_warn("Erreur", "Il faut indiquer un suffixe Ldap."); + $::in->ask_warn(N("Error"), "Il faut indiquer un suffixe Ldap."); return 1; } if (not ($o->{var}{rootpass})) { - $::in->ask_warn("Erreur", "Il faut entrer un mot de passe pour Ldap."); + $::in->ask_warn(N("Error"), "Il faut entrer un mot de passe pour Ldap."); return 1; } if (not ($o->{var}{rootpass} eq $o->{var}{rootpass2})) { - $::in->ask_warn("Erreur", "Les mots de passe ne correspondent pas."); + $::in->ask_warn(N("Error"), N("The passwords do not match"°); return 1; } }, @@ -169,9 +169,9 @@ $o->{pages} = { summary_add_user => { name => N("Confirmation de l'utilisateur a creer ") . "\n\n", data => [ - { label => N("Nom : "), type => 'field', fixed_val => \$o->{var}{sn} }, - { label => N("Prenom : "), type => 'field', fixed_val => \$o->{var}{cn} }, - { label => N("Nom de login: "), type => 'field', fixed_val => \$o->{var}{uid} }, + { label => N("Name:"), type => 'field', fixed_val => \$o->{var}{sn} }, + { label => N("Firt name: "), type => 'field', fixed_val => \$o->{var}{cn} }, + { label => N("User Name: "), type => 'field', fixed_val => \$o->{var}{uid} }, { label => N("Utilisteur : "), type => 'field', fixed_val => $o->{var}{cn} }, ], post => \&do_it_user_add, |