]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
Convert openstreetbugs javascript to new style api
[rails.git] / app / views / browse / relation_history.html.erb
index 649638a76c1200732324d0f365406ed50e5b06f5..a62ac2ef73e674d189e8dc76787cba43f8ba63fd 100644 (file)
@@ -11,9 +11,8 @@
         <%= render :partial => "relation_details", :object => relation %>
         <hr />
       <% end %>
-      <%= link_to "Download XML", :controller => "old_relation", :action => "history" %>
-      or
-      <%= link_to "view details", :action => "relation" %>
+      <%= t'browse.relation_history.download', :download_xml_link => link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history"), 
+                                               :view_details_link => link_to(t('browse.relation_history.view_details'), :action => "relation") %>
     </td>
     <%= render :partial => "map", :object => @relation %>
   </tr>