mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
Use TrN helper for email templates (#16425)
* Add TrN helper * use TrN * a nit
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user