Backport ctx locale refactoring manually (#27231) (#27259) (#27260)

Backport #27231 #27259 manually

---------

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
wxiaoguang
2023-09-25 21:15:51 +08:00
committed by GitHub
parent 2774a2afc6
commit 597b04fe2f
314 changed files with 3888 additions and 3889 deletions

View File

@@ -1,10 +1,10 @@
<div class="ui g-modal-confirm delete modal">
<div class="header">
{{svg "octicon-trash"}}
{{.locale.Tr "repo.settings.webhook_deletion"}}
{{ctx.Locale.Tr "repo.settings.webhook_deletion"}}
</div>
<div class="content">
<p>{{.locale.Tr "repo.settings.webhook_deletion_desc"}}</p>
<p>{{ctx.Locale.Tr "repo.settings.webhook_deletion_desc"}}</p>
</div>
{{template "base/modal_actions_confirm" .}}
</div>