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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
115 changed files with 224 additions and 225 deletions

View file

@ -1,5 +1,5 @@
{{if eq .HookType "gogs"}}
<p>{{ctx.Locale.Tr "repo.settings.add_web_hook_desc" "https://docs.gitea.com/usage/webhooks" (.locale.Tr "repo.settings.web_hook_name_gogs") | Str2html}}</p>
<p>{{ctx.Locale.Tr "repo.settings.add_web_hook_desc" "https://docs.gitea.com/usage/webhooks" (ctx.Locale.Tr "repo.settings.web_hook_name_gogs") | Str2html}}</p>
<form class="ui form" action="{{.BaseLink}}/gogs/{{or .Webhook.ID "new"}}" method="post">
{{template "base/disable_form_autofill"}}
{{.CsrfTokenHtml}}