X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a7db5d63b12f90b944f4ad151e5299d1745ecfb..c03c8f4749c176df8107ef8e66b9a55db9875089:/app/views/browse/way.rhtml diff --git a/app/views/browse/way.rhtml b/app/views/browse/way.rhtml index 2e86e65f2..79c913a07 100644 --- a/app/views/browse/way.rhtml +++ b/app/views/browse/way.rhtml @@ -1,7 +1,11 @@ +<% +@name = printable_name @way +@title = t('browse.way.way') + ' | ' + @name +%>
- Way: <%= h(@name) %>+<%= t'browse.way.way_title', :way_name => h(@name) %> |
<%= render :partial => "navigation" %> @@ -11,9 +15,8 @@ |
<%= render :partial => "way_details", :object => @way %>
- <%= link_to "Download XML", :controller => "way", :action => "read" %> - or - <%= link_to "view history", :action => "way_history" %> + <%= t'browse.way.download', :download_xml_link => link_to(t('browse.way.download_xml'), :controller => "way", :action => "read"), + :view_history_link => link_to(t('browse.way.view_history'), :action => "way_history") %> |
<%= render :partial => "map", :object => @way %>