Fix for email template translations

This commit is contained in:
Hillel Coren 2018-04-25 23:45:58 +03:00
parent 8f4a17304e
commit ea7ca53848

View File

@ -66,7 +66,7 @@ trait SendsEmails
if ($this->hasFeature(FEATURE_CUSTOM_EMAILS) && $this->email_design_id != EMAIL_DESIGN_PLAIN) {
$template .= '<div>' . trans("texts.{$entityType}_message_button", ['amount' => '$amount']) . '</div><br />' .
'<div style="text-align: center;">$viewButton</div><br />';
'<div style="text-align:center;">$viewButton</div><br />';
} else {
$template .= '<div>' . trans("texts.{$entityType}_message", ['amount' => '$amount']) . '</div><br />' .
'<div>$viewLink</div><br />';