Mail translation fixes
This commit is contained in:
parent
230eae9eda
commit
94590ac50a
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.44) stable; urgency=low
|
||||
hedera-web (1.406.45) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.44",
|
||||
"version": "1.406.45",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"<p>The response from the remote server was:</p>": "<p>La respuesta del servidor remoto ha sido:</p>"
|
||||
,"An automated message could not be delivered": "Un mensaje automatizado no se ha podido entregar"
|
||||
"An automated message could not be delivered": "Un mensaje automatizado no se ha podido entregar"
|
||||
,"Notification from IT department about problem.": "Desde el departamento de informática te enviamos este correo porque ha habido un problema al intentar entregar un correo automatizado."
|
||||
,"If you have questions, resend this email to cau@verdnatura.es.": "Si tienes dudas, reenvia este correo a cau@verdnatura.es."
|
||||
,"The response from the remote server was:": "La respuesta del servidor remoto ha sido:"
|
||||
}
|
|
@ -42,9 +42,14 @@ class Mail extends Vn\Lib\Method {
|
|||
$status = $e->getMessage();
|
||||
|
||||
if ($row->replyTo) {
|
||||
Vn\Lib\Locale::set('es');
|
||||
$errorMsg =
|
||||
'<p>'. s('Notification from IT department about problem.') .'</p>'
|
||||
.'<p>'. s('If you have questions, resend this email to cau@verdnatura.es.') .'</p>'
|
||||
.'<p style="color: gray">'. $status .'</p>';
|
||||
|
||||
$errorMail = $mailer->createObject($row->replyTo,
|
||||
s('<p>The response from the remote server was:</p>')
|
||||
."<p>$status</p>",
|
||||
$errorMsg,
|
||||
s('An automated message could not be delivered')
|
||||
);
|
||||
$errorMail->AddStringAttachment(
|
||||
|
|
Loading…
Reference in New Issue