From: Andy Allan Date: Wed, 15 Mar 2023 18:45:41 +0000 (+0000) Subject: Remove the language block from around the original guidance X-Git-Tag: live~1631^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/473d425c10862824ffdaa21f9ed68a9e9f33bc0e Remove the language block from around the original guidance The guidance is shown in the user's own language, not in english. --- diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index 903838461..f8ea248b5 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -19,16 +19,14 @@ <% else %> <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %> - <%= tag.div :lang => "en", :dir => t("html.dir", :locale => "en") do %> -

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

-

- <%= t ".foreign.html", - :english_original_link => link_to(t(".foreign.english_link"), - :controller => "site", - :action => "copyright", - :copyright_locale => "en") %> -

- <% end %> +

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

+

+ <%= t ".foreign.html", + :english_original_link => link_to(t(".foreign.english_link"), + :controller => "site", + :action => "copyright", + :copyright_locale => "en") %> +


<% end %> <% end %>