From b7dee77cd1dd6f70e3bfa55df8b61681e9db321e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 15:39:17 +0200 Subject: Extract admin strings to i18n: dashboard, layout chrome, and the JS bridge --- app/views/admin/_menu.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/admin/_menu.html.erb') 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 @@ -<%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": "Dashboard", title: "Dashboard" %> -<%= icon("search", library: "tabler", "aria-hidden": true) %> -<%= button_to logout_path, method: :delete, aria: { label: "Log out" }, title: "Log out" do %> +<%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": t(".dashboard"), title: t(".dashboard") %> +" title="<%= t(".search") %>"><%= icon("search", library: "tabler", "aria-hidden": true) %> +<%= button_to logout_path, method: :delete, aria: { label: t(".log_out") }, title: t(".log_out") do %> <%= icon("logout", library: "tabler", "aria-hidden": true) %> <% end %> -- cgit v1.3