]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.rhtml
i18n geocoder results
[rails.git] / app / views / browse / way_history.rhtml
index f44405ffaac8c6e80adfc7961494212aa6493941..edb967e9ecb00a1548a994eed9986a9a59b2c82f 100644 (file)
@@ -1,4 +1,8 @@
-<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">
@@ -7,9 +11,8 @@
         <%= render :partial => "way_details", :object => way %>
         <hr />
       <% 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") %>
     </td>
     <%= render :partial => "map", :object => @way %>
   </tr>