From 47d5ce021d1665f58d7d706a1c2b4e02d75433c5 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 28 May 2020 20:24:37 +0200 Subject: [PATCH] Move some hard-coded messages to template files --- src/includes/class/class.LSform.php | 2 - src/includes/class/class.LSmail.php | 3 - src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo | Bin 58196 -> 58258 bytes src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po | 74 ++++++++++-------- src/lang/ldapsaisie.pot | 69 ++++++++-------- src/templates/default/LSform_view.tpl | 2 +- src/templates/default/LSmail.tpl | 6 +- src/templates/default/base_connected.tpl | 2 +- 8 files changed, 81 insertions(+), 77 deletions(-) diff --git a/src/includes/class/class.LSform.php b/src/includes/class/class.LSform.php index fb29e524..606415f9 100644 --- a/src/includes/class/class.LSform.php +++ b/src/includes/class/class.LSform.php @@ -119,7 +119,6 @@ class LSform { if (!isset($this -> dataEntryFormConfig['disabledLayout']) || $this -> dataEntryFormConfig['disabledLayout']==false) { if (is_array($layout_config)) { LStemplate :: assign('LSform_layout',$layout_config); - LStemplate :: assign('LSform_layout_nofield_label',_('No field.')); } } @@ -252,7 +251,6 @@ class LSform { $layout_config=LSconfig :: get("LSobjects.".$LSform_object['type'].".LSform.layout"); if (is_array($layout_config)) { LStemplate :: assign('LSform_layout',$layout_config); - LStemplate :: assign('LSform_layout_nofield_label',_('No field.')); } } diff --git a/src/includes/class/class.LSmail.php b/src/includes/class/class.LSmail.php index e50fd9cf..76add32e 100644 --- a/src/includes/class/class.LSmail.php +++ b/src/includes/class/class.LSmail.php @@ -60,9 +60,6 @@ class LSmail { else if(empty($_REQUEST['mails'])) { LStemplate :: assign('LSmail_mails',array($_REQUEST['mails'])); } - LStemplate :: assign('LSmail_mail_label',_('Email')); - LStemplate :: assign('LSmail_subject_label',_('Title')); - LStemplate :: assign('LSmail_msg_label',_('Message')); $data = array( 'html' => LSsession :: fetchTemplate('LSmail.tpl') diff --git a/src/lang/fr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QQwwT+vi0ICVuHmPIKlw$>L|i5w5V?sJv=<^8 zkQc_%L^Zl!YHL#T<9uj$I>*0=@ zfFIHpM#Q_epUJi5A+j&zPZIHx2uc5~*!@Q7SNg8W?$aT4-tgemwpB8xFB`cgqwj!` zgOk#$zdtI2U!_{LtJX;0H8!A~Z|jE5TctMK6`X$W-1?m9Gj28X_3JQT\n" "Language-Team: LdapSaisie \n" @@ -368,19 +368,7 @@ msgstr "" "Asterisk : Le mot de passe en clair est indisponible. Impossible de générer " "le mot de passe haché en MD5." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:63 -msgid "Email" -msgstr "E-mail" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:64 -msgid "Title" -msgstr "Titre" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:65 -msgid "Message" -msgstr "Message" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:77 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:74 msgid "Your message has been sent successfully." msgstr "Votre message a bien été envoyé." @@ -1335,7 +1323,7 @@ msgid "updating relations" msgstr "mise à jour des relations" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:602 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:220 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:219 msgid "Do you really want to delete" msgstr "Voulez-vous vraiment supprimer" @@ -1344,7 +1332,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:222 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:221 #: /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 @@ -1538,19 +1526,14 @@ msgstr "Ajouter une autre valeur à ce champ." msgid "Delete this field." msgstr "Supprimer cette valeur." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:122 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:255 -msgid "No field." -msgstr "Aucun champ." - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:203 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:202 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:569 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:209 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:208 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1231 msgid "" "Do you really want to execute custom action %{customAction} on " @@ -1559,49 +1542,49 @@ 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:221 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:220 msgid "Caution" msgstr "Attention" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:276 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:274 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:356 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:354 msgid "Mandatory field" msgstr "Champ obligatoire" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:790 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:788 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:793 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:791 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:800 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:798 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:803 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:801 msgid "LSfom : Field type unknow (%{type})." msgstr "LSform : Type de champ inconnu (%{type})." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:806 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:804 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:809 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:807 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:812 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:810 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:815 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:813 msgid "" "LSform : The element %{name}, listed as displayed in data entry form " "configuration, doesn't exist." @@ -2193,6 +2176,10 @@ msgstr "Connecté en tant que" msgid "Details" msgstr "Détails" +#: templates/default/LSmail.tpl:3 +msgid "Email" +msgstr "E-mail" + #: templates/default/import.tpl:10 msgid "File" msgstr "Fichier" @@ -2233,10 +2220,22 @@ msgstr "Langue" msgid "Legend:" msgstr "Légende :" +#: templates/default/base_connected.tpl:50 +msgid "Logout" +msgstr "Déconnexion" + +#: templates/default/LSmail.tpl:28 +msgid "Message" +msgstr "Message" + #: templates/default/viewSearch.tpl:134 msgid "Nb / page :" msgstr "Nb / page :" +#: templates/default/LSform_view.tpl:34 +msgid "No field." +msgstr "Aucun champ." + #: templates/default/import.tpl:76 msgid "No imported object" msgstr "Aucun objet importé" @@ -2289,6 +2288,10 @@ msgstr "Relations / Profils" msgid "Result" msgstr "Résultat" +#: templates/default/LSmail.tpl:21 +msgid "Subject" +msgstr "Sujet" + #: templates/default/LSaccessRightsMatrixView.tpl:49 msgid "Their relations with other objects" msgstr "Leurs relations avec les autres objets" @@ -2317,6 +2320,9 @@ msgstr "non" msgid "yes" msgstr "oui" +#~ msgid "Title" +#~ msgstr "Titre" + #~ msgid "deleting" #~ msgstr "suppression" diff --git a/src/lang/ldapsaisie.pot b/src/lang/ldapsaisie.pot index 00f4f727..337f1e17 100644 --- a/src/lang/ldapsaisie.pot +++ b/src/lang/ldapsaisie.pot @@ -292,19 +292,7 @@ msgid "" "password." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:63 -msgid "Email" -msgstr "" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:64 -msgid "Title" -msgstr "" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:65 -msgid "Message" -msgstr "" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:77 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSmail.php:74 msgid "Your message has been sent successfully." msgstr "" @@ -1102,7 +1090,7 @@ msgid "updating relations" msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSrelation.php:602 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:220 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:219 msgid "Do you really want to delete" msgstr "" @@ -1111,7 +1099,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:222 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:221 #: /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 @@ -1271,65 +1259,60 @@ msgstr "" msgid "Delete this field." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:122 -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:255 -msgid "No field." -msgstr "" - -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:203 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:202 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:569 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:209 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:208 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/routes.php:1231 msgid "" "Do you really want to execute custom action %{customAction} on " "%{objectname} ?" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:221 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:220 msgid "Caution" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:276 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:274 msgid "%{label} attribute data is not valid." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:356 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:354 msgid "Mandatory field" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:790 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:788 msgid "LSform : Error during the recovery of the values of the form." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:793 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:791 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:800 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:798 msgid "LSform : The field %{element} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:803 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:801 msgid "LSfom : Field type unknow (%{type})." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:806 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:804 msgid "LSform : Error during the creation of the element '%{element}'." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:809 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:807 msgid "LSform : The data entry form %{name} doesn't exist." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:812 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:810 msgid "LSform : The data entry form %{name} is not correctly configured." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:815 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSform.php:813 msgid "" "LSform : The element %{name}, listed as displayed in data entry form " "configuration, doesn't exist." @@ -1862,6 +1845,10 @@ msgstr "" msgid "Details" msgstr "" +#: templates/default/LSmail.tpl:3 +msgid "Email" +msgstr "" + #: templates/default/import.tpl:10 msgid "File" msgstr "" @@ -1902,10 +1889,22 @@ msgstr "" msgid "Legend:" msgstr "" +#: templates/default/base_connected.tpl:50 +msgid "Logout" +msgstr "" + +#: templates/default/LSmail.tpl:28 +msgid "Message" +msgstr "" + #: templates/default/viewSearch.tpl:134 msgid "Nb / page :" msgstr "" +#: templates/default/LSform_view.tpl:34 +msgid "No field." +msgstr "" + #: templates/default/import.tpl:76 msgid "No imported object" msgstr "" @@ -1958,6 +1957,10 @@ msgstr "" msgid "Result" msgstr "" +#: templates/default/LSmail.tpl:21 +msgid "Subject" +msgstr "" + #: templates/default/LSaccessRightsMatrixView.tpl:49 msgid "Their relations with other objects" msgstr "" diff --git a/src/templates/default/LSform_view.tpl b/src/templates/default/LSform_view.tpl index ac470c43..a3f63e7a 100644 --- a/src/templates/default/LSform_view.tpl +++ b/src/templates/default/LSform_view.tpl @@ -31,7 +31,7 @@ {/if} {/foreach} {if $field=='non'} -
{$LSform_layout_nofield_label|escape:"htmlall"}
+
{tr msg="No field."|escape:"htmlall"}
{/if} diff --git a/src/templates/default/LSmail.tpl b/src/templates/default/LSmail.tpl index a62eff8c..be10de71 100644 --- a/src/templates/default/LSmail.tpl +++ b/src/templates/default/LSmail.tpl @@ -1,6 +1,6 @@
{if $LSmail_options.display_mail_field} -
{$LSmail_mail_label|escape:"htmlall"}
+
{tr msg="Email"|escape:"htmlall"}
{if $LSmail_mails != ""} {if $LSmail_mails|@count==1} @@ -18,14 +18,14 @@ {/if} {if $LSmail_options.display_subject_field} -
{$LSmail_subject_label|escape:"htmlall"}
+
{tr msg="Subject"|escape:"htmlall"}
{else} {/if} -
{$LSmail_msg_label|escape:"htmlall"}
+
{tr msg="Message"|escape:"htmlall"}
diff --git a/src/templates/default/base_connected.tpl b/src/templates/default/base_connected.tpl index 6f280a11..c164fffc 100644 --- a/src/templates/default/base_connected.tpl +++ b/src/templates/default/base_connected.tpl @@ -47,7 +47,7 @@ {if $displaySelfAccess}{tr msg="Connected as"|escape:"htmlall"} {$LSsession_username|escape:"htmlall"}{/if} {tr msg= - {if $displayLogoutBtn} Logout{/if} + {if $displayLogoutBtn} {tr msg="Logout"|escape:"htmlall"}{/if}