Move redacted version locale strings to old_elements

This commit is contained in:
Anton Khorev 2025-01-04 17:41:29 +03:00
parent dda0fb6597
commit 27d82356ab
2 changed files with 5 additions and 4 deletions

View file

@ -6,9 +6,9 @@
<% elsif current_user&.moderator? %> <% elsif current_user&.moderator? %>
&middot; &middot;
<% if !params[:show_redactions] %> <% 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 %> <% else %>
<%= link_to t("browse.view_redaction_message") %> <%= link_to t(".view_redaction_message") %>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>

View file

@ -323,8 +323,6 @@ en:
view_history: "View History" view_history: "View History"
view_unredacted_history: "View Unredacted History" view_unredacted_history: "View Unredacted History"
view_details: "View Details" view_details: "View Details"
view_redacted_data: "View Redacted Data"
view_redaction_message: "View Redaction Message"
location: "Location:" location: "Location:"
common_details: common_details:
coordinates_html: "%{latitude}, %{longitude}" coordinates_html: "%{latitude}, %{longitude}"
@ -407,6 +405,9 @@ en:
title_html: "Way History: %{name}" title_html: "Way History: %{name}"
relation: relation:
title_html: "Relation History: %{name}" title_html: "Relation History: %{name}"
actions:
view_redacted_data: "View Redacted Data"
view_redaction_message: "View Redaction Message"
nodes: nodes:
timeout: timeout:
sorry: "Sorry, the data for the node with the id %{id} took too long to retrieve." sorry: "Sorry, the data for the node with the id %{id} took too long to retrieve."