]> git.openstreetmap.org Git - rails.git/commitdiff
Remove the language block from around the original guidance
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 15 Mar 2023 18:45:41 +0000 (18:45 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Mar 2023 09:55:41 +0000 (09:55 +0000)
The guidance is shown in the user's own language, not in english.

app/views/site/copyright.html.erb

index 9038384610f5c88565626d9d85ee28b6dc3988a7..f8ea248b50ab2dba0c4d68adef1ecd90ef79ee2c 100644 (file)
   <% else %>
     <!-- Maybe note that this page has been translated -->
     <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %>
-      <%= tag.div :lang => "en", :dir => t("html.dir", :locale => "en") do %>
-        <h1><%= t ".foreign.title" %></h1>
-        <p>
-          <%= t ".foreign.html",
-                :english_original_link => link_to(t(".foreign.english_link"),
-                                                  :controller => "site",
-                                                  :action => "copyright",
-                                                  :copyright_locale => "en") %>
-        </p>
-      <% end %>
+      <h1><%= t ".foreign.title" %></h1>
+      <p>
+        <%= t ".foreign.html",
+              :english_original_link => link_to(t(".foreign.english_link"),
+                                                :controller => "site",
+                                                :action => "copyright",
+                                                :copyright_locale => "en") %>
+      </p>
       <hr />
     <% end %>
   <% end %>