Always use ctx.Locale.Tr inside templates (#27231)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{{if not $.DisableMigrations}}
|
||||
<p class="ui center">{{.locale.Tr "repo.new_repo_helper" ((print AppSubUrl "/repo/migrate")|Escape) | Safe}}</p>
|
||||
<p class="ui center">{{ctx.Locale.Tr "repo.new_repo_helper" ((print AppSubUrl "/repo/migrate")|Escape) | Safe}}</p>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user