1
Fork 0

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

View file

@ -7,13 +7,13 @@
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<div>
<img src="{{AssetUrlPrefix}}/img/loading.png" alt="{{.locale.Tr "loading"}}">
<img src="{{AssetUrlPrefix}}/img/loading.png" alt="{{ctx.Locale.Tr "loading"}}">
</div>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<p><a id="goto-user-login" href="{{AppSubUrl}}/user/login">{{.locale.Tr "loading"}}</a></p>
<p><a id="goto-user-login" href="{{AppSubUrl}}/user/login">{{ctx.Locale.Tr "loading"}}</a></p>
</div>
</div>
</div>