diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-01-02 11:33:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 04:33:57 +0100 |
commit | e61b390d545919244141b699b28e3fbc42adc66f (patch) | |
tree | de17418a260234e1043a6d3a130c2b4a8c27640a /services/mailer/mail_release.go | |
parent | 88da7a7174f9c1568cc2d8d084d6b05a8d268690 (diff) | |
download | gitea-e61b390d545919244141b699b28e3fbc42adc66f.tar.gz gitea-e61b390d545919244141b699b28e3fbc42adc66f.zip |
Unify and simplify TrN for i18n (#18141)
Refer: https://github.com/go-gitea/gitea/pull/18135#issuecomment-1003246099
Now we have a unique and simple `TrN`, and make the fix of PR #18135 also use the better `TrN` logic.
Diffstat (limited to 'services/mailer/mail_release.go')
-rw-r--r-- | services/mailer/mail_release.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/mailer/mail_release.go b/services/mailer/mail_release.go index 02aa0f312e..ee4c6f3a59 100644 --- a/services/mailer/mail_release.go +++ b/services/mailer/mail_release.go @@ -76,7 +76,6 @@ func mailNewRelease(lang string, tos []string, rel *models.Release) { // helper "i18n": locale, "Str2html": templates.Str2html, - "TrN": templates.TrN, } var mailBody bytes.Buffer |