diff --git a/app/views/old_elements/_actions.html.erb b/app/views/old_elements/_actions.html.erb index 94e18e4577..36a16abb45 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 e1dd3c3032..b60549894e 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."