changeset 576:c5858d96b9a4 feature_36

Small textual changes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 10 Aug 2011 14:49:36 +0100
parents aed210f6095b
children e98a5b2fe3b8
files vendor/plugins/redmine_bibliography/app/views/publications/index.html.erb vendor/plugins/redmine_bibliography/config/locales/en.yml
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/views/publications/index.html.erb	Wed Aug 10 14:24:53 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/app/views/publications/index.html.erb	Wed Aug 10 14:49:36 2011 +0100
@@ -3,8 +3,11 @@
 </div>
 
 <div class="splitcontentleft">
-  <h3>Publications#index</h3>
-
+  <% if @project %>
+  <h3><%= l(:label_all_publications_for_project, :project => @project.name) %></h3>
+  <% else %>
+  <h3><%= l(:label_all_publications) %></h3>
+  <% end %>
 
   <table>
     <tr>
@@ -30,4 +33,4 @@
 <% content_for :sidebar do %>
   Sidebar
 <% end %>
-  
\ No newline at end of file
+  
--- a/vendor/plugins/redmine_bibliography/config/locales/en.yml	Wed Aug 10 14:24:53 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/config/locales/en.yml	Wed Aug 10 14:49:36 2011 +0100
@@ -6,6 +6,9 @@
   name: "Name"
   publications_box: "My Publications"
   label_my_publications_box: "My Publications"
+
+  label_all_publications: All Publications
+  label_all_publications_for_project: Publications associated with %{project}
   
   field_publication_title: Title
   field_publication_authors: Authors
@@ -27,11 +30,11 @@
   label_publications_plural: "Publications"
   label_publication_new: "Create New Publication"
   label_publication_index: "List of Publication"
-  label_add_publication_to_project: "Add Publication to this project"
+  label_add_publication_to_project: "Add publication to this project"
   label_publication_edit: "Edit Publication"
   label_publication_show: "Publication Details"
-  label_add_project_to_publication: "Add Project to Publication"
-  label_project_search: "Search by name: "
+  label_add_project_to_publication: "Add this publication to a project"
+  label_project_search: "Find project by name: "
   label_publication_project_index: "Projects associated with this publication"
   label_publication_index: "View all publications"