From: Andy Allan Date: Wed, 15 Mar 2023 18:13:56 +0000 (+0000) Subject: Remove the language block from around the guidance X-Git-Tag: live~1610^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1d5ba57c4943c804486ab2891ae5e73a6c798a4d Remove the language block from around the guidance This was unnecessary and also incorrect. The guidance is shown in the users own language, not in the @locale of the copyright statement, and so doesn't need any language wrapping and certainly not stating that it's in the @locale. --- diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index 3253aebe1..903838461 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -3,19 +3,17 @@ <% if t(".legal_babble", :locale => I18n.locale) != t(".legal_babble", :locale => :en) %> - <%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %> -

<%= t ".native.title" %>

-

- <%= t ".native.html", - :native_link => link_to(t(".native.native_link"), - :controller => "site", - :action => "copyright", - :copyright_locale => nil), - :mapping_link => link_to(t(".native.mapping_link"), - :controller => "site", - :action => "index") %> -

- <% end %> +

<%= t ".native.title" %>

+

+ <%= t ".native.html", + :native_link => link_to(t(".native.native_link"), + :controller => "site", + :action => "copyright", + :copyright_locale => nil), + :mapping_link => link_to(t(".native.mapping_link"), + :controller => "site", + :action => "index") %> +


<% end %> <% else %>