aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/auth
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-25 20:42:40 +0800
committerGitHub <noreply@github.com>2023-09-25 20:42:40 +0800
commit93bd4351bfb4a2f5f37ecb80d50496d044240e00 (patch)
tree4443b001284cf4f4f6932b909b9b70317b2428f7 /templates/user/auth
parent7960ba7e2bbe2eb6f98f6d99f2ce105468cdf56e (diff)
downloadgitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.tar.gz
gitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.zip
Fix more "locale" usages (#27259)
Diffstat (limited to 'templates/user/auth')
-rw-r--r--templates/user/auth/grant.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/auth/grant.tmpl b/templates/user/auth/grant.tmpl
index 9d80026916..9c0bf33e28 100644
--- a/templates/user/auth/grant.tmpl
+++ b/templates/user/auth/grant.tmpl
@@ -23,7 +23,7 @@
<input type="hidden" name="scope" value="{{.Scope}}">
<input type="hidden" name="nonce" value="{{.Nonce}}">
<input type="hidden" name="redirect_uri" value="{{.RedirectURI}}">
- <button type="submit" id="authorize-app" value="{{ctx.Locale.Tr "auth.authorize_application"}}" class="ui red inline button">{{.locale.Tr "auth.authorize_application"}}</button>
+ <button type="submit" id="authorize-app" value="{{ctx.Locale.Tr "auth.authorize_application"}}" class="ui red inline button">{{ctx.Locale.Tr "auth.authorize_application"}}</button>
<a href="{{.RedirectURI}}" class="ui basic primary inline button">Cancel</a>
</form>
</div>