X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97aefa23d0606edaee71d04cf6c1a2006689b1fa..c03c8f4749c176df8107ef8e66b9a55db9875089:/app/views/browse/way_history.rhtml diff --git a/app/views/browse/way_history.rhtml b/app/views/browse/way_history.rhtml index f44405ffa..edb967e9e 100644 --- a/app/views/browse/way_history.rhtml +++ b/app/views/browse/way_history.rhtml @@ -1,4 +1,8 @@ -

Way History: <%= h(@name) %>

+<% +@name = printable_name @way +@title = t('browse.way_history.way_history') + ' | ' + @name +%> +

<%= t'browse.way_history.way_history_title', :way_name => h(@name) %>

@@ -7,9 +11,8 @@ <%= render :partial => "way_details", :object => way %>
<% end %> - <%= link_to "Download XML", :controller => "old_way", :action => "history" %> - or - <%= link_to "view details", :action => "way" %> + <%= 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") %> <%= render :partial => "map", :object => @way %>