Fix a missing translation. Closes #2052.
authorTom Hughes <tom@compton.nu>
Mon, 13 Jul 2009 08:26:13 +0000 (08:26 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 13 Jul 2009 08:26:13 +0000 (08:26 +0000)
app/views/browse/relation_history.html.erb
config/locales/en.yml

index 649638a76c1200732324d0f365406ed50e5b06f5..c0ebab75057f24970bfbc3f6eb4c14fac1aaaad8 100644 (file)
@@ -11,7 +11,8 @@
         <%= render :partial => "relation_details", :object => relation %>
         <hr />
       <% end %>
-      <%= link_to "Download XML", :controller => "old_relation", :action => "history" %>
+      <%= 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") %>
       or
       <%= link_to "view details", :action => "relation" %>
     </td>
index b75308e980e8401208be30566714d4614fcd8877..114c06ac0e0f941735291b1e35edd059473e40f9 100644 (file)
@@ -145,6 +145,9 @@ en:
     relation_history:
       relation_history: "Relation History"
       relation_history_title: "Relation History: {{relation_name}}"
+      download: "{{download_xml_link}} or {{view_details_link}}"
+      download_xml: "Download XML"
+      view_details: "view details"
     relation_member:
       entry: "{{type}} {{name}}"
       entry_role: "{{type}} {{name}} as {{role}}"