From 1a88707f87c003bfc452cf37b696d72b6e057778 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 4 Mar 2024 11:34:41 +0100 Subject: [PATCH] LSldapObject: defaulty set attribute default value on creation even if is not present in form Could be configured using the new set_default_value_on_creation_if_empty parameter. --- doc/src/conf/LSobject/LSattribute/index.md | 7 + src/includes/class/class.LSattribute.php | 54 ++++-- src/includes/class/class.LSldapObject.php | 17 ++ src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo | Bin 95861 -> 96167 bytes src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po | 133 ++++++++------- src/lang/ldapsaisie.pot | 161 +++++++++--------- 6 files changed, 218 insertions(+), 154 deletions(-) diff --git a/doc/src/conf/LSobject/LSattribute/index.md b/doc/src/conf/LSobject/LSattribute/index.md index 3fdd8dc3..6a06306c 100644 --- a/doc/src/conf/LSobject/LSattribute/index.md +++ b/doc/src/conf/LSobject/LSattribute/index.md @@ -33,6 +33,7 @@ tableau, les clé les noms des attributs et les valeurs liés sont la configurat 'generate_function' => 'fonction1', 'generate_value_format' => '[LSformat]', 'default_value' => 'valeur1', + 'set_default_value_on_creation_if_empty' => [booleen], 'check_data' => array ( // Régle de vérification syntaxique des données saisies ), @@ -157,6 +158,12 @@ tableau, les clé les noms des attributs et les valeurs liés sont la configurat l'attribut si aucune autre méthode n'est disponible (via une fonction ou un [LSformat](../../global/LSformat.md#format-parametrable)). +- `set_default_value_on_creation_if_empty` + + Booléen permettant de définir si la valeur de l'attribut doit être initialisée avec sa valeur par + défaut à la création de l'objet si aucune autre valeur n'as été fournie dans le contexte de + création (par défaut : *1*). + - `check_data` Tableau associatif contenant les règles de vérification syntaxique des données de l'attribut. diff --git a/src/includes/class/class.LSattribute.php b/src/includes/class/class.LSattribute.php index fa5b4e6a..3ff3e697 100644 --- a/src/includes/class/class.LSattribute.php +++ b/src/includes/class/class.LSattribute.php @@ -543,22 +543,22 @@ class LSattribute extends LSlog_staticLoggerClass { } /** - * Vérifie si l'attribut est obligatoire + * Check if the attribute is required * * @author Benjamin Renard * - * @return boolean true si l'attribut est obligatoire, false sinon + * @return boolean True if the attribute is required, false otherwise. */ public function isRequired() { return $this -> getConfig('required', false, 'bool'); } /** - * Vérifie si la valeur de l'attribut peut être générée + * Check if the attribute value could be generated * * @author Benjamin Renard * - * @return boolean true si la valeur de l'attribut peut être générée, false sinon + * @return boolean True if the attribute value could be generated, false otherwise. */ public function canBeGenerated() { $format = $this -> getConfig('generate_value_format', $this -> getConfig('default_value')); @@ -571,11 +571,12 @@ class LSattribute extends LSlog_staticLoggerClass { } /** - * Génere la valeur de l'attribut à partir de la fonction de génération + * Generate attribute value using its generation function, its generation format or its default + * value. * * @author Benjamin Renard * - * @return boolean true si la valeur à put être générée, false sinon + * @return boolean True if value has been generated, false otherwise. */ public function generateValue() { $value = $this -> getConfig('default_value', false); @@ -595,6 +596,23 @@ class LSattribute extends LSlog_staticLoggerClass { return false; } + /** + * Set attribute value as default + * + * @author Benjamin Renard + * + * @return boolean True if value has been set as default, false otherwise + */ + public function setValueAsDefault() { + $value = $this -> getConfig('default_value', false); + if ($value !== false) { + $this -> updateData = ensureIsArray($value); + self :: log_debug($this."setValueAsDefault(): default values = ".varDump($this -> updateData)); + return true; + } + return false; + } + /** * Retourne la valeur de l'attribut pour son enregistrement dans l'annuaire * si l'attribut à été modifié. @@ -820,29 +838,35 @@ class LSattribute extends LSlog_staticLoggerClass { * Error Codes **/ LSerror :: defineError('LSattribute_01', - ___("LSattribute : Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} & HTML = %{html}).") + ___("LSattribute: Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} & HTML = %{html}).") ); LSerror :: defineError('LSattribute_02', - ___("LSattribute : The function %{func} to display the attribute %{attr} is unknow.") + ___("LSattribute: The function %{func} to display the attribute %{attr} is unknow.") ); LSerror :: defineError('LSattribute_03', - ___("LSattribute : The rule %{rule} to validate the attribute %{attr} is unknow.") + ___("LSattribute: The rule %{rule} to validate the attribute %{attr} is unknow.") ); LSerror :: defineError('LSattribute_04', - ___("LSattribute : Configuration data to verify the attribute %{attr} are incorrect.") + ___("LSattribute: Configuration data to verify the attribute %{attr} are incorrect.") ); LSerror :: defineError('LSattribute_05', - ___("LSattribute : The function %{func} to save the attribute %{attr} is unknow.") + ___("LSattribute: The function %{func} to save the attribute %{attr} is unknow.") ); LSerror :: defineError('LSattribute_06', - ___("LSattribute : The value of the attribute %{attr} can't be generated.") + ___("LSattribute: The value of the attribute %{attr} can't be generated.") ); LSerror :: defineError('LSattribute_07', - ___("LSattribute : Generation of the attribute %{attr} failed.") + ___("LSattribute: Generation of the attribute %{attr} failed.") ); LSerror :: defineError('LSattribute_08', - ___("LSattribute : Generation of the attribute %{attr} did not return a correct value.") + ___("LSattribute: Generation of the attribute %{attr} did not return a correct value.") ); LSerror :: defineError('LSattribute_09', - ___("LSattribute : The attr_%{type} of the attribute %{name} is not yet defined.") + ___("LSattribute: The attr_%{type} of the attribute %{name} is not yet defined.") +); +LSerror :: defineError('LSattribute_10', + ___("LSattribute: The default value of the attribute %{attr} is invalid.") +); +LSerror :: defineError('LSattribute_11', + ___("LSattribute: Fail to set attribute %{attr} value as default.") ); diff --git a/src/includes/class/class.LSldapObject.php b/src/includes/class/class.LSldapObject.php index 23ae8483..e2bf7f46 100644 --- a/src/includes/class/class.LSldapObject.php +++ b/src/includes/class/class.LSldapObject.php @@ -541,6 +541,23 @@ class LSldapObject extends LSlog_staticLoggerClass { $retval = false; } } + elseif ( + empty($attr_values) + && !is_empty($attr -> getConfig('default_value')) + && $idForm == 'create' + && $attr -> getConfig('set_default_value_on_creation_if_empty', true, 'bool') + ) { + if ($attr -> setValueAsDefault()) { + if (!$this -> validateAttrData($LSform, $attr, $justCheck)) { + LSerror :: addErrorCode('LSattribute_10',$attr -> getLabel()); + $retval = false; + } + } + else { + LSerror :: addErrorCode('LSattribute_11',$attr -> getLabel()); + $retval = false; + } + } } } return $retval;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mdL54PCsXA=M-Vz0#C<89DIvshxRYb2Q~G)H*9*-WOzk0i>anK<^_Hk@ zCMFSIp&p6as*)RJ>$|A`PJJEuRyYc8Q?ykep2q%?l$FG9Q3g@3>|IA%N$V^+fzQb`~FA0B1PLq_P<5>nsR~CZBPFC-^RO<-kU?Zd#lVW z>g_PJ4pBr_wD-}_SYNF+e|F5u@Fp%O>2GqhS}U?j gtvZz}@0sw~S9O-H@ppe)78B?e-T!NVdtmtg0SWk^-~a#s diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po index c48f2132..d581ba06 100644 --- a/src/lang/fr_FR.UTF8/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: 2024-02-28 18:00+0100\n" +"PO-Revision-Date: 2024-03-04 11:34+0100\n" "Last-Translator: Benjamin Renard \n" "Language-Team: LdapSaisie \n" @@ -813,7 +813,7 @@ msgstr "" #: includes/class/class.LSformRule.php:89 #: includes/class/class.LSformRule.php:292 -#: includes/class/class.LSformElement_gpg_pub_key.php:90 +#: includes/class/class.LSformElement_gpg_pub_key.php:101 #: includes/class/class.LSattr_html_date.php:47 #: includes/class/class.LSattr_html_select_list.php:63 #: templates/default/LSformElement_gpg_pub_key_field.tpl:9 @@ -1072,7 +1072,7 @@ msgstr "" "formater la valeur de l'attribut LDAP." #: includes/class/class.LSformElement_ssh_key.php:83 -#: includes/class/class.LSformElement_gpg_pub_key.php:80 +#: includes/class/class.LSformElement_gpg_pub_key.php:91 msgid "Display the full key." msgstr "Affichier la clé en entier." @@ -1535,67 +1535,76 @@ msgstr "" "LSformRule_differentPassword : Les autres attributs mots de passe doivent " "utiliser LSattr_ldap :: password. Ce n'est pas le cas de l'attribut %{attr}." -#: includes/class/class.LSattribute.php:823 +#: includes/class/class.LSattribute.php:841 msgid "" -"LSattribute : Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} " -"& HTML = %{html})." +"LSattribute: Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} & " +"HTML = %{html})." msgstr "" "LSattribute : Attribut %{attr} : Les types LDAP ou HTML sont inconnus (LDAP " "= %{ldap} & HTML = %{html})." -#: includes/class/class.LSattribute.php:826 +#: includes/class/class.LSattribute.php:844 msgid "" -"LSattribute : The function %{func} to display the attribute %{attr} is " -"unknow." +"LSattribute: The function %{func} to display the attribute %{attr} is unknow." msgstr "" "LSattribute : La fonction %{func} pour afficher l'attribut %{attr} est " "inconnue." -#: includes/class/class.LSattribute.php:829 +#: includes/class/class.LSattribute.php:847 msgid "" -"LSattribute : The rule %{rule} to validate the attribute %{attr} is unknow." +"LSattribute: The rule %{rule} to validate the attribute %{attr} is unknow." msgstr "" "LSattribute : La règle %{rule} de validation de l'attribut %{attr} n'existe " "pas." -#: includes/class/class.LSattribute.php:832 +#: includes/class/class.LSattribute.php:850 msgid "" -"LSattribute : Configuration data to verify the attribute %{attr} are " +"LSattribute: Configuration data to verify the attribute %{attr} are " "incorrect." msgstr "" "LSattribute : Les données de configuration pour vérifier l'attribut %{attr} " "sont incorrecte." -#: includes/class/class.LSattribute.php:835 +#: includes/class/class.LSattribute.php:853 msgid "" -"LSattribute : The function %{func} to save the attribute %{attr} is unknow." +"LSattribute: The function %{func} to save the attribute %{attr} is unknow." msgstr "" "LSattribute : La fonction %{func} pour sauvegarder l'attribut %{attr} est " "inconnue." -#: includes/class/class.LSattribute.php:838 -msgid "LSattribute : The value of the attribute %{attr} can't be generated." +#: includes/class/class.LSattribute.php:856 +msgid "LSattribute: The value of the attribute %{attr} can't be generated." msgstr "LSattribute : La valeur de l'attribut %{attr} ne peut être générée." -#: includes/class/class.LSattribute.php:841 -msgid "LSattribute : Generation of the attribute %{attr} failed." +#: includes/class/class.LSattribute.php:859 +msgid "LSattribute: Generation of the attribute %{attr} failed." msgstr "LSattribute : La génération de l'attribut %{attr} a échouée." -#: includes/class/class.LSattribute.php:844 +#: includes/class/class.LSattribute.php:862 msgid "" -"LSattribute : Generation of the attribute %{attr} did not return a correct " +"LSattribute: Generation of the attribute %{attr} did not return a correct " "value." msgstr "" "LSattribute : La génération de l'attribut %{attr} n'a pas retournée de " "valeur correcte." -#: includes/class/class.LSattribute.php:847 +#: includes/class/class.LSattribute.php:865 msgid "" -"LSattribute : The attr_%{type} of the attribute %{name} is not yet defined." +"LSattribute: The attr_%{type} of the attribute %{name} is not yet defined." msgstr "" "LSattribute : L'objet attr_%{type} de l'attribut %{name} n'est pas encore " "défini." +#: includes/class/class.LSattribute.php:868 +msgid "LSattribute: The default value of the attribute %{attr} is invalid." +msgstr "LSattribute : La valeur par défaut de l'attribut %{attr} est invalide." + +#: includes/class/class.LSattribute.php:871 +msgid "LSattribute: Fail to set attribute %{attr} value as default." +msgstr "" +"LSattribute : Impossible de définir la valeur de l'attribut %{attr} par " +"défaut." + #: includes/class/class.LSformRule_callable.php:71 msgid "LSformRule_callable : The given callable option is not callable" msgstr "LSformRule_callable : Le paramètre fournis n'est pas exécutable" @@ -1829,25 +1838,25 @@ msgstr "" msgid "Invalid file type (%{type})." msgstr "Type de fichier invalide (%{type})." -#: includes/class/class.LSldapObject.php:585 +#: includes/class/class.LSldapObject.php:603 msgid "The attribute %{attr} is not valid." msgstr "L'attribut %{attr} n'est pas valide." -#: includes/class/class.LSldapObject.php:3165 +#: includes/class/class.LSldapObject.php:3183 msgid "LSldapObject : Object type unknown." msgstr "LSldapObject : Type d'objet inconnu." -#: includes/class/class.LSldapObject.php:3168 +#: includes/class/class.LSldapObject.php:3186 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}." -#: includes/class/class.LSldapObject.php:3171 +#: includes/class/class.LSldapObject.php:3189 msgid "LSldapObject : No form exists for the object %{obj}." msgstr "LSldapObject : Aucun formulaire n'existe pour l'objet %{obj}" -#: includes/class/class.LSldapObject.php:3174 +#: includes/class/class.LSldapObject.php:3192 msgid "" "LSldapObject : The function %{func} to validate the attribute %{attr} the " "object %{obj} is unknow." @@ -1855,7 +1864,7 @@ msgstr "" "LSldapObject : La fonction %{func} pour valider l'attribut %{attr} de " "l'objet %{obj} est inconnue." -#: includes/class/class.LSldapObject.php:3177 +#: includes/class/class.LSldapObject.php:3195 msgid "" "LSldapObject : Configuration data are missing to validate the attribute " "%{attr} of the object %{obj}." @@ -1863,7 +1872,7 @@ msgstr "" "LSldapObject : Des données de configurations sont manquantes pour pouvoir " "valider l'attribut %{attr} de l'objet %{obj}." -#: includes/class/class.LSldapObject.php:3181 +#: includes/class/class.LSldapObject.php:3199 msgid "" "LSldapObject : The function %{func} to be executed on the object event " "%{event} doesn't exist." @@ -1871,14 +1880,14 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée lors de l'évènement " "%{event} de l'objet n'existe pas." -#: includes/class/class.LSldapObject.php:3184 +#: includes/class/class.LSldapObject.php:3202 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." -#: includes/class/class.LSldapObject.php:3188 +#: includes/class/class.LSldapObject.php:3206 msgid "" "LSldapObject : Class %{class}, which method %{meth} to be executed on the " "object event %{event}, doesn't exist." @@ -1886,7 +1895,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." -#: includes/class/class.LSldapObject.php:3191 +#: includes/class/class.LSldapObject.php:3209 msgid "" "LSldapObject : Method %{meth} within %{class} class to be executed on object " "event %{event}, doesn't exist." @@ -1894,7 +1903,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." -#: includes/class/class.LSldapObject.php:3194 +#: includes/class/class.LSldapObject.php:3212 msgid "" "LSldapObject : Error during execute %{meth} method within %{class} class, to " "be executed on object event %{event}." @@ -1902,7 +1911,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." -#: includes/class/class.LSldapObject.php:3198 +#: includes/class/class.LSldapObject.php:3216 msgid "" "LSldapObject : Some configuration data of the object type %{obj} are missing " "to generate the DN of the new object." @@ -1910,7 +1919,7 @@ msgstr "" "LSldapObject : Des informations de configuration du type d'objet %{obj} sont " "manquantes pour la génération du DN du nouvel objet." -#: includes/class/class.LSldapObject.php:3201 +#: includes/class/class.LSldapObject.php:3219 msgid "" "LSldapObject : The attibute %{attr} of the object is not yet defined. Can't " "generate DN." @@ -1918,11 +1927,11 @@ msgstr "" "LSldapObject : L'attribut %{attr} de l'objet n'est pas encore défini. " "Impossible de générer le DN." -#: includes/class/class.LSldapObject.php:3204 +#: includes/class/class.LSldapObject.php:3222 msgid "LSldapObject : Without DN, the object could not be changed." msgstr "LSldapObject : Sans DN, l'objet ne peut pas être modifié." -#: includes/class/class.LSldapObject.php:3207 +#: includes/class/class.LSldapObject.php:3225 msgid "" "LSldapObject : The attribute %{attr_depend} depending on the attribute " "%{attr} doesn't exist." @@ -1930,39 +1939,39 @@ msgstr "" "LSldapObject : L'attritbut %{attr_depend} dépendant de l'attribut %{attr} " "n'existe pas." -#: includes/class/class.LSldapObject.php:3210 +#: includes/class/class.LSldapObject.php:3228 msgid "LSldapObject : Error during deleting the object %{objectname}." msgstr "LSldapObject : Erreur durant la suppression de l'objet %{objectname}" -#: includes/class/class.LSldapObject.php:3214 +#: includes/class/class.LSldapObject.php:3232 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." -#: includes/class/class.LSldapObject.php:3217 +#: includes/class/class.LSldapObject.php:3235 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." -#: includes/class/class.LSldapObject.php:3221 +#: includes/class/class.LSldapObject.php:3239 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." -#: includes/class/class.LSldapObject.php:3224 +#: includes/class/class.LSldapObject.php:3242 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." -#: includes/class/class.LSldapObject.php:3228 +#: includes/class/class.LSldapObject.php:3246 msgid "" "LSldapObject : Error during the actions to be executed before creating the " "object." @@ -1970,7 +1979,7 @@ msgstr "" "LSldapObject : Erreur durant les actions devant être exécutée avant de créer " "l'objet." -#: includes/class/class.LSldapObject.php:3231 +#: includes/class/class.LSldapObject.php:3249 msgid "" "LSldapObject : Error during the actions to be executed after creating the " "object. It was created anyway." @@ -1978,7 +1987,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éé." -#: includes/class/class.LSldapObject.php:3235 +#: includes/class/class.LSldapObject.php:3253 msgid "" "LSldapObject : The function %{func} to be executed before creating the " "object doesn't exist." @@ -1986,7 +1995,7 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée avant la création de " "l'objet n'existe pas." -#: includes/class/class.LSldapObject.php:3238 +#: includes/class/class.LSldapObject.php:3256 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "deleting the object." @@ -1994,7 +2003,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} devant être " "exécutée après la suppression de l'objet." -#: includes/class/class.LSldapObject.php:3241 +#: includes/class/class.LSldapObject.php:3259 msgid "" "LSldapObject : The function %{func} to be executed after deleting the object " "doesn't exist." @@ -2002,7 +2011,7 @@ msgstr "" "LSldapObject : La fonction %{func} devant être exécutée après la suppression " "de l'objet n'existe pas." -#: includes/class/class.LSldapObject.php:3244 +#: includes/class/class.LSldapObject.php:3262 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "creating the object." @@ -2010,7 +2019,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." -#: includes/class/class.LSldapObject.php:3248 +#: includes/class/class.LSldapObject.php:3266 msgid "" "LSldapObject : %{func} function, to be executed on object event %{event}, " "doesn't exist." @@ -2018,7 +2027,7 @@ msgstr "" "LSldapObject : La fonction %{func}, devant être exécutée lors de l'évènement " "%{event} de l'objet, n'existe pas." -#: includes/class/class.LSldapObject.php:3251 +#: includes/class/class.LSldapObject.php:3269 msgid "" "LSldapObject : Error during the execution of %{func} function on object " "event %{event}." @@ -2026,7 +2035,7 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la fonction %{func} lors de " "l'évènement %{event} de l'objet." -#: includes/class/class.LSldapObject.php:3255 +#: includes/class/class.LSldapObject.php:3273 msgid "" "LSldapObject : %{meth} method, to be executed on object event %{event}, " "doesn't exist." @@ -2034,7 +2043,7 @@ msgstr "" "LSldapObject : La méthode %{meth}, devant être exécutée lors de l'évènement " "%{event} de l'objet, n'existe pas." -#: includes/class/class.LSldapObject.php:3258 +#: includes/class/class.LSldapObject.php:3276 msgid "" "LSldapObject : Error during execution of %{meth} method on object event " "%{event}." @@ -2042,13 +2051,13 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de la méthode %{meth} lors de " "l'évènement %{event} de l'objet." -#: includes/class/class.LSldapObject.php:3261 +#: includes/class/class.LSldapObject.php:3279 msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}." msgstr "" "LSldapObject : Erreur durant la génération du filtre LDAP de l'objet " "%{LSobject}." -#: includes/class/class.LSldapObject.php:3265 +#: includes/class/class.LSldapObject.php:3283 msgid "" "LSldapObject : Error during execution of the custom action %{customAction} " "on %{objectname}." @@ -2056,22 +2065,22 @@ msgstr "" "LSldapObject : Erreur durant l'exécution de l'action personnalisée " "%{customAction} sur l'objet %{objectname}." -#: includes/class/class.LSldapObject.php:3269 +#: includes/class/class.LSldapObject.php:3287 msgid "LSldapObject : Fail to retrieve container DN." msgstr "LSldapObject : Impossible de récupérer le DN parent." -#: includes/class/class.LSldapObject.php:3272 +#: includes/class/class.LSldapObject.php:3290 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." -#: includes/class/class.LSldapObject.php:3275 +#: includes/class/class.LSldapObject.php:3293 msgid "LSldapObject : Error during generating container DN : %{error}" msgstr "LSldapObject : Erreur durant la génération du DN parent : %{error}." -#: includes/class/class.LSldapObject.php:3278 +#: includes/class/class.LSldapObject.php:3296 msgid "" "LSldapObject : An LDAP object with the same DN as generated for this new one " "already exists. Please verify your configuration." @@ -2079,7 +2088,7 @@ msgstr "" "LSldapObject : Un objet LDAP avec le même DN que celui généré pour ce nouvel " "objet existe déjà. Merci de vérifier votre configuration." -#: includes/class/class.LSldapObject.php:3283 +#: includes/class/class.LSldapObject.php:3301 msgid "" "LSrelation : Some parameters are missing in the call of methods to handle " "standard relations (Method : %{meth})." @@ -2087,7 +2096,7 @@ msgstr "" "LSrelation : Des paramètres sont manquants dans l'appel des méthodes de " "manipulation des relations standards (méthode : %{meth})." -#: includes/class/class.LSformElement_gpg_pub_key.php:103 +#: includes/class/class.LSformElement_gpg_pub_key.php:113 msgid "" "LSformElement_gpg_pub_key: PHP GnuPG extension is missing, can't parse value." msgstr "" @@ -3296,7 +3305,7 @@ msgstr "Erreur inconnue" msgid "Unknown error : %{error}" msgstr "Erreur inconnue : %{error}" -#: includes/class/class.LSformRule_gpg_pub_key.php:55 +#: includes/class/class.LSformRule_gpg_pub_key.php:61 msgid "" "LSformRule_gpg_pub_key: PHP GnuPG extension is missing, can't validate value." msgstr "" diff --git a/src/lang/ldapsaisie.pot b/src/lang/ldapsaisie.pot index 1da8c40b..2d4be0aa 100644 --- a/src/lang/ldapsaisie.pot +++ b/src/lang/ldapsaisie.pot @@ -688,7 +688,7 @@ msgstr "" #: includes/class/class.LSformRule.php:89 #: includes/class/class.LSformRule.php:292 -#: includes/class/class.LSformElement_gpg_pub_key.php:90 +#: includes/class/class.LSformElement_gpg_pub_key.php:101 #: includes/class/class.LSattr_html_date.php:47 #: includes/class/class.LSattr_html_select_list.php:63 #: templates/default/LSformElement_gpg_pub_key_field.tpl:9 @@ -921,7 +921,7 @@ msgid "" msgstr "" #: includes/class/class.LSformElement_ssh_key.php:83 -#: includes/class/class.LSformElement_gpg_pub_key.php:80 +#: includes/class/class.LSformElement_gpg_pub_key.php:91 msgid "Display the full key." msgstr "" @@ -1310,51 +1310,58 @@ msgid "" "LSattr_ldap :: password. It's not the case of the attribure %{attr}." msgstr "" -#: includes/class/class.LSattribute.php:823 -msgid "" -"LSattribute : Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} " -"& HTML = %{html})." -msgstr "" - -#: includes/class/class.LSattribute.php:826 -msgid "" -"LSattribute : The function %{func} to display the attribute %{attr} is " -"unknow." -msgstr "" - -#: includes/class/class.LSattribute.php:829 -msgid "" -"LSattribute : The rule %{rule} to validate the attribute %{attr} is unknow." -msgstr "" - -#: includes/class/class.LSattribute.php:832 -msgid "" -"LSattribute : Configuration data to verify the attribute %{attr} are " -"incorrect." -msgstr "" - -#: includes/class/class.LSattribute.php:835 -msgid "" -"LSattribute : The function %{func} to save the attribute %{attr} is unknow." -msgstr "" - -#: includes/class/class.LSattribute.php:838 -msgid "LSattribute : The value of the attribute %{attr} can't be generated." -msgstr "" - #: includes/class/class.LSattribute.php:841 -msgid "LSattribute : Generation of the attribute %{attr} failed." +msgid "" +"LSattribute: Attribute %{attr} : LDAP or HTML types unknow (LDAP = %{ldap} & " +"HTML = %{html})." msgstr "" #: includes/class/class.LSattribute.php:844 msgid "" -"LSattribute : Generation of the attribute %{attr} did not return a correct " -"value." +"LSattribute: The function %{func} to display the attribute %{attr} is unknow." msgstr "" #: includes/class/class.LSattribute.php:847 msgid "" -"LSattribute : The attr_%{type} of the attribute %{name} is not yet defined." +"LSattribute: The rule %{rule} to validate the attribute %{attr} is unknow." +msgstr "" + +#: includes/class/class.LSattribute.php:850 +msgid "" +"LSattribute: Configuration data to verify the attribute %{attr} are " +"incorrect." +msgstr "" + +#: includes/class/class.LSattribute.php:853 +msgid "" +"LSattribute: The function %{func} to save the attribute %{attr} is unknow." +msgstr "" + +#: includes/class/class.LSattribute.php:856 +msgid "LSattribute: The value of the attribute %{attr} can't be generated." +msgstr "" + +#: includes/class/class.LSattribute.php:859 +msgid "LSattribute: Generation of the attribute %{attr} failed." +msgstr "" + +#: includes/class/class.LSattribute.php:862 +msgid "" +"LSattribute: Generation of the attribute %{attr} did not return a correct " +"value." +msgstr "" + +#: includes/class/class.LSattribute.php:865 +msgid "" +"LSattribute: The attr_%{type} of the attribute %{name} is not yet defined." +msgstr "" + +#: includes/class/class.LSattribute.php:868 +msgid "LSattribute: The default value of the attribute %{attr} is invalid." +msgstr "" + +#: includes/class/class.LSattribute.php:871 +msgid "LSattribute: Fail to set attribute %{attr} value as default." msgstr "" #: includes/class/class.LSformRule_callable.php:71 @@ -1550,205 +1557,205 @@ msgstr "" msgid "Invalid file type (%{type})." msgstr "" -#: includes/class/class.LSldapObject.php:585 +#: includes/class/class.LSldapObject.php:603 msgid "The attribute %{attr} is not valid." msgstr "" -#: includes/class/class.LSldapObject.php:3165 +#: includes/class/class.LSldapObject.php:3183 msgid "LSldapObject : Object type unknown." msgstr "" -#: includes/class/class.LSldapObject.php:3168 +#: includes/class/class.LSldapObject.php:3186 msgid "LSldapObject : Update form is not defined for the object %{obj}." msgstr "" -#: includes/class/class.LSldapObject.php:3171 +#: includes/class/class.LSldapObject.php:3189 msgid "LSldapObject : No form exists for the object %{obj}." msgstr "" -#: includes/class/class.LSldapObject.php:3174 +#: includes/class/class.LSldapObject.php:3192 msgid "" "LSldapObject : The function %{func} to validate the attribute %{attr} the " "object %{obj} is unknow." msgstr "" -#: includes/class/class.LSldapObject.php:3177 +#: includes/class/class.LSldapObject.php:3195 msgid "" "LSldapObject : Configuration data are missing to validate the attribute " "%{attr} of the object %{obj}." msgstr "" -#: includes/class/class.LSldapObject.php:3181 +#: includes/class/class.LSldapObject.php:3199 msgid "" "LSldapObject : The function %{func} to be executed on the object event " "%{event} doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3184 +#: includes/class/class.LSldapObject.php:3202 msgid "" "LSldapObject : The %{func} execution on the object event %{event} failed." msgstr "" -#: includes/class/class.LSldapObject.php:3188 +#: includes/class/class.LSldapObject.php:3206 msgid "" "LSldapObject : Class %{class}, which method %{meth} to be executed on the " "object event %{event}, doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3191 +#: includes/class/class.LSldapObject.php:3209 msgid "" "LSldapObject : Method %{meth} within %{class} class to be executed on object " "event %{event}, doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3194 +#: includes/class/class.LSldapObject.php:3212 msgid "" "LSldapObject : Error during execute %{meth} method within %{class} class, to " "be executed on object event %{event}." msgstr "" -#: includes/class/class.LSldapObject.php:3198 +#: includes/class/class.LSldapObject.php:3216 msgid "" "LSldapObject : Some configuration data of the object type %{obj} are missing " "to generate the DN of the new object." msgstr "" -#: includes/class/class.LSldapObject.php:3201 +#: includes/class/class.LSldapObject.php:3219 msgid "" "LSldapObject : The attibute %{attr} of the object is not yet defined. Can't " "generate DN." msgstr "" -#: includes/class/class.LSldapObject.php:3204 +#: includes/class/class.LSldapObject.php:3222 msgid "LSldapObject : Without DN, the object could not be changed." msgstr "" -#: includes/class/class.LSldapObject.php:3207 +#: includes/class/class.LSldapObject.php:3225 msgid "" "LSldapObject : The attribute %{attr_depend} depending on the attribute " "%{attr} doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3210 +#: includes/class/class.LSldapObject.php:3228 msgid "LSldapObject : Error during deleting the object %{objectname}." msgstr "" -#: includes/class/class.LSldapObject.php:3214 +#: includes/class/class.LSldapObject.php:3232 msgid "" "LSldapObject : Error during actions to be executed before renaming the objet." msgstr "" -#: includes/class/class.LSldapObject.php:3217 +#: includes/class/class.LSldapObject.php:3235 msgid "" "LSldapObject : Error during actions to be executed after renaming the objet." msgstr "" -#: includes/class/class.LSldapObject.php:3221 +#: includes/class/class.LSldapObject.php:3239 msgid "" "LSldapObject : Error during actions to be executed before deleting the objet." msgstr "" -#: includes/class/class.LSldapObject.php:3224 +#: includes/class/class.LSldapObject.php:3242 msgid "" "LSldapObject : Error during actions to be executed after deleting the objet." msgstr "" -#: includes/class/class.LSldapObject.php:3228 +#: includes/class/class.LSldapObject.php:3246 msgid "" "LSldapObject : Error during the actions to be executed before creating the " "object." msgstr "" -#: includes/class/class.LSldapObject.php:3231 +#: includes/class/class.LSldapObject.php:3249 msgid "" "LSldapObject : Error during the actions to be executed after creating the " "object. It was created anyway." msgstr "" -#: includes/class/class.LSldapObject.php:3235 +#: includes/class/class.LSldapObject.php:3253 msgid "" "LSldapObject : The function %{func} to be executed before creating the " "object doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3238 +#: includes/class/class.LSldapObject.php:3256 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "deleting the object." msgstr "" -#: includes/class/class.LSldapObject.php:3241 +#: includes/class/class.LSldapObject.php:3259 msgid "" "LSldapObject : The function %{func} to be executed after deleting the object " "doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3244 +#: includes/class/class.LSldapObject.php:3262 msgid "" "LSldapObject : Error executing the function %{func} to be execute after " "creating the object." msgstr "" -#: includes/class/class.LSldapObject.php:3248 +#: includes/class/class.LSldapObject.php:3266 msgid "" "LSldapObject : %{func} function, to be executed on object event %{event}, " "doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3251 +#: includes/class/class.LSldapObject.php:3269 msgid "" "LSldapObject : Error during the execution of %{func} function on object " "event %{event}." msgstr "" -#: includes/class/class.LSldapObject.php:3255 +#: includes/class/class.LSldapObject.php:3273 msgid "" "LSldapObject : %{meth} method, to be executed on object event %{event}, " "doesn't exist." msgstr "" -#: includes/class/class.LSldapObject.php:3258 +#: includes/class/class.LSldapObject.php:3276 msgid "" "LSldapObject : Error during execution of %{meth} method on object event " "%{event}." msgstr "" -#: includes/class/class.LSldapObject.php:3261 +#: includes/class/class.LSldapObject.php:3279 msgid "LSldapObject : Error during generate LDAP filter for %{LSobject}." msgstr "" -#: includes/class/class.LSldapObject.php:3265 +#: includes/class/class.LSldapObject.php:3283 msgid "" "LSldapObject : Error during execution of the custom action %{customAction} " "on %{objectname}." msgstr "" -#: includes/class/class.LSldapObject.php:3269 +#: includes/class/class.LSldapObject.php:3287 msgid "LSldapObject : Fail to retrieve container DN." msgstr "" -#: includes/class/class.LSldapObject.php:3272 +#: includes/class/class.LSldapObject.php:3290 msgid "" "LSldapObject : The function %{func} to generate container DN is not callable." msgstr "" -#: includes/class/class.LSldapObject.php:3275 +#: includes/class/class.LSldapObject.php:3293 msgid "LSldapObject : Error during generating container DN : %{error}" msgstr "" -#: includes/class/class.LSldapObject.php:3278 +#: includes/class/class.LSldapObject.php:3296 msgid "" "LSldapObject : An LDAP object with the same DN as generated for this new one " "already exists. Please verify your configuration." msgstr "" -#: includes/class/class.LSldapObject.php:3283 +#: includes/class/class.LSldapObject.php:3301 msgid "" "LSrelation : Some parameters are missing in the call of methods to handle " "standard relations (Method : %{meth})." msgstr "" -#: includes/class/class.LSformElement_gpg_pub_key.php:103 +#: includes/class/class.LSformElement_gpg_pub_key.php:113 msgid "" "LSformElement_gpg_pub_key: PHP GnuPG extension is missing, can't parse value." msgstr "" @@ -2801,7 +2808,7 @@ msgstr "" msgid "Unknown error : %{error}" msgstr "" -#: includes/class/class.LSformRule_gpg_pub_key.php:55 +#: includes/class/class.LSformRule_gpg_pub_key.php:61 msgid "" "LSformRule_gpg_pub_key: PHP GnuPG extension is missing, can't validate value." msgstr ""