From 5b6bb28b4d42bb72963af9be035493b5f014abea Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 7 Jul 2020 16:04:32 +0200 Subject: [PATCH] LSformElement :: password: fix/improve send new password feature --- .../LSattr_html/LSattr_html_password.docbook | 23 +- doc/conf/LSattribute/check_data/email.docbook | 4 +- .../class/class.LSformElement_password.php | 76 +++--- src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo | Bin 59066 -> 59276 bytes src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po | 218 ++++++++++-------- src/lang/ldapsaisie.pot | 199 ++++++++-------- 6 files changed, 288 insertions(+), 232 deletions(-) diff --git a/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook b/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook index 5b6114a8..8bbc93ae 100644 --- a/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook +++ b/doc/conf/LSattribute/LSattr_html/LSattr_html_password.docbook @@ -33,7 +33,9 @@ 'get_mail_attr_function' => '[function]', // Fonction retournant l'attribut mail de l'objet 'send' => 1, // Activation par défaut de l'envoi du mot de passe 'ask' => 1, // Laisser le choix à l'utilisateur - 'canEdit' => 1 // Activation de l'édition du LSformat du message par l'utilisateur + 'canEdit' => 1, // Activation de l'édition du LSformat du message par l'utilisateur + 'checkDomain' => false, // Désactivation de la vérification du domaine de l'adresse email + 'domain' => '[nom de domaine]', // Nom de domaine obligatoire lors de la validation de l'adresse email ) ),]]> ... @@ -282,6 +284,25 @@ + + checkDomain + + Booléen définissant si le domaine de l'adresse mail doit être + validée. Paramètre facultatif, par défaut: TRUE + + + + + + domain + + Nom de domaine obligatoire lors de la validation de l'adresse mail. + Ce paramètre peut être une simple chaine correspondant au domaine ou un + tableau listant plusieurs domaines valides. Paramètre facultatif, + par défaut tous les domaines sont acceptés. + + + diff --git a/doc/conf/LSattribute/check_data/email.docbook b/doc/conf/LSattribute/check_data/email.docbook index 05c70b0c..b7bbaf24 100644 --- a/doc/conf/LSattribute/check_data/email.docbook +++ b/doc/conf/LSattribute/check_data/email.docbook @@ -3,7 +3,7 @@ Cette règle vérifie que la valeur saisie est bien une adresse e-mail. Il est possible de vérifier si elle appartient bien à un domaine en particulier ou encore de vérifier si le domaine existe et qu'il possède un serveur de mail(MX). - + Paramètres de configuration @@ -20,7 +20,7 @@ checkDomain Booléen définissant si le domaine de l'adresse mail doit être - validé. + validée. diff --git a/src/includes/class/class.LSformElement_password.php b/src/includes/class/class.LSformElement_password.php index cdf3d923..95085239 100644 --- a/src/includes/class/class.LSformElement_password.php +++ b/src/includes/class/class.LSformElement_password.php @@ -104,12 +104,12 @@ class LSformElement_password extends LSformElement { if (isset($_POST['LSformElement_password_'.$this -> name.'_send'])) { if ($_POST['LSformElement_password_'.$this -> name.'_send']==1) { $this -> sendMail = true; - LSdebug ('send by form'); + self :: log_debug('getPostData('.$this -> name.'): send new password enabled by form'); } } else if ($this -> getParam('html_options.mail.send')) { $this -> sendMail = true; - LSdebug ('send by config'); + self :: log_debug('getPostData('.$this -> name.'): send new password enabled by config'); } if ($this -> sendMail && LSsession :: loadLSaddon('mail')) { $msg = $this -> getParam('html_options.mail.msg'); @@ -125,6 +125,14 @@ class LSformElement_password extends LSformElement { } if ($msgInfos -> mail) { $mail = $msgInfos -> mail; + if (!checkEmail( + $mail, + $this -> getParam('html_options.mail.domain'), + $this -> getParam('html_options.mail.checkDomain', true, 'bool') + )) { + $this -> form -> setElementError($this -> attr_html, _('%{label}: invalid email address provided to send new password.')); + return true; + } } } $this -> sendMail = array ( @@ -268,51 +276,59 @@ class LSformElement_password extends LSformElement { public function send($params) { if (is_array($this -> sendMail)) { $mail = (String)$this -> sendMail['mail']; - Lsdebug($mail); - if ($mail=="") { + self :: log_debug("send(): mail from params: '$mail'"); + if (!$mail) { $mail_attrs = $this -> getMailAttrs(); if (!is_array($mail_attrs)) { $mail_attrs=array($mail_attrs); } + self :: log_debug('send(): mail attrs: '.varDump($mail_attrs)); + $checkDomainsList = $this -> getParam('html_options.mail.domain'); + $checkDomain = $this -> getParam('html_options.mail.checkDomain', true, 'bool'); foreach($mail_attrs as $attr) { $mail_attr = $this -> attr_html -> attribute -> ldapObject -> attrs[$attr]; if ($mail_attr instanceOf LSattribute) { - $mail = $mail_attr -> getValue(); - if (!empty($mail) && checkEmail($mail[0],NULL,true)) { - $mail=$mail[0]; + $mail_values = $mail_attr -> getValue(); + if (!is_array($mail_values)) + $mail_values = array($mail_values); + foreach($mail_values as $mail_value) { + if ($mail_value && checkEmail($mail_value, $checkDomainsList, $checkDomain)) { + $mail = $mail_value; + break; + } + } + if ($mail) break; - } - else { - $mail=""; - } + else + self :: log_debug("send(): $attr attribute empty (or does not contain valid email)"); } else { - LSdebug("L'attribut $mail_attr pour l'envoie du nouveau mot de passe n'existe pas."); + self :: log_warning("send(): '$attr' attribute to send new password does not exists."); } } - if ($mail=="") { + if (!$mail) { LSerror :: addErrorCode('LSformElement_password_01'); return; } } - if (checkEmail($mail,NULL,true)) { - $this -> attr_html -> attribute -> ldapObject -> registerOtherValue('password',$this -> sendMail['pwd']); - $msg = $this -> attr_html -> attribute -> ldapObject -> getFData($this -> sendMail['msg']); - $headers = $this -> getParam('html_options.mail.headers', array()); - $bcc = $this -> getParam('html_options.mail.bcc'); - if ($bcc) $headers['Bcc'] = $bcc; - if (sendMail( - $mail, - $this -> sendMail['subject'], - $msg, - $headers - )) { - LSsession :: addInfo(_('Notice mail sent.')); - } + self :: log_info($this -> attr_html -> attribute -> ldapObject -> getDn().": send new '".$this -> name."' to '$mail'."); + $this -> attr_html -> attribute -> ldapObject -> registerOtherValue('password', $this -> sendMail['pwd']); + $msg = $this -> attr_html -> attribute -> ldapObject -> getFData($this -> sendMail['msg']); + $headers = $this -> getParam('html_options.mail.headers', array()); + $bcc = $this -> getParam('html_options.mail.bcc'); + if ($bcc) + $headers['Bcc'] = $bcc; + if (sendMail( + $mail, + $this -> sendMail['subject'], + $msg, + $headers + )) { + LSsession :: addInfo(_('Notice mail sent.')); } else { - LSerror :: addErrorCode('LSformElement_password_02',$mail); + LSerror :: addErrorCode('LSformElement_password_02', $mail); return; } } @@ -404,10 +420,10 @@ class LSformElement_password extends LSformElement { * Error Codes */ LSerror :: defineError('LSformElement_password_01', -_("LSformElement_password : No contact mail available to send password.") +_("LSformElement_password : No valid contact mail address available : Can't send new password.") ); LSerror :: defineError('LSformElement_password_02', -_("LSformElement_password : Contact mail invalid (%{mail}). Can't send password.") +_("LSformElement_password : Fail to send new password by email to %{mail}.") ); LSerror :: defineError('LSformElement_password_03', _("LSformElement_password : Fail to exec pwgen. Check it's correctly installed.") diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo index 538ba3d562b33742cb3b437bb1b6fa5b5fc826b6..51be872270593d33da01ea4e0919721a5f2e2841 100644 GIT binary patch delta 9869 zcmZwM2Yim_{>SkvRzeVj*zzQi#0;?#F%lAc$KFDMkR`+BsnHs>W7jC9HL6BRRg2bW zwTG4#rB>_EagJ7tp5wI2`FwNT>C1Wj|M#oE=Y9RIdtK|kpC@|cT;WBZ7k1w)S7eo8 zJLF+ZH9T9&m@b8knO;@3#_XtROatY`2{971PA&8&jP7o1qlc!!cL{XCUXA*;ovBp(pM~wftQyisw-yb{V_kLoACi z42MP_9&2C*mc*r~>uhlHZCHZ)oBb4YO$q{wyc7> zK_IFD4N%9oK}|^?)OoX<{p(R3eiPj)oS>kdT)|NM4K=sbIlDU!!FISC)$?Cb4f{80 znLI^rtir-zdQFI9SM(>(M2*M_)Oq``J-$<)@$XCFDHUb%|B2>T(hNJLm8<2xTANg z{Hb-D{uF4m*?|0KF7Tnb^s^LqpGxs-#Rlvd>?CR}~`E!p8srTYh=#IIlDY}ic z$#m&t3=7#TK^D6Cz{!6_fASzM${?9om#-C9)zfqwB zBYN5%PQ-ZfTi72Pah6V4==eR>Cy(Qx@tBF4>zk;x;oIBZFajA2vkTRcN2n?3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LC_MESSAGES/ldapsaisie.po +++ b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: LdapSaisie\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2020-06-30 10:00+0200\n" +"PO-Revision-Date: 2020-07-07 16:02+0200\n" "Last-Translator: Benjamin Renard \n" "Language-Team: LdapSaisie \n" @@ -446,7 +446,7 @@ msgstr "Confirmez-vous votre choix ?" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSconfirmBox.php:37 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsmoothbox.php:39 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:68 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:69 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:585 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1142 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1268 @@ -1021,21 +1021,21 @@ msgstr "" msgid "The attribute %{attr} is not valid." msgstr "L'attribut %{attr} n'est pas valide." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2675 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2862 msgid "LSldapObject : Object type unknown." msgstr "LSldapObject : Type d'objet inconnu." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2678 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2865 msgid "LSldapObject : Update form is not defined for the object %{obj}." msgstr "" "LSldapObject : Le formulaire de mise à jour n'est pas défini pour l'objet " "%{obj}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2681 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2868 msgid "LSldapObject : No form exists for the object %{obj}." msgstr "LSldapObject : Aucun formulaire n'existe pour l'objet %{obj}" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2684 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2871 msgid "" "LSldapObject : The function %{func} to validate the attribute %{attr} the " "object %{obj} is unknow." @@ -1043,7 +1043,7 @@ msgstr "" "LSldapObject : La fonction %{func} pour valider l'attribut %{attr} de " "l'objet %{obj} est inconnu." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2687 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2874 msgid "" "LSldapObject : Configuration data are missing to validate the attribute " "%{attr} of the object %{obj}." @@ -1051,7 +1051,7 @@ msgstr "" "LSldapObject : Des données de configurations sont manquant pour pouvoir " "valider l'attribut %{attr} de l'objet %{obj}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2691 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2878 msgid "" "LSldapObject : The function %{func} to be executed on the object event " "%{event} doesn't exist." @@ -1059,14 +1059,14 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée lors de l'évènement " "%{event} de l'objet n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2694 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2881 msgid "" "LSldapObject : The %{func} execution on the object event %{event} failed." msgstr "" "LSldapObject : L'exécution de la fonction %{func} lors de l'évènement " "%{event} de l'objet a échouée." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2698 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2885 msgid "" "LSldapObject : Class %{class}, which method %{meth} to be executed on the " "object event %{event}, doesn't exist." @@ -1074,7 +1074,7 @@ msgstr "" "La classe %{class}, contenant la méthode %{meth} devant être exécutée lors " "de l'évènement %{event} de l'objet, n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2701 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2888 msgid "" "LSldapObject : Method %{meth} within %{class} class to be executed on object " "event %{event}, doesn't exist." @@ -1082,7 +1082,7 @@ msgstr "" "LSldapObject : La méthode %{meth} de la classe %{class} devant être exécutée " "lors de l'évènement %{event} de l'objet n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2704 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2891 msgid "" "LSldapObject : Error during execute %{meth} method within %{class} class, to " "be executed on object event %{event}." @@ -1090,7 +1090,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la méthode %{meth} de la classe " "%{class} devant être exécutée lors de l'évènement %{event} de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2708 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2895 msgid "" "LSldapObject : Some configuration data of the object type %{obj} are missing " "to generate the DN of the new object." @@ -1098,7 +1098,7 @@ msgstr "" "LSldapObject : Des informations de configuration du type d'objet %{obj} sont " "manquantes pour la génération du DN du nouvel objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2711 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2898 msgid "" "LSldapObject : The attibute %{attr} of the object is not yet defined. Can't " "generate DN." @@ -1106,11 +1106,11 @@ msgstr "" "LSldapObjet : L'attribut %{attr} de l'objet n'est pas encore défini. " "Impossible de générer le DN." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2714 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2901 msgid "LSldapObject : Without DN, the object could not be changed." msgstr "LSldapObject : Sans DN, l'objet ne peut pas être modifié." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2717 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2904 msgid "" "LSldapObject : The attribute %{attr_depend} depending on the attribute " "%{attr} doesn't exist." @@ -1118,39 +1118,39 @@ msgstr "" "LSldapObject : L'attritbut %{attr_depend} dépendant de l'attribut %{attr} " "n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2720 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2907 msgid "LSldapObject : Error during deleting the object %{objectname}." msgstr "LSldapObject : Erreur durant la suppression de l'objet %{objectname}" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2724 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2911 msgid "" "LSldapObject : Error during actions to be executed before renaming the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée avant de " "renommer l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2727 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2914 msgid "" "LSldapObject : Error during actions to be executed after renaming the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée après avoir " "renommé l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2731 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2918 msgid "" "LSldapObject : Error during actions to be executed before deleting the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée avant de " "supprimer l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2734 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2921 msgid "" "LSldapObject : Error during actions to be executed after deleting the objet." msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée après avoir " "supprimé l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2738 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2925 msgid "" "LSldapObject : Error during the actions to be executed before creating the " "object." @@ -1158,7 +1158,7 @@ msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée avant de créer " "l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2741 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2928 msgid "" "LSldapObject : Error during the actions to be executed after creating the " "object. It was created anyway." @@ -1166,7 +1166,7 @@ msgstr "" "LSldapObject : Erreur durant les actions devant être exécutées après la " "création de l'objet. Il a tout de même été créé." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2745 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2932 msgid "" "LSldapObject : The function %{func} to be executed before creating the " "object doesn't exist." @@ -1174,7 +1174,7 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée avant la création de " "l'objet n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2748 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2935 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "deleting the object." @@ -1182,7 +1182,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être " "exécutée après la suppression de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2751 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2938 msgid "" "LSldapObject : The function %{func} to be executed after deleting the object " "doesn't exist." @@ -1190,7 +1190,7 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée après la suppression " "de l'objet n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2754 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2941 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "creating the object." @@ -1198,7 +1198,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être " "exécutée après la création de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2758 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2945 msgid "" "LSldapObject : %{func} function, to be executed on object event %{event}, " "doesn't exist." @@ -1206,7 +1206,7 @@ msgstr "" "LSldapObject : La fonction %{func}, devant être exécutée lors de l'évènement " "%{event} de l'objet, n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2761 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2948 msgid "" "LSldapObject : Error during the execution of %{func} function on object " "event %{event}." @@ -1214,7 +1214,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} lors de " "l'évènement %{event} de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2765 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2952 msgid "" "LSldapObject : %{meth} method, to be executed on object event %{event}, " "doesn't exist." @@ -1222,7 +1222,7 @@ msgstr "" "LSldapObject : La méthode %{meth}, devant être exécutée lors de l'évènement " "%{event} de l'objet, n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2768 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2955 msgid "" "LSldapObject : Error during execution of %{meth} method on object event " "%{event}." @@ -1230,13 +1230,13 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la méthode %{meth} lors de " "l'évènement %{event} de l'objet." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2771 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2958 msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}." msgstr "" "LSldapObject : Erreur durant la génération du filtre LDAP de l'objet " "%{LSobject}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2775 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2962 msgid "" "LSldapObject : Error during execution of the custom action %{customAction} " "on %{objectname}." @@ -1244,22 +1244,22 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de l'action personnalisée " "%{customAction} sur l'objet %{objectname}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2779 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2966 msgid "LSldapObject : Fail to retrieve container DN." msgstr "LSldapObject : Impossible de récupérer le DN parent." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2782 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2969 msgid "" "LSldapObject : The function %{func} to generate container DN is not callable." msgstr "" "LSldapObject : La fonction %{func} pour générer le DN parent n'est pas " "exécutable." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2785 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2972 msgid "LSldapObject : Error during generating container DN : %{error}" msgstr "LSldapObject : Erreur durant la génération du DN parent : %{error}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2790 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2977 msgid "" "LSrelation : Some parameters are missing in the call of methods to handle " "standard relations (Method : %{meth})." @@ -1333,7 +1333,7 @@ msgid "Warning" msgstr "Attention" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:604 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:218 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:219 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:69 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:85 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:185 @@ -1409,31 +1409,37 @@ msgstr "" "LSrelation : Le paramètre '%{paramerer}' est invalide dans la configuration " "de la relation %{relation} des objets %{LSobject}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:69 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:85 msgid "%{label}: passwords entered did not match." msgstr "%{label} : les mots de passe saisies ne correspondent pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:146 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:133 +msgid "%{label}: invalid email address provided to send new password." +msgstr "" +"%{label} : une adresse mail invalide a été fournie pour l'envoi du nouveau " +"mot de passe." + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:170 msgid "Generate a password." msgstr "Générer un mot de passe." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:147 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:171 msgid "Compare with stored password." msgstr "Comparer avec le mot de passe stocké." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:148 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:172 msgid "Display password." msgstr "Afficher le mot de passe." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:149 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:173 msgid "Display hashed password." msgstr "Afficher le mot de passe haché." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:150 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:174 msgid "Hide password." msgstr "Cacher le mot de passe." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:151 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:175 msgid "" "The password will be sent by mail if changed. Click to disable automatic " "notification." @@ -1441,7 +1447,7 @@ msgstr "" "Le mot de passe sera envoyé par e-mail en cas de modification. Cliquer pour " "désactiver la notification." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:152 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:176 msgid "" "The password will not be sent if changed. Click to enable automatic " "notification." @@ -1449,43 +1455,44 @@ msgstr "" "Le mot de passe ne sera pas envoyé en cas de modification. Cliquer pour " "activer la notification automatique." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:153 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:177 msgid "Modify the mail sent to notice the user" msgstr "Modifier mail de notification de l'utilisateur" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:171 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:195 msgid "%{label}: Do you confirm the password change?" msgstr "%{label} : Confirmez-vous la modification du mot de passe ?" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:176 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:200 msgid "Passwords entered did not match." msgstr "Les mots de passe saisies ne correspondent pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:295 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:328 msgid "Notice mail sent." msgstr "Le mail de notification a été envoyé." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:372 -msgid "LSformElement_password : No contact mail available to send password." -msgstr "" -"LSformElement_password : Aucun mail de contact disponible pour envoyer le " -"mot de passe." - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:375 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:423 msgid "" -"LSformElement_password : Contact mail invalid (%{mail}). Can't send password." +"LSformElement_password : No valid contact mail address available : Can't " +"send new password." msgstr "" -"LSformElement_password : Mail de contact invalide (%{mail}). Impossible " -"d'envoyer le mot de passe." +"LSformElement_password : Aucun mail de contact valide disponible : " +"impossible d'envoyer le nouveau mot de passe." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:378 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:426 +msgid "LSformElement_password : Fail to send new password by email to %{mail}." +msgstr "" +"LSformElement_password : Une erreur est survenue en envoyant le nouveau mot " +"de passe à %{mail}." + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:429 msgid "" "LSformElement_password : Fail to exec pwgen. Check it's correctly installed." msgstr "" "LSformElement_password : Impossible d'exécuter pwgen. Vérifier qu'il est " "bien installé." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:381 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:432 msgid "" "LSformElement_password : Fail to determine witch e-mail attribute to use to " "send new password : get_mail_attr_function parameter not refer to a valid " @@ -1495,7 +1502,7 @@ msgstr "" "être utilisé pour l'envoi du mot de passe : le paramètre " "get_mail_attr_function ne fait pas référence à une fonction valide." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:384 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:435 msgid "" "LSformElement_password : Fail to determine witch e-mail attribute to use to " "send new password : get_mail_attr_function throwed an exception : %{msg}" @@ -1531,22 +1538,22 @@ msgstr "" "des constantes suivantes : LSAUTH_CAS_SERVER_SSL_CACERT ou " "LSAUTH_CAS_SERVER_NO_SSL_VALIDATION" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:96 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:97 msgid "Add a field to add another values." msgstr "Ajouter une autre valeur à ce champ." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:97 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:98 msgid "Delete this field." msgstr "Supprimer cette valeur." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:199 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:200 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:581 msgid "Do you really want to execute custom action %{title} on this search ?" msgstr "" "Êtes-vous vraiment sûre de vouloir exécuter l'action personnalisée %{title} " "sur cette recherche ?" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:205 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:206 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1262 msgid "" "Do you really want to execute custom action %{customAction} on " @@ -1555,53 +1562,53 @@ msgstr "" "Êtes-vous vraiment sûre de vouloir exécuter l'action personnalisée " "%{customAction} sur %{objectname} ?" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:216 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:217 msgid "Do you really want to delete \"%{name}\"?" msgstr "Voulez-vous vraiment supprimer \"%{name}\" ?" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:217 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:218 msgid "Caution" msgstr "Attention" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:271 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:272 msgid "%{label} attribute data is not valid." msgstr "Les données de l'attribut %{label} sont incorrectes." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:354 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:355 msgid "Mandatory field" msgstr "Champ obligatoire" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:788 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:827 msgid "LSform : Error during the recovery of the values of the form." msgstr "LSform : Erreur durant la récupération des valeurs du formulaire." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:791 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:830 msgid "" "LSform : Error durring the recovery of the value of the field '%{element}'." msgstr "" "LSform : Erreur durant la recupération de la valeur du champ %{element}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:798 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:837 msgid "LSform : The field %{element} doesn't exist." msgstr "LSform : Le champ %{element} n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:801 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:840 msgid "LSfom : Field type unknow (%{type})." msgstr "LSform : Type de champ inconnu (%{type})." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:804 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:843 msgid "LSform : Error during the creation of the element '%{element}'." msgstr "LSform : Erreur durant la création de l'élément %{element}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:807 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:846 msgid "LSform : The data entry form %{name} doesn't exist." msgstr "LSform : Le masque de saisie %{name} n'existe pas." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:810 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:849 msgid "LSform : The data entry form %{name} is not correctly configured." msgstr "LSform : Le masque de saisie %{name} n'est pas correctement configuré." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:813 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:852 msgid "" "LSform : The element %{name}, listed as displayed in data entry form " "configuration, doesn't exist." @@ -1789,39 +1796,39 @@ msgstr "Étape" msgid "Pedagogical element" msgstr "Élement pédagogique" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1088 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1086 msgid "Actions" msgstr "Actions" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1091 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1089 #: templates/default/global_search.tpl:16 msgid "This search didn't get any result." msgstr "Cette recherche n'a retournée aucun résultat." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1664 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1661 msgid "LSsearch : Invalid filter : %{filter}." msgstr "LSsearch : Filtre invalide : %{filter}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1667 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1664 msgid "LSsearch : Invalid basedn : %{basedn}." msgstr "LSsearch : Base DN invalide." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1670 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1667 msgid "LSsearch : Invalid value for %{param} parameter." msgstr "LSsearch : La valeur du paramètre %{param} est incorrecte." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1673 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1670 msgid "" "LSsearch : Invalid size limit. Must be an integer greater or equal to 0." msgstr "" "LSsearch : Limite de taille de recherche invalide. Elle doit être un entier " "supérieur ou égal à 0." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1676 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1673 msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean." msgstr "LSsearch : Paramètre %{param} invalide. Il doit être un booléen." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1679 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1676 msgid "" "LSsearch : Invalid parameter attributes. Must be an string or an array of " "strings." @@ -1829,13 +1836,13 @@ msgstr "" "LSsearch : Paramètre 'attributes' invalide. Il doit être une chaîne de " "caractères ou un tableau de chaînes de caractères." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1682 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1679 msgid "LSsearch : Can't build attributes list for make filter." msgstr "" "LSsearch : Impossible de construire la liste des attributs pour faire le " "filtre." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1685 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1682 msgid "" "LSsearch : Error building filter with attribute '%{attr}' and pattern " "'%{pattern}'" @@ -1843,34 +1850,34 @@ msgstr "" "LSsearch : Problème en construisant le filtre avec l'attribut '%{attr}' et " "le mot clé '%{pattern}'" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1688 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1685 msgid "LSsearch : Error combining filters." msgstr "LSsearch : Problème en combinant les filtres." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1691 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1688 msgid "LSsearch : Invalid pattern." msgstr "LSsearch : Mot clé invalide." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1694 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1691 msgid "LSsearch : Invalid attribute %{attr} in parameters." msgstr "LSsearch : Attribut %{attr} incorrect dans les paramètres." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1697 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1694 msgid "LSsearch : Error during the search." msgstr "LSsearch : Erreur pendant la recherche." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1700 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1697 msgid "LSsearch : Error sorting the search." msgstr "LSsearch : Erreur pendant le trie de la recherche." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1703 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1700 msgid "" "LSsearch : The function of the custum information %{name} is not callable." msgstr "" "LSsearch : La fonction de l'information personnalisée %{name} n'est pas " "exécutable." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1706 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1703 msgid "" "LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} " "(filter : %{filter})." @@ -1878,13 +1885,13 @@ msgstr "" "LSsearch : PredefinedFilter invalide pour le type d'LSobject %{type} : " "%{label} (filtre : %{filter})." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1709 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1706 msgid "LSsearch : Error during execution of the custom action %{customAction}." msgstr "" "LSldapObject : Erreur durant l'exécution de l'action personnalisée " "%{customAction}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1712 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1709 msgid "LSsearch : Invalid search pattern." msgstr "LSsearch : Mot clé de recherche invalide." @@ -2021,7 +2028,7 @@ msgstr "Rôle" msgid "Entity type" msgstr "Type d'entité" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:200 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:202 msgid "" "Invalid parameter \"%{parameter}\".\n" "Note: Command's parameter/argument must be place after the command." @@ -2030,17 +2037,17 @@ msgstr "" "Note: Les paramètres/arguments de la commande doivent être placés après " "celle-ci." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:645 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:700 msgid "LScli : The CLI command '%{command}' already exists." msgstr "LScli : La commande CLI '%{command}' existe déjà." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:648 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:703 msgid "LScli : The CLI command '%{command}' handler is not callable." msgstr "" "LScli : La fonction de prise en charge de la commande CLI '%{command}' n'est " "pas exécutable." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSlog.php:464 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSlog.php:466 msgid "LSlog : Fail to load logging handler %{handler}." msgstr "LSlog : Impossible de charger l'handler %{handler}." @@ -2355,6 +2362,13 @@ msgstr "non" msgid "yes" msgstr "oui" +#~ msgid "" +#~ "LSformElement_password : Contact mail invalid (%{mail}). Can't send " +#~ "password." +#~ msgstr "" +#~ "LSformElement_password : Mail de contact invalide (%{mail}). Impossible " +#~ "d'envoyer le mot de passe." + #~ msgid "Only one command could be executed !" #~ msgstr "Une seule commande peut-être exécutée !" diff --git a/src/lang/ldapsaisie.pot b/src/lang/ldapsaisie.pot index c23991a4..daa26bcc 100644 --- a/src/lang/ldapsaisie.pot +++ b/src/lang/ldapsaisie.pot @@ -367,7 +367,7 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSconfirmBox.php:37 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsmoothbox.php:39 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:68 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:69 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:585 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1142 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1268 @@ -848,189 +848,189 @@ msgstr "" msgid "The attribute %{attr} is not valid." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2675 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2862 msgid "LSldapObject : Object type unknown." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2678 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2865 msgid "LSldapObject : Update form is not defined for the object %{obj}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2681 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2868 msgid "LSldapObject : No form exists for the object %{obj}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2684 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2871 msgid "" "LSldapObject : The function %{func} to validate the attribute %{attr} the " "object %{obj} is unknow." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2687 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2874 msgid "" "LSldapObject : Configuration data are missing to validate the attribute " "%{attr} of the object %{obj}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2691 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2878 msgid "" "LSldapObject : The function %{func} to be executed on the object event " "%{event} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2694 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2881 msgid "" "LSldapObject : The %{func} execution on the object event %{event} failed." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2698 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2885 msgid "" "LSldapObject : Class %{class}, which method %{meth} to be executed on the " "object event %{event}, doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2701 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2888 msgid "" "LSldapObject : Method %{meth} within %{class} class to be executed on object " "event %{event}, doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2704 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2891 msgid "" "LSldapObject : Error during execute %{meth} method within %{class} class, to " "be executed on object event %{event}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2708 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2895 msgid "" "LSldapObject : Some configuration data of the object type %{obj} are missing " "to generate the DN of the new object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2711 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2898 msgid "" "LSldapObject : The attibute %{attr} of the object is not yet defined. Can't " "generate DN." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2714 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2901 msgid "LSldapObject : Without DN, the object could not be changed." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2717 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2904 msgid "" "LSldapObject : The attribute %{attr_depend} depending on the attribute " "%{attr} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2720 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2907 msgid "LSldapObject : Error during deleting the object %{objectname}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2724 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2911 msgid "" "LSldapObject : Error during actions to be executed before renaming the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2727 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2914 msgid "" "LSldapObject : Error during actions to be executed after renaming the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2731 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2918 msgid "" "LSldapObject : Error during actions to be executed before deleting the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2734 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2921 msgid "" "LSldapObject : Error during actions to be executed after deleting the objet." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2738 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2925 msgid "" "LSldapObject : Error during the actions to be executed before creating the " "object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2741 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2928 msgid "" "LSldapObject : Error during the actions to be executed after creating the " "object. It was created anyway." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2745 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2932 msgid "" "LSldapObject : The function %{func} to be executed before creating the " "object doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2748 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2935 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "deleting the object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2751 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2938 msgid "" "LSldapObject : The function %{func} to be executed after deleting the object " "doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2754 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2941 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "creating the object." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2758 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2945 msgid "" "LSldapObject : %{func} function, to be executed on object event %{event}, " "doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2761 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2948 msgid "" "LSldapObject : Error during the execution of %{func} function on object " "event %{event}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2765 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2952 msgid "" "LSldapObject : %{meth} method, to be executed on object event %{event}, " "doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2768 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2955 msgid "" "LSldapObject : Error during execution of %{meth} method on object event " "%{event}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2771 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2958 msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2775 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2962 msgid "" "LSldapObject : Error during execution of the custom action %{customAction} " "on %{objectname}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2779 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2966 msgid "LSldapObject : Fail to retrieve container DN." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2782 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2969 msgid "" "LSldapObject : The function %{func} to generate container DN is not callable." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2785 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2972 msgid "LSldapObject : Error during generating container DN : %{error}" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2790 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSldapObject.php:2977 msgid "" "LSrelation : Some parameters are missing in the call of methods to handle " "standard relations (Method : %{meth})." @@ -1100,7 +1100,7 @@ msgid "Warning" msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:604 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:218 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:219 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:69 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:85 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:185 @@ -1162,80 +1162,85 @@ msgid "" "%{relation} of %{LSobject} is invalid." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:69 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:85 msgid "%{label}: passwords entered did not match." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:146 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:133 +msgid "%{label}: invalid email address provided to send new password." +msgstr "" + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:170 msgid "Generate a password." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:147 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:171 msgid "Compare with stored password." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:148 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:172 msgid "Display password." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:149 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:173 msgid "Display hashed password." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:150 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:174 msgid "Hide password." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:151 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:175 msgid "" "The password will be sent by mail if changed. Click to disable automatic " "notification." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:152 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:176 msgid "" "The password will not be sent if changed. Click to enable automatic " "notification." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:153 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:177 msgid "Modify the mail sent to notice the user" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:171 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:195 msgid "%{label}: Do you confirm the password change?" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:176 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:200 msgid "Passwords entered did not match." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:295 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:328 msgid "Notice mail sent." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:372 -msgid "LSformElement_password : No contact mail available to send password." -msgstr "" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:375 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:423 msgid "" -"LSformElement_password : Contact mail invalid (%{mail}). Can't send password." +"LSformElement_password : No valid contact mail address available : Can't " +"send new password." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:378 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:426 +msgid "LSformElement_password : Fail to send new password by email to %{mail}." +msgstr "" + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:429 msgid "" "LSformElement_password : Fail to exec pwgen. Check it's correctly installed." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:381 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:432 msgid "" "LSformElement_password : Fail to determine witch e-mail attribute to use to " "send new password : get_mail_attr_function parameter not refer to a valid " "function." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:384 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_password.php:435 msgid "" "LSformElement_password : Fail to determine witch e-mail attribute to use to " "send new password : get_mail_attr_function throwed an exception : %{msg}" @@ -1264,72 +1269,72 @@ msgid "" "LSAUTH_CAS_SERVER_SSL_CACERT or LSAUTH_CAS_SERVER_NO_SSL_VALIDATION" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:96 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:97 msgid "Add a field to add another values." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:97 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:98 msgid "Delete this field." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:199 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:200 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:581 msgid "Do you really want to execute custom action %{title} on this search ?" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:205 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:206 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1262 msgid "" "Do you really want to execute custom action %{customAction} on " "%{objectname} ?" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:216 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:217 msgid "Do you really want to delete \"%{name}\"?" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:217 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:218 msgid "Caution" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:271 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:272 msgid "%{label} attribute data is not valid." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:354 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:355 msgid "Mandatory field" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:788 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:827 msgid "LSform : Error during the recovery of the values of the form." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:791 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:830 msgid "" "LSform : Error durring the recovery of the value of the field '%{element}'." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:798 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:837 msgid "LSform : The field %{element} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:801 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:840 msgid "LSfom : Field type unknow (%{type})." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:804 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:843 msgid "LSform : Error during the creation of the element '%{element}'." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:807 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:846 msgid "LSform : The data entry form %{name} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:810 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:849 msgid "LSform : The data entry form %{name} is not correctly configured." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:813 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:852 msgid "" "LSform : The element %{name}, listed as displayed in data entry form " "configuration, doesn't exist." @@ -1500,88 +1505,88 @@ msgstr "" msgid "Pedagogical element" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1088 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1086 msgid "Actions" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1091 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1089 #: templates/default/global_search.tpl:16 msgid "This search didn't get any result." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1664 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1661 msgid "LSsearch : Invalid filter : %{filter}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1667 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1664 msgid "LSsearch : Invalid basedn : %{basedn}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1670 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1667 msgid "LSsearch : Invalid value for %{param} parameter." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1673 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1670 msgid "" "LSsearch : Invalid size limit. Must be an integer greater or equal to 0." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1676 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1673 msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1679 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1676 msgid "" "LSsearch : Invalid parameter attributes. Must be an string or an array of " "strings." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1682 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1679 msgid "LSsearch : Can't build attributes list for make filter." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1685 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1682 msgid "" "LSsearch : Error building filter with attribute '%{attr}' and pattern " "'%{pattern}'" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1688 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1685 msgid "LSsearch : Error combining filters." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1691 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1688 msgid "LSsearch : Invalid pattern." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1694 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1691 msgid "LSsearch : Invalid attribute %{attr} in parameters." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1697 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1694 msgid "LSsearch : Error during the search." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1700 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1697 msgid "LSsearch : Error sorting the search." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1703 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1700 msgid "" "LSsearch : The function of the custum information %{name} is not callable." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1706 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1703 msgid "" "LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} " "(filter : %{filter})." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1709 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1706 msgid "LSsearch : Error during execution of the custom action %{customAction}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1712 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearch.php:1709 msgid "LSsearch : Invalid search pattern." msgstr "" @@ -1703,21 +1708,21 @@ msgstr "" msgid "Entity type" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:200 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:202 msgid "" "Invalid parameter \"%{parameter}\".\n" "Note: Command's parameter/argument must be place after the command." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:645 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:700 msgid "LScli : The CLI command '%{command}' already exists." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:648 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:703 msgid "LScli : The CLI command '%{command}' handler is not callable." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSlog.php:464 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSlog.php:466 msgid "LSlog : Fail to load logging handler %{handler}." msgstr ""