Pārlūkot izejas kodu

rename jsp and labels (reqheader)

Kaoru FUZITA 9 gadi atpakaļ
vecāks
revīzija
e369570bb7

+ 8 - 8
src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

@@ -1269,28 +1269,28 @@ public class FessLabels extends ActionMessages {
     public static final String LABELS_roletype_value = "{labels.roletype_value}";
 
     /** The key of the message: Request Header */
-    public static final String LABELS_request_header_configuration = "{labels.request_header_configuration}";
+    public static final String LABELS_reqheader_configuration = "{labels.reqheader_configuration}";
 
     /** The key of the message: Name */
-    public static final String LABELS_request_header_list_name = "{labels.request_header_list_name}";
+    public static final String LABELS_reqheader_list_name = "{labels.reqheader_list_name}";
 
     /** The key of the message: Config Name */
-    public static final String LABELS_request_header_list_web_crawling_config = "{labels.request_header_list_web_crawling_config}";
+    public static final String LABELS_reqheader_list_web_crawling_config = "{labels.reqheader_list_web_crawling_config}";
 
     /** The key of the message: Create New Web Config */
-    public static final String LABELS_request_header_create_web_config = "{labels.request_header_create_web_config}";
+    public static final String LABELS_reqheader_create_web_config = "{labels.reqheader_create_web_config}";
 
     /** The key of the message: Request Header */
-    public static final String LABELS_request_header_title_details = "{labels.request_header_title_details}";
+    public static final String LABELS_reqheader_title_details = "{labels.reqheader_title_details}";
 
     /** The key of the message: Name */
-    public static final String LABELS_request_header_name = "{labels.request_header_name}";
+    public static final String LABELS_reqheader_name = "{labels.reqheader_name}";
 
     /** The key of the message: Value */
-    public static final String LABELS_request_header_value = "{labels.request_header_value}";
+    public static final String LABELS_reqheader_value = "{labels.reqheader_value}";
 
     /** The key of the message: Web Config */
-    public static final String LABELS_request_header_web_crawling_config = "{labels.request_header_web_crawling_config}";
+    public static final String LABELS_reqheader_web_crawling_config = "{labels.reqheader_web_crawling_config}";
 
     /** The key of the message: Key Match */
     public static final String LABELS_key_match_configuration = "{labels.key_match_configuration}";

+ 8 - 8
src/main/resources/fess_label.properties

@@ -420,14 +420,14 @@ labels.roletype_configuration=Role
 labels.roletype_title_details=Role
 labels.roletype_name=Name
 labels.roletype_value=Value
-labels.request_header_configuration=Request Header
-labels.request_header_list_name=Name
-labels.request_header_list_web_crawling_config=Config Name
-labels.request_header_create_web_config=Create New Web Config
-labels.request_header_title_details=Request Header
-labels.request_header_name=Name
-labels.request_header_value=Value
-labels.request_header_web_crawling_config=Web Config
+labels.reqheader_configuration=Request Header
+labels.reqheader_list_name=Name
+labels.reqheader_list_web_crawling_config=Config Name
+labels.reqheader_create_web_config=Create New Web Config
+labels.reqheader_title_details=Request Header
+labels.reqheader_name=Name
+labels.reqheader_value=Value
+labels.reqheader_web_crawling_config=Web Config
 labels.key_match_configuration=Key Match
 labels.key_match_list_term=Term
 labels.key_match_list_query=Query

+ 6 - 6
src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader.jsp

@@ -3,7 +3,7 @@
 <head>
 <meta charset="UTF-8">
 <title><la:message key="labels.admin_brand_title" /> | <la:message
-		key="labels.request_header_configuration" /></title>
+		key="labels.reqheader_configuration" /></title>
 <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
 </head>
 <body class="skin-blue sidebar-mini">
@@ -16,7 +16,7 @@
 		<div class="content-wrapper">
 			<section class="content-header">
 				<h1>
-					<la:message key="labels.request_header_configuration" />
+					<la:message key="labels.reqheader_configuration" />
 				</h1>
 				<jsp:include page="/WEB-INF/view/common/admin/crud/breadcrumb.jsp"></jsp:include>
 			</section>
@@ -25,7 +25,7 @@
 					<div class="col-md-12">
 						<c:if test="${!displayCreateLink}">
 							<la:link href="../webconfig/" styleClass="btn btn-primary">
-								<la:message key="labels.request_header_create_web_config" />
+								<la:message key="labels.reqheader_create_web_config" />
 							</la:link>
 						</c:if>
 						<c:if test="${displayCreateLink}">
@@ -56,16 +56,16 @@
 										<table class="table table-bordered table-striped">
 											<thead>
 												<tr>
-													<th><la:message key="labels.request_header_list_name" /></th>
+													<th><la:message key="labels.reqheader_list_name" /></th>
 													<th><la:message
-															key="labels.request_header_list_web_crawling_config" /></th>
+															key="labels.reqheader_list_web_crawling_config" /></th>
 												</tr>
 											</thead>
 											<tbody>
 												<c:forEach var="data" varStatus="s"
 													items="${requestHeaderItems}">
 													<tr class="${s.index % 2 == 0 ? 'row1' : 'row2'}"
-														data-href="${contextPath}/admin/requestheader/details/4/${f:u(data.id)}">
+														data-href="${contextPath}/admin/reqheader/details/4/${f:u(data.id)}">
 														<td>${f:h(data.name)}</td>
 														<td>${f:h(data.webConfig.name)}</td>
 													</tr>

+ 5 - 5
src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_details.jsp

@@ -3,7 +3,7 @@
 <head>
 <meta charset="UTF-8">
 <title><la:message key="labels.admin_brand_title" /> | <la:message
-		key="labels.request_header_configuration" /></title>
+		key="labels.reqheader_configuration" /></title>
 <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
 </head>
 <body class="skin-blue sidebar-mini">
@@ -16,7 +16,7 @@
 		<div class="content-wrapper">
 			<section class="content-header">
 				<h1>
-					<la:message key="labels.request_header_title_details" />
+					<la:message key="labels.reqheader_title_details" />
 				</h1>
 				<jsp:include page="/WEB-INF/view/common/admin/crud/breadcrumb.jsp"></jsp:include>
 			</section>
@@ -51,16 +51,16 @@
 										<tbody>
 											<tr>
 												<th class="col-xs-2"><la:message
-														key="labels.request_header_name" /></th>
+														key="labels.reqheader_name" /></th>
 												<td>${f:h(name)}<la:hidden property="name" /></td>
 											</tr>
 											<tr>
-												<th><la:message key="labels.request_header_value" /></th>
+												<th><la:message key="labels.reqheader_value" /></th>
 												<td>${f:h(value)}<la:hidden property="value" /></td>
 											</tr>
 											<tr>
 												<th><la:message
-														key="labels.request_header_web_crawling_config" /></th>
+														key="labels.reqheader_web_crawling_config" /></th>
 												<td><c:forEach var="item" items="${webConfigItems}">
 														<c:if test="${webConfigId==item.value}">${f:h(item.label)}</c:if>
 													</c:forEach> <la:hidden property="webConfigId" /></td>

+ 5 - 5
src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_edit.jsp

@@ -3,7 +3,7 @@
 <head>
 <meta charset="UTF-8">
 <title><la:message key="labels.admin_brand_title" /> | <la:message
-		key="labels.request_header_configuration" /></title>
+		key="labels.reqheader_configuration" /></title>
 <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
 </head>
 <body class="skin-blue sidebar-mini">
@@ -16,7 +16,7 @@
 		<div class="content-wrapper">
 			<section class="content-header">
 				<h1>
-					<la:message key="labels.request_header_title_details" />
+					<la:message key="labels.reqheader_title_details" />
 				</h1>
 				<jsp:include page="/WEB-INF/view/common/admin/crud/breadcrumb.jsp"></jsp:include>
 			</section>
@@ -49,21 +49,21 @@
 									<%-- Form Fields --%>
 									<div class="form-group">
 										<label for="name" class="col-sm-3 control-label"><la:message
-												key="labels.request_header_name" /></label>
+												key="labels.reqheader_name" /></label>
 										<div class="col-sm-9">
 											<la:text property="name" styleClass="form-control" />
 										</div>
 									</div>
 									<div class="form-group">
 										<label for="value" class="col-sm-3 control-label"><la:message
-												key="labels.request_header_value" /></label>
+												key="labels.reqheader_value" /></label>
 										<div class="col-sm-9">
 											<la:text property="value" styleClass="form-control" />
 										</div>
 									</div>
 									<div class="form-group">
 										<label for="webConfigId" class="col-sm-3 control-label"><la:message
-												key="labels.request_header_web_crawling_config" /></label>
+												key="labels.reqheader_web_crawling_config" /></label>
 										<div class="col-sm-9">
 											<la:select property="webConfigId" styleClass="form-control">
 												<c:forEach var="item" items="${webConfigItems}">