X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a7db5d63b12f90b944f4ad151e5299d1745ecfb..e72f35f8d9f9452dcc4da95d46d6c25ca3e063da:/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 %>