i18n dictionary entries

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1233 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Yeadon
2005-06-15 05:02:00 +00:00
parent 7519d092b5
commit 9a43446e3f
6 changed files with 50 additions and 27 deletions

View File

@@ -822,6 +822,13 @@ jsp.submit.no-theses.info4 =For more information please <strong>contact the DSpa
jsp.submit.no-theses.info5 =Thank you for your interest in DSpace!
jsp.submit.no-theses.title =Theses Not Accepted in DSpace
jsp.submit.progressbar.select = Select
jsp.submit.progressbar.describe = Describe
jsp.submit.progressbar.upload = Upload
jsp.submit.progressbar.verify = Verify
jsp.submit.progressbar.license = License
jsp.submit.progressbar.complete = Complete
jsp.submit.saved.info =Your submission has been saved for you to finish later. You can continue the submission by going to your "My DSpace" page and clicking on the relevant "Resume" button.
jsp.submit.saved.title =Submission Saved

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

View File

@@ -356,6 +356,33 @@ UL { font-family: "verdana", "Arial", "Helvetica", sans-serif;
.submitProgressButton{ border: 0 }
.submitProgressButtonDone{ border: 0;
background-image: url(/image/submit/done.gif);
background-position: center;
height: 30px;
width: 90px;
font-size: 12pt;
color: black;
background-repeat: no-repeat; }
.submitProgressButtonCurrent{ border: 0;
background-image: url(/image/submit/current.gif);
background-position: center;
height: 30px;
width: 90px;
font-size: 12pt;
color: white;
background-repeat: no-repeat; }
.submitProgressButtonNotDone{ border: 0;
background-image: url(/image/submit/notdone.gif);
background-position: center;
height: 30px;
width: 90px;
font-size: 12pt;
color: black;
background-repeat: no-repeat; }
.miscTable { font-family: "verdana", "Arial", "Helvetica", sans-serif;
font-size: 12pt;
font-style: normal;

View File

@@ -60,34 +60,23 @@
<%@ page import="org.dspace.app.webui.servlet.SubmitServlet" %>
<%@ page import="org.dspace.license.CreativeCommons" %>
<%@ 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" %>
<%
// These are the filename stubs for the images used for each step
String[] imageNames =
{
"select",
"describe",
"describe", // all metadata edit steps mapped to this string
"upload",
"verify",
"license",
"license",
"complete"
};
// Step names for ALT text in images
String[] stepNames =
{
"Select",
"Describe",
"Describe", // all metadata edit steps mapped to this string
"Upload",
"Verify",
"License",
"License",
"Complete"
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.select"),
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.describe"),
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.describe"),
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.upload"),
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.verify"),
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.license"),
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.license"),
LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.complete")
};
int step = Integer.parseInt(request.getParameter("current_stage"));
@@ -142,14 +131,14 @@
{
%>
<%-- HACK: border=0 for non-CSS compliant Netscape 4.x --%>
<td><input class="submitProgressButton" border=0 type=image name="submit_jump_<%= idx %>" src="<%= request.getContextPath() %>/image/submit/<%= step2Name(idx,imageNames) %>-done.gif" value=" <%= step2Name(idx,stepNames) %> (Done) - " alt=" <%= step2Name(idx,stepNames) %> (Done) - "></td>
<td><input class="submitProgressButtonDone" border=0 type=submit name="submit_jump_<%= idx %>" value=" <%= step2Name(idx,stepNames) %>"></td>
<%
}
else
{
// User has reached final step, cannot jump back
%>
<td><IMG SRC="<%= request.getContextPath() %>/image/submit/<%= step2Name(idx,imageNames) %>-done.gif" ALT=" <%= step2Name(idx,stepNames) %> (Done) - "></td>
<td><input class="submitProgressButtonDone" disabled="yes" border=0 type=submit name="submit_jump_<%= idx %>" value=" <%= step2Name(idx,stepNames) %>"></td>
<%
}
// skip unused metadata edit steps
@@ -168,7 +157,7 @@
if (step > 0)
{
%>
<td><IMG SRC="<%= request.getContextPath() %>/image/submit/<%= step2Name(step,imageNames) %>-current.gif" ALT=" <%= step2Name(step,stepNames) %> (Current) - "></td>
<td><input class="submitProgressButtonCurrent" disabled="yes" border=0 type=submit name="submit_jump_<%= idx %>" value=" <%= step2Name(idx,stepNames) %>"></td>
<%
}
@@ -197,14 +186,14 @@
// Stage has been previously accessed, so user may jump to it
%>
<%-- HACK: border=0 for non-CSS compliant Netscape 4.x --%>
<td><input class="submitProgressButton" border=0 type=image name="submit_jump_<%= idx %>" src="<%= request.getContextPath() %>/image/submit/<%= step2Name(idx,imageNames) %>-done.gif" value=" <%= step2Name(idx,stepNames) %> (Done) - " alt=" <%= step2Name(idx,stepNames) %> (Done) - "></td>
<td><input class="submitProgressButtonDone" border=0 type=submit name="submit_jump_<%= idx %>" value=" <%= step2Name(idx,stepNames) %>"></td>
<%
}
else
{
// Stage hasn't been reached yet (can't be jumped to)
%>
<td><IMG SRC="<%= request.getContextPath() %>/image/submit/<%= step2Name(idx,imageNames) %>-notdone.gif" ALT=" <%= step2Name(idx,stepNames) %> (Not Done) - "></td>
<td><input class="submitProgressButtonNotDone" disabled="yes" border=0 type=submit name="submit_jump_<%= idx %>" value=" <%= step2Name(idx,stepNames) %>"></td>
<%
}
// skip unused metadata edit steps