Merge branch 'master' of gitlab.easter-eggs.com:ee/ldapsaisie

This commit is contained in:
Benjamin Renard 2018-04-12 18:53:40 +02:00
commit 3f1b5c59a3
7 changed files with 169 additions and 58 deletions

View file

@ -15,8 +15,8 @@
'nb' => [nb caractères], 'nb' => [nb caractères],
'chars' => '[liste de caractères possibles]' 'chars' => '[liste de caractères possibles]'
), ),
'[autre liste de caractères possible]', // Liste caractère avec un nombre '[autre liste de caractères possibles]', // Liste caractère avec un nombre
// d'apparitions égal à 1 // d'apparitions égal à 1
... ...
), ),
'use_pwgen' => [booléen], // Utiliser pwgen pour la génération du mot de passe 'use_pwgen' => [booléen], // Utiliser pwgen pour la génération du mot de passe
@ -28,6 +28,7 @@
'subject' => "[LSformat du sujet du mail]", 'subject' => "[LSformat du sujet du mail]",
'msg' => "[LSformat du message du mail]", 'msg' => "[LSformat du message du mail]",
'mail_attr' => 'mail', // Attribut mail de l'objet 'mail_attr' => 'mail', // Attribut mail de l'objet
'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 'send' => 1, // Activation par défaut de l'envoi du mot de passe
'ask' => 1, // Laisser le choix à l'utilisateur '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
@ -211,6 +212,19 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>get_mail_attr_function</term>
<listitem>
<simpara>Nom de la fonction (ou <literal>callable</literal> au sens PHP)
qui sera utilisé pour récupérer le nom de l'attribut listant les mails
possibles de l'utilisateur. Cette fonction prendra en paramètre, l'objet
<literal>LSformElement</literal> courant et devra retourner une valeur
équivalente au paramètre de configuration <literal>mail_attr</literal>.
Si ce paramètre est défini, il prévalera toujours sur le paramètre
<literal>mail_attr</literal>.</simpara>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>bcc</term> <term>bcc</term>
<listitem> <listitem>

View file

@ -11,9 +11,12 @@
'[facteur2]' => '[label unit2]', '[facteur2]' => '[label unit2]',
[...] [...]
), ),
'translate_labels' => [booléen],
'nb_decimals' => [number of decimals], 'nb_decimals' => [number of decimals],
'dec_point' => '[decimals point]', 'dec_point' => '[decimals point]',
'thousands_sep' => '[thousands separator]' 'thousands_sep' => '[thousands separator]',
'store_integer' => [booléen],
'round_down' => [booléen],
) )
),]]> ),]]>
... ...
@ -29,6 +32,13 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>translate_labels</term>
<listitem>
<simpara>Booléen permettant d'activer/désactiver la traduction des labels (Par defaut : <literal>Vrai</literal>).</simpara>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>nb_decimals</term> <term>nb_decimals</term>
<listitem> <listitem>
@ -50,6 +60,22 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>store_integer</term>
<listitem>
<simpara>Booléen permettant d'activer/désactiver le stockage de valeurs entières (Par defaut :
<literal>Vrai</literal>).</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>round_down</term>
<listitem>
<simpara>Booléen permettant d'arrondir à l'entier inférieur (et non à l'entier supérieur
par défaut) en cas de stockage de valeurs entières.</simpara>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</sect4> </sect4>

View file

@ -154,6 +154,7 @@ class LSformElement_password extends LSformElement {
); );
if (isset($this -> params['html_options']['mail'])) { if (isset($this -> params['html_options']['mail'])) {
$params['mail'] = $this -> params['html_options']['mail']; $params['mail'] = $this -> params['html_options']['mail'];
$params['mail']['mail_attr'] = $this -> getMailAttrs();
} }
LSsession :: addJSconfigParam($this -> name,$params); LSsession :: addJSconfigParam($this -> name,$params);
@ -208,13 +209,35 @@ class LSformElement_password extends LSformElement {
return $find; return $find;
} }
} }
function getMailAttrs() {
if (!isset($this -> params['html_options']['mail']) || !is_array($this -> params['html_options']['mail']))
return False;
if (isset($this -> params['html_options']['mail']['get_mail_attr_function'])) {
if (is_callable($this -> params['html_options']['mail']['get_mail_attr_function'])) {
try {
return call_user_func_array($this -> params['html_options']['mail']['get_mail_attr_function'], array(&$this));
}
catch(Exception $e) {
LSerror :: addErrorCode('LSformElement_password_05', $e->getMessage());
}
}
else {
LSerror :: addErrorCode('LSformElement_password_04');
return False;
}
}
elseif (isset($this -> params['html_options']['mail']['mail_attr'])) {
return $this -> params['html_options']['mail']['mail_attr'];
}
}
function send($params) { function send($params) {
if (is_array($this -> sendMail)) { if (is_array($this -> sendMail)) {
$mail = (String)$this -> sendMail['mail']; $mail = (String)$this -> sendMail['mail'];
Lsdebug($mail); Lsdebug($mail);
if ($mail=="") { if ($mail=="") {
$mail_attrs = $this -> params['html_options']['mail']['mail_attr']; $mail_attrs = $this -> getMailAttrs();
if (!is_array($mail_attrs)) { if (!is_array($mail_attrs)) {
$mail_attrs=array($mail_attrs); $mail_attrs=array($mail_attrs);
} }
@ -346,3 +369,9 @@ _("LSformElement_password : Contact mail invalid (%{mail}). Can't send password.
LSerror :: defineError('LSformElement_password_03', LSerror :: defineError('LSformElement_password_03',
_("LSformElement_password : Fail to exec pwgen. Check it's correctly installed.") _("LSformElement_password : Fail to exec pwgen. Check it's correctly installed.")
); );
LSerror :: defineError('LSformElement_password_04',
_("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.")
);
LSerror :: defineError('LSformElement_password_05',
_("LSformElement_password : Fail to determine witch e-mail attribute to use to send new password : get_mail_attr_function throwed an exception : %{msg}")
);

View file

@ -44,7 +44,7 @@ class LSformElement_valueWithUnit extends LSformElement {
if (isset($this -> params['html_options']['units']) && is_array($this -> params['html_options']['units'])) { if (isset($this -> params['html_options']['units']) && is_array($this -> params['html_options']['units'])) {
$units=array(); $units=array();
foreach($this -> params['html_options']['units'] as $sill => $label) { foreach($this -> params['html_options']['units'] as $sill => $label) {
$units[$sill]=__($label); $units[$sill]=((!isset($this -> params['html_options']['translate_labels']) || $this -> params['html_options']['translate_labels'])?__($label):$label);
} }
krsort($units); krsort($units);
return $units; return $units;
@ -162,8 +162,18 @@ class LSformElement_valueWithUnit extends LSformElement {
$f = 1; $f = 1;
if (isset($_POST[$this -> name.'_unitFact'][$key]) && ($_POST[$this -> name.'_unitFact'][$key]!=1)) { if (isset($_POST[$this -> name.'_unitFact'][$key]) && ($_POST[$this -> name.'_unitFact'][$key]!=1)) {
$f = $_POST[$this -> name.'_unitFact'][$key]; $f = $_POST[$this -> name.'_unitFact'][$key];
} }
$return[$this -> name][$key] = ($val*$f); if (isset($this -> params['html_options']['store_integer']) && $this -> params['html_options']['store_integer']) {
if (isset($this -> params['html_options']['round_down']) && $this -> params['html_options']['round_down']) {
$return[$this -> name][$key] = floor($val*$f);
}
else {
$return[$this -> name][$key] = ceil($val*$f);
}
}
else {
$return[$this -> name][$key] = ($val*$f);
}
} }
} }
} }

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: LdapSaisie\n" "Project-Id-Version: LdapSaisie\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-12 14:50+0200\n" "POT-Creation-Date: 2018-02-08 18:12+0100\n"
"PO-Revision-Date: 2017-10-12 14:50+0100\n" "PO-Revision-Date: 2018-02-08 18:13+0100\n"
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n" "Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise." "Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
"org>\n" "org>\n"
@ -18,7 +18,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Poedit-SourceCharset: utf-8\n" "X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-Basepath: /var/www/ldapsaisie/trunk\n" "X-Poedit-Basepath: /var/www/ldapsaisie/trunk\n"
"X-Generator: Poedit 1.6.10\n" "X-Generator: Poedit 1.8.11\n"
#: view.php:44 modify.php:54 #: view.php:44 modify.php:54
#: includes/class/class.LSformElement_supannCompositeAttribute.php:106 #: includes/class/class.LSformElement_supannCompositeAttribute.php:106
@ -1218,30 +1218,49 @@ msgstr ""
msgid "Modify the mail sent to notice the user" msgid "Modify the mail sent to notice the user"
msgstr "Modifier mail de notification de l'utilisateur" msgstr "Modifier mail de notification de l'utilisateur"
#: includes/class/class.LSformElement_password.php:261 #: includes/class/class.LSformElement_password.php:284
msgid "Notice mail sent." msgid "Notice mail sent."
msgstr "Le mail de notification a été envoyé." msgstr "Le mail de notification a été envoyé."
#: includes/class/class.LSformElement_password.php:341 #: includes/class/class.LSformElement_password.php:364
msgid "LSformElement_password : No contact mail available to send password." msgid "LSformElement_password : No contact mail available to send password."
msgstr "" msgstr ""
"LSformElement_password : Aucun mail de contact disponible pour envoyer le " "LSformElement_password : Aucun mail de contact disponible pour envoyer le "
"mot de passe." "mot de passe."
#: includes/class/class.LSformElement_password.php:344 #: includes/class/class.LSformElement_password.php:367
msgid "" msgid ""
"LSformElement_password : Contact mail invalid (%{mail}). Can't send password." "LSformElement_password : Contact mail invalid (%{mail}). Can't send password."
msgstr "" msgstr ""
"LSformElement_password : Mail de contact invalide (%{mail}). Impossible " "LSformElement_password : Mail de contact invalide (%{mail}). Impossible "
"d'envoyer le mot de passe." "d'envoyer le mot de passe."
#: includes/class/class.LSformElement_password.php:347 #: includes/class/class.LSformElement_password.php:370
msgid "" msgid ""
"LSformElement_password : Fail to exec pwgen. Check it's correctly installed." "LSformElement_password : Fail to exec pwgen. Check it's correctly installed."
msgstr "" msgstr ""
"LSformElement_password : Impossible d'exécuter pwgen. Vérifier qu'il est " "LSformElement_password : Impossible d'exécuter pwgen. Vérifier qu'il est "
"bien installé." "bien installé."
#: includes/class/class.LSformElement_password.php:373
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 ""
"LSformElement_password : Impossible de déterminer quel attribut e-mail doit "
"ê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."
#: includes/class/class.LSformElement_password.php:376
msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function throwed an exception : %{msg}"
msgstr ""
"LSformElement_password : Impossible de déterminer quel attribut e-mail doit "
"être utilisé pour l'envoi du mot de passe : le fonction "
"get_mail_attr_function a déclenchée une exception : %{msg}."
#: includes/class/class.LSformElement_url.php:51 #: includes/class/class.LSformElement_url.php:51
msgid "Display this website." msgid "Display this website."
msgstr "Afficher le site internet." msgstr "Afficher le site internet."
@ -1484,38 +1503,38 @@ msgstr "Étape"
msgid "Pedagogical element" msgid "Pedagogical element"
msgstr "Élement pédagogique" msgstr "Élement pédagogique"
#: includes/class/class.LSsearch.php:1037 #: includes/class/class.LSsearch.php:1043
msgid "Actions" msgid "Actions"
msgstr "Actions" msgstr "Actions"
#: includes/class/class.LSsearch.php:1040 #: includes/class/class.LSsearch.php:1046
msgid "This search didn't get any result." msgid "This search didn't get any result."
msgstr "Cette recherche n'a retournée aucun résultat" msgstr "Cette recherche n'a retournée aucun résultat"
#: includes/class/class.LSsearch.php:1292 #: includes/class/class.LSsearch.php:1298
msgid "LSsearch : Invalid filter : %{filter}." msgid "LSsearch : Invalid filter : %{filter}."
msgstr "LSsearch : Filtre invalide : %{filter}." msgstr "LSsearch : Filtre invalide : %{filter}."
#: includes/class/class.LSsearch.php:1295 #: includes/class/class.LSsearch.php:1301
msgid "LSsearch : Invalid basedn : %{basedn}." msgid "LSsearch : Invalid basedn : %{basedn}."
msgstr "LSsearch : Base DN invalide." msgstr "LSsearch : Base DN invalide."
#: includes/class/class.LSsearch.php:1298 #: includes/class/class.LSsearch.php:1304
msgid "LSsearch : Invalid value for %{param} parameter." msgid "LSsearch : Invalid value for %{param} parameter."
msgstr "LSsearch : La valeur du paramètre %{param} est incorrecte." msgstr "LSsearch : La valeur du paramètre %{param} est incorrecte."
#: includes/class/class.LSsearch.php:1301 #: includes/class/class.LSsearch.php:1307
msgid "" msgid ""
"LSsearch : Invalid size limit. Must be an integer greater or equal to 0." "LSsearch : Invalid size limit. Must be an integer greater or equal to 0."
msgstr "" msgstr ""
"LSsearch : Limite de taille de recherche invalide. Elle doit être un entier " "LSsearch : Limite de taille de recherche invalide. Elle doit être un entier "
"supérieur ou égal à 0." "supérieur ou égal à 0."
#: includes/class/class.LSsearch.php:1304 #: includes/class/class.LSsearch.php:1310
msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean." msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean."
msgstr "LSsearch : Paramètre %{param} invalide. Il doit être un booléen." msgstr "LSsearch : Paramètre %{param} invalide. Il doit être un booléen."
#: includes/class/class.LSsearch.php:1307 #: includes/class/class.LSsearch.php:1313
msgid "" msgid ""
"LSsearch : Invalid parameter attributes. Must be an string or an array of " "LSsearch : Invalid parameter attributes. Must be an string or an array of "
"strings." "strings."
@ -1523,13 +1542,13 @@ msgstr ""
"LSsearch : Paramètre 'attributes' invalide. Il doit être une chaîne de " "LSsearch : Paramètre 'attributes' invalide. Il doit être une chaîne de "
"caractères ou un tableau de chaînes de caractères." "caractères ou un tableau de chaînes de caractères."
#: includes/class/class.LSsearch.php:1310 #: includes/class/class.LSsearch.php:1316
msgid "LSsearch : Can't build attributes list for make filter." msgid "LSsearch : Can't build attributes list for make filter."
msgstr "" msgstr ""
"LSsearch : Impossible de construire la liste des attributs pour faire le " "LSsearch : Impossible de construire la liste des attributs pour faire le "
"filtre." "filtre."
#: includes/class/class.LSsearch.php:1313 #: includes/class/class.LSsearch.php:1319
msgid "" msgid ""
"LSsearch : Error building filter with attribute '%{attr}' and pattern " "LSsearch : Error building filter with attribute '%{attr}' and pattern "
"'%{pattern}'" "'%{pattern}'"
@ -1537,34 +1556,34 @@ msgstr ""
"LSsearch : Problème en construisant le filtre avec l'attribut '%{attr}' et " "LSsearch : Problème en construisant le filtre avec l'attribut '%{attr}' et "
"le mot clé '%{pattern}'" "le mot clé '%{pattern}'"
#: includes/class/class.LSsearch.php:1316 #: includes/class/class.LSsearch.php:1322
msgid "LSsearch : Error combining filters." msgid "LSsearch : Error combining filters."
msgstr "LSsearch : Problème en combinant les filtres." msgstr "LSsearch : Problème en combinant les filtres."
#: includes/class/class.LSsearch.php:1319 #: includes/class/class.LSsearch.php:1325
msgid "LSsearch : Invalid pattern." msgid "LSsearch : Invalid pattern."
msgstr "LSsearch : Mot clé invalide." msgstr "LSsearch : Mot clé invalide."
#: includes/class/class.LSsearch.php:1322 #: includes/class/class.LSsearch.php:1328
msgid "LSsearch : Invalid attribute %{attr} in parameters." msgid "LSsearch : Invalid attribute %{attr} in parameters."
msgstr "LSsearch : Attribut %{attr} incorrect dans les paramètres." msgstr "LSsearch : Attribut %{attr} incorrect dans les paramètres."
#: includes/class/class.LSsearch.php:1325 #: includes/class/class.LSsearch.php:1331
msgid "LSsearch : Error during the search." msgid "LSsearch : Error during the search."
msgstr "LSsearch : Erreur pendant la recherche." msgstr "LSsearch : Erreur pendant la recherche."
#: includes/class/class.LSsearch.php:1328 #: includes/class/class.LSsearch.php:1334
msgid "LSsearch : Error sorting the search." msgid "LSsearch : Error sorting the search."
msgstr "LSsearch : Erreur pendant le trie de la recherche." msgstr "LSsearch : Erreur pendant le trie de la recherche."
#: includes/class/class.LSsearch.php:1331 #: includes/class/class.LSsearch.php:1337
msgid "" msgid ""
"LSsearch : The function of the custum information %{name} is not callable." "LSsearch : The function of the custum information %{name} is not callable."
msgstr "" msgstr ""
"LSsearch : La fonction de l'information personnalisée %{name} n'est pas " "LSsearch : La fonction de l'information personnalisée %{name} n'est pas "
"exécutable." "exécutable."
#: includes/class/class.LSsearch.php:1334 #: includes/class/class.LSsearch.php:1340
msgid "" msgid ""
"LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} " "LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} "
"(filter : %{filter})." "(filter : %{filter})."
@ -1572,7 +1591,7 @@ msgstr ""
"LSsearch : PredefinedFilter invalide pour le type d'LSobject %{type} : " "LSsearch : PredefinedFilter invalide pour le type d'LSobject %{type} : "
"%{label} (filtre : %{filter})." "%{label} (filtre : %{filter})."
#: includes/class/class.LSsearch.php:1337 #: includes/class/class.LSsearch.php:1343
msgid "LSsearch : Error during execution of the custom action %{customAction}." msgid "LSsearch : Error during execution of the custom action %{customAction}."
msgstr "" msgstr ""
"LSldapObject : Erreur durant l'exécution de l'action personnalisée " "LSldapObject : Erreur durant l'exécution de l'action personnalisée "
@ -1650,7 +1669,7 @@ msgstr "Erreur inconnu : %{error}"
msgid "PHP error : %{error}" msgid "PHP error : %{error}"
msgstr "Erreur PHP : %{error}" msgstr "Erreur PHP : %{error}"
#: includes/class/class.LSsearchEntry.php:250 #: includes/class/class.LSsearchEntry.php:257
msgid "" msgid ""
"LSsearchEntry : Invalid formaterFunction %{func} for extraDisplayedColumns " "LSsearchEntry : Invalid formaterFunction %{func} for extraDisplayedColumns "
"%{column}." "%{column}."

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-12 14:50+0200\n" "POT-Creation-Date: 2018-02-08 18:12+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -1040,24 +1040,37 @@ msgstr ""
msgid "Modify the mail sent to notice the user" msgid "Modify the mail sent to notice the user"
msgstr "" msgstr ""
#: includes/class/class.LSformElement_password.php:261 #: includes/class/class.LSformElement_password.php:284
msgid "Notice mail sent." msgid "Notice mail sent."
msgstr "" msgstr ""
#: includes/class/class.LSformElement_password.php:341 #: includes/class/class.LSformElement_password.php:364
msgid "LSformElement_password : No contact mail available to send password." msgid "LSformElement_password : No contact mail available to send password."
msgstr "" msgstr ""
#: includes/class/class.LSformElement_password.php:344 #: includes/class/class.LSformElement_password.php:367
msgid "" msgid ""
"LSformElement_password : Contact mail invalid (%{mail}). Can't send password." "LSformElement_password : Contact mail invalid (%{mail}). Can't send password."
msgstr "" msgstr ""
#: includes/class/class.LSformElement_password.php:347 #: includes/class/class.LSformElement_password.php:370
msgid "" msgid ""
"LSformElement_password : Fail to exec pwgen. Check it's correctly installed." "LSformElement_password : Fail to exec pwgen. Check it's correctly installed."
msgstr "" msgstr ""
#: includes/class/class.LSformElement_password.php:373
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 ""
#: includes/class/class.LSformElement_password.php:376
msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function throwed an exception : %{msg}"
msgstr ""
#: includes/class/class.LSformElement_url.php:51 #: includes/class/class.LSformElement_url.php:51
msgid "Display this website." msgid "Display this website."
msgstr "" msgstr ""
@ -1280,83 +1293,83 @@ msgstr ""
msgid "Pedagogical element" msgid "Pedagogical element"
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1037 #: includes/class/class.LSsearch.php:1043
msgid "Actions" msgid "Actions"
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1040 #: includes/class/class.LSsearch.php:1046
msgid "This search didn't get any result." msgid "This search didn't get any result."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1292 #: includes/class/class.LSsearch.php:1298
msgid "LSsearch : Invalid filter : %{filter}." msgid "LSsearch : Invalid filter : %{filter}."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1295 #: includes/class/class.LSsearch.php:1301
msgid "LSsearch : Invalid basedn : %{basedn}." msgid "LSsearch : Invalid basedn : %{basedn}."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1298 #: includes/class/class.LSsearch.php:1304
msgid "LSsearch : Invalid value for %{param} parameter." msgid "LSsearch : Invalid value for %{param} parameter."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1301 #: includes/class/class.LSsearch.php:1307
msgid "" msgid ""
"LSsearch : Invalid size limit. Must be an integer greater or equal to 0." "LSsearch : Invalid size limit. Must be an integer greater or equal to 0."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1304 #: includes/class/class.LSsearch.php:1310
msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean." msgid "LSsearch : Invalid parameter %{attr}. Must be an boolean."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1307 #: includes/class/class.LSsearch.php:1313
msgid "" msgid ""
"LSsearch : Invalid parameter attributes. Must be an string or an array of " "LSsearch : Invalid parameter attributes. Must be an string or an array of "
"strings." "strings."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1310 #: includes/class/class.LSsearch.php:1316
msgid "LSsearch : Can't build attributes list for make filter." msgid "LSsearch : Can't build attributes list for make filter."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1313 #: includes/class/class.LSsearch.php:1319
msgid "" msgid ""
"LSsearch : Error building filter with attribute '%{attr}' and pattern " "LSsearch : Error building filter with attribute '%{attr}' and pattern "
"'%{pattern}'" "'%{pattern}'"
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1316 #: includes/class/class.LSsearch.php:1322
msgid "LSsearch : Error combining filters." msgid "LSsearch : Error combining filters."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1319 #: includes/class/class.LSsearch.php:1325
msgid "LSsearch : Invalid pattern." msgid "LSsearch : Invalid pattern."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1322 #: includes/class/class.LSsearch.php:1328
msgid "LSsearch : Invalid attribute %{attr} in parameters." msgid "LSsearch : Invalid attribute %{attr} in parameters."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1325 #: includes/class/class.LSsearch.php:1331
msgid "LSsearch : Error during the search." msgid "LSsearch : Error during the search."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1328 #: includes/class/class.LSsearch.php:1334
msgid "LSsearch : Error sorting the search." msgid "LSsearch : Error sorting the search."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1331 #: includes/class/class.LSsearch.php:1337
msgid "" msgid ""
"LSsearch : The function of the custum information %{name} is not callable." "LSsearch : The function of the custum information %{name} is not callable."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1334 #: includes/class/class.LSsearch.php:1340
msgid "" msgid ""
"LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} " "LSsearch : Invalid predefinedFilter for LSobject type %{type} : %{label} "
"(filter : %{filter})." "(filter : %{filter})."
msgstr "" msgstr ""
#: includes/class/class.LSsearch.php:1337 #: includes/class/class.LSsearch.php:1343
msgid "LSsearch : Error during execution of the custom action %{customAction}." msgid "LSsearch : Error during execution of the custom action %{customAction}."
msgstr "" msgstr ""
@ -1428,7 +1441,7 @@ msgstr ""
msgid "PHP error : %{error}" msgid "PHP error : %{error}"
msgstr "" msgstr ""
#: includes/class/class.LSsearchEntry.php:250 #: includes/class/class.LSsearchEntry.php:257
msgid "" msgid ""
"LSsearchEntry : Invalid formaterFunction %{func} for extraDisplayedColumns " "LSsearchEntry : Invalid formaterFunction %{func} for extraDisplayedColumns "
"%{column}." "%{column}."