// Fix translations mails errors for each languages

// Now, Subject for reply_msg.html is translated
// Now use sprintf() in subject mails
This commit is contained in:
lLefevre
2012-05-24 09:57:48 +00:00
parent b0e9c7a6f9
commit 3ccc4c5013
202 changed files with 4523 additions and 4540 deletions

View File

@@ -408,7 +408,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
if (Mail::Send(
(int)$ct->id_lang,
'reply_msg',
Mail::l('An answer to your message is available', $ct->id_lang).' #ct'.$ct->id.'#tc'.$ct->token,
sprintf(Mail::l('An answer to your message is available #ct%1$s #tc%2$s', $ct->id_lang), $ct->id, $ct->token),
$params, Tools::getValue('msg_email'), null, null, null, $file_attachment, null,
_PS_MAIL_DIR_, true))
{