From 3ec310b0c8e517d2c0c12281c575d278f35c6f64 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Mar 2023 18:11:22 +0000 Subject: [PATCH] Fix indentation --- app/views/site/copyright.html.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 %> -- 2.39.5