mirror of
https://github.com/go-gitea/gitea
synced 2025-12-06 21:08:25 +00:00
Always use ctx.Locale.Tr inside templates (#27231)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{template "repo/header" .}}
|
||||
<div class="ui container">
|
||||
<h2 class="ui dividing header">
|
||||
{{.locale.Tr "repo.forks"}}
|
||||
{{ctx.Locale.Tr "repo.forks"}}
|
||||
</h2>
|
||||
{{range .Forks}}
|
||||
<div class="gt-df gt-ac gt-py-3">
|
||||
|
||||
Reference in New Issue
Block a user