From f8ce323663debb22890ad1ed29f385b8b832abc6 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 20:16:32 +0200 Subject: Extract public-site strings to i18n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The public views were never part of the admin extraction and were broken in both directions: German visitors got "Featured", "Calendar" and "Tags", English visitors got "Suchergebnisse für Suchbegriff:". Also picks up the unlock-confirm message in link_helper, a straggler from the revisions/menu_items batch, and drops two raw() calls in the application layout in favour of link_to blocks. --- app/views/layouts/application.html.erb | 8 ++++---- app/views/layouts/assets.html.erb | 17 ----------------- app/views/layouts/pages.html.erb | 19 ------------------- 3 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 app/views/layouts/assets.html.erb delete mode 100644 app/views/layouts/pages.html.erb (limited to 'app/views/layouts') diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index f981fc11..f95ea889 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -37,7 +37,7 @@ <%= render :partial => "content/search" %>
- + " />
@@ -49,10 +49,10 @@ <% if current_user && @page.node %> <% end %> diff --git a/app/views/layouts/assets.html.erb b/app/views/layouts/assets.html.erb deleted file mode 100644 index 9d629c8d..00000000 --- a/app/views/layouts/assets.html.erb +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - Assets: <%= controller.action_name %> - <%= stylesheet_link_tag 'scaffold' %> - - - -

<%= flash[:notice] %>

- -<%= yield %> - - - diff --git a/app/views/layouts/pages.html.erb b/app/views/layouts/pages.html.erb deleted file mode 100644 index 70ceece9..00000000 --- a/app/views/layouts/pages.html.erb +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - Pages: <%= controller.action_name %> - <%= stylesheet_link_tag 'scaffold' %> - - - -

<%= flash[:notice] %>

- -<%= yield %> - - - -- cgit v1.3