incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1220632 [7/9] - in /incubator/lcf/branches/CONNECTORS-314: ./ connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ connectors/cmis/connector/src/main/java/org/apache/manifoldcf/c...
Date Mon, 19 Dec 2011 07:35:00 GMT
Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editjob.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editjob.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editjob.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editjob.jsp Mon Dec 19 07:34:58 2011
@@ -1,3 +1,4 @@
+<%@ page import="org.apache.manifoldcf.core.i18n.*" %>
 <%@ include file="adminHeaders.jsp" %>
 
 <%
@@ -39,7 +40,7 @@
 	// Figure out tab name
 	String tabName = variableContext.getParameter("tabname");
 	if (tabName == null || tabName.length() == 0)
-		tabName = "Name";
+		tabName = Messages.getString("editjob.Name");
 
 	// Get a loaded job object, somehow.
 	String jobID = null;
@@ -147,13 +148,13 @@
 	}
 
 	// Set up the predefined tabs
-	tabsArray.add("Name");
-	tabsArray.add("Connection");
+	tabsArray.add(Messages.getString("editjob.Name"));
+	tabsArray.add(Messages.getString("editjob.Connection"));
 	if (connectionName.length() > 0)
 	{
-		tabsArray.add("Scheduling");
+		tabsArray.add(Messages.getString("editjob.Scheduling"));
 		if (relationshipTypes != null && relationshipTypes.length > 0)
-			tabsArray.add("Hop Filters");
+			tabsArray.add(Messages.getString("editjob.HopFilters"));
 	}
 
 
@@ -166,7 +167,7 @@
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		Apache ManifoldCF: Edit Job
+		<fmt:message key='editjob.ApacheManifoldCFEditJob' />
 	</title>
 
 	<script type="text/javascript">
@@ -224,7 +225,7 @@
 			if (editjob.description.value == "")
 			{
 				alert("Job must have a name");
-				SelectTab("Name");
+				SelectTab(Messages.getString("editjob.Name"));
 				document.editjob.description.focus();
 				return;
 			}
@@ -424,15 +425,15 @@
 	if (connList.length == 0)
 	{
 %>
-	<p class="windowtitle">Edit a Job</p>
-	<table class="displaytable"><tr><td class="message">No repository connections defined - create one first</td></tr></table>
+	<p class="windowtitle"><fmt:message key='editjob.EditaJob' /></p>
+	<table class="displaytable"><tr><td class="message"><fmt:message key='editjob.NoRepositoryConnectionsDefinedCreateOneFirst' /></td></tr></table>
 <%
 	}
 	else if (outputList.length == 0)
 	{
 %>
-	<p class="windowtitle">Edit a Job</p>
-	<table class="displaytable"><tr><td class="message">No output connections defined - create one first</td></tr></table>
+	<p class="windowtitle"><fmt:message key='editjob.EditaJob' /></p>
+	<table class="displaytable"><tr><td class="message"><fmt:message key='editjob.NoOutputConnectionsDefinedCreateOneFirst' /></td></tr></table>
 <%
 	}
 	else
@@ -477,13 +478,13 @@
 	if (description.length() > 0)
 	{
 %>
-			  <nobr>Edit job '<%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%>'</nobr>
+			  <nobr><fmt:message key='editjob.EditJob' /> '<%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%>'</nobr>
 <%
 	}
 	else
 	{
 %>
-		          <nobr>Edit a Job</nobr>
+		          <nobr><fmt:message key='editjob.EditaJob' /></nobr>
 <%
 	}
 %>
@@ -495,7 +496,7 @@
 		  <input type="hidden" name="schedulerecords" value='<%=Integer.toString(scheduleRecords.size())%>'/>
 <%
 	// The NAME tab
-	if (tabName.equals("Name"))
+	if (tabName.equals(Messages.getString("editjob.Name")))
 	{
 %>
 		  <table class="displaytable">
@@ -503,7 +504,7 @@
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1"><nobr>Name:</nobr></td><td class="value" colspan="3">
+				<td class="description" colspan="1"><nobr><fmt:message key='editjob.Name' /></nobr></td><td class="value" colspan="3">
 					<input type="text" size="50" name="description" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(description)%>'/>
 				</td>
 			</tr>
@@ -518,7 +519,7 @@
 	}
 
 	// Hop Filters tab
-	if (tabName.equals("Hop Filters"))
+	if (tabName.equals(Messages.getString("editjob.HopFilters")))
 	{
 	    if (relationshipTypes != null)
 	    {
@@ -538,7 +539,7 @@
 				mapField = mapValue.toString();
 %>
 			<tr>
-				<td class="description" colspan="1"><nobr>Maximum hop count for type '<%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(relationshipType)%>':</nobr></td>
+				<td class="description" colspan="1"><nobr><fmt:message key='editjob.MaximumHopCountForType' /> '<%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(relationshipType)%>'<fmt:message key='editjob.semicolon' /></nobr></td>
 				<td class="value" colspan="3" >
 					<input name='<%="hopmax_"+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(relationshipType)%>' type="text" size="5" value='<%=mapField%>'/>
 				</td>
@@ -548,11 +549,11 @@
 %>
 			<tr><td class="separator" colspan="4"><hr/></td></tr>
 			<tr>
-				<td class="description" colspan="1"><nobr>Hop count mode:</nobr></td>
+				<td class="description" colspan="1"><nobr><fmt:message key='editjob.HopCountMode' /></nobr></td>
 				<td class="value" colspan="3">
-					<nobr><input type="radio" name="hopcountmode" value='<%=Integer.toString(IJobDescription.HOPCOUNT_ACCURATE)%>' <%=((hopcountMode==IJobDescription.HOPCOUNT_ACCURATE)?"checked=\"true\"":"")%>>Delete unreachable documents</input></nobr><br/>
-					<nobr><input type="radio" name="hopcountmode" value='<%=Integer.toString(IJobDescription.HOPCOUNT_NODELETE)%>' <%=((hopcountMode==IJobDescription.HOPCOUNT_NODELETE)?"checked=\"true\"":"")%>>Keep unreachable documents, for now</input></nobr><br/>
-					<nobr><input type="radio" name="hopcountmode" value='<%=Integer.toString(IJobDescription.HOPCOUNT_NEVERDELETE)%>' <%=((hopcountMode==IJobDescription.HOPCOUNT_NEVERDELETE)?"checked=\"true\"":"")%>>Keep unreachable documents, forever</input></nobr><br/>
+					<nobr><input type="radio" name="hopcountmode" value='<%=Integer.toString(IJobDescription.HOPCOUNT_ACCURATE)%>' <%=((hopcountMode==IJobDescription.HOPCOUNT_ACCURATE)?"checked=\"true\"":"")%>><fmt:message key='editjob.DeleteUnreachableDocuments' /></input></nobr><br/>
+					<nobr><input type="radio" name="hopcountmode" value='<%=Integer.toString(IJobDescription.HOPCOUNT_NODELETE)%>' <%=((hopcountMode==IJobDescription.HOPCOUNT_NODELETE)?"checked=\"true\"":"")%>><fmt:message key='editjob.KeepUnreachableDocumentsForNow' /></input></nobr><br/>
+					<nobr><input type="radio" name="hopcountmode" value='<%=Integer.toString(IJobDescription.HOPCOUNT_NEVERDELETE)%>' <%=((hopcountMode==IJobDescription.HOPCOUNT_NEVERDELETE)?"checked=\"true\"":"")%>><fmt:message key='editjob.KeepUnreachableDocumentsForever' /></input></nobr><br/>
 				</td>
 			</tr>
 		  </table>
@@ -583,7 +584,7 @@
 	}
 
 	// Connection tab
-	if (tabName.equals("Connection"))
+	if (tabName.equals(Messages.getString("editjob.Connection")))
 	{
 %>
 		  <table class="displaytable">
@@ -595,10 +596,10 @@
 	    if (outputName.length() == 0)
 	    {
 %>
-				<td class="description"><nobr>Output connection:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.OutputConnection' /></nobr></td>
 				<td class="value">
 					<select name="outputname" size="1">
-						<option <%="".equals(outputName)?"selected=\"selected\"":""%> value="">-- None selected --</option>
+						<option <%="".equals(outputName)?"selected=\"selected\"":""%> value="">-- <fmt:message key='editjob.NoneSelected' /> --</option>
 <%
 		int j = 0;
 		while (j < outputList.length)
@@ -616,7 +617,7 @@
 	    else
 	    {
 %>
-				<td class="description"><nobr>Output connection:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.OutputConnection' /></nobr></td>
 				<td class="value"><input type="hidden" name="outputname" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(outputName)%>'/><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(outputName)%></td>
 <%
 	    }
@@ -626,10 +627,10 @@
 	    if (connectionName.length() == 0)
 	    {
 %>
-				<td class="description"><nobr>Repository connection:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.RepositoryConnection' /></nobr></td>
 				<td class="value">
 					<select name="connectionname" size="1">
-						<option <%="".equals(connectionName)?"selected=\"selected\"":""%> value="">-- None selected --</option>
+						<option <%="".equals(connectionName)?"selected=\"selected\"":""%> value="">-- <fmt:message key='editjob.NoneSelected' /> --</option>
 <%
 		int j = 0;
 		while (j < connList.length)
@@ -647,17 +648,17 @@
 	    else
 	    {
 %>
-				<td class="description"><nobr>Repository connection:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.RepositoryConnection' /></nobr></td>
 				<td class="value"><input type="hidden" name="connectionname" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(connectionName)%>'/><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectionName)%></td>
 <%
 	    }
 %>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Priority:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.Priority' /></nobr></td>
 				<td class="value">
 					<select name="priority" size="1">
-						<option value="1" <%=(priority==1)?"selected=\"selected\"":""%>>1 (Highest)</option>
+						<option value="1" <%=(priority==1)?"selected=\"selected\"":""%>>1 <fmt:message key='editjob.Highest' /></option>
 						<option value="2" <%=(priority==2)?"selected=\"selected\"":""%>>2</option>
 						<option value="3" <%=(priority==3)?"selected=\"selected\"":""%>>3</option>
 						<option value="4" <%=(priority==4)?"selected=\"selected\"":""%>>4</option>
@@ -666,15 +667,15 @@
 						<option value="7" <%=(priority==7)?"selected=\"selected\"":""%>>7</option>
 						<option value="8" <%=(priority==8)?"selected=\"selected\"":""%>>8</option>
 						<option value="9" <%=(priority==9)?"selected=\"selected\"":""%>>9</option>
-						<option value="10" <%=(priority==10)?"selected=\"selected\"":""%>>10 (Lowest)</option>
+						<option value="10" <%=(priority==10)?"selected=\"selected\"":""%>>10 <fmt:message key='editjob.Lowest' /></option>
 					</select>
 				</td>
-				<td class="description"><nobr>Start method:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.StartMethod' /></nobr></td>
 				<td class="value">
 					<select name="startmethod" size="1">
-						<option value='<%=IJobDescription.START_WINDOWBEGIN%>' <%=(startMethod==IJobDescription.START_WINDOWBEGIN)?"selected=\"selected\"":""%>>Start when schedule window starts</option>
-						<option value='<%=IJobDescription.START_WINDOWINSIDE%>' <%=(startMethod==IJobDescription.START_WINDOWINSIDE)?"selected=\"selected\"":""%>>Start even inside a schedule window</option>
-						<option value='<%=IJobDescription.START_DISABLE%>' <%=(startMethod==IJobDescription.START_DISABLE)?"selected=\"selected\"":""%>>Don't automatically start this job</option>
+						<option value='<%=IJobDescription.START_WINDOWBEGIN%>' <%=(startMethod==IJobDescription.START_WINDOWBEGIN)?"selected=\"selected\"":""%>><fmt:message key='editjob.StartWhenScheduleWindowStarts' /></option>
+						<option value='<%=IJobDescription.START_WINDOWINSIDE%>' <%=(startMethod==IJobDescription.START_WINDOWINSIDE)?"selected=\"selected\"":""%>><fmt:message key='editjob.StartEvenInsideAScheduleWindow' /></option>
+						<option value='<%=IJobDescription.START_DISABLE%>' <%=(startMethod==IJobDescription.START_DISABLE)?"selected=\"selected\"":""%>><fmt:message key='editjob.DontAutomaticallyStartThisJob' /></option>
 					</select>
 				</td>
 			</tr>
@@ -691,7 +692,7 @@
 	}
 
 	// Scheduling tab
-	if (tabName.equals("Scheduling"))
+	if (tabName.equals(Messages.getString("editjob.Scheduling")))
 	{
 %>
 		  <table class="displaytable">
@@ -703,21 +704,21 @@
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Schedule type:</nobr></td><td class="value"><select name="scheduletype" size="1">
-					<option value='<%=IJobDescription.TYPE_CONTINUOUS%>' <%=(type==IJobDescription.TYPE_CONTINUOUS)?"selected=\"selected\"":""%>>Rescan documents dynamically</option>
-					<option value='<%=IJobDescription.TYPE_SPECIFIED%>' <%=(type==IJobDescription.TYPE_SPECIFIED)?"selected=\"selected\"":""%>>Scan every document once</option>
-				</select></td><td class="description"><nobr>Recrawl interval (if continuous):</nobr></td><td class="value">
-					<nobr><input type="text" size="5" name="recrawlinterval" value='<%=((recrawlInterval==null)?"":recrawlInterval.toString())%>'/> minutes (blank=infinity)</nobr>
+				<td class="description"><nobr><fmt:message key='editjob.ScheduleType' /></nobr></td><td class="value"><select name="scheduletype" size="1">
+					<option value='<%=IJobDescription.TYPE_CONTINUOUS%>' <%=(type==IJobDescription.TYPE_CONTINUOUS)?"selected=\"selected\"":""%>><fmt:message key='editjob.RescanDocumentsDynamically' /></option>
+					<option value='<%=IJobDescription.TYPE_SPECIFIED%>' <%=(type==IJobDescription.TYPE_SPECIFIED)?"selected=\"selected\"":""%>><fmt:message key='editjob.ScanEveryDocumentOnce' /></option>
+				</select></td><td class="description"><nobr><fmt:message key='editjob.RecrawlIntervalIfContinuous' /></nobr></td><td class="value">
+					<nobr><input type="text" size="5" name="recrawlinterval" value='<%=((recrawlInterval==null)?"":recrawlInterval.toString())%>'/> <fmt:message key='editjob.minutesBlankInfinity' /></nobr>
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Expiration interval (if continuous):</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.ExpirationIntervalIfContinuous' /></nobr></td>
 				<td class="value">
-					<nobr><input type="text" size="5" name="expirationinterval" value='<%=((expirationInterval==null)?"":expirationInterval.toString())%>'/> minutes (blank=infinity)</nobr>
+					<nobr><input type="text" size="5" name="expirationinterval" value='<%=((expirationInterval==null)?"":expirationInterval.toString())%>'/> <fmt:message key='editjob.minutesBlankInfinity' /></nobr>
 				</td>
-				<td class="description"><nobr>Reseed interval (if continuous):</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.ReseedIntervalIfContinuous' /></nobr></td>
 				<td class="value">
-					<nobr><input type="text" size="5" name="reseedinterval" value='<%=((reseedInterval==null)?"":reseedInterval.toString())%>'/> minutes (blank=infinity)</nobr>
+					<nobr><input type="text" size="5" name="reseedinterval" value='<%=((reseedInterval==null)?"":reseedInterval.toString())%>'/> <fmt:message key='editjob.minutesBlankInfinity' /></nobr>
 				</td>
 			</tr>
 <%
@@ -739,7 +740,7 @@
 	    if (scheduleRecords.size() == 0)
 	    {
 %>
-			<tr><td class="message" colspan="4">No schedule specified</td></tr>
+			<tr><td class="message" colspan="4"><fmt:message key='editjob.NoScheduleSpecified' /></td></tr>
 <%
 	    }
 	    else
@@ -768,20 +769,20 @@
 		}
 %>
 			<tr>
-				<td class="description"><nobr>Scheduled time:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.ScheduledTime' /></nobr></td>
 				<td colspan="3" class="value">
 				    <select class="schedulepulldown" multiple="true" name='<%="dayofweek"+postFix%>' size="3">
-					<option value="none" <%=(srDayOfWeek==null)?"selected=\"selected\"":""%>>Any day of week</option>
-					<option value="0" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(0))?"selected=\"selected\"":""%>>Sundays</option>
-					<option value="1" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(1))?"selected=\"selected\"":""%>>Mondays</option>
-					<option value="2" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(2))?"selected=\"selected\"":""%>>Tuesdays</option>
-					<option value="3" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(3))?"selected=\"selected\"":""%>>Wednesdays</option>
-					<option value="4" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(4))?"selected=\"selected\"":""%>>Thursdays</option>
-					<option value="5" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(5))?"selected=\"selected\"":""%>>Fridays</option>
-					<option value="6" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(6))?"selected=\"selected\"":""%>>Saturdays</option>
-				    </select> at 
+					<option value="none" <%=(srDayOfWeek==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.AnyDayOfWeek' /></option>
+					<option value="0" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(0))?"selected=\"selected\"":""%>><fmt:message key='editjob.Sundays' /></option>
+					<option value="1" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(1))?"selected=\"selected\"":""%>><fmt:message key='editjob.Mondays' /></option>
+					<option value="2" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(2))?"selected=\"selected\"":""%>><fmt:message key='editjob.Tuesdays' /></option>
+					<option value="3" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(3))?"selected=\"selected\"":""%>><fmt:message key='editjob.Wednesdays' /></option>
+					<option value="4" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(4))?"selected=\"selected\"":""%>><fmt:message key='editjob.Thursdays' /></option>
+					<option value="5" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(5))?"selected=\"selected\"":""%>><fmt:message key='editjob.Fridays' /></option>
+					<option value="6" <%=(srDayOfWeek!=null&&srDayOfWeek.checkValue(6))?"selected=\"selected\"":""%>><fmt:message key='editjob.Saturdays' /></option>
+				    </select> <fmt:message key='editjob.at' /> 
 				    <select class="schedulepulldown" multiple="true" name='<%="hourofday"+postFix%>' size="3">
-					<option value="none" <%=(srHourOfDay==null)?"selected=\"selected\"":""%>>Midnight/Any hour of day</option>
+					<option value="none" <%=(srHourOfDay==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.MidnightAnyHourOfDay' /></option>
 <%
 					k = 0;
 					while (k < 24)
@@ -804,37 +805,37 @@
 						k++;
 					}
 %>
-				    </select> plus 
+				    </select> <fmt:message key='editjob.plus' /> 
 				    <select class="schedulepulldown" multiple="true" name='<%="minutesofhour"+postFix%>' size="3">
-					<option value="none" <%=(srMinutesOfHour==null)?"selected=\"selected\"":""%>>Nothing</option>
+					<option value="none" <%=(srMinutesOfHour==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.Nothing' /></option>
 <%
 					k = 0;
 					while (k < 60)
 					{
 %>
-						<option value='<%=k%>' <%=(srMinutesOfHour!=null&&srMinutesOfHour.checkValue(k))?"selected=\"selected\"":""%>><%=Integer.toString(k)%> minutes</option>
+						<option value='<%=k%>' <%=(srMinutesOfHour!=null&&srMinutesOfHour.checkValue(k))?"selected=\"selected\"":""%>><%=Integer.toString(k)%> <fmt:message key='editjob.minutes' /></option>
 <%
 						k++;
 					}
 %>
-				    </select> in 
+				    </select> <fmt:message key='editjob.in' /> 
 				    <select class="schedulepulldown" multiple="true" name='<%="monthofyear"+postFix%>' size="3">
-					<option value="none" <%=(srMonthOfYear==null)?"selected=\"selected\"":""%>>Every month of year</option>
-					<option value="0" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(0))?"selected=\"selected\"":""%>>January</option>
-					<option value="1" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(1))?"selected=\"selected\"":""%>>February</option>
-					<option value="2" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(2))?"selected=\"selected\"":""%>>March</option>
-					<option value="3" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(3))?"selected=\"selected\"":""%>>April</option>
-					<option value="4" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(4))?"selected=\"selected\"":""%>>May</option>
-					<option value="5" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(5))?"selected=\"selected\"":""%>>June</option>
-					<option value="6" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(6))?"selected=\"selected\"":""%>>July</option>
-					<option value="7" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(7))?"selected=\"selected\"":""%>>August</option>
-					<option value="8" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(8))?"selected=\"selected\"":""%>>September</option>
-					<option value="9" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(9))?"selected=\"selected\"":""%>>October</option>
-					<option value="10" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(10))?"selected=\"selected\"":""%>>November</option>
-					<option value="11" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(11))?"selected=\"selected\"":""%>>December</option>
-				    </select> on
+					<option value="none" <%=(srMonthOfYear==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.EveryMonthOfYear' /></option>
+					<option value="0" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(0))?"selected=\"selected\"":""%>><fmt:message key='editjob.January' /></option>
+					<option value="1" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(1))?"selected=\"selected\"":""%>><fmt:message key='editjob.February' /></option>
+					<option value="2" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(2))?"selected=\"selected\"":""%>><fmt:message key='editjob.March' /></option>
+					<option value="3" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(3))?"selected=\"selected\"":""%>><fmt:message key='editjob.April' /></option>
+					<option value="4" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(4))?"selected=\"selected\"":""%>><fmt:message key='editjob.May' /></option>
+					<option value="5" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(5))?"selected=\"selected\"":""%>><fmt:message key='editjob.June' /></option>
+					<option value="6" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(6))?"selected=\"selected\"":""%>><fmt:message key='editjob.July' /></option>
+					<option value="7" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(7))?"selected=\"selected\"":""%>><fmt:message key='editjob.August' /></option>
+					<option value="8" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(8))?"selected=\"selected\"":""%>><fmt:message key='editjob.September' /></option>
+					<option value="9" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(9))?"selected=\"selected\"":""%>><fmt:message key='editjob.October' /></option>
+					<option value="10" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(10))?"selected=\"selected\"":""%>><fmt:message key='editjob.November' /></option>
+					<option value="11" <%=(srMonthOfYear!=null&&srMonthOfYear.checkValue(11))?"selected=\"selected\"":""%>><fmt:message key='editjob.December' /></option>
+				    </select> <fmt:message key='editjob.on' />
 				    <select class="schedulepulldown" multiple="true" name='<%="dayofmonth"+postFix%>' size="3">
-					<option value="none" <%=(srDayOfMonth==null)?"selected=\"selected\"":""%>>Any day of month</option>
+					<option value="none" <%=(srDayOfMonth==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.AnyDayOfMonth' /></option>
 <%
 					k = 0;
 					while (k < 31)
@@ -859,13 +860,13 @@
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Maximum run time:</nobr></td><td colspan="3" class="value">
-					<input type="text" size="5" name='<%="duration"+postFix%>' value='<%=((srDuration==null)?"":new Long(srDuration.longValue()/60000L).toString())%>'/> minutes
+				<td class="description"><nobr><fmt:message key='editjob.MaximumRunTime' /></nobr></td><td colspan="3" class="value">
+					<input type="text" size="5" name='<%="duration"+postFix%>' value='<%=((srDuration==null)?"":new Long(srDuration.longValue()/60000L).toString())%>'/> <fmt:message key='editjob.minutes' />
 				</td>
 			</tr>
 			<tr>
 				<td class="message" colspan="4">
-					<a name='<%="remove_schedule_"+Integer.toString(l)%>'><input type="button" value="Remove Schedule" onClick='<%="Javascript:RemoveSchedule("+Integer.toString(l)+")"%>' alt='<%="Remove schedule record #"+Integer.toString(l)%>'/></a>
+					<a name='<%="remove_schedule_"+Integer.toString(l)%>'><input type="button" value="<fmt:message key='editjob.RemoveSchedule' />" onClick='<%="Javascript:RemoveSchedule("+Integer.toString(l)+")"%>' alt='<%="Remove schedule record #"+Integer.toString(l)%>'/></a>
 					<input type="hidden" name='<%="recordop"+postFix%>' value=""/>
 				</td>
 			</tr>
@@ -879,20 +880,20 @@
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Scheduled time:</nobr></td>
+				<td class="description"><nobr><fmt:message key='editjob.ScheduledTime' /></nobr></td>
 				<td colspan="3" class="value">
 				    <select class="schedulepulldown" multiple="true" name="dayofweek" size="3">
-					<option value="none" <%=(dayOfWeek==null)?"selected=\"selected\"":""%>>Any day of week</option>
-					<option value="0" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(0))?"selected=\"selected\"":""%>>Sundays</option>
-					<option value="1" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(1))?"selected=\"selected\"":""%>>Mondays</option>
-					<option value="2" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(2))?"selected=\"selected\"":""%>>Tuesdays</option>
-					<option value="3" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(3))?"selected=\"selected\"":""%>>Wednesdays</option>
-					<option value="4" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(4))?"selected=\"selected\"":""%>>Thursdays</option>
-					<option value="5" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(5))?"selected=\"selected\"":""%>>Fridays</option>
-					<option value="6" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(6))?"selected=\"selected\"":""%>>Saturdays</option>
-				    </select> at 
+					<option value="none" <%=(dayOfWeek==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.AnyDayOfWeek' /></option>
+					<option value="0" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(0))?"selected=\"selected\"":""%>><fmt:message key='editjob.Sundays' /></option>
+					<option value="1" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(1))?"selected=\"selected\"":""%>><fmt:message key='editjob.Mondays' /></option>
+					<option value="2" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(2))?"selected=\"selected\"":""%>><fmt:message key='editjob.Tuesdays' /></option>
+					<option value="3" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(3))?"selected=\"selected\"":""%>><fmt:message key='editjob.Wednesdays' /></option>
+					<option value="4" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(4))?"selected=\"selected\"":""%>><fmt:message key='editjob.Thursdays' /></option>
+					<option value="5" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(5))?"selected=\"selected\"":""%>><fmt:message key='editjob.Fridays' /></option>
+					<option value="6" <%=(dayOfWeek!=null&&dayOfWeek.checkValue(6))?"selected=\"selected\"":""%>><fmt:message key='editjob.Saturdays' /></option>
+				    </select> <fmt:message key='editjob.at' /> 
 				    <select class="schedulepulldown" multiple="true" name="hourofday" size="3">
-					<option value="none" <%=(hourOfDay==null)?"selected=\"selected\"":""%>>Midnight/Any hour of day</option>
+					<option value="none" <%=(hourOfDay==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.MidnightAnyHourOfDay' /></option>
 <%
 					int k = 0;
 					while (k < 24)
@@ -915,37 +916,37 @@
 						k++;
 					}
 %>
-				    </select> plus 
+				    </select> <fmt:message key='editjob.plus' /> 
 				    <select class="schedulepulldown" multiple="true" name="minutesofhour" size="3">
-					<option value="none" <%=(minutesOfHour==null)?"selected=\"selected\"":""%>>Nothing</option>
+					<option value="none" <%=(minutesOfHour==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.Nothing' /></option>
 <%
 					k = 0;
 					while (k < 60)
 					{
 %>
-						<option value='<%=k%>' <%=(minutesOfHour!=null&&minutesOfHour.checkValue(k))?"selected=\"selected\"":""%>><%=Integer.toString(k)%> minutes</option>
+						<option value='<%=k%>' <%=(minutesOfHour!=null&&minutesOfHour.checkValue(k))?"selected=\"selected\"":""%>><%=Integer.toString(k)%> <fmt:message key='editjob.minutes' /></option>
 <%
 						k++;
 					}
 %>
-				    </select> in 
+				    </select> <fmt:message key='editjob.in' /> 
 				    <select class="schedulepulldown" multiple="true" name="monthofyear" size="3">
-					<option value="none" <%=(monthOfYear==null)?"selected=\"selected\"":""%>>Every month of year</option>
-					<option value="0" <%=(monthOfYear!=null&&monthOfYear.checkValue(0))?"selected=\"selected\"":""%>>January</option>
-					<option value="1" <%=(monthOfYear!=null&&monthOfYear.checkValue(1))?"selected=\"selected\"":""%>>February</option>
-					<option value="2" <%=(monthOfYear!=null&&monthOfYear.checkValue(2))?"selected=\"selected\"":""%>>March</option>
-					<option value="3" <%=(monthOfYear!=null&&monthOfYear.checkValue(3))?"selected=\"selected\"":""%>>April</option>
-					<option value="4" <%=(monthOfYear!=null&&monthOfYear.checkValue(4))?"selected=\"selected\"":""%>>May</option>
-					<option value="5" <%=(monthOfYear!=null&&monthOfYear.checkValue(5))?"selected=\"selected\"":""%>>June</option>
-					<option value="6" <%=(monthOfYear!=null&&monthOfYear.checkValue(6))?"selected=\"selected\"":""%>>July</option>
-					<option value="7" <%=(monthOfYear!=null&&monthOfYear.checkValue(7))?"selected=\"selected\"":""%>>August</option>
-					<option value="8" <%=(monthOfYear!=null&&monthOfYear.checkValue(8))?"selected=\"selected\"":""%>>September</option>
-					<option value="9" <%=(monthOfYear!=null&&monthOfYear.checkValue(9))?"selected=\"selected\"":""%>>October</option>
-					<option value="10" <%=(monthOfYear!=null&&monthOfYear.checkValue(10))?"selected=\"selected\"":""%>>November</option>
-					<option value="11" <%=(monthOfYear!=null&&monthOfYear.checkValue(11))?"selected=\"selected\"":""%>>December</option>
-				    </select> on 
+					<option value="none" <%=(monthOfYear==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.EveryMonthOfYear' /></option>
+					<option value="0" <%=(monthOfYear!=null&&monthOfYear.checkValue(0))?"selected=\"selected\"":""%>><fmt:message key='editjob.January' /></option>
+					<option value="1" <%=(monthOfYear!=null&&monthOfYear.checkValue(1))?"selected=\"selected\"":""%>><fmt:message key='editjob.February' /></option>
+					<option value="2" <%=(monthOfYear!=null&&monthOfYear.checkValue(2))?"selected=\"selected\"":""%>><fmt:message key='editjob.March' /></option>
+					<option value="3" <%=(monthOfYear!=null&&monthOfYear.checkValue(3))?"selected=\"selected\"":""%>><fmt:message key='editjob.April' /></option>
+					<option value="4" <%=(monthOfYear!=null&&monthOfYear.checkValue(4))?"selected=\"selected\"":""%>><fmt:message key='editjob.May' /></option>
+					<option value="5" <%=(monthOfYear!=null&&monthOfYear.checkValue(5))?"selected=\"selected\"":""%>><fmt:message key='editjob.June' /></option>
+					<option value="6" <%=(monthOfYear!=null&&monthOfYear.checkValue(6))?"selected=\"selected\"":""%>><fmt:message key='editjob.July' /></option>
+					<option value="7" <%=(monthOfYear!=null&&monthOfYear.checkValue(7))?"selected=\"selected\"":""%>><fmt:message key='editjob.August' /></option>
+					<option value="8" <%=(monthOfYear!=null&&monthOfYear.checkValue(8))?"selected=\"selected\"":""%>><fmt:message key='editjob.September' /></option>
+					<option value="9" <%=(monthOfYear!=null&&monthOfYear.checkValue(9))?"selected=\"selected\"":""%>><fmt:message key='editjob.October' /></option>
+					<option value="10" <%=(monthOfYear!=null&&monthOfYear.checkValue(10))?"selected=\"selected\"":""%>><fmt:message key='editjob.November' /></option>
+					<option value="11" <%=(monthOfYear!=null&&monthOfYear.checkValue(11))?"selected=\"selected\"":""%>><fmt:message key='editjob.December' /></option>
+				    </select> <fmt:message key='editjob.on' /> 
 				    <select class="schedulepulldown" multiple="true" name="dayofmonth" size="3">
-					<option value="none" <%=(dayOfMonth==null)?"selected=\"selected\"":""%>>Any day of month</option>
+					<option value="none" <%=(dayOfMonth==null)?"selected=\"selected\"":""%>><fmt:message key='editjob.AnyDayOfMonth' /></option>
 <%
 					k = 0;
 					while (k < 31)
@@ -970,14 +971,14 @@
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Maximum run time:</nobr></td><td colspan="3" class="value">
-					<input type="text" size="5" name="duration" value='<%=((duration==null)?"":duration.toString())%>'/> minutes
+				<td class="description"><nobr><fmt:message key='editjob.MaximumRunTime' /></nobr></td><td colspan="3" class="value">
+					<input type="text" size="5" name="duration" value='<%=((duration==null)?"":duration.toString())%>'/> <fmt:message key='editjob.minutes' />
 				</td>
 			</tr>
 			<tr>
 				<td class="message" colspan="4">
 					<input type="hidden" name="recordop" value=""/>
-					<a name="add_schedule"><input type="button" value="Add Scheduled Time" onClick="javascript:AddScheduledTime()" alt="Add new schedule record"/></a>
+					<a name="add_schedule"><input type="button" value="<fmt:message key='editjob.AddScheduledTime' />" onClick="javascript:AddScheduledTime()" alt="<fmt:message key='editjob.AddNewScheduleRecord' />"/></a>
 				</td>
 			</tr>
 		  </table>
@@ -1149,20 +1150,20 @@
 	if (connectionName.length() > 0 && outputName.length() > 0)
 	{
 %>
-			<input type="button" value="Save" onClick="javascript:Save()" alt="Save this job"/>
+			<input type="button" value="<fmt:message key='editjob.Save' />" onClick="javascript:Save()" alt="<fmt:message key='editjob.SaveThisJob' />"/>
 <%
 	}
 	else
 	{
-		if (tabName.equals("Connection"))
+		if (tabName.equals(Messages.getString("editjob.Connection")))
 		{
 %>
-			<input type="button" value="Continue" onClick="javascript:Continue()" alt="Continue to next screen"/>
+			<input type="button" value="<fmt:message key='editjob.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='editjob.ContinueToNextScreen' />"/>
 <%
 		}
 	}
 %>
-			&nbsp;<input type="button" value="Cancel" onClick="javascript:Cancel()" alt="Cancel job editing"/>
+			&nbsp;<input type="button" value="<fmt:message key='editjob.cancel' />" onClick="javascript:Cancel()" alt="<fmt:message key='editjob.CancelJobEditing' />"/>
 			</nobr></td>
 			</tr>
 		  </table>

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editoutput.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editoutput.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editoutput.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/editoutput.jsp Mon Dec 19 07:34:58 2011
@@ -1,3 +1,4 @@
+<%@ page import="org.apache.manifoldcf.core.i18n.*" %>
 <%@ include file="adminHeaders.jsp" %>
 
 <%
@@ -36,8 +37,7 @@
 	// Figure out what the current tab name is.
 	String tabName = variableContext.getParameter("tabname");
 	if (tabName == null || tabName.length() == 0)
-		tabName = "Name";
-
+		tabName = Messages.getString("editoutput.Name");
 	String connectionName = null;
 	IOutputConnection connection = (IOutputConnection)threadContext.get("ConnectionObject");
 	if (connection == null)
@@ -80,10 +80,10 @@
 	ArrayList tabsArray = new ArrayList();
 
 	// Set up the predefined tabs
-	tabsArray.add("Name");
-	tabsArray.add("Type");
+	tabsArray.add(Messages.getString("editoutput.Name"));
+	tabsArray.add(Messages.getString("editoutput.Type"));
 	if (className.length() > 0)
-		tabsArray.add("Throttling");
+		tabsArray.add(Messages.getString("editoutput.Throttling"));
 
 %>
 
@@ -94,7 +94,7 @@
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		Apache ManifoldCF: Edit Output Connection
+		<fmt:message key="editoutput.ApacheManifoldCFEditOutputConnection" />
 	</title>
 
 	<script type="text/javascript">
@@ -143,7 +143,7 @@
 			if (editconnection.connname.value == "")
 			{
 				alert("Connection must have a name");
-				SelectTab("Name");
+				SelectTab(Messages.getString("editoutput.Name"));
 				document.editconnection.connname.focus();
 				return;
 			}
@@ -230,7 +230,7 @@
 	if (set.getRowCount() == 0)
 	{
 %>
-	<p class="windowtitle">Edit Output Connection</p>
+	<p class="windowtitle"><fmt:message key='editoutput.EditOutputConnection' /></p>
 	<table class="displaytable"><tr><td class="message">No output connectors registered</td></tr></table>
 <%
 	}
@@ -269,13 +269,14 @@
 	  if (description.length() > 0)
 	  {
 %>
-			  <nobr>Edit output connection '<%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%>'</nobr>
+			  <nobr><fmt:message key='editoutput.EditOutputConnection' /> '<%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%>'</nobr>
 <%
 	  }
 	  else
 	  {
 %>
-		          <nobr>Edit an Output Connection</nobr>
+
+		          <nobr><fmt:message key="editoutput.EditAnOutputConnection" /></nobr>
 <%
 	  }
 %>
@@ -285,17 +286,18 @@
 		<td class="tabbody" colspan='<%=Integer.toString(tabsArray.size()+1)%>'>
 <%
 
+
 	  // Name tab
-	  if (tabName.equals("Name"))
+	  if (tabName.equals(Messages.getString("editoutput.Name")))
 	  {
 %>
 		    <table class="displaytable">
 			<tr><td class="separator" colspan="5"><hr/></td></tr>
 			<tr>
-				<td class="description"><nobr>Name:</nobr></td><td class="value" colspan="4">
+				<td class="description"><nobr><fmt:message key='editoutput.Name' /></nobr></td><td class="value" colspan="4">
 <%
 	    // If the connection doesn't exist yet, we are allowed to change the name.
-	    if (connection == null)
+	    if (connection == null || connectionName.length() < 1)
 	    {
 %>
 					<input type="text" size="32" name="connname" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(connectionName)%>'/>
@@ -312,7 +314,7 @@
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Description:</nobr></td><td class="value" colspan="4">
+				<td class="description"><nobr><fmt:message key='editoutput.Description' /></nobr></td><td class="value" colspan="4">
 					<input type="text" size="50" name="description" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(description)%>'/>
 				</td>
 			</tr>
@@ -330,13 +332,13 @@
 
 
 	  // "Type" tab
-	  if (tabName.equals("Type"))
+	  if (tabName.equals(Messages.getString("editoutput.Type")))
 	  {
 %>
 		    <table class="displaytable">
 			<tr><td class="separator" colspan="5"><hr/></td></tr>
 			<tr>
-				<td class="description"><nobr>Connection type:</nobr></td><td class="value" colspan="4">
+				<td class="description"><nobr><fmt:message key="editoutput.ConnectionType" /></nobr></td><td class="value" colspan="4">
 <%
 	    if (className.length() > 0)
 	    {
@@ -393,13 +395,13 @@
 
 
 	  // The "Throttling" tab
-	  if (tabName.equals("Throttling"))
+	  if (tabName.equals(Messages.getString("editoutput.Throttling")))
 	  {
 %>
 		    <table class="displaytable">
 			<tr><td class="separator" colspan="2"><hr/></td></tr>
 			<tr>
-				<td class="description"><nobr>Max connections</nobr><br/><nobr>(per JVM):</nobr></td>
+				<td class="description"><nobr><fmt:message key='editoutput.MaxConnections' /></nobr><br/><nobr><fmt:message key='editoutput.PerJVM' /></nobr></td>
 				<td class="value"><input type="text" size="6" name="maxconnections" value='<%=Integer.toString(maxConnections)%>'/></td>
 			</tr>
 		    </table>
@@ -424,20 +426,20 @@
 	  if (className.length() > 0)
 	  {
 %>
-			    <input type="button" value="Save" onClick="javascript:Save()" alt="Save this output connection"/>
+			    <input type="button" value="<fmt:message key='editoutput.Save' />" onClick="javascript:Save()" alt="<fmt:message key='editoutput.SaveThisOutputConnection' />"/>
 <%
 	  }
 	  else
 	  {
-		if (tabName.equals("Type"))
+		if (tabName.equals(Messages.getString("editoutput.Type")))
 		{
 %>
-			    <input type="button" value="Continue" onClick="javascript:Continue()" alt="Continue to next page"/>
+			    <input type="button" value="<fmt:message key='editoutput.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='editoutput.ContinueToNextPage' />"/>
 <%
 		}
 	  }
 %>
-			    &nbsp;<input type="button" value="Cancel" onClick="javascript:Cancel()" alt="Cancel output connection editing"/></nobr></td>
+			    &nbsp;<input type="button" value="<fmt:message key='editoutput.Cancel' />" onClick="javascript:Cancel()" alt="<fmt:message key='editoutput.CancelOutputConnectionEditing' />"/></nobr></td>
 			</tr>
 		    </table>
 		</td>

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/error.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/error.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/error.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/error.jsp Mon Dec 19 07:34:58 2011
@@ -27,7 +27,7 @@
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		Apache ManifoldCF: Error
+		<fmt:message key='error.ApacheManifoldCFError' />
 	</title>
 
 </head>
@@ -38,10 +38,10 @@
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle">Error!</p>
+	<p class="windowtitle"><fmt:message key='error.Error' /></p>
 
 <%
-	// These have to be fetched from request rather than variableContext since
+	// These have to be fetched from request rather than variableContext sinceerro
 	// forwards screw up the multipart wrapper
 	String errorText = variableContext.getParameter("text");
 	String target = variableContext.getParameter("target");
@@ -49,7 +49,7 @@
 	<table class="displaytable">
 		<tr><td class="message"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(errorText)%></td></tr>
 		<tr><td class="separator"><hr/></td></tr>
-		<tr><td class="message"><a href='<%=java.net.URLEncoder.encode(target,"UTF-8")%>' alt="Return">OK</a></td></tr>
+		<tr><td class="message"><a href='<%=java.net.URLEncoder.encode(target,"UTF-8")%>' alt="<fmt:message key='error.Return' />">OK</a></td></tr>
 	</table>
 
        </td>

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/index.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/index.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/index.jsp Mon Dec 19 07:34:58 2011
@@ -39,7 +39,7 @@
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle">Welcome to Apache ManifoldCF</p>
+	<p class="windowtitle"><fmt:message key="index.WelcomeToApacheManifoldFC" /></p>
        </td>
       </tr>
     </table>

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listauthorities.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listauthorities.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listauthorities.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listauthorities.jsp Mon Dec 19 07:34:58 2011
@@ -30,7 +30,7 @@
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 
 	<title>
-		Apache ManifoldCF: List Authorities
+		<fmt:message key='listauthorities.ApacheManifoldCFListAuthorities' />
 	</title>
 
 	<script type="text/javascript">
@@ -57,7 +57,7 @@
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle">List of Authority Connections</p>
+	<p class="windowtitle"><fmt:message key='listauthorities.ListOfAuthorityConnections' /></p>
 	<form class="standardform" name="listconnections" action="execute.jsp" method="POST">
 		<input type="hidden" name="op" value="Continue"/>
 		<input type="hidden" name="type" value="authority"/>
@@ -76,8 +76,8 @@
 				<td class="separator" colspan="5"><hr/></td>
 			</tr>
 			<tr class="headerrow">
-				<td class="columnheader"></td><td class="columnheader">Name</td><td class="columnheader">Description</td><td class="columnheader">Authority&nbsp;Type</td>
-				<td class="columnheader">Max</td>
+				<td class="columnheader"></td><td class="columnheader"><fmt:message key='listauthorities.Name' /></td><td class="columnheader"><fmt:message key='listauthorities.Description' /></td><td class="columnheader"><fmt:message key='listauthorities.AuthorityType' /></td>
+				<td class="columnheader"><fmt:message key='listauthorities.Max' /></td>
 			</tr>
 <%
 	int i = 0;
@@ -98,7 +98,7 @@
 %>
 		<tr <%="class=\""+((i%2==0)?"evendatarow":"odddatarow")+"\""%>>
 			<td class="columncell">
-				<a href='<%="viewauthority.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="View "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>View</a>&nbsp;<a href='<%="editauthority.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="Edit "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>Edit</a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(name)+"\")"%>' alt='<%="Delete "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>Delete</a>
+				<a href='<%="viewauthority.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="View "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listauthorities.View' /></a>&nbsp;<a href='<%="editauthority.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="Edit "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listauthorities.Edit' /></a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(name)+"\")"%>' alt='<%="Delete "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listauthorities.Delete' /></a>
 			</td>
 			<td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(name)%></td>
 			<td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%></td>
@@ -111,7 +111,7 @@
 			<tr>
 				<td class="separator" colspan="5"><hr/></td>
 			</tr>
-			<tr><td class="message" colspan="5"><a href="editauthority.jsp" alt="Add new connection">Add a new connection</a></td></tr>
+			<tr><td class="message" colspan="5"><a href="editauthority.jsp" alt="<fmt:message key='listauthorities.AddNewConnection' />"><fmt:message key='listauthorities.AddaNewConnection' /></a></td></tr>
 		</table>
 
 <%

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listconnections.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listconnections.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listconnections.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listconnections.jsp Mon Dec 19 07:34:58 2011
@@ -1,3 +1,4 @@
+<%@ page import="org.apache.manifoldcf.core.i18n.*" %>
 <%@ include file="adminHeaders.jsp" %>
 
 <%
@@ -29,7 +30,7 @@
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		Apache ManifoldCF: List Connections
+		<fmt:message key='listconnections.ApacheManifoldCFListConnections' />
 	</title>
 
 	<script type="text/javascript">
@@ -56,7 +57,7 @@
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle">List of Repository Connections</p>
+	<p class="windowtitle"><fmt:message key='listconnections.ListOfRepositoryConnections' /></p>
 	<form class="standardform" name="listconnections" action="execute.jsp" method="POST">
 		<input type="hidden" name="op" value="Continue"/>
 		<input type="hidden" name="type" value="connection"/>
@@ -75,8 +76,8 @@
 				<td class="separator" colspan="6"><hr/></td>
 			</tr>
 			<tr class="headerrow">
-				<td class="columnheader"></td><td class="columnheader">Name</td><td class="columnheader">Description</td><td class="columnheader">Connection&nbsp;Type</td><td class="columnheader">Authority</td>
-				<td class="columnheader">Max</td>
+				<td class="columnheader"></td><td class="columnheader"><fmt:message key='listconnections.Name' /></td><td class="columnheader"><fmt:message key='listconnections.Description' /></td><td class="columnheader"><fmt:message key='listconnections.ConnectionType' /></td><td class="columnheader"><fmt:message key='listconnections.Authority' /></td>
+				<td class="columnheader"><fmt:message key='listconnections.Max' /></td>
 			</tr>
 <%
 	int i = 0;
@@ -98,12 +99,12 @@
 %>
 		<tr <%="class=\""+((i%2==0)?"evendatarow":"odddatarow")+"\""%>>
 			<td class="columncell">
-				<a href='<%="viewconnection.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="View "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>View</a>&nbsp;<a href='<%="editconnection.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="Edit "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>Edit</a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(name)+"\")"%>' alt='<%="Delete "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>Delete</a>
+				<a href='<%="viewconnection.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="View "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listconnections.View' /></a>&nbsp;<a href='<%="editconnection.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="Edit "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listconnections.Edit' /></a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(name)+"\")"%>' alt='<%="Delete "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listconnections.Delete' /></a>
 			</td>
 			<td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(name)%></td>
 			<td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%></td>
 			<td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectorName)%></td>
-			<td class="columncell"><%=((authorityName==null)?"None (global authority)":org.apache.manifoldcf.ui.util.Encoder.bodyEscape(authorityName))%></td>
+			<td class="columncell"><%=((authorityName==null)?Messages.getString("listconnections.GlobalAuthority"):org.apache.manifoldcf.ui.util.Encoder.bodyEscape(authorityName))%></td>
 			<td class="columncell"><%=Integer.toString(maxCount)%></td>
 		</tr>
 <%
@@ -112,7 +113,7 @@
 			<tr>
 				<td class="separator" colspan="6"><hr/></td>
 			</tr>
-			<tr><td class="message" colspan="6"><a href="editconnection.jsp" alt="Add a connection">Add a new connection</a></td></tr>
+			<tr><td class="message" colspan="6"><a href="editconnection.jsp" alt="Add a connection"><fmt:message key='listconnections.AddNewConnection' /></a></td></tr>
 		</table>
 
 <%

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listjobs.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listjobs.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listjobs.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listjobs.jsp Mon Dec 19 07:34:58 2011
@@ -29,7 +29,7 @@
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		Apache ManifoldCF: List job descriptions
+		<fmt:message key='listjobs.ApacheManifoldCFListJobDescriptions' />
 	</title>
 
 	<script type="text/javascript">
@@ -57,7 +57,7 @@
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle">Job List</p>
+	<p class="windowtitle"><fmt:message key='listjobs.JobList' /></p>
 	<form class="standardform" name="listjobs" action="execute.jsp" method="POST">
 		<input type="hidden" name="op" value="Continue"/>
 		<input type="hidden" name="type" value="job"/>
@@ -76,10 +76,10 @@
 			</tr>
 			<tr class="headerrow">
 				<td class="columnheader"></td>
-				<td class="columnheader"><nobr>Name</nobr></td>
-				<td class="columnheader"><nobr>Output Connection</nobr></td>
-				<td class="columnheader"><nobr>Repository Connection</nobr></td>
-				<td class="columnheader"><nobr>Schedule Type</nobr></td>
+				<td class="columnheader"><nobr><fmt:message key='listjobs.Name' /></nobr></td>
+				<td class="columnheader"><nobr><fmt:message key='listjobs.OutputConnection' /></nobr></td>
+				<td class="columnheader"><nobr><fmt:message key='listjobs.RepositoryConnection' /></nobr></td>
+				<td class="columnheader"><nobr><fmt:message key='listjobs.ScheduleType' /></nobr></td>
 			</tr>
 <%
 	int i = 0;
@@ -102,7 +102,7 @@
 %>
 		<tr <%="class=\""+((i%2==0)?"evendatarow":"odddatarow")+"\""%>>
 		    <td class="columncell">
-			<a href='<%="viewjob.jsp?jobid="+jd.getID()%>' alt='<%="View job "+jd.getID()%>'>View</a>&nbsp;<a href='<%="editjob.jsp?jobid="+jd.getID()%>' alt='<%="Edit job "+jd.getID()%>'>Edit</a>&nbsp;<a href='<%="javascript:Delete(\""+jd.getID()+"\")"%>' alt='<%="Delete job "+jd.getID()%>'>Delete</a>&nbsp;<a href='<%="editjob.jsp?origjobid="+jd.getID()%>' alt='<%="Copy job "+jd.getID()%>'>Copy</a>
+			<a href='<%="viewjob.jsp?jobid="+jd.getID()%>' alt='<%="<fmt:message key=\"listjobs.Viewjob\" /> "+jd.getID()%>'><fmt:message key='listjobs.View' /></a>&nbsp;<a href='<%="editjob.jsp?jobid="+jd.getID()%>' alt='<%="<fmt:message key=\"listjobs.Editjob\" /> "+jd.getID()%>'><fmt:message key='listjobs.Edit' /></a>&nbsp;<a href='<%="javascript:Delete(\""+jd.getID()+"\")"%>' alt='<%="<fmt:message key=\"listjobs.DeleteJob\" /> "+jd.getID()%>'><fmt:message key='listjobs.Delete' /></a>&nbsp;<a href='<%="editjob.jsp?origjobid="+jd.getID()%>' alt='<%="<fmt:message key=\"listjobs.CopyJob\" /> "+jd.getID()%>'><fmt:message key='listjobs.Copy' /></a>
 		    </td>
 		    <td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(jd.getDescription())%></td>
 		    <td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(jd.getOutputConnectionName())%></td>
@@ -115,7 +115,7 @@
 			<tr>
 				<td class="separator" colspan="5"><hr/></td>
 			</tr>
-		<tr><td class="message" colspan="5"><a href="editjob.jsp" alt="Add a job">Add a new job</a></td></tr>
+		<tr><td class="message" colspan="5"><a href="editjob.jsp" alt="Add a job"><fmt:message key='listjobs.AddaNewJob' /></a></td></tr>
 		</table>
 
 <%

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listoutputs.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listoutputs.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listoutputs.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/listoutputs.jsp Mon Dec 19 07:34:58 2011
@@ -29,7 +29,7 @@
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		Apache ManifoldCF: List Output Connections
+		<fmt:message key="listoutputs.ApacheManifoldCFListOutputConnections" />
 	</title>
 
 	<script type="text/javascript">
@@ -37,7 +37,7 @@
 
 	function Delete(connectionName)
 	{
-		if (confirm("Delete output connection '"+connectionName+"'?"))
+		if (confirm("<fmt:message key='listoutputs.DeleteOutputConnection' /> '"+connectionName+"'?"))
 		{
 			document.listconnections.op.value="Delete";
 			document.listconnections.connname.value=connectionName;
@@ -56,7 +56,7 @@
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle">List of Output Connections</p>
+	<p class="windowtitle"<fmt:message key="listoutputs.ListOfOutputConnections" /></p>
 	<form class="standardform" name="listconnections" action="execute.jsp" method="POST">
 		<input type="hidden" name="op" value="Continue"/>
 		<input type="hidden" name="type" value="output"/>
@@ -76,10 +76,10 @@
 			</tr>
 			<tr class="headerrow">
 				<td class="columnheader"></td>
-				<td class="columnheader"><nobr>Name</nobr></td>
-				<td class="columnheader"><nobr>Description</nobr></td>
-				<td class="columnheader"><nobr>Connection Type</nobr></td>
-				<td class="columnheader">Max</td>
+				<td class="columnheader"><nobr><fmt:message key="listoutputs.Name" /></nobr></td>
+				<td class="columnheader"><nobr><fmt:message key="listoutputs.Description" /></nobr></td>
+				<td class="columnheader"><nobr><fmt:message key="listoutputs.ConnectionType" /></nobr></td>
+				<td class="columnheader"><fmt:message key="listoutputs.Max" /></td>
 			</tr>
 <%
 	int i = 0;
@@ -100,7 +100,7 @@
 %>
 		<tr <%="class=\""+((i%2==0)?"evendatarow":"odddatarow")+"\""%>>
 			<td class="columncell">
-				<a href='<%="viewoutput.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="View "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>View</a>&nbsp;<a href='<%="editoutput.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="Edit "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>Edit</a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(name)+"\")"%>' alt='<%="Delete "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'>Delete</a>
+				<a href='<%="viewoutput.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="View "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listoutputs.View' /></a>&nbsp;<a href='<%="editoutput.jsp?connname="+java.net.URLEncoder.encode(name,"UTF-8")%>' alt='<%="Edit "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listoutputs.Edit' /></a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(name)+"\")"%>' alt='<%="Delete "+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(name)%>'><fmt:message key='listoutputs.Delete' /></a>
 			</td>
 			<td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(name)%></td>
 			<td class="columncell"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%></td>
@@ -113,7 +113,7 @@
 			<tr>
 				<td class="separator" colspan="5"><hr/></td>
 			</tr>
-			<tr><td class="message" colspan="5"><a href="editoutput.jsp" alt="Add an output connection">Add a new output connection</a></td></tr>
+			<tr><td class="message" colspan="5"><a href="editoutput.jsp" alt="<fmt:message key='listoutputs.AddAnOutputConnection' />"><fmt:message key="listoutputs.AddaNewOutputConnection" /></a></td></tr>
 		</table>
 
 <%

Modified: incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp?rev=1220632&r1=1220631&r2=1220632&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-314/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp Mon Dec 19 07:34:58 2011
@@ -31,7 +31,7 @@ boolean maintenanceUnderway = org.apache
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		Apache ManifoldCF: Maximum Activity Report
+		<fmt:message key='maxactivityreport.ApacheManifoldCFMaximumActivityReport' />
 	</title>
 
 	<script type="text/javascript">
@@ -166,7 +166,7 @@ boolean maintenanceUnderway = org.apache
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle">Maximum Activity Report</p>
+	<p class="windowtitle"><fmt:message key='maxactivityreport.MaximumActivityReport' /></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -402,9 +402,9 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1">Connection:</td><td class="value" colspan="1">
+				<td class="description" colspan="1"><fmt:message key='maxactivityreport.Connection' /></td><td class="value" colspan="1">
 					<select name="reportconnection" size="3">
-						<option <%=(reportConnection.length()==0)?"selected=\"selected\"":""%> value="">-- Not specified --</option>
+						<option <%=(reportConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 <%
 	int i = 0;
 	while (i < connList.length)
@@ -425,7 +425,7 @@ if (maintenanceUnderway == false)
 	if (reportConnection.length() > 0)
 	{
 %>
-				<td class="description" colspan="1">Activities:</td><td class="value" colspan="1">
+				<td class="description" colspan="1"><fmt:message key='maxactivityreport.Activities' /></td><td class="value" colspan="1">
 					<input type="hidden" name="reportactivities_posted" value="true"/>
 					<select multiple="true" name="reportactivities" size="3">
 <%
@@ -455,10 +455,10 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description">Start time:</td>
+				<td class="description"><fmt:message key='maxactivityreport.StartTime' /></td>
 				<td class="value" colspan="3">
 				    <select class="schedulepulldown" name='reportstarthour' size="3">
-					<option value="" <%=(startHour.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(startHour.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -483,7 +483,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>:<nobr/> 
 				    <select class="schedulepulldown" name='reportstartminute' size="3">
-					<option value="" <%=(startMinute.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(startMinute.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -494,24 +494,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select> <fmt:message key='maxactivityreport.on' /> 
 				    <select class="schedulepulldown" name='reportstartmonth' size="3">
-					<option value="" <%=(startMonth.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
-					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>>January</option>
-					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>>February</option>
-					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>>March</option>
-					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>>April</option>
-					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>>May</option>
-					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>>June</option>
-					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>>July</option>
-					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>>August</option>
-					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>>September</option>
-					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>>October</option>
-					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>>November</option>
-					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>>December</option>
+					<option value="" <%=(startMonth.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.January' /></option>
+					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.February' /></option>
+					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.March' /></option>
+					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.April' /></option>
+					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.May' /></option>
+					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.June' /></option>
+					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.July' /></option>
+					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.August' /></option>
+					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.September' /></option>
+					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.October' /></option>
+					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.November' /></option>
+					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.December' /></option>
 				    </select><nobr/>
 				    <select class="schedulepulldown" name='reportstartday' size="3">
-					<option value="" <%=(startDay.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(startDay.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -534,7 +534,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>,<nobr/>
 				    <select class="schedulepulldown" name='reportstartyear' size="3">
-					<option value="" <%=(startYear.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(startYear.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 					<option value="2005" <%=(startYear.equals("2005"))?"selected=\"selected\"":""%>>2005</option>
 					<option value="2006" <%=(startYear.equals("2006"))?"selected=\"selected\"":""%>>2006</option>
 					<option value="2007" <%=(startYear.equals("2007"))?"selected=\"selected\"":""%>>2007</option>
@@ -550,10 +550,10 @@ if (maintenanceUnderway == false)
 				</td>
 			</tr>
 			<tr>
-				<td class="description">End time:</td>
+				<td class="description"><fmt:message key='maxactivityreport.EndTime' /></td>
 				<td class="value" colspan="3">
 				    <select class="schedulepulldown" name='reportendhour' size="3">
-					<option value="" <%=(endHour.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(endHour.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -578,7 +578,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>:<nobr/> 
 				    <select class="schedulepulldown" name='reportendminute' size="3">
-					<option value="" <%=(endMinute.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(endMinute.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -589,24 +589,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select> <fmt:message key='maxactivityreport.on' /> 
 				    <select class="schedulepulldown" name='reportendmonth' size="3">
-					<option value="" <%=(endMonth.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
-					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>>January</option>
-					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>>February</option>
-					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>>March</option>
-					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>>April</option>
-					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>>May</option>
-					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>>June</option>
-					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>>July</option>
-					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>>August</option>
-					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>>September</option>
-					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>>October</option>
-					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>>November</option>
-					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>>December</option>
+					<option value="" <%=(endMonth.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.January' /></option>
+					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.February' /></option>
+					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.March' /></option>
+					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.April' /></option>
+					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.May' /></option>
+					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.June' /></option>
+					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.July' /></option>
+					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.August' /></option>
+					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.September' /></option>
+					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.October' /></option>
+					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.November' /></option>
+					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.December' /></option>
 				    </select><nobr/>
 				    <select class="schedulepulldown" name='reportendday' size="3">
-					<option value="" <%=(endDay.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(endDay.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -629,7 +629,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>,<nobr/>
 				    <select class="schedulepulldown" name='reportendyear' size="3">
-					<option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- Not specified --</option>
+					<option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
 					<option value="2005" <%=(endYear.equals("2005"))?"selected=\"selected\"":""%>>2005</option>
 					<option value="2006" <%=(endYear.equals("2006"))?"selected=\"selected\"":""%>>2006</option>
 					<option value="2007" <%=(endYear.equals("2007"))?"selected=\"selected\"":""%>>2007</option>
@@ -648,9 +648,9 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Entity match:</nobr></td>
+				<td class="description"><nobr><fmt:message key='maxactivityreport.EntityMatch' /></nobr></td>
 				<td class="value"><input type="text" name="reportentitymatch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(entityMatch)%>'/></td>
-				<td class="description"><nobr>Result code match:</nobr></td>
+				<td class="description"><nobr><fmt:message key='maxactivityreport.ResultCodeMatch' /></nobr></td>
 				<td class="value"><input type="text" name="reportresultcodematch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(resultCodeMatch)%>'/></td>
 			</tr>
 			<tr>
@@ -658,9 +658,9 @@ if (maintenanceUnderway == false)
 			</tr>
 
 			<tr>
-				<td class="description"><nobr>Identifier class description:</nobr></td>
+				<td class="description"><nobr><fmt:message key='maxactivityreport.IdentifierClassDescription' /></nobr></td>
 				<td class="value"><input type="text" name="reportbucketdesc" size="20" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(reportBucketDesc)%>'/></td>
-				<td class="description"><nobr>Sliding window size (minutes):</nobr></td>
+				<td class="description"><nobr><fmt:message key='maxactivityreport.SlidingWindowSize' /></nobr></td>
 				<td class="value"><input type="text" name="reportinterval" size="5" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(Integer.toString(interval))%>'/></td>
 			</tr>
 			<tr>
@@ -671,13 +671,13 @@ if (maintenanceUnderway == false)
 	if (reportConnection.length() > 0)
 	{
 %>
-					<a name="MainButton"><input type="button" value="Go" onClick="javascript:Go()" alt="Execute this query"/></a>
+					<a name="MainButton"><input type="button" value="<fmt:message key='maxactivityreport.Go' />" onClick="javascript:Go()" alt="<fmt:message key='maxactivityreport.ExecuteThisQuery' />"/></a>
 <%
 	}
 	else
 	{
 %>
-					<a name="MainButton"><input type="button" value="Continue" onClick="javascript:Continue()" alt="Continue"/></a>
+					<a name="MainButton"><input type="button" value="<fmt:message key='maxactivityreport.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='maxactivityreport.Continue' />"/></a>
 <%
 	}
 %>
@@ -758,10 +758,10 @@ if (maintenanceUnderway == false)
 
 		<table class="displaytable">
 		    <tr class="headerrow">
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr>Identifier Class</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("activitycount");'><nobr>Highest Activity Rate [per min]</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr>Start Time</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("endtime");'><nobr>End Time</nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><fmt:message key='maxactivityreport.IdentifierClass' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("activitycount");'><nobr><fmt:message key='maxactivityreport.HighestActivityRate' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr><fmt:message key='maxactivityreport.StartTime' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("endtime");'><nobr><fmt:message key='maxactivityreport.EndTime' /></nobr></a></td>
 		    </tr>
 <%
 			zz = 0;
@@ -808,13 +808,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				Previous
+				<fmt:message key='maxactivityreport.Previous' />
 <%
 		}
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="Previous page">Previous</a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="<fmt:message key='maxactivityreport.PreviousPage' />"><fmt:message key='maxactivityreport.Previous' /></a>
 <%
 		}
 %>
@@ -829,14 +829,14 @@ if (maintenanceUnderway == false)
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="Next page">Next</a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="<fmt:message key='maxactivityreport.NextPage' />"><fmt:message key='maxactivityreport.Next' /></a>
 <%
 		}
 %>
 				</nobr>
 			</td>
 			<td class="description"><nobr>Rows:</nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
-			<td class="description"><nobr>Rows per page:</nobr></td>
+			<td class="description"><nobr><fmt:message key='maxactivityreport.RowsPerPage' /></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -851,7 +851,7 @@ if (maintenanceUnderway == false)
 	else
 	{
 %>
-		<table class="displaytable"><tr><td class="message">Please select a connection</td></tr></table>
+		<table class="displaytable"><tr><td class="message"><fmt:message key='maxactivityreport.PleaseSelectAConnection' /></td></tr></table>
 <%
 	}
 %>
@@ -863,7 +863,7 @@ else
 %>
 		<table class="displaytable">
 			<tr><td class="separator" colspan="1"><hr/></td></tr>
-			<tr><td class="message">This page is unavailable due to maintenance operations.  Please try again later.</td></tr>
+			<tr><td class="message"><fmt:message key='maxactivityreport.PleaseTryAgainLater' /></td></tr>
 		</table>
 <%
 }



Mime
View raw message