-<h2>Way History: <%= h(@name) %></h2>
+<%
+@name = printable_name @way
+@title = t('browse.way_history.way_history') + ' | ' + @name
+%>
+<h2><%= t'browse.way_history.way_history_title', :way_name => h(@name) %></h2>
<table width="100%">
<tr valign="top">
<%= render :partial => "way_details", :object => way %>
<hr />
<% end %>
- <%= link_to "Download XML", :controller => "old_way", :action => "history" %>
- or
- <%= link_to "view details", :action => "way" %>
- </td>
- <td align="right">
- <% if @way.visible %>
- <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %>
- <% else %>
- Deleted
- <% end %>
+ <%= t'browse.way_history.download', :download_xml_link => link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history"),
+ :view_details_link => link_to(t('browse.way_history.view_details'), :action => "way") %>
</td>
+ <%= render :partial => "map", :object => @way %>
</tr>
</table>