summaryrefslogtreecommitdiff
path: root/app/views/admin/_menu.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-25 15:39:17 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-25 15:39:17 +0200
commitb7dee77cd1dd6f70e3bfa55df8b61681e9db321e (patch)
treec621c76a1e4bc96f16473d26ca239fbf83a0caff /app/views/admin/_menu.html.erb
parent78cd4957c4ca5bd05d93af6061487db095d04ee5 (diff)
Extract admin strings to i18n: dashboard, layout chrome, and the JS bridge
Diffstat (limited to 'app/views/admin/_menu.html.erb')
-rw-r--r--app/views/admin/_menu.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb
index 7270df49..b0e310e9 100644
--- a/app/views/admin/_menu.html.erb
+++ b/app/views/admin/_menu.html.erb
@@ -1,5 +1,5 @@
1<%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": "Dashboard", title: "Dashboard" %> 1<%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": t(".dashboard"), title: t(".dashboard") %>
2<a href="#" onclick="admin_search.display_toggle(); return false;" aria-label="Search" title="Search"><%= icon("search", library: "tabler", "aria-hidden": true) %></a> 2<a href="#" onclick="admin_search.display_toggle(); return false;" aria-label="<%= t(".search") %>" title="<%= t(".search") %>"><%= icon("search", library: "tabler", "aria-hidden": true) %></a>
3<%= button_to logout_path, method: :delete, aria: { label: "Log out" }, title: "Log out" do %> 3<%= button_to logout_path, method: :delete, aria: { label: t(".log_out") }, title: t(".log_out") do %>
4 <%= icon("logout", library: "tabler", "aria-hidden": true) %> 4 <%= icon("logout", library: "tabler", "aria-hidden": true) %>
5<% end %> 5<% end %>