X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97aefa23d0606edaee71d04cf6c1a2006689b1fa..5b0024e61abe15543740bdc4b58c673d62a394d2:/app/views/browse/node.rhtml diff --git a/app/views/browse/node.rhtml b/app/views/browse/node.rhtml index e2db18f62..19aeb7dca 100644 --- a/app/views/browse/node.rhtml +++ b/app/views/browse/node.rhtml @@ -1,7 +1,11 @@ +<% +@name = printable_name @node +@title = t('browse.node.node') + ' | ' + @name +%> <%= render :partial => "map", :object => @node %>
-

Node: <%= h(@name) %>

+

<%= t'browse.node.node_title', :node_name => h(@name) %>

<%= render :partial => "navigation" %> @@ -11,9 +15,8 @@ <%= render :partial => "node_details", :object => @node %>
- <%= link_to "Download XML", :controller => "node", :action => "read" %> - or - <%= link_to "view history", :action => "node_history" %> + <%= t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "node", :action => "read"), + :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history") %>