0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

i18n: separate string for OpenID

This commit is contained in:
0ko 2024-07-07 22:23:11 +05:00
parent 2a03e2c6b9
commit 7d5972d330
2 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@ dashboard = Dashboard
explore = Explore
help = Help
logo = Logo
sign_in = Sign In
sign_in = Sign in
sign_in_with_provider = Sign in with %s
sign_in_or = or
sign_out = Sign Out
@ -471,6 +471,7 @@ password_pwned = The password you chose is on a <a target="_blank" rel="noopener
password_pwned_err = Could not complete request to HaveIBeenPwned
last_admin = You cannot remove the last admin. There must be at least one admin.
back_to_sign_in = Back to Sign in
sign_in_openid = Proceed with OpenID
[mail]
view_it_on = View it on %s

View file

@ -14,7 +14,7 @@
{{if .EnableOpenIDSignIn}}
<a class="openid ui button tw-flex tw-items-center tw-justify-center tw-py-2 tw-w-full" href="{{AppSubUrl}}/user/login/openid">
{{svg "fontawesome-openid" 28 "tw-mr-2"}}
{{ctx.Locale.Tr "sign_in_with_provider" "OpenID"}}
{{ctx.Locale.Tr "auth.sign_in_openid"}}
</a>
{{end}}
{{if .EnableSSPI}}