diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-09-25 21:15:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 13:15:51 +0000 |
commit | 597b04fe2f4f032af3c2a4db30bbdf1437a19f34 (patch) | |
tree | 3dc12fe53f4325962309b7a987d31235027669c3 /templates/post-install.tmpl | |
parent | 2774a2afc641c4561a44c870138f8006462e2744 (diff) | |
download | gitea-597b04fe2f4f032af3c2a4db30bbdf1437a19f34.tar.gz gitea-597b04fe2f4f032af3c2a4db30bbdf1437a19f34.zip |
Backport ctx locale refactoring manually (#27231) (#27259) (#27260)
Backport #27231 #27259 manually
---------
Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'templates/post-install.tmpl')
-rw-r--r-- | templates/post-install.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/post-install.tmpl b/templates/post-install.tmpl index 5048b910d8..fb234008fb 100644 --- a/templates/post-install.tmpl +++ b/templates/post-install.tmpl @@ -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> |