From: Anton Khorev Date: Wed, 10 Jul 2024 10:15:20 +0000 (+0300) Subject: Move OpenID logo out of locale string X-Git-Tag: live~847^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/86b1e934b6a495dae35de142ec708c8ba27facf4?ds=sidebyside;hp=--cc Move OpenID logo out of locale string --- 86b1e934b6a495dae35de142ec708c8ba27facf4 diff --git a/app/views/application/_auth_providers.html.erb b/app/views/application/_auth_providers.html.erb index d2ff6865f..14e296a07 100644 --- a/app/views/application/_auth_providers.html.erb +++ b/app/views/application/_auth_providers.html.erb @@ -46,7 +46,10 @@ <%# :tabindex starts high to allow rendering at the bottom of the template %> <%= form_tag(auth_path(:provider => "openid"), :id => "openid_login_form") do %>
- + <%= hidden_field_tag("referer", params[:referer], :autocomplete => "off") %> <%= text_field_tag("openid_url", "", :tabindex => 20, :autocomplete => "on", :class => "form-control") %> (" target="_new"><%= t "accounts.edit.openid.link text" %>) diff --git a/config/locales/en.yml b/config/locales/en.yml index 846bab813..2eaee052e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2584,7 +2584,7 @@ en: muted_users: Muted Users auth_providers: openid_logo_alt: "Log in with an OpenID" - openid_html: "%{logo} OpenID URL" + openid_url: "OpenID URL" openid_login_button: "Continue" openid: title: Log in with OpenID