Skip to content

Commit

Permalink
Merge pull request #27767 from herbdool/standalone-forgot-pass
Browse files Browse the repository at this point in the history
Add translation tags
  • Loading branch information
mlutfy authored Oct 11, 2023
2 parents c45df7b + 775cc33 commit 3d2eb13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/standaloneusers/CRM/Standaloneusers/Upgrader.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ protected function createPasswordResetMessageTemplate() {
$baseTpl = [
'workflow_name' => 'password_reset',
'msg_title' => 'Password reset',
'msg_subject' => 'Password reset link for {domain.name}',
'msg_subject' => '{ts}Password reset link for{/ts} {domain.name}',
'msg_text' => <<<TXT
A password reset link was requested for this account. If this wasn\'t you (and nobody else can access this email account) you can safely ignore this email.
{ts}A password reset link was requested for this account. If this wasn\'t you (and nobody else can access this email account) you can safely ignore this email.{/ts}
{\$resetUrlPlaintext}
{domain.name}
TXT,
'msg_html' => <<<HTML
<p>A password reset link was requested for this account.&nbsp; If this wasn\'t you (and nobody else can access this email account) you can safely ignore this email.</p>
<p>{ts}A password reset link was requested for this account.&nbsp; If this wasn\'t you (and nobody else can access this email account) you can safely ignore this email.{/ts}</p>
<p><a href="{\$resetUrlHtml}">{\$resetUrlHtml}</a></p>
Expand Down

0 comments on commit 3d2eb13

Please sign in to comment.