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/search/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/search') diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index 81ffb0dc..bb8f63b7 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -1,5 +1,5 @@ <% if params[:search_term] %> -

Suchergebnisse für Suchbegriff: <%=h params[:search_term] %>

+

<%= t(".results_for", :query => params[:search_term]) %>

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