Fix translation keys missing into emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d0e01434b7
commit
dcd30e0974
|
@ -105,8 +105,8 @@ if (empty($form->title) || empty($form->admin_name) || (($config['use_smtp']) ?
|
|||
$message_admin .= sprintf(' :<br/><br/><a href="%1$s">%1$s</a>', Utils::getUrlSondage($admin_poll_id, true));
|
||||
|
||||
if ($mailService->isValidEmail($form->admin_mail)) {
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'Author\'s message') . '] ' . __('Generic', 'Poll') . ': ' . $form->title, $message_admin);
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'For sending to the polled users') . '] ' . __('Generic', 'Poll') . ': ' . $form->title, $message);
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'Author\'s message') . '] ' . __('Generic', 'Poll') . ': ' . Utils::htmlEscape($form->title), $message_admin);
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'For sending to the polled users') . '] ' . __('Generic', 'Poll') . ': ' . Utils::htmlEscape($form->title), $message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -234,8 +234,8 @@ switch ($step) {
|
|||
$message_admin = sprintf($message_admin, Utils::getUrlSondage($admin_poll_id, true));
|
||||
|
||||
if ($mailService->isValidEmail($form->admin_mail)) {
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'Message for the author') . '] ' . __('Generic', 'Poll') . ': ' . $form->title, $message_admin);
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'Participant link') . '] ' . __('Generic', 'Poll') . ': ' . $form->title, $message);
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'Author\'s message') . '] ' . __('Generic', 'Poll') . ': ' . Utils::htmlEscape($form->title), $message_admin);
|
||||
$mailService->send($form->admin_mail, '[' . NOMAPPLICATION . '][' . __('Mail', 'For sending to the polled users') . '] ' . __('Generic', 'Poll') . ': ' . Utils::htmlEscape($form->title), $message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -306,7 +306,7 @@
|
|||
"Export to CSV": "Export Tableur (CSV)",
|
||||
"Initiator of the poll": "Auteur·rice du sondage",
|
||||
"No password": "Pas de mot de passe",
|
||||
"Only votes are protected": "Seul les votes sont protégés",
|
||||
"Only votes are protected": "Seuls les votes sont protégés",
|
||||
"Password protected": "Protégé par mot de passe",
|
||||
"Poll rules": "Permissions du sondage",
|
||||
"Print": "Imprimer",
|
||||
|
|
|
@ -306,7 +306,7 @@
|
|||
"Export to CSV": "Export Tableur (CSV)",
|
||||
"Initiator of the poll": "Auteur·rice du sondage",
|
||||
"No password": "Pas de mot de passe",
|
||||
"Only votes are protected": "Seul les votes sont protégés",
|
||||
"Only votes are protected": "Seuls les votes sont protégés",
|
||||
"Password protected": "Protégé par mot de passe",
|
||||
"Poll rules": "Permissions du sondage",
|
||||
"Print": "Imprimer",
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
<i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span>
|
||||
</a>
|
||||
{if $admin}
|
||||
<a href="{poll_url id=$poll->id vote_id=$vote->uniqId}" class="btn btn-default btn-sm clipboard-url" data-toggle="popover" data-trigger="manual" title="{__('Poll results', 'Link to edit this particular line')}" data-content="{__('Poll results', 'Link to edit this particular line has been copied!')}">
|
||||
<a href="{poll_url id=$poll->id vote_id=$vote->uniqId}" class="btn btn-default btn-sm clipboard-url" data-toggle="popover" data-trigger="manual" title="{__('Poll results', 'Link to edit this particular line')}" data-content="{__('Poll results', 'Link to edit this particular line has been copied inside the clipboard!')}">
|
||||
<span class="btn-link glyphicon glyphicon-link"></span>
|
||||
</a>
|
||||
<a href="{poll_url id=$admin_poll_id admin=true action='delete_vote' action_value=$vote->id}"
|
||||
|
|
|
@ -204,7 +204,7 @@
|
|||
<i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span>
|
||||
</a>
|
||||
{if $admin}
|
||||
<a href="{poll_url id=$poll->id vote_id=$vote->uniqId}" class="btn btn-default btn-sm clipboard-url" data-toggle="popover" data-trigger="manual" title="{__('Poll results', 'Link to edit this particular line')}" data-content="{__('Poll results', 'Link to edit this particular line has been copied!')}">
|
||||
<a href="{poll_url id=$poll->id vote_id=$vote->uniqId}" class="btn btn-default btn-sm clipboard-url" data-toggle="popover" data-trigger="manual" title="{__('Poll results', 'Link to edit this particular line')}" data-content="{__('Poll results', 'Link to edit this particular line has been copied inside the clipboard!')}">
|
||||
<i class="glyphicon glyphicon-link"></i><span class="sr-only">{__('Generic', 'Link')}</span>
|
||||
</a>
|
||||
<a href="{poll_url id=$admin_poll_id admin=true action='delete_vote' action_value=$vote->id}"
|
||||
|
|
Loading…
Reference in New Issue