manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1222373 [6/7] - in /incubator/lcf/branches/CONNECTORS-335: connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ connectors/cmis/connector/src/main/java/org/apache/manifoldcf/craw...
Date Thu, 22 Dec 2011 17:51:32 GMT
Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp?rev=1222373&r1=1222372&r2=1222373&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp Thu Dec 22 17:51:31 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 Bandwidth Report
+		<fmt:message key='maxbandwidthreport.ApacheManifoldCFMaximumBandwidthReport' />
 	</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 Bandwidth Report</p>
+	<p class="windowtitle"><fmt:message key='maxbandwidthreport.MaximumBandwidthReport' /></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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -494,24 +494,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select> <fmt:message key='maxbandwidthreport.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='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.January' /></option>
+					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.February' /></option>
+					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.March' /></option>
+					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.April' /></option>
+					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.May' /></option>
+					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.June' /></option>
+					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.July' /></option>
+					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.August' /></option>
+					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.September' /></option>
+					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.October' /></option>
+					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.November' /></option>
+					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -589,24 +589,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select> <fmt:message key='maxbandwidthreport.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='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.January' /></option>
+					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.February' /></option>
+					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.March' /></option>
+					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.April' /></option>
+					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.May' /></option>
+					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.June' /></option>
+					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.July' /></option>
+					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.August' /></option>
+					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.September' /></option>
+					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.October' /></option>
+					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.November' /></option>
+					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.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='maxbandwidthreport.Go' />" onClick="javascript:Go()" alt="<fmt:message key='maxbandwidthreport.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='maxbandwidthreport.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='maxbandwidthreport.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("bytecount");'><nobr>Highest Bandwidth [bps]</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='maxbandwidthreport.IdentifierClass' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("bytecount");'><nobr><fmt:message key='maxbandwidthreport.HighestBandwidth2' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr><fmt:message key='maxbandwidthreport.StartTime' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("endtime");'><nobr><fmt:message key='maxbandwidthreport.EndTime' /></nobr></a></td>
 		    </tr>
 <%
 			zz = 0;
@@ -807,13 +807,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				Previous
+				<fmt:message key='maxbandwidthreport.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='maxbandwidthreport.PreviousPage' />"><fmt:message key='maxbandwidthreport.Previous' /></a>
 <%
 		}
 %>
@@ -822,20 +822,20 @@ if (maintenanceUnderway == false)
 		if (hasMoreRows == false)
 		{
 %>
-				Next
+				<fmt:message key='maxbandwidthreport.Next' />
 <%
 		}
 		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='maxbandwidthreport.NextPage' />"><fmt:message key='maxbandwidthreport.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='maxbandwidthreport.Rows' /></nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
+			<td class="description"><nobr><fmt:message key='maxbandwidthreport.RowsPerPage' /></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -850,7 +850,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='maxbandwidthreport.PleaseSelectAConnection' /></td></tr></table>
 <%
 	}
 %>
@@ -862,7 +862,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='maxbandwidthreport.PleaseTryAgainLater' /></td></tr>
 		</table>
 <%
 }

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp?rev=1222373&r1=1222372&r2=1222373&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp Thu Dec 22 17:51:31 2011
@@ -28,60 +28,62 @@
 
 %>
 
-<p class="menumain"><nobr>Outputs</nobr></p>
+<p class="menumain"><nobr><fmt:message key="navigation.Outputs" /></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listoutputs.jsp" alt="List authorities">List Output Connections</a></nobr>
+		<nobr><a class="menulink" href="listoutputs.jsp" alt="List authorities"><fmt:message key="navigation.ListOutputConnections" /></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr>Authorities</nobr></p>
+<p class="menumain"><nobr><fmt:message key="navigation.Authorities" /></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listauthorities.jsp" alt="List authorities">List Authority Connections</a></nobr>
+		<nobr><a class="menulink" href="listauthorities.jsp" alt="List authorities"><fmt:message key="navigation.ListAuthorityConnections" /></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr>Repositories</nobr></p>
+<p class="menumain"><nobr><fmt:message key="navigation.Repositories" /></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listconnections.jsp" alt="List repository connections">List Repository Connections</a></nobr>
+		<nobr><a class="menulink" href="listconnections.jsp" alt="List repository connections"><fmt:message key="navigation.ListRepositoryConnections" /></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr>Jobs</nobr></p>
+<p class="menumain"><nobr><fmt:message key="navigation.Jobs" /></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listjobs.jsp" alt="List jobs">List all Jobs</a></nobr>						
+		<nobr><a class="menulink" href="listjobs.jsp" alt="List jobs"><fmt:message key="navigation.ListAllJobs" /></a></nobr>						
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="showjobstatus.jsp" alt="Manage jobs">Status and Job Management</a></nobr>						
+		<nobr><a class="menulink" href="showjobstatus.jsp" alt="Manage jobs"><fmt:message key="navigation.StatusAndJobManagement" /></a></nobr>						
 	</li>
 </ul>
-<p class="menumain"><nobr>Status Reports</nobr></p>
+<p class="menumain"><nobr><fmt:message key="navigation.StatusReports" /></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="documentstatus.jsp" alt="Document status">Document Status</a></nobr>
+		<nobr><a class="menulink" href="documentstatus.jsp" alt="Document status"><fmt:message key="navigation.DocumentStatus" /></a></nobr>
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="queuestatus.jsp" alt="Queue status">Queue Status</a></nobr>
+		<nobr><a class="menulink" href="queuestatus.jsp" alt="Queue status"><fmt:message key="navigation.QueueStatus" /></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr>History Reports</nobr></p>
+<p class="menumain"><nobr><fmt:message key="navigation.HistoryReports" /></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="simplereport.jsp" alt="Simple history">Simple History</a></nobr>
+		<nobr><a class="menulink" href="simplereport.jsp" alt="Simple history"><fmt:message key="navigation.SimpleHistory" /></a></nobr>
 	</li>
+<!-- hozawa
 	<li class="menuitem">
-		<nobr><a class="menulink" href="maxactivityreport.jsp" alt="Maximum activity">Maximum Activity</a></nobr>
+		<nobr><a class="menulink" href="maxactivityreport.jsp" alt="Maximum activity"><fmt:message key="navigation.MaximumActivity" /></a></nobr>
+//-->
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="maxbandwidthreport.jsp" alt="Maximum bandwidth">Maximum Bandwidth</a></nobr>
+		<nobr><a class="menulink" href="maxbandwidthreport.jsp" alt="Maximum bandwidth"><fmt:message key="navigation.MaximumBandwidth" /></a></nobr>
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="resultreport.jsp" alt="Result histogram">Result Histogram</a></nobr>
+		<nobr><a class="menulink" href="resultreport.jsp" alt="Result histogram"><fmt:message key="navigation.ResultHistogram" /></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr>Miscellaneous</nobr></p>
+<p class="menumain"><nobr><fmt:message key="navigation.Miscellaneous" /></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="http://incubator.apache.org/connectors/end-user-documentation.html" alt="Help">Help</a></nobr>
+		<nobr><a class="menulink" href="http://incubator.apache.org/connectors/end-user-documentation.html" alt="Help"><fmt:message key="navigation.Help" /></a></nobr>
 	</li>
-</ul>
\ No newline at end of file
+</ul>

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp?rev=1222373&r1=1222372&r2=1222373&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp Thu Dec 22 17:51:31 2011
@@ -32,7 +32,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: Queue Status
+		<fmt:message key='queuestatus.ApacheManifoldCFQueueStatus' />
 	</title>
 
 	<script type="text/javascript">
@@ -154,7 +154,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">Queue Status</p>
+	<p class="windowtitle"><fmt:message key='queuestatus.QueueStatus' /></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -304,9 +304,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='queuestatus.Connection' /></td><td class="value" colspan="1">
 					<select name="statusconnection" size="3">
-						<option <%=(statusConnection.length()==0)?"selected=\"selected\"":""%> value="">-- Not specified --</option>
+						<option <%=(statusConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <fmt:message key='queuestatus.NotSpecified' /> --</option>
 <%
 	int i = 0;
 	while (i < connList.length)
@@ -327,7 +327,7 @@ if (maintenanceUnderway == false)
 	if (eligibleList != null)
 	{
 %>
-				<td class="description" colspan="1">Jobs:</td><td class="value" colspan="1">
+				<td class="description" colspan="1"><fmt:message key='queuestatus.Jobs' /></td><td class="value" colspan="1">
 					<select multiple="true" name="statusjobs" size="3">
 <%
 	    i = 0;
@@ -358,35 +358,35 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description">Time offset from now (minutes):</td>
+				<td class="description"><fmt:message key='queuestatus.TimeOffsetFromNowMinutes' /></td>
 				<td class="value" colspan="3">
 					<input name="statusscheduleoffset" type="text" size="6" value=""/>
 				</td>
 			</tr>
 			<tr>
-				<td class="description">Document state:</td>
+				<td class="description"><fmt:message key='queuestatus.DocumentState' /></td>
 				<td class="value" colspan="3">
 					<input name="statusdocumentstates_posted" type="hidden" value="true"/>
 					<select name="statusdocumentstates" multiple="true" size="3">
-						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_NEVERPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_NEVERPROCESSED)%>'>Documents that have never been processed</option>
-						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED)%>'>Documents processed at least once</option>
+						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_NEVERPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_NEVERPROCESSED)%>'><fmt:message key='queuestatus.DocumentsThatHaveNeverBeenProcessed' /></option>
+						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED)%>'><fmt:message key='queuestatus.DocumentsProcessedAtLeastOnce' /></option>
 					</select>
 				</td>
 			</tr>
 			<tr>
-				<td class="description">Document status:</td>
+				<td class="description"><fmt:message key='queuestatus.DocumentState' /></td>
 				<td class="value" colspan="3">
 					<input name="statusdocumentstatuses_posted" type="hidden" value="true"/>
 					<select name="statusdocumentstatuses" multiple="true" size="3">
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_INACTIVE))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_INACTIVE)%>'>Documents that are no longer active</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_PROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_PROCESSING)%>'>Documents currently in progress</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_EXPIRING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_EXPIRING)%>'>Documents currently being expired</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_DELETING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_DELETING)%>'>Documents currently being deleted</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFORPROCESSING)%>'>Documents currently available for processing</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFOREXPIRATION)%>'>Documents currently available for expiration</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFORPROCESSING)%>'>Documents not yet processable</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION)%>'>Documents not yet expirable</option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREVER))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREVER)%>'>Documents waiting forever</option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_INACTIVE))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_INACTIVE)%>'><fmt:message key='queuestatus.DocumentsThatAreNoLongerActive' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_PROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_PROCESSING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyInProgress' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_EXPIRING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_EXPIRING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyBeingExpired' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_DELETING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_DELETING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyBeingDeleted' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFORPROCESSING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyAvailableForProcessing' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFOREXPIRATION)%>'><fmt:message key='queuestatus.DocumentsCurrentlyAvailableForExpiration' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFORPROCESSING)%>'><fmt:message key='queuestatus.DocumentsNotYetProcessable' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION)%>'><fmt:message key='queuestatus.DocumentsNotYetExpirable' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREVER))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREVER)%>'><fmt:message key='queuestatus.DocumentsWaitingForever' /></option>
 					</select>
 				</td>
 			</tr>
@@ -394,11 +394,11 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Document identifier match:</nobr></td>
+				<td class="description"><nobr><fmt:message key='queuestatus.DocumentIdentifierMatch' /></nobr></td>
 				<td class="value" colspan="3"><input type="text" name="statusidentifiermatch" size="40" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(identifierMatch)%>'/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr>Identifier class description:</nobr></td>
+				<td class="description"><nobr><fmt:message key='queuestatus.IdentifierClassDescription' /></nobr></td>
 				<td class="value" colspan="3"><input type="text" name="statusbucketdesc" size="40" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(statusBucketDesc)%>'/></td>
 			</tr>
 			<tr>
@@ -410,13 +410,13 @@ if (maintenanceUnderway == false)
 	if (statusConnection.length() > 0 && statusJobIdentifiers.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='queuestatus.Go' />" onClick="javascript:Go()" alt="<fmt:message key='queuestatus.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='queuestatus.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='queuestatus.Continue' />"/></a>
 <%
 	}
 %>
@@ -482,16 +482,16 @@ 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("inactive");'><nobr>Inactive</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processing");'><nobr>Processing</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expiring");'><nobr>Expiring</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("deleting");'><nobr>Deleting</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processready");'><nobr>About to Process</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expireready");'><nobr>About to Expire</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processwaiting");'><nobr>Waiting for Processing</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expirewaiting");'><nobr>Waiting for Expiration</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("waitingforever");'><nobr>Waiting Forever</nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><fmt:message key='queuestatus.IdentifierClass' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("inactive");'><nobr><fmt:message key='queuestatus.Inactive' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processing");'><nobr><fmt:message key='queuestatus.Processing' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expiring");'><nobr><fmt:message key='queuestatus.Expiring' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("deleting");'><nobr><fmt:message key='queuestatus.Deleting' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processready");'><nobr><fmt:message key='queuestatus.AboutToProcess' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expireready");'><nobr><fmt:message key='queuestatus.AboutToExpire' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processwaiting");'><nobr><fmt:message key='queuestatus.WaitingForProcessing' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expirewaiting");'><nobr><fmt:message key='queuestatus.WaitingForExpiration' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("waitingforever");'><nobr><fmt:message key='queuestatus.WaitingForever' /></nobr></a></td>
 		    </tr>
 <%
 		zz = 0;
@@ -549,13 +549,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				Previous
+				<fmt:message key='queuestatus.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='queuestatus.PreviousPage' />"><fmt:message key='queuestatus.Previous' /></a>
 <%
 		}
 %>
@@ -564,20 +564,20 @@ if (maintenanceUnderway == false)
 		if (hasMoreRows == false)
 		{
 %>
-				Next
+				<fmt:message key='queuestatus.Next' />
 <%
 		}
 		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='queuestatus.NextPage' />"><fmt:message key='queuestatus.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='queuestatus.Rows' /></nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
+			<td class="description"><nobr><fmt:message key='queuestatus.RowsPerPage' /></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -592,14 +592,14 @@ if (maintenanceUnderway == false)
 	    else
 	    {
 %>
-		<table class="displaytable"><tr><td class="message">Please select at least one job</td></tr></table>
+		<table class="displaytable"><tr><td class="message"><fmt:message key='queuestatus.PleaseSelectAtLeastOneJob' /></td></tr></table>
 <%
 	    }
 	}
 	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='queuestatus.PleaseSelectaConnection' /></td></tr></table>
 <%
 	}
 %>
@@ -611,7 +611,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='queuestatus.PleaseTryAgainLater' /></td></tr>
 		</table>
 <%
 }

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/resultreport.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/resultreport.jsp?rev=1222373&r1=1222372&r2=1222373&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/resultreport.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/resultreport.jsp Thu Dec 22 17:51:31 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: Activity Result Report
+		<fmt:message key='resultreport.ApacheManifoldCFActivityResultReport' />
 	</title>
 
 	<script type="text/javascript">
@@ -195,7 +195,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">Activity Result Report</p>
+	<p class="windowtitle"><fmt:message key='resultreport.ActivityResultReport' /></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -429,9 +429,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='resultreport.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='resultreport.NotSpecified' /> --</option>
 <%
 	int i = 0;
 	while (i < connList.length)
@@ -452,7 +452,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='resultreport.Activities' /></td><td class="value" colspan="1">
 					<input type="hidden" name="reportactivities_posted" value="true"/>
 					<select multiple="true" name="reportactivities" size="3">
 <%
@@ -482,10 +482,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='resultreport.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='resultreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -510,7 +510,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='resultreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -521,24 +521,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select> <fmt:message key='resultreport.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='resultreport.NotSpecified' /> --</option>
+					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.January' /></option>
+					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.February' /></option>
+					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.March' /></option>
+					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.April' /></option>
+					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.May' /></option>
+					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.June' /></option>
+					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.July' /></option>
+					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.August' /></option>
+					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.September' /></option>
+					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.October' /></option>
+					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.November' /></option>
+					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.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='resultreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -561,7 +561,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='resultreport.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>
@@ -577,10 +577,10 @@ if (maintenanceUnderway == false)
 				</td>
 			</tr>
 			<tr>
-				<td class="description">End time:</td>
+				<td class="description"><fmt:message key='resultreport.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='resultreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -605,7 +605,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='resultreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -616,24 +616,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select> <fmt:message key='resultreport.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='resultreport.NotSpecified' /> --</option>
+					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.January' /></option>
+					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.February' /></option>
+					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.March' /></option>
+					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.April' /></option>
+					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.May' /></option>
+					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.June' /></option>
+					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.July' /></option>
+					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.August' /></option>
+					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.September' /></option>
+					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.October' /></option>
+					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.November' /></option>
+					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='resultreport.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='resultreport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -656,7 +656,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='resultreport.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>
@@ -675,9 +675,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='resultreport.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='resultreport.ResultCodeMatch' /></nobr></td>
 				<td class="value"><input type="text" name="reportresultcodematch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(resultCodeMatch)%>'/></td>
 			</tr>
 			<tr>
@@ -685,9 +685,9 @@ if (maintenanceUnderway == false)
 			</tr>
 
 			<tr>
-				<td class="description"><nobr>Identifier class description:</nobr></td>
+				<td class="description"><nobr><fmt:message key='resultreport.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>Result code class description:</nobr></td>
+				<td class="description"><nobr><fmt:message key='resultreport.ResultCodeClassDescription' /></nobr></td>
 				<td class="value"><input type="text" name="reportresultdesc" size="20" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(reportResultDesc)%>'/></td>
 			</tr>
 			<tr>
@@ -698,13 +698,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='resultreport.Go' />" onClick="javascript:Go()" alt="<fmt:message key='resultreport.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='resultreport.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='resultreport.Continue' />"/></a>
 <%
 	}
 %>
@@ -772,9 +772,9 @@ 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("resultcodebucket");'><nobr>Result Class</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("eventcount");'><nobr>Event Count</nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><fmt:message key='resultreport.IdentifierClass' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("resultcodebucket");'><nobr><fmt:message key='resultreport.ResultClass' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("eventcount");'><nobr><fmt:message key='resultreport.EventCount' /></nobr></a></td>
 		    </tr>
 <%
 		zz = 0;
@@ -817,13 +817,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				Previous
+				<fmt:message key='resultreport.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='resultreport.PreviousPage' />"><fmt:message key='resultreport.Previous' /></a>
 <%
 		}
 %>
@@ -832,20 +832,20 @@ if (maintenanceUnderway == false)
 		if (hasMoreRows == false)
 		{
 %>
-				Next
+				<fmt:message key='resultreport.Next' />
 <%
 		}
 		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='resultreport.NextPage' />"><fmt:message key='resultreport.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='resultreport.Rows' /></nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
+			<td class="description"><nobr><fmt:message key='resultreport.RowsPerPage' /></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -860,7 +860,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='resultreport.PleaseSelectAConnection' /></td></tr></table>
 <%
 	}
 %>
@@ -872,7 +872,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='resultreport.PleaseTryAgainLater' /></td></tr>
 		</table>
 <%
 }

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/showjobstatus.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/showjobstatus.jsp?rev=1222373&r1=1222372&r2=1222373&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/showjobstatus.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/showjobstatus.jsp Thu Dec 22 17:51:31 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: Status of all jobs
+		<fmt:message key='showjobstatus.ApacheManifoldCFStatusOfAllJobs' />
 	</title>
 
 	<script type="text/javascript">
@@ -83,7 +83,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">Status of Jobs</p>
+	<p class="windowtitle"><fmt:message key='showjobstatus.StatusOfJobs' /></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -105,7 +105,7 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="8"><hr/></td>
 			</tr>
 			<tr class="headerrow">
-				<td class="columnheader"></td><td class="columnheader">Name</td><td class="columnheader">Status</td><td class="columnheader">Start&nbsp;Time</td><td class="columnheader">End&nbsp;Time</td><td class="columnheader">Documents</td><td class="columnheader">Active</td><td class="columnheader">Processed</td>
+				<td class="columnheader"></td><td class="columnheader"><fmt:message key='showjobstatus.Name' /></td><td class="columnheader"><fmt:message key='showjobstatus.Status' /></td><td class="columnheader"><fmt:message key='showjobstatus.StartTime' /></td><td class="columnheader"><fmt:message key='showjobstatus.EndTime' /></td><td class="columnheader"><fmt:message key='showjobstatus.Documents' /></td><td class="columnheader"><fmt:message key='showjobstatus.Active' /></td><td class="columnheader"><fmt:message key='showjobstatus.Processed' /></td>
 			</tr>
 <%
 	int i = 0;
@@ -246,7 +246,7 @@ if (maintenanceUnderway == false)
 			<tr>
 				<td class="separator" colspan="8"><hr/></td>
 			</tr>
-		<tr><td class="message" colspan="8"><a href="showjobstatus.jsp" alt="Refresh status">Refresh</a></td></tr>
+		<tr><td class="message" colspan="8"><a href="showjobstatus.jsp" alt="<fmt:message key='showjobstatus.RefreshStatus' />"><fmt:message key='showjobstatus.Refresh' /></a></td></tr>
 		</table>
 
 <%
@@ -254,6 +254,7 @@ if (maintenanceUnderway == false)
     catch (ManifoldCFException e)
     {
 	out.println("Error: "+e.getMessage());
+
 	e.printStackTrace();
     }
 %>
@@ -265,7 +266,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='showjobstatus.PleaseTryAgainLater' /></td></tr>
 		</table>
 <%
 }
@@ -274,6 +275,7 @@ else
       </tr>
     </table>
 
+
 </body>
 
 </html>

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/simplereport.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/simplereport.jsp?rev=1222373&r1=1222372&r2=1222373&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/simplereport.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/simplereport.jsp Thu Dec 22 17:51:31 2011
@@ -32,7 +32,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: Simple History Report
+		<fmt:message key='simplereport.ApacheManifoldCFSimpleHistoryReport' />
 	</title>
 
 	<script type="text/javascript">
@@ -130,7 +130,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">Simple History Report</p>
+	<p class="windowtitle"><fmt:message key='simplereport.SimpleHistoryReport' /></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -358,9 +358,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='simplereport.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='simplereport.NotSpecified' /> --</option>
 <%
 	int i = 0;
 	while (i < connList.length)
@@ -381,7 +381,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='simplereport.Activities' /></td><td class="value" colspan="1">
 					<input type="hidden" name="reportactivities_posted" value="true"/>
 					<select multiple="true" name="reportactivities" size="3">
 <%
@@ -411,10 +411,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='simplereport.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='simplereport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -439,7 +439,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='simplereport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -450,24 +450,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select><fmt:message key='simplereport.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='simplereport.NotSpecified' /> --</option>
+					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.January' /></option>
+					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.February' /></option>
+					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.March' /></option>
+					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.April' /></option>
+					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.May' /></option>
+					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.June' /></option>
+					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.July' /></option>
+					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.August' /></option>
+					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.September' /></option>
+					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.October' /></option>
+					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.November' /></option>
+					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.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='simplereport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -490,7 +490,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='simplereport.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>
@@ -506,10 +506,10 @@ if (maintenanceUnderway == false)
 				</td>
 			</tr>
 			<tr>
-				<td class="description">End time:</td>
+				<td class="description"><fmt:message key='simplereport.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='simplereport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -534,7 +534,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='simplereport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -545,24 +545,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> on 
+				    </select><fmt:message key='simplereport.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='simplereport.NotSpecified' /> --</option>
+					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.January' /></option>
+					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.February' /></option>
+					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.March' /></option>
+					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.April' /></option>
+					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.May' /></option>
+					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.June' /></option>
+					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.July' /></option>
+					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.August' /></option>
+					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.September' /></option>
+					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.October' /></option>
+					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.November' /></option>
+					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='simplereport.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='simplereport.NotSpecified' /> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -585,7 +585,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='simplereport.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>
@@ -604,9 +604,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='simplereport.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='simplereport.ResultCodeMatch' /></nobr></td>
 				<td class="value"><input type="text" name="reportresultcodematch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(resultCodeMatch)%>'/></td>
 			</tr>
 			<tr>
@@ -617,13 +617,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='simplereport.Go' />" onClick="javascript:Go()" alt="<fmt:message key='simplereport.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='simplereport.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='simplereport.Continue' />"/></a>
 <%
 	}
 %>
@@ -688,16 +688,17 @@ if (maintenanceUnderway == false)
 
 		<table class="displaytable">
 		    <tr class="headerrow">
-			<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("activity");'><nobr>Activity</nobr></a></td>
-			<td class="reportcolumnheader"><nobr>Identifier</nobr></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("resultcode");'><nobr>Result Code</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("bytes");'><nobr>Bytes</nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("elapsedtime");'><nobr>Time</nobr></a></td>
-			<td class="reportcolumnheader"><nobr>Result Description</nobr></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr><fmt:message key='simplereport.StartTime' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("activity");'><nobr><fmt:message key='simplereport.Activity' /></nobr></a></td>
+			<td class="reportcolumnheader"><nobr><fmt:message key='simplereport.Identifier' /></nobr></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("resultcode");'><nobr><fmt:message key='simplereport.ResultCode' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("bytes");'><nobr><fmt:message key='simplereport.Bytes' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("elapsedtime");'><nobr><fmt:message key='simplereport.Time' /></nobr></a></td>
+			<td class="reportcolumnheader"><nobr><fmt:message key='simplereport.ResultDescription' /></nobr></td>
 		    </tr>
 <%
 		zz = 0;
+
 		boolean hasMoreRows = (set.getRowCount() > rowCount);
 		int iterCount = hasMoreRows?rowCount:set.getRowCount();
 		while (zz < iterCount)
@@ -710,6 +711,7 @@ if (maintenanceUnderway == false)
 			resultCode = resultCodeObject.toString();
 		    String resultDescription = "";
 		    Object resultDescriptionObject = row.getValue("resultdesc");
+		    resultDescriptionObject = row.getValue("resultdesc");
 		    if (resultDescriptionObject != null)
 			resultDescription = resultDescriptionObject.toString();
 		    String[] identifierBreakdown = org.apache.manifoldcf.ui.util.Formatter.formatString(row.getValue("identifier").toString(),64,true,true);
@@ -749,13 +751,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				Previous
+				<fmt:message key='simplereport.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='simplereport.PreviousPage' />"><fmt:message key='simplereport.Previous' /></a>
 <%
 		}
 %>
@@ -764,20 +766,20 @@ if (maintenanceUnderway == false)
 		if (hasMoreRows == false)
 		{
 %>
-				Next
+				<fmt:message key='simplereport.Next' />
 <%
 		}
 		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='simplereport.NextPage' />"><fmt:message key='simplereport.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='simplereport.RowsPerPage' /></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -792,7 +794,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='simplereport.PleaseSelectAConnection' /></td></tr></table>
 <%
 	}
 %>
@@ -804,7 +806,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='simplereport.PleaseTryAgainLater' /></td></tr>
 		</table>
 <%
 }

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/viewauthority.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/viewauthority.jsp?rev=1222373&r1=1222372&r2=1222373&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/viewauthority.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/viewauthority.jsp Thu Dec 22 17:51:31 2011
@@ -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">View Authority Connection Status</p>
+	<p class="windowtitle"><fmt:message key='viewauthority.ViewAuthorityConnectionStatus' /></p>
 	<form class="standardform" name="viewconnection" action="execute.jsp" method="POST">
 		<input type="hidden" name="op" value="Continue"/>
 		<input type="hidden" name="type" value="authority"/>
@@ -120,15 +120,15 @@
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1"><nobr>Name:</nobr></td><td class="value" colspan="1"><%="<!--connection="+org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectionName)+"-->"%><nobr><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectionName)%></nobr></td>
-				<td class="description" colspan="1"><nobr>Description:</nobr></td><td class="value" colspan="1"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%></td>
+				<td class="description" colspan="1"><nobr><fmt:message key='viewauthority.Name' /></nobr></td><td class="value" colspan="1"><%="<!--connection="+org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectionName)+"-->"%><nobr><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectionName)%></nobr></td>
+				<td class="description" colspan="1"><nobr><fmt:message key='viewauthority.Description' /></nobr></td><td class="value" colspan="1"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%></td>
 			</tr>
 			<tr>
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1"><nobr>Authority type:</nobr></td><td class="value" colspan="1"><nobr><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectorName)%></nobr></td>
-				<td class="description" colspan="1"><nobr>Max connections:</nobr></td><td class="value" colspan="1"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(Integer.toString(maxCount))%></td>
+				<td class="description" colspan="1"><nobr><fmt:message key='viewauthority.AuthorityType' /></nobr></td><td class="value" colspan="1"><nobr><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectorName)%></nobr></td>
+				<td class="description" colspan="1"><nobr><fmt:message key='viewauthority.MaxConnections' /></nobr></td><td class="value" colspan="1"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(Integer.toString(maxCount))%></td>
 			</tr>
 			<tr>
 				<td class="separator" colspan="4"><hr/></td>
@@ -145,12 +145,12 @@
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1"><nobr>Connection status:</nobr></td><td class="value" colspan="3"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectionStatus)%></td>
+				<td class="description" colspan="1"><nobr><fmt:message key='viewauthority.ConnectionStatus' /></nobr></td><td class="value" colspan="3"><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectionStatus)%></td>
 			</tr>
 			<tr>
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
-		<tr><td class="message" colspan="4"><a href='<%="viewauthority.jsp?connname="+java.net.URLEncoder.encode(connectionName,"UTF-8")%>' alt="Refresh">Refresh</a>&nbsp;<a href='<%="editauthority.jsp?connname="+java.net.URLEncoder.encode(connectionName,"UTF-8")%>' alt="Edit this authority connection">Edit</a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(connectionName)+"\")"%>' alt="Delete this authority connection">Delete</a>
+		<tr><td class="message" colspan="4"><a href='<%="viewauthority.jsp?connname="+java.net.URLEncoder.encode(connectionName,"UTF-8")%>' alt="<fmt:message key='viewauthority.Refresh' />"><fmt:message key='viewauthority.Refresh' /></a>&nbsp;<a href='<%="editauthority.jsp?connname="+java.net.URLEncoder.encode(connectionName,"UTF-8")%>' alt="<fmt:message key='viewauthority.EditThisAuthorityConnection' />"><fmt:message key='viewauthority.Edit' /></a>&nbsp;<a href="javascript:void()" onclick='<%="javascript:Delete(\""+org.apache.manifoldcf.ui.util.Encoder.attributeJavascriptEscape(connectionName)+"\")"%>' alt="<fmt:message key='viewauthority.DeleteThisAuthorityConnection' />"><fmt:message key='viewauthority.Delete' /></a>
 		</td></tr>
 		</table>
 



Mime
View raw message