From: Andy Allan Date: Wed, 15 Mar 2023 18:11:22 +0000 (+0000) Subject: Fix indentation X-Git-Tag: live~734^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/3ec310b0c8e517d2c0c12281c575d278f35c6f64 Fix indentation --- diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb index 977398660..581af7d6d 100644 --- a/app/views/site/copyright.html.erb +++ b/app/views/site/copyright.html.erb @@ -1,7 +1,6 @@ <% content_for :heading do %> -<% if @locale == "en" %> - - + <% if @locale == "en" %> + <% 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" %>

@@ -40,7 +39,6 @@ <%= t ".legal_babble.title_html" %> <% end %> <% end %> - <% end %> <% I18n.with_locale @locale do %>