1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-10 03:28:20 +00:00

Always use ctx.Locale.Tr inside templates (#27231)

This commit is contained in:
delvh
2023-09-25 10:56:50 +02:00
committed by GitHub
parent e6d8b14620
commit 7960ba7e2b
305 changed files with 3810 additions and 3810 deletions

View File

@@ -6,12 +6,12 @@
{{if not .AllowOnlyInternalRegistration}}
<a class="item {{if not .user_exists}}active{{end}}"
data-tab="auth-link-signup-tab">
{{.locale.Tr "auth.oauth_signup_tab"}}
{{ctx.Locale.Tr "auth.oauth_signup_tab"}}
</a>
{{end}}
<a class="item {{if .user_exists}}active{{end}}"
data-tab="auth-link-signin-tab">
{{.locale.Tr "auth.oauth_signin_tab"}}
{{ctx.Locale.Tr "auth.oauth_signin_tab"}}
</a>
</div>
</div>