i18n: separate string for OpenID
This commit is contained in:
parent
2a03e2c6b9
commit
7d5972d330
2 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@ dashboard = Dashboard
|
||||||
explore = Explore
|
explore = Explore
|
||||||
help = Help
|
help = Help
|
||||||
logo = Logo
|
logo = Logo
|
||||||
sign_in = Sign In
|
sign_in = Sign in
|
||||||
sign_in_with_provider = Sign in with %s
|
sign_in_with_provider = Sign in with %s
|
||||||
sign_in_or = or
|
sign_in_or = or
|
||||||
sign_out = Sign Out
|
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
|
password_pwned_err = Could not complete request to HaveIBeenPwned
|
||||||
last_admin = You cannot remove the last admin. There must be at least one admin.
|
last_admin = You cannot remove the last admin. There must be at least one admin.
|
||||||
back_to_sign_in = Back to Sign in
|
back_to_sign_in = Back to Sign in
|
||||||
|
sign_in_openid = Proceed with OpenID
|
||||||
|
|
||||||
[mail]
|
[mail]
|
||||||
view_it_on = View it on %s
|
view_it_on = View it on %s
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
{{if .EnableOpenIDSignIn}}
|
{{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">
|
<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"}}
|
{{svg "fontawesome-openid" 28 "tw-mr-2"}}
|
||||||
{{ctx.Locale.Tr "sign_in_with_provider" "OpenID"}}
|
{{ctx.Locale.Tr "auth.sign_in_openid"}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .EnableSSPI}}
|
{{if .EnableSSPI}}
|
||||||
|
|
Loading…
Reference in a new issue