From fe104aa2c52f61cd8555fbc98c20501f50f4aae8 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 17:45:34 +0200 Subject: Extract admin strings to i18n: revisions, page_translations, and menu items, --- app/views/menu_items/edit.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app/views/menu_items/edit.html.erb') diff --git a/app/views/menu_items/edit.html.erb b/app/views/menu_items/edit.html.erb index 89854c93..0652dc78 100644 --- a/app/views/menu_items/edit.html.erb +++ b/app/views/menu_items/edit.html.erb @@ -1,25 +1,25 @@ -

Edit Menu Item

+

<%= t(".title") %>

<%= form_for @menu_item do |f| %>
-
Search
+
<%= t("admin.common.search") %>
<%= text_field_tag :menu_search_term %>
-
Node Id
+
<%= MenuItem.human_attribute_name(:node_id) %>
<%= f.text_field :node_id %>
-
Path
+
<%= MenuItem.human_attribute_name(:path) %>
<%= f.text_field :path %>
-
Title
+
<%= MenuItem.human_attribute_name(:title) %>
<%= f.text_field :title %>
-
<%= f.submit 'Update' %>
+
<%= f.submit t("admin.common.update") %>
<% end %>
-- cgit v1.3