Move history_title_html locale string to old_elements
This commit is contained in:
parent
c992d51fe2
commit
dda0fb6597
2 changed files with 10 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
<% set_title(t("browse.#{@type}.history_title_html", :name => printable_element_name(@feature))) %>
|
<% set_title(t(".#{@type}.title_html", :name => printable_element_name(@feature))) %>
|
||||||
|
|
||||||
<%= render "sidebar_header", :title => t("browse.#{@type}.history_title_html", :name => printable_element_name(@feature)) %>
|
<%= render "sidebar_header", :title => t(".#{@type}.title_html", :name => printable_element_name(@feature)) %>
|
||||||
|
|
||||||
<%= render :partial => "browse/#{@type}", :collection => @feature.send(:"old_#{@type}s").reverse %>
|
<%= render :partial => "browse/#{@type}", :collection => @feature.send(:"old_#{@type}s").reverse %>
|
||||||
|
|
||||||
|
|
|
@ -330,10 +330,8 @@ en:
|
||||||
coordinates_html: "%{latitude}, %{longitude}"
|
coordinates_html: "%{latitude}, %{longitude}"
|
||||||
node:
|
node:
|
||||||
title_html: "Node: %{name}"
|
title_html: "Node: %{name}"
|
||||||
history_title_html: "Node History: %{name}"
|
|
||||||
way:
|
way:
|
||||||
title_html: "Way: %{name}"
|
title_html: "Way: %{name}"
|
||||||
history_title_html: "Way History: %{name}"
|
|
||||||
nodes: "Nodes"
|
nodes: "Nodes"
|
||||||
nodes_count:
|
nodes_count:
|
||||||
one: "%{count} node"
|
one: "%{count} node"
|
||||||
|
@ -343,7 +341,6 @@ en:
|
||||||
other: "part of ways %{related_ways}"
|
other: "part of ways %{related_ways}"
|
||||||
relation:
|
relation:
|
||||||
title_html: "Relation: %{name}"
|
title_html: "Relation: %{name}"
|
||||||
history_title_html: "Relation History: %{name}"
|
|
||||||
members: "Members"
|
members: "Members"
|
||||||
members_count:
|
members_count:
|
||||||
one: "%{count} member"
|
one: "%{count} member"
|
||||||
|
@ -402,6 +399,14 @@ en:
|
||||||
introduction: "Click on the map to find nearby features."
|
introduction: "Click on the map to find nearby features."
|
||||||
nearby: "Nearby features"
|
nearby: "Nearby features"
|
||||||
enclosing: "Enclosing features"
|
enclosing: "Enclosing features"
|
||||||
|
old_elements:
|
||||||
|
index:
|
||||||
|
node:
|
||||||
|
title_html: "Node History: %{name}"
|
||||||
|
way:
|
||||||
|
title_html: "Way History: %{name}"
|
||||||
|
relation:
|
||||||
|
title_html: "Relation History: %{name}"
|
||||||
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."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue