From 089693ea0e4296b6089a72ffc7dd9f41f4692496 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 16 Dec 2020 17:42:55 +0100 Subject: [PATCH] Fix/improve LSsession_13 errors (unconfigured/unknown custom action function) --- src/includes/class/class.LSsession.php | 2 +- src/includes/routes.php | 20 ++++-- src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo | Bin 64341 -> 64386 bytes src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po | 66 +++++++++--------- src/lang/ldapsaisie.pot | 60 ++++++++-------- 5 files changed, 82 insertions(+), 66 deletions(-) diff --git a/src/includes/class/class.LSsession.php b/src/includes/class/class.LSsession.php index d0145d7a..519bd442 100644 --- a/src/includes/class/class.LSsession.php +++ b/src/includes/class/class.LSsession.php @@ -2836,7 +2836,7 @@ class LSsession { ___("LSsession : Some informations are missing to display this page.") ); LSerror :: defineError('LSsession_13', - ___("LSsession : The function of the custom action '%{name}' does not exists or is not configured.") + ___("LSsession : The function '%{function}' of the custom action '%{customAction}' does not exists or is not configured.") ); LSerror :: defineError('LSsession_14', ___("LSsession : Fail to retreive user's LDAP credentials from LSauth.") diff --git a/src/includes/routes.php b/src/includes/routes.php index a662efa2..269c42ed 100644 --- a/src/includes/routes.php +++ b/src/includes/routes.php @@ -556,16 +556,22 @@ function handle_LSobject_search_customAction($request) { } $config = LSconfig :: get("LSobjects.$LSobject.LSsearch.customActions.$customAction"); + $title = isset($config['label'])?__($config['label']):$customAction; // Check search customAction function if (!isset($config['function']) || !is_callable($config['function'])) { - LSerror :: addErrorCode('LSsession_13'); + LSerror :: addErrorCode( + 'LSsession_13', + array( + 'customAction' => $title, + 'function' => (isset($config['function'])?getCallableName($config['function']):_('undefined')) + ) + ); LSsession :: displayTemplate(); return false; } $objectname = $object -> getDisplayName(); - $title = isset($config['label'])?__($config['label']):$customAction; // Define page title LStemplate :: assign('pagetitle', $title); @@ -1302,16 +1308,22 @@ function handle_LSobject_customAction($request) { } $config = LSconfig :: get("LSobjects.$LSobject.customActions.$customAction"); + $title = isset($config['label'])?__($config['label']):$customAction; // Check customAction function if (!isset($config['function']) || !is_callable($config['function'])) { - LSerror :: addErrorCode('LSsession_13'); + LSerror :: addErrorCode( + 'LSsession_13', + array( + 'customAction' => $title, + 'function' => (isset($config['function'])?getCallableName($config['function']):_('undefined')) + ) + ); LSsession :: displayTemplate(); return; } $objectname = $object -> getDisplayName(); - $title = isset($config['label'])?__($config['label']):$customAction; // Define page title LStemplate :: assign('pagetitle', $title.' : '.$objectname); diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo index 55bcbdde425e2bfa26cd9480094924f2e533eb1b..f4600759b7c73715bfd1cc5ad1df34f9da375c14 100644 GIT binary patch delta 5695 zcmZYCd3;V+9>?*UMO0`~MC_52NQgvHb&vCX*@oXM#u|}(+QLC5nO`7xDp@3BCL#iuo51`AUuNA@htk`b=1JOuqM{X zbewQ(ip{Y%Y5}uQ3)r5?^3=HMUT8u(+7l1M7|g@g_%XJ{yVwn*vK%K4r@6j^&4@4I zPz;!115d<2;+3cg7N8bV&V9U=2(|J!hVK-IGhB8Xc>!9TuRr;0!9YrKky%VF2F6VDz1353G;6 zKL+b!dmM}@*cLZq3oJ$5SCs;&gFzUo@`|QWla6GJ$1$iC6k=!Gk6u`TTIp}72YJo5 z&-tV74?)$+lc*H;#yU6<_55_yf)-*E%)=m+_XmGAs8UpFE~1L;2I_&gQ6Kc3V|y5k z8lWL6GvU|?^2AwV$_PxVG6ch>^NbVjfwa+Cg3&H)nV<9j_9shBr{h?;$op-yFNI8R~t| z6)RzX4-HlG5cI{-sPjDmmC{VCi*wKi^WAtYDr37b5=-5n*I5cGe^ zYO5LQMbsHJv4Pk~=RcdqXgW6G0Q7s=_B<8!fSIU?twudyGwN6#M5X=&R>mu+fy+=C z30`5DeF{T~d!QDYhWh+;oUHSoO+!^)hMh5HrKKtz2NE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%$1_+IMseK1qKzR>y;=Q&NJR@GAOX(;w~iNDLy5Mr~1ltc}^& z3TL1{u0?I#PHc@o{Yd_kY1H}2d1a#FZI0C|?4Aun4ZIK^$3yrS`u%KQ&8et(55}Q6 zXHy@K^9gfN6EWxQmsV@k!s5@n?6+MK9X0590#%GduqM9j+_(Tei5KGoxD;#QDpV#u zKxJS%dgC|fg(ol!PopyOrxSbsVlxuqqM-|M=!<Q3#@b{>3Dp1e&ymbG%%LLPCMMoRdjMGpLnu;~C5bK~D zRa|Q@8238YPdQd#HTth$cf5(cvD0PyQ_O|R#1T{`BCiysN9WTxmUsi|bot(3f{bsn zY1G2)*c3lUW#SyFsLW0Kq6x-cgyT>v-GbF|J8CO-p+2_{mANyh`!1lKe-)cx6>5tf z{+;umP9uRvDlW%Jyn*4^xYF)fZ`22~9Ot3l2U}40m0%X$#tE2t%idpt$;3BMTakF% zE@(b#%iq6E{vV-HN=E`#;UJ9p!=`jT>iRw>{uMRBkSbff{V<3)4Sg{O>*Grph|5u@ z>l0K)_F@Enjg9eU75RUNhW{N~#o>;TsFZd_U5`aQU;rw0X{hr(3ssc)7>nT+R?Rz}fJ@t#g|KC|~I=X0U*|D&H0G>Sp>Hq)$ diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po index ef62d3a3..e0cebba9 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: 2020-12-14 19:40+0100\n" +"PO-Revision-Date: 2020-12-16 17:41+0100\n" "Last-Translator: Benjamin Renard \n" "Language-Team: LdapSaisie \n" @@ -508,9 +508,9 @@ 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:70 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:605 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1227 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1363 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:611 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1233 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1375 #: templates/default/recoverpassword.tpl:21 msgid "Validate" msgstr "Valider" @@ -650,10 +650,10 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:68 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_supannLabeledValue.php:62 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:174 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:987 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1155 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1240 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1376 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:993 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1161 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1246 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1388 msgid "Modify" msgstr "Modifier" @@ -1060,11 +1060,11 @@ msgstr "LSsession : Des informations sont manquant pour afficher cette page." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2839 msgid "" -"LSsession : The function of the custom action '%{name}' does not exists or " -"is not configured." +"LSsession : The function '%{function}' of the custom action " +"'%{customAction}' does not exists or is not configured." msgstr "" -"LSsearch : La fonction de l'action personnalisée '%{name}' n'existe pas ou " -"n'est pas configurée." +"LSsession : La fonction '%{function}' de l'action personnalisée " +"'%{customAction}' n'existe pas ou n'est pas configurée." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2842 msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth." @@ -1489,8 +1489,8 @@ msgstr "Attention" #: /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:190 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1003 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1147 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1009 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1153 msgid "Delete" msgstr "Supprimer" @@ -1501,7 +1501,7 @@ msgstr "Aucun objet." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:712 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:442 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:932 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:938 msgid "New" msgstr "Nouveau" @@ -1699,14 +1699,14 @@ msgid "Delete this field." msgstr "Supprimer cette valeur." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:224 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:601 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:607 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:230 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1357 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1369 msgid "" "Do you really want to execute custom action %{customAction} on " "%{objectname} ?" @@ -1851,6 +1851,8 @@ msgid "Display RSS stack." msgstr "Afficher la file RSS." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_ldap_password.php:100 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:567 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1319 msgid "undefined" msgstr "non-définie" @@ -2237,14 +2239,14 @@ msgid "Unknown error : %{error}" msgstr "Erreur inconnu : %{error}" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:166 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1139 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1232 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1368 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1145 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1238 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1380 msgid "View" msgstr "Voir" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:182 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:995 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1001 msgid "Copy" msgstr "Copier" @@ -2275,7 +2277,7 @@ msgid "You must provide pattern for global search." msgstr "Vous devez fournir un mot clé pour les recherches globales." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:448 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:790 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:796 msgid "Import" msgstr "Importer" @@ -2298,46 +2300,46 @@ msgstr "Recherche approximative" msgid "Recursive search" msgstr "Recherche récursive" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:580 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:586 msgid "" "The custom action %{title} have been successfully execute on this search." msgstr "" "L'action personnalisée %{title} a été correctement exécutée sur cette " "recherche." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:891 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:897 msgid "Data entry form" msgstr "Masque de saisie" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:897 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:903 msgid "Object has been added." msgstr "L'objet a été ajouté." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1034 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1040 msgid "My account" msgstr "Mon compte" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1097 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1103 msgid "The object has been partially modified." msgstr "L'objet a été partiellement modifié." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1100 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1106 msgid "The object has been modified successfully." msgstr "L'objet a bien été modifié." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1215 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1221 msgid "%{objectname} has been successfully deleted." msgstr "%{objectname} a bien été supprimé." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1224 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1230 msgid "Deleting : %{objectname}" msgstr "Suppression : %{objectname}" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1225 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1231 msgid "Do you really want to delete %{displayName} ?" msgstr "Voulez-vous vraiment supprimer %{displayName} ?" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1329 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1341 msgid "" "The custom action %{customAction} have been successfully execute on " "%{objectname}." diff --git a/src/lang/ldapsaisie.pot b/src/lang/ldapsaisie.pot index cfe831d0..e86d6707 100644 --- a/src/lang/ldapsaisie.pot +++ b/src/lang/ldapsaisie.pot @@ -428,9 +428,9 @@ 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:70 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:605 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1227 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1363 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:611 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1233 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1375 #: templates/default/recoverpassword.tpl:21 msgid "Validate" msgstr "" @@ -556,10 +556,10 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:68 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_supannLabeledValue.php:62 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:174 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:987 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1155 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1240 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1376 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:993 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1161 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1246 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1388 msgid "Modify" msgstr "" @@ -903,8 +903,8 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2839 msgid "" -"LSsession : The function of the custom action '%{name}' does not exists or " -"is not configured." +"LSsession : The function '%{function}' of the custom action " +"'%{customAction}' does not exists or is not configured." msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsession.php:2842 @@ -1244,8 +1244,8 @@ msgstr "" #: /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:190 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1003 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1147 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1009 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1153 msgid "Delete" msgstr "" @@ -1256,7 +1256,7 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:712 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:442 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:932 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:938 msgid "New" msgstr "" @@ -1418,12 +1418,12 @@ msgid "Delete this field." msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:224 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:601 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:607 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:230 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1357 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1369 msgid "" "Do you really want to execute custom action %{customAction} on " "%{objectname} ?" @@ -1557,6 +1557,8 @@ msgid "Display RSS stack." msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSattr_ldap_password.php:100 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:567 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1319 msgid "undefined" msgstr "" @@ -1896,14 +1898,14 @@ msgid "Unknown error : %{error}" msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:166 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1139 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1232 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1368 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1145 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1238 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1380 msgid "View" msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSsearchEntry.php:182 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:995 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1001 msgid "Copy" msgstr "" @@ -1930,7 +1932,7 @@ msgid "You must provide pattern for global search." msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:448 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:790 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:796 msgid "Import" msgstr "" @@ -1953,44 +1955,44 @@ msgstr "" msgid "Recursive search" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:580 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:586 msgid "" "The custom action %{title} have been successfully execute on this search." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:891 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:897 msgid "Data entry form" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:897 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:903 msgid "Object has been added." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1034 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1040 msgid "My account" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1097 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1103 msgid "The object has been partially modified." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1100 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1106 msgid "The object has been modified successfully." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1215 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1221 msgid "%{objectname} has been successfully deleted." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1224 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1230 msgid "Deleting : %{objectname}" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1225 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1231 msgid "Do you really want to delete %{displayName} ?" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1329 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1341 msgid "" "The custom action %{customAction} have been successfully execute on " "%{objectname}."