diff options
author | 6543 <6543@obermui.de> | 2021-07-14 15:06:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 15:06:09 +0200 |
commit | 8798e3a09884521157d75869543263e2e6a7ec78 (patch) | |
tree | a4470b6c5278e76419ba75d47678d66e8b734d46 /services/mailer/mail_repo.go | |
parent | 8464fa15d066162554a62ec40fc5e1c1a0563277 (diff) | |
download | gitea-8798e3a09884521157d75869543263e2e6a7ec78.tar.gz gitea-8798e3a09884521157d75869543263e2e6a7ec78.zip |
Use TrN helper for email templates (#16425)
* Add TrN helper
* use TrN
* a nit
Diffstat (limited to 'services/mailer/mail_repo.go')
-rw-r--r-- | services/mailer/mail_repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/mailer/mail_repo.go b/services/mailer/mail_repo.go index 5ef67b7c65..4e629ee5c7 100644 --- a/services/mailer/mail_repo.go +++ b/services/mailer/mail_repo.go @@ -63,6 +63,7 @@ func sendRepoTransferNotifyMailPerLang(lang string, newOwner, doer *models.User, // helper "i18n": locale, "Str2html": templates.Str2html, + "TrN": templates.TrN, } if err := bodyTemplates.ExecuteTemplate(&content, string(mailRepoTransferNotify), data); err != nil { |