mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
i18n changes
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1259 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -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.title =Withdraw Item
|
||||||
jsp.tools.confirm-withdraw-item.withdraw.button =Withdraw
|
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.addbit.button =Add Bitstream
|
||||||
jsp.tools.edit-item-form.collections =In Collections:
|
jsp.tools.edit-item-form.collections =In Collections:
|
||||||
jsp.tools.edit-item-form.delete-w-confirm.button =Delete (Expunge)...
|
jsp.tools.edit-item-form.delete-w-confirm.button =Delete (Expunge)...
|
||||||
|
@@ -55,8 +55,10 @@
|
|||||||
<%@ page import="org.dspace.content.Community" %>
|
<%@ page import="org.dspace.content.Community" %>
|
||||||
<%@ page import="org.dspace.content.Item" %>
|
<%@ page import="org.dspace.content.Item" %>
|
||||||
<%@ page import="org.dspace.eperson.Group" %>
|
<%@ 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://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");
|
Collection collection = (Collection) request.getAttribute("collection");
|
||||||
@@ -131,20 +133,23 @@
|
|||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<dspace:layout title="Edit Collection"
|
<dspace:layout titlekey="jsp.tools.edit-collection.title"
|
||||||
navbar="admin"
|
navbar="admin"
|
||||||
locbar="link"
|
locbar="link"
|
||||||
parentlink="/dspace-admin"
|
parentlink="/dspace-admin"
|
||||||
parenttitle="Administer"
|
parenttitlekey="jsp.administer"
|
||||||
nocache="true">
|
nocache="true">
|
||||||
|
|
||||||
<%
|
<%
|
||||||
if (collection == null)
|
if (collection == null)
|
||||||
{
|
{
|
||||||
%>
|
%>
|
||||||
<H1>Create Collection</H1>
|
<h1><fmt:message key="jsp.tools.edit-collection.heading1"/></h1>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<H1>Edit Collection <%= collection.getHandle() %></H1>
|
<h1><fmt:message key="jsp.tools.edit-collection.heading2">
|
||||||
|
<fmt:param><%= collection.getHandle() %></fmt:param>
|
||||||
|
</fmt:message>
|
||||||
|
</h1>
|
||||||
<% if(admin_button ) { %>
|
<% if(admin_button ) { %>
|
||||||
<center>
|
<center>
|
||||||
<table width="70%">
|
<table width="70%">
|
||||||
@@ -154,7 +159,7 @@
|
|||||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_DELETE_COLLECTION %>">
|
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_DELETE_COLLECTION %>">
|
||||||
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
||||||
<input type="hidden" name="collection_id" value="<%= collection.getID() %>">
|
<input type="hidden" name="collection_id" value="<%= collection.getID() %>">
|
||||||
<input type="submit" name="submit" value="Delete this Collection...">
|
<input type="submit" name="submit" value="<fmt:message key="jsp.tools.edit-collection.button.delete"/>">
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -169,41 +174,41 @@
|
|||||||
Basic metadata
|
Basic metadata
|
||||||
=========================================================== --%>
|
=========================================================== --%>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Name:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label1"/></td>
|
||||||
<td><input type="text" name="name" value="<%= name %>" size=50></td>
|
<td><input type="text" name="name" value="<%= name %>" size=50></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Short Description</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label2"/></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="short_description" value="<%= shortDesc %>" size=50>
|
<input type="text" name="short_description" value="<%= shortDesc %>" size=50>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Introductory text (HTML):</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label3"/></td>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="introductory_text" rows=6 cols=50><%= intro %></textarea>
|
<textarea name="introductory_text" rows=6 cols=50><%= intro %></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Copyright text (plain text):</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label4"/></td>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="copyright_text" rows=6 cols=50><%= copy %></textarea>
|
<textarea name="copyright_text" rows=6 cols=50><%= copy %></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Side bar text (HTML):</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label5"/></td>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="side_bar_text" rows=6 cols=50><%= side %></textarea>
|
<textarea name="side_bar_text" rows=6 cols=50><%= side %></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">License:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label6"/></td>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="license" rows=6 cols=50><%= license %></textarea>
|
<textarea name="license" rows=6 cols=50><%= license %></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Provenance:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label7"/></td>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="provenance_description" rows=6 cols=50><%= provenance %></textarea>
|
<textarea name="provenance_description" rows=6 cols=50><%= provenance %></textarea>
|
||||||
</td>
|
</td>
|
||||||
@@ -212,7 +217,7 @@
|
|||||||
Logo
|
Logo
|
||||||
=========================================================== --%>
|
=========================================================== --%>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Logo:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label8"/></td>
|
||||||
<td>
|
<td>
|
||||||
<% if (logo != null) { %>
|
<% if (logo != null) { %>
|
||||||
<table>
|
<table>
|
||||||
@@ -221,31 +226,31 @@
|
|||||||
<img src="<%= request.getContextPath() %>/retrieve/<%= logo.getID() %>">
|
<img src="<%= request.getContextPath() %>/retrieve/<%= logo.getID() %>">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="submit" name="submit_set_logo" value="Upload new logo..."><br><br>
|
<input type="submit" name="submit_set_logo" value="<fmt:message key="jsp.tools.edit-collection.form.button.add-logo"/>"><br><br>
|
||||||
<input type="submit" name="submit_delete_logo" value="Delete (no logo)">
|
<input type="submit" name="submit_delete_logo" value="<fmt:message key="jsp.tools.edit-collection.form.button.delete-logo"/>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<input type="submit" name="submit_set_logo" value="Upload a logo...">
|
<input type="submit" name="submit_set_logo" value="<fmt:message key="jsp.tools.edit-collection.form.button.set-logo"/>">
|
||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr><td> </td></tr>
|
<tr><td> </td></tr>
|
||||||
<tr><td colspan=2><center><h3>Submission Workflow</h3></center></td></tr>
|
<tr><td colspan=2><center><h3><fmt:message key="jsp.tools.edit-collection.form.label9"/></h3></center></td></tr>
|
||||||
|
|
||||||
<% if(admin_button ) { %>
|
<% if(admin_button ) { %>
|
||||||
<%-- ===========================================================
|
<%-- ===========================================================
|
||||||
Collection Submitters
|
Collection Submitters
|
||||||
=========================================================== --%>
|
=========================================================== --%>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Submitters:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label10"/></td>
|
||||||
<td>
|
<td>
|
||||||
<% if (submitters == null) {%>
|
<% if (submitters == null) {%>
|
||||||
<input type="submit" name="submit_submitters_create" value="Create...">
|
<input type="submit" name="submit_submitters_create" value="<fmt:message key="jsp.tools.edit-collection.form.button.create"/>">
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<input type="submit" name="submit_submitters_edit" value="Edit...">
|
<input type="submit" name="submit_submitters_edit" value="<fmt:message key="jsp.tools.edit-collection.form.button.edit"/>">
|
||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -254,16 +259,22 @@
|
|||||||
Workflow groups
|
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++) { %>
|
for (int i = 0; i<3; i++) { %>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel"><em><%= roleTexts[i] %></em> Step:</td>
|
<td class="submitFormLabel"><em><%= roleTexts[i] %></em> <fmt:message key="jsp.tools.edit-collection.form.label11"/></td>
|
||||||
<td>
|
<td>
|
||||||
<% if (wfGroups[i] == null) { %>
|
<% if (wfGroups[i] == null) { %>
|
||||||
<input type="submit" name="submit_wf_create_<%= i + 1 %>" value="Create...">
|
<input type="submit" name="submit_wf_create_<%= i + 1 %>" value="<fmt:message key="jsp.tools.edit-collection.form.button.create"/>">
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<input type="submit" name="submit_wf_edit_<%= i + 1 %>" value="Edit...">
|
<input type="submit" name="submit_wf_edit_<%= i + 1 %>" value="<fmt:message key="jsp.tools.edit-collection.form.button.edit"/>">
|
||||||
<input type="submit" name="submit_wf_delete_<%= i + 1 %>" value="Delete">
|
<input type="submit" name="submit_wf_delete_<%= i + 1 %>" value="<fmt:message key="jsp.tools.edit-collection.form.button.delete"/>">
|
||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -275,12 +286,12 @@
|
|||||||
Collection Administrators
|
Collection Administrators
|
||||||
=========================================================== --%>
|
=========================================================== --%>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Collection Administrators:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label12"/></td>
|
||||||
<td>
|
<td>
|
||||||
<% if (admins == null) {%>
|
<% if (admins == null) {%>
|
||||||
<input type="submit" name="submit_admins_create" value="Create...">
|
<input type="submit" name="submit_admins_create" value="<fmt:message key="jsp.tools.edit-collection.form.button.create"/>">
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<input type="submit" name="submit_admins_edit" value="Edit...">
|
<input type="submit" name="submit_admins_edit" value="<fmt:message key="jsp.tools.edit-collection.form.button.edit"/>">
|
||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -289,13 +300,13 @@
|
|||||||
Item template
|
Item template
|
||||||
=========================================================== --%>
|
=========================================================== --%>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Item template:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label13"/></td>
|
||||||
<td>
|
<td>
|
||||||
<% if (template == null) {%>
|
<% if (template == null) {%>
|
||||||
<input type="submit" name="submit_create_template" value="Create...">
|
<input type="submit" name="submit_create_template" value="<fmt:message key="jsp.tools.edit-collection.form.button.create"/>">
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<input type="submit" name="submit_edit_template" value="Edit...">
|
<input type="submit" name="submit_edit_template" value="<fmt:message key="jsp.tools.edit-collection.form.button.edit"/>">
|
||||||
<input type="submit" name="submit_delete_template" value="Delete">
|
<input type="submit" name="submit_delete_template" value="<fmt:message key="jsp.tools.edit-collection.form.button.delete"/>">
|
||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -304,9 +315,9 @@
|
|||||||
Edit collection's policies
|
Edit collection's policies
|
||||||
=========================================================== --%>
|
=========================================================== --%>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submitFormLabel">Collection's Authorizations:</td>
|
<td class="submitFormLabel"><fmt:message key="jsp.tools.edit-collection.form.label14"/></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="submit" name="submit_authorization_edit" value="Edit...">
|
<input type="submit" name="submit_authorization_edit" value="<fmt:message key="jsp.tools.edit-collection.form.button.edit"/>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% } %>
|
<% } %>
|
||||||
@@ -325,7 +336,7 @@
|
|||||||
%>
|
%>
|
||||||
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
||||||
<input type="hidden" name="create" value="true">
|
<input type="hidden" name="create" value="true">
|
||||||
<input type="submit" name="submit" value="Create">
|
<input type="submit" name="submit" value="<fmt:message key="jsp.tools.edit-collection.form.button.create2"/>">
|
||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -334,7 +345,7 @@
|
|||||||
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
||||||
<input type="hidden" name="collection_id" value="<%= collection.getID() %>">
|
<input type="hidden" name="collection_id" value="<%= collection.getID() %>">
|
||||||
<input type="hidden" name="create" value="false">
|
<input type="hidden" name="create" value="false">
|
||||||
<input type="submit" name="submit" value="Update">
|
<input type="submit" name="submit" value="<fmt:message key="jsp.tools.edit-collection.form.button.update"/>">
|
||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
@@ -342,7 +353,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
<input type="hidden" name="community_id" value="<%= community.getID() %>">
|
||||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.CONFIRM_EDIT_COLLECTION %>">
|
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.CONFIRM_EDIT_COLLECTION %>">
|
||||||
<input type="submit" name="submit_cancel" value="Cancel">
|
<input type="submit" name="submit_cancel" value="<fmt:message key="jsp.tools.edit-collection.form.button.cancel"/>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user