From 1d5ba57c4943c804486ab2891ae5e73a6c798a4d Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Mar 2023 18:13:56 +0000 Subject: [PATCH 1/1] 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. --- app/views/site/copyright.html.erb | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) 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 %> -- 2.45.2