1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-26 12:18:36 +00:00

Fix more "locale" usages (#27259)

This commit is contained in:
wxiaoguang
2023-09-25 20:42:40 +08:00
committed by GitHub
parent 7960ba7e2b
commit 93bd4351bf
115 changed files with 224 additions and 225 deletions

View File

@@ -60,7 +60,7 @@
#{{.Index}}
{{end}}
</a>
{{$timeStr := TimeSinceUnix .GetLastEventTimestamp $.locale}}
{{$timeStr := TimeSinceUnix .GetLastEventTimestamp ctx.Locale}}
{{if .OriginalAuthor}}
{{ctx.Locale.Tr .GetLastEventLabelFake $timeStr (.OriginalAuthor|Escape) | Safe}}
{{else if gt .Poster.ID 0}}