]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/node_history.rhtml
more databrowser i18n
[rails.git] / app / views / browse / node_history.rhtml
index 5fd3278c938c163df18e8b3f42b83342a75e14d7..ea96c091fb7bbf1b10fa882bee543e3c7ee003b2 100644 (file)
@@ -1,3 +1,7 @@
+<%
+@name = printable_name @node
+@title = t('browse.node_history.node_history') + ' | ' + @name
+%>
 <h2>Node History: <%= h(@name) %></h2>
 
 <table width="100%">
@@ -7,9 +11,8 @@
         <%= render :partial => "node_details", :object => node %>
         <hr />
       <% end %>
-      <%= link_to "Download XML", :controller => "old_node", :action => "history" %>
-      or
-      <%= link_to "view details", :action => "node" %>
+      <%= t 'browse.node_history.download', :download_xml_link => link_to (t'browse.node_history.download_xml', :controller => "old_node", :action => "history"),
+                                            :view_details_link => link_to (t'browse.node_history.view_details', :action => "node") %>
     </td>
     <%= render :partial => "map", :object => @node %>
   </tr>