]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/node_history.rhtml
Databrowser i18n. The stuff in start.rjs is a bit bizarre and might need a second...
[rails.git] / app / views / browse / node_history.rhtml
index 918be42dc1593230597e7479948fb912a4c81a99..ea96c091fb7bbf1b10fa882bee543e3c7ee003b2 100644 (file)
@@ -1,6 +1,6 @@
 <%
 @name = printable_name @node
-@title = 'Node History | ' + @name
+@title = t('browse.node_history.node_history') + ' | ' + @name
 %>
 <h2>Node History: <%= h(@name) %></h2>
 
@@ -11,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>