diff --git a/dspace/config/Messages.properties b/dspace/config/Messages.properties index 128dbd72fe..4d2e2f0b3c 100644 --- a/dspace/config/Messages.properties +++ b/dspace/config/Messages.properties @@ -976,6 +976,38 @@ jsp.tools.confirm-withdraw-item.question =Are you sure this item should be withd jsp.tools.confirm-withdraw-item.title =Withdraw Item jsp.tools.confirm-withdraw-item.withdraw.button =Withdraw +jsp.tools.edit-collection.title = Edit Collection +jsp.tools.edit-collection.heading1 = Create Collection +jsp.tools.edit-collection.heading2 = Edit Collection {0} +jsp.tools.edit-collection.button.delete = Delete this Collection... +jsp.tools.edit-collection.form.label1 = Name: +jsp.tools.edit-collection.form.label2 = Short Description +jsp.tools.edit-collection.form.label3 = Introductory text (HTML): +jsp.tools.edit-collection.form.label4 = Copyright text (plain text): +jsp.tools.edit-collection.form.label5 = Side bar text (HTML): +jsp.tools.edit-collection.form.label6 = License: +jsp.tools.edit-collection.form.label7 = Provenance: +jsp.tools.edit-collection.form.label8 = Logo: +jsp.tools.edit-collection.form.label9 = Submission Workflow +jsp.tools.edit-collection.form.label10 = Submitters: +jsp.tools.edit-collection.form.label11 = Step: +jsp.tools.edit-collection.form.label12 = Collection Administrators: +jsp.tools.edit-collection.form.label13 = Item template: +jsp.tools.edit-collection.form.label14 = Collection's Authorizations: +jsp.tools.edit-collection.form.button.add-logo = Upload new logo... +jsp.tools.edit-collection.form.button.delete-logo = Delete (no logo) +jsp.tools.edit-collection.form.button.set-logo = Upload a logo... +jsp.tools.edit-collection.form.button.create = Create... +jsp.tools.edit-collection.form.button.create2 = Create +jsp.tools.edit-collection.form.button.edit = Edit... +jsp.tools.edit-collection.form.button.delete = Delete +jsp.tools.edit-collection.form.button.update = Update +jsp.tools.edit-collection.form.button.cancel = Cancel +jsp.tools.edit-collection.wf-role1 = Accept/Reject +jsp.tools.edit-collection.wf-role2 = Accept/Reject/Edit Metadata +jsp.tools.edit-collection.wf-role3 = Edit Metadata + + jsp.tools.edit-item-form.addbit.button =Add Bitstream jsp.tools.edit-item-form.collections =In Collections: jsp.tools.edit-item-form.delete-w-confirm.button =Delete (Expunge)... diff --git a/dspace/jsp/tools/edit-collection.jsp b/dspace/jsp/tools/edit-collection.jsp index 93e64cfe4c..44472dbbab 100644 --- a/dspace/jsp/tools/edit-collection.jsp +++ b/dspace/jsp/tools/edit-collection.jsp @@ -55,8 +55,10 @@ <%@ page import="org.dspace.content.Community" %> <%@ page import="org.dspace.content.Item" %> <%@ page import="org.dspace.eperson.Group" %> +<%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <% Collection collection = (Collection) request.getAttribute("collection"); @@ -131,20 +133,23 @@ } %> - <% if (collection == null) { %> -

Create Collection

+

<% } else { %> -

Edit Collection <%= collection.getHandle() %>

+

+ <%= collection.getHandle() %> + +

<% if(admin_button ) { %>
@@ -154,7 +159,7 @@ - + "> @@ -169,41 +174,41 @@ Basic metadata =========================================================== --%> - + - + - + - + - + - + - + @@ -212,7 +217,7 @@ Logo =========================================================== --%> - + - + <% if(admin_button ) { %> <%-- =========================================================== Collection Submitters =========================================================== --%> - + @@ -254,16 +259,22 @@ Workflow groups =========================================================== --%> <% - String[] roleTexts = {"Accept/Reject", "Accept/Reject/Edit Metadata", "Edit Metadata"}; + String[] roleTexts = + { + LocaleSupport.getLocalizedMessage(pageContext, "jsp.tools.edit-collection.wf-role1"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.tools.edit-collection.wf-role2"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.tools.edit-collection.wf-role3") + }; + for (int i = 0; i<3; i++) { %> - + @@ -275,12 +286,12 @@ Collection Administrators =========================================================== --%> - + @@ -289,13 +300,13 @@ Item template =========================================================== --%> - + @@ -304,9 +315,9 @@ Edit collection's policies =========================================================== --%> - + <% } %> @@ -325,7 +336,7 @@ %> - + "> <% } else @@ -334,7 +345,7 @@ - + "> <% } %> @@ -342,10 +353,10 @@
Name:
Short Description
Introductory text (HTML):
Copyright text (plain text):
Side bar text (HTML):
License:
Provenance:
Logo: <% if (logo != null) { %> @@ -221,31 +226,31 @@
-

- + ">

+ ">
<% } else { %> - + "> <% } %>
 

Submission Workflow

Submitters: <% if (submitters == null) {%> - + "> <% } else { %> - + "> <% } %>
<%= roleTexts[i] %> Step:<%= roleTexts[i] %> <% if (wfGroups[i] == null) { %> - + "> <% } else { %> - - + "> + "> <% } %>
Collection Administrators: <% if (admins == null) {%> - + "> <% } else { %> - + "> <% } %>
Item template: <% if (template == null) {%> - + "> <% } else { %> - - + "> + "> <% } %>
Collection's Authorizations: - + ">
- + ">
-
+ \ No newline at end of file