1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Use TrN helper for email templates (#16425)

* Add TrN helper

* use TrN

* a nit
This commit is contained in:
6543
2021-07-14 15:06:09 +02:00
committed by GitHub
parent 8464fa15d0
commit 8798e3a098
5 changed files with 9 additions and 6 deletions

View File

@@ -68,6 +68,7 @@ func mailNewRelease(lang string, tos []string, rel *models.Release) {
// helper
"i18n": locale,
"Str2html": templates.Str2html,
"TrN": templates.TrN,
}
var mailBody bytes.Buffer