From 2ac919d4f15300c5866daddb1dd56ddb7cc93fcc Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 13 Jul 2009 08:26:13 +0000 Subject: [PATCH 1/1] Fix a missing translation. Closes #2052. --- app/views/browse/relation_history.html.erb | 3 ++- config/locales/en.yml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/browse/relation_history.html.erb b/app/views/browse/relation_history.html.erb index 649638a76..c0ebab750 100644 --- a/app/views/browse/relation_history.html.erb +++ b/app/views/browse/relation_history.html.erb @@ -11,7 +11,8 @@ <%= render :partial => "relation_details", :object => relation %>
<% 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" %> diff --git a/config/locales/en.yml b/config/locales/en.yml index b75308e98..114c06ac0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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}}" -- 2.43.2