From 08698d747f5fd325327c21947f62326169329265 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 6 Nov 2023 18:14:54 +0100 Subject: [PATCH] [GITEA] Detect file rename and show in history (squash) ctx.Locale --- templates/repo/commits.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index b3d983029..7b3b27af1 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -15,7 +15,7 @@ {{template "repo/commits_table" .}} {{if .OldFilename}}
- {{.locale.Tr "repo.commits.renamed_from" .OldFilename}} ({{.locale.Tr "repo.commits.browse_further"}}) + {{ctx.Locale.Tr "repo.commits.renamed_from" .OldFilename}} ({{ctx.Locale.Tr "repo.commits.browse_further"}})
{{end}}