From: Anton Khorev Date: Sat, 4 Jan 2025 14:41:29 +0000 (+0300) Subject: Move redacted version locale strings to old_elements X-Git-Tag: live~31^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/27d82356ab9bd31c6e87bc92e6a339f27882bb9d Move redacted version locale strings to old_elements --- 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."