Fix question on remove object page

This commit is contained in:
Benjamin Renard 2019-05-27 18:11:56 +02:00
parent 4fe870099e
commit 6ddcca037d
5 changed files with 13 additions and 7 deletions

View file

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: LdapSaisie\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-21 12:03+0200\n"
"PO-Revision-Date: 2019-05-21 12:04+0200\n"
"POT-Creation-Date: 2019-05-27 18:10+0200\n"
"PO-Revision-Date: 2019-05-27 18:11+0200\n"
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
"Language-Team: LdapSaisie <ldapsaisie-users@lists.labs.libre-entreprise."
"org>\n"
@ -1235,7 +1235,6 @@ msgid "updating relations"
msgstr "mise à jour des relations"
#: includes/class/class.LSrelation.php:214 includes/class/class.LSform.php:213
#: remove.php:49
msgid "Do you really want to delete"
msgstr "Voulez-vous vraiment supprimer"
@ -1875,6 +1874,10 @@ msgstr "Suppression"
msgid "has been deleted successfully"
msgstr "a bien été supprimé"
#: remove.php:49
msgid "Do you really want to delete <strong>%{displayName}</strong> ?"
msgstr "Voulez-vous vraiment supprimer <strong>%{displayName}</strong> ?"
#~ msgid "SSH Support : Unable to connect to SSH Server (%{host}:%{port})."
#~ msgstr ""
#~ "Support SSH : Impossible de se connecter au serveur SSH (%{host}:%{port})."

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-21 12:02+0200\n"
"POT-Creation-Date: 2019-05-27 18:09+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -1051,7 +1051,6 @@ msgid "updating relations"
msgstr ""
#: includes/class/class.LSrelation.php:214 includes/class/class.LSform.php:213
#: remove.php:49
msgid "Do you really want to delete"
msgstr ""
@ -1612,3 +1611,7 @@ msgstr ""
#: remove.php:39
msgid "has been deleted successfully"
msgstr ""
#: remove.php:49
msgid "Do you really want to delete <strong>%{displayName}</strong> ?"
msgstr ""

View file

@ -46,7 +46,7 @@ if(LSsession :: startLSsession()) {
else {
// Définition du Titre de la page
LStemplate :: assign('pagetitle',_('Deleting').' : '.$object -> getDisplayName());
LStemplate :: assign('question',_('Do you really want to delete').' <strong>'.$object -> getDisplayName().'</strong> ?');
LStemplate :: assign('question', getFData(_('Do you really want to delete <strong>%{displayName}</strong> ?'), $object -> getDisplayName()));
LStemplate :: assign('validation_url','remove.php?LSobject='.$LSobject.'&amp;dn='.urlencode($dn).'&amp;valid');
LStemplate :: assign('validation_label',_('Validate'));
}

View file

@ -8,6 +8,6 @@
</p>
{/if}
<p class='question'>{$question|escape:"htmlall"}</p>
<p class='question'>{$question}</p>
<a href='{$validation_url}' class='question'>{$validation_label|escape:"htmlall"}</a>
{include file='ls:bottom.tpl'}