Skip to content

Commit

Permalink
Move redacted version locale strings to old_elements
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Jan 4, 2025
1 parent dda0fb6 commit 27d8235
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/old_elements/_actions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<% elsif current_user&.moderator? %>
&middot;
<% 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 %>
</div>
Expand Down
5 changes: 3 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit 27d8235

Please sign in to comment.