From 27d82356ab9bd31c6e87bc92e6a339f27882bb9d Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 4 Jan 2025 17:41:29 +0300 Subject: [PATCH] Move redacted version locale strings to old_elements --- app/views/old_elements/_actions.html.erb | 4 ++-- config/locales/en.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/old_elements/_actions.html.erb b/app/views/old_elements/_actions.html.erb index 94e18e457..36a16abb4 100644 --- a/app/views/old_elements/_actions.html.erb +++ b/app/views/old_elements/_actions.html.erb @@ -6,9 +6,9 @@ <% elsif current_user&.moderator? %> · <% if !params[:show_redactions] %> - <%= link_to t("browse.view_redacted_data"), :params => { :show_redactions => true } %> + <%= link_to t(".view_redacted_data"), :params => { :show_redactions => true } %> <% else %> - <%= link_to t("browse.view_redaction_message") %> + <%= link_to t(".view_redaction_message") %> <% end %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index e1dd3c303..b60549894 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -323,8 +323,6 @@ en: view_history: "View History" view_unredacted_history: "View Unredacted History" view_details: "View Details" - view_redacted_data: "View Redacted Data" - view_redaction_message: "View Redaction Message" location: "Location:" common_details: coordinates_html: "%{latitude}, %{longitude}" @@ -407,6 +405,9 @@ en: title_html: "Way History: %{name}" relation: title_html: "Relation History: %{name}" + actions: + view_redacted_data: "View Redacted Data" + view_redaction_message: "View Redaction Message" nodes: timeout: sorry: "Sorry, the data for the node with the id %{id} took too long to retrieve." -- 2.39.5