diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 20:16:32 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 20:16:32 +0200 |
| commit | f8ce323663debb22890ad1ed29f385b8b832abc6 (patch) | |
| tree | e872c2d8a6af8de6ad84ef285240f0c130b26bcc /app/views/search | |
| parent | fe104aa2c52f61cd8555fbc98c20501f50f4aae8 (diff) | |
Extract public-site strings to i18n
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.
Diffstat (limited to 'app/views/search')
| -rw-r--r-- | app/views/search/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 1 | <% if params[:search_term] %> | 1 | <% if params[:search_term] %> |
| 2 | <h2>Suchergebnisse für Suchbegriff: <%=h params[:search_term] %></h2> | 2 | <h2><%= t(".results_for", :query => params[:search_term]) %></h2> |
| 3 | <% end %> | 3 | <% end %> |
| 4 | 4 | ||
| 5 | <%= | 5 | <%= |
