From ed32bc6902ab634451539770bcd910662212e01a Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 02:56:49 +0200 Subject: Extract admin strings to i18n: users and tags clusters --- app/views/users/show.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app/views/users/show.html.erb') diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 08eb52ec..44976800 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -2,24 +2,24 @@

<%= @user.login %>

-
Actions
+
<%= t("admin.columns.actions") %>
<%= link_to edit_user_path(@user), class: 'action_button' do %> - <%= icon("edit", library: "tabler", "aria-hidden": true) %> Edit + <%= icon("edit", library: "tabler", "aria-hidden": true) %> <%= t("admin.common.edit") %> <% end %>
-
Login
+
<%= t("users.labels.login") %>
<%= @user.login %>
-
E-Mail
+
<%= t("users.labels.email") %>
<%= @user.email %>
-
Admin?
-
<%= @user.admin ? "yes" : "no" %>
+
<%= t("users.labels.admin") %>
+
<%= @user.admin ? t("admin.common.yes") : t("admin.common.no") %>
-- cgit v1.3