소스 검색

modify labels

Shinsuke Sugaya 9 년 전
부모
커밋
19885c36b5
2개의 변경된 파일93개의 추가작업 그리고 206개의 파일을 삭제
  1. 68 152
      src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java
  2. 25 54
      src/main/resources/fess_label.properties

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

@@ -38,12 +38,6 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Created Time */
     public static final String LABELS_CREATED_TIME = "{labels.createdTime}";
 
-    /** The key of the message: Deleted by */
-    public static final String LABELS_DELETED_BY = "{labels.deletedBy}";
-
-    /** The key of the message: Deleted Time */
-    public static final String LABELS_DELETED_TIME = "{labels.deletedTime}";
-
     /** The key of the message: Depth */
     public static final String LABELS_DEPTH = "{labels.depth}";
 
@@ -137,9 +131,6 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Version No. */
     public static final String LABELS_VERSION_NO = "{labels.versionNo}";
 
-    /** The key of the message: Log File Name */
-    public static final String LABELS_LOG_FILE_NAME = "{labels.logFileName}";
-
     /** The key of the message: Schedule */
     public static final String LABELS_CRON_EXPRESSION = "{labels.cronExpression}";
 
@@ -149,39 +140,15 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Simultaneous Crawler Config */
     public static final String LABELS_CRAWLING_THREAD_COUNT = "{labels.crawlingThreadCount}";
 
-    /** The key of the message: Snapshot Path */
-    public static final String LABELS_SNAPSHOT_PATH = "{labels.snapshotPath}";
-
     /** The key of the message: Boost */
     public static final String LABELS_BOOST = "{labels.boost}";
 
-    /** The key of the message: File */
-    public static final String LABELS_UPLOADED_FILE = "{labels.uploadedFile}";
-
-    /** The key of the message: Use Schedule */
-    public static final String LABELS_SCHEDULE_ENABLED = "{labels.scheduleEnabled}";
-
-    /** The key of the message: Month */
-    public static final String LABELS_SCHEDULE_MONTH = "{labels.scheduleMonth}";
-
-    /** The key of the message: Date */
-    public static final String LABELS_SCHEDULE_DATE = "{labels.scheduleDate}";
-
-    /** The key of the message: Hours */
-    public static final String LABELS_SCHEDULE_HOUR = "{labels.scheduleHour}";
-
-    /** The key of the message: Minutes */
-    public static final String LABELS_SCHEDULE_MIN = "{labels.scheduleMin}";
-
     /** The key of the message: Name */
     public static final String LABELS_CRAWLING_CONFIG_NAME = "{labels.crawlingConfigName}";
 
     /** The key of the message: Crawling Path */
     public static final String LABELS_CRAWLING_CONFIG_PATH = "{labels.crawlingConfigPath}";
 
-    /** The key of the message: URL */
-    public static final String LABELS_DELETE_URL = "{labels.deleteUrl}";
-
     /** The key of the message: Process Type */
     public static final String LABELS_PROCESS_TYPE = "{labels.processType}";
 
@@ -191,24 +158,9 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Upload File */
     public static final String LABELS_DESIGN_FILE = "{labels.designFile}";
 
-    /** The key of the message: Access Type */
-    public static final String LABELS_ACCESS_TYPE = "{labels.accessType}";
-
-    /** The key of the message: Additional Parameters */
-    public static final String LABELS_ADDITIONAL = "{labels.additional}";
-
     /** The key of the message: Additional Query Parameters */
     public static final String LABELS_APPEND_QUERY_PARAMETER = "{labels.appendQueryParameter}";
 
-    /** The key of the message: callback */
-    public static final String LABELS_CALLBACK = "{labels.callback}";
-
-    /** The key of the message: Client IP */
-    public static final String LABELS_CLIENT_IP = "{labels.clientIp}";
-
-    /** The key of the message: User ID */
-    public static final String LABELS_CODE = "{labels.code}";
-
     /** The key of the message: Config ID */
     public static final String LABELS_CONFIG_ID = "{labels.configId}";
 
@@ -218,24 +170,9 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Content */
     public static final String LABELS_CONTENT = "{labels.content}";
 
-    /** The key of the message: CSV Encoding */
-    public static final String LABELS_CSV_ENCODING = "{labels.csvEncoding}";
-
     /** The key of the message: CSV Encoding */
     public static final String LABELS_CSV_FILE_ENCODING = "{labels.csvFileEncoding}";
 
-    /** The key of the message: Current Server (Select) */
-    public static final String LABELS_CURRENT_SERVER_FOR_SELECT = "{labels.currentServerForSelect}";
-
-    /** The key of the message: Current Server (Update) */
-    public static final String LABELS_CURRENT_SERVER_FOR_UPDATE = "{labels.currentServerForUpdate}";
-
-    /** The key of the message: Current Server Status (Select) */
-    public static final String LABELS_CURRENT_SERVER_STATUS_FOR_SELECT = "{labels.currentServerStatusForSelect}";
-
-    /** The key of the message: Current Server Status (Update) */
-    public static final String LABELS_CURRENT_SERVER_STATUS_FOR_UPDATE = "{labels.currentServerStatusForUpdate}";
-
     /** The key of the message: Default Label */
     public static final String LABELS_DEFAULT_LABEL_VALUE = "{labels.defaultLabelValue}";
 
@@ -245,12 +182,6 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Check Last Modified */
     public static final String LABELS_INCREMENTAL_CRAWLING = "{labels.incrementalCrawling}";
 
-    /** The key of the message: Distance */
-    public static final String LABELS_DISTANCE = "{labels.distance}";
-
-    /** The key of the message: Encoding */
-    public static final String LABELS_ENCODING = "{labels.encoding}";
-
     /** The key of the message: Error Count */
     public static final String LABELS_ERROR_COUNT = "{labels.errorCount}";
 
@@ -269,15 +200,9 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: FS Config Name */
     public static final String LABELS_FILE_CONFIG_NAME = "{labels.fileConfigName}";
 
-    /** The key of the message: FS Config ID */
-    public static final String LABELS_FILE_CONFIG_ID = "{labels.fileConfigId}";
-
     /** The key of the message: File name */
     public static final String LABELS_FILE_NAME = "{labels.fileName}";
 
-    /** The key of the message: Solr Group */
-    public static final String LABELS_GROUP_NAME = "{labels.groupName}";
-
     /** The key of the message: Handler Name */
     public static final String LABELS_HANDLER_NAME = "{labels.handlerName}";
 
@@ -287,36 +212,21 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Scripts */
     public static final String LABELS_HANDLER_SCRIPT = "{labels.handlerScript}";
 
-    /** The key of the message: Hit Count */
-    public static final String LABELS_HIT_COUNT = "{labels.hitCount}";
-
     /** The key of the message: Popular words */
     public static final String LABELS_HOT_SEARCH_WORD = "{labels.hotSearchWord}";
 
     /** The key of the message: Ignored Failure Type */
     public static final String LABELS_IGNORE_FAILURE_TYPE = "{labels.ignoreFailureType}";
 
-    /** The key of the message: Interval */
-    public static final String LABELS_INTERVAL_TIME = "{labels.intervalTime}";
-
     /** The key of the message: Last Accessed */
     public static final String LABELS_LAST_ACCESS_TIME = "{labels.lastAccessTime}";
 
-    /** The key of the message: Latitude */
-    public static final String LABELS_LATITUDE = "{labels.latitude}";
-
-    /** The key of the message: Longitude */
-    public static final String LABELS_LONGITUDE = "{labels.longitude}";
-
     /** The key of the message: Notification To */
     public static final String LABELS_NOTIFICATION_TO = "{labels.notificationTo}";
 
     /** The key of the message: Num */
     public static final String LABELS_NUM = "{labels.num}";
 
-    /** The key of the message: Overwrite */
-    public static final String LABELS_OVERWRITE = "{labels.overwrite}";
-
     /** The key of the message: Page Number */
     public static final String LABELS_PN = "{labels.pn}";
 
@@ -335,45 +245,12 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Query ID */
     public static final String LABELS_QUERY_ID = "{labels.queryId}";
 
-    /** The key of the message: Offset */
-    public static final String LABELS_QUERY_OFFSET = "{labels.queryOffset}";
-
-    /** The key of the message: Page Size */
-    public static final String LABELS_QUERY_PAGE_SIZE = "{labels.queryPageSize}";
-
-    /** The key of the message: Range */
-    public static final String LABELS_RANGE = "{labels.range}";
-
-    /** The key of the message: Referrer */
-    public static final String LABELS_REFERER = "{labels.referer}";
-
-    /** The key of the message: Requested Time */
-    public static final String LABELS_REQUESTED_TIME = "{labels.requestedTime}";
-
-    /** The key of the message: Response Time */
-    public static final String LABELS_RESPONSE_TIME = "{labels.responseTime}";
-
-    /** The key of the message: Return Path */
-    public static final String LABELS_RETURN_PATH = "{labels.returnPath}";
-
     /** The key of the message: rt */
     public static final String LABELS_RT = "{labels.rt}";
 
-    /** The key of the message: Schedule */
-    public static final String LABELS_SCHEDULE_DAY = "{labels.scheduleDay}";
-
     /** The key of the message: Search Log */
     public static final String LABELS_SEARCH_LOG = "{labels.searchLog}";
 
-    /** The key of the message: Search Word */
-    public static final String LABELS_SEARCH_WORD = "{labels.searchWord}";
-
-    /** The key of the message: Index Replication */
-    public static final String LABELS_SNAPSHOT_REPLICATION = "{labels.snapshotReplication}";
-
-    /** The key of the message: Solr Instance Name */
-    public static final String LABELS_SOLR_INSTANCE_NAME = "{labels.solrInstanceName}";
-
     /** The key of the message: Sort */
     public static final String LABELS_SORT = "{labels.sort}";
 
@@ -386,39 +263,18 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Thread Name */
     public static final String LABELS_THREAD_NAME = "{labels.threadName}";
 
-    /** The key of the message: Type */
-    public static final String LABELS_TYPE = "{labels.type}";
-
-    /** The key of the message: URL */
-    public static final String LABELS_U = "{labels.u}";
-
-    /** The key of the message: URI */
-    public static final String LABELS_URI = "{labels.uri}";
-
     /** The key of the message: URL */
     public static final String LABELS_URL = "{labels.url}";
 
     /** The key of the message: Favorite Log */
     public static final String LABELS_USER_FAVORITE = "{labels.userFavorite}";
 
-    /** The key of the message: User ID */
-    public static final String LABELS_USER_ID = "{labels.userId}";
-
     /** The key of the message: User Info */
     public static final String LABELS_USER_INFO = "{labels.userInfo}";
 
-    /** The key of the message: User ID */
-    public static final String LABELS_USER_SESSION_ID = "{labels.userSessionId}";
-
     /** The key of the message: JSON Response */
     public static final String LABELS_WEB_API_JSON = "{labels.webApiJson}";
 
-    /** The key of the message: XML Response */
-    public static final String LABELS_WEB_API_XML = "{labels.webApiXml}";
-
-    /** The key of the message: Web Config ID */
-    public static final String LABELS_WEB_CONFIG_ID = "{labels.webConfigId}";
-
     /** The key of the message: Web Config Name */
     public static final String LABELS_WEB_CONFIG_NAME = "{labels.webConfigName}";
 
@@ -434,9 +290,6 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: End Time */
     public static final String LABELS_END_TIME = "{labels.endTime}";
 
-    /** The key of the message: fn */
-    public static final String LABELS_FN = "{labels.fn}";
-
     /** The key of the message: hq */
     public static final String LABELS_HQ = "{labels.hq}";
 
@@ -458,7 +311,7 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: lang */
     public static final String LABELS_LANG = "{labels.lang}";
 
-    /** The key of the message: Target	 */
+    /** The key of the message: Target */
     public static final String LABELS_OUTPUTS = "{labels.outputs}";
 
     /** The key of the message: POS */
@@ -500,15 +353,78 @@ public class FessLabels extends ActionMessages {
     /** The key of the message: Synonym File */
     public static final String LABELS_SYNONYM_FILE = "{labels.synonymFile}";
 
-    /** The key of the message: Kuromoji File */
-    public static final String LABELS_USER_DICT_FILE = "{labels.userDictFile}";
-
     /** The key of the message: Additional Word File */
-    public static final String LABELS_SUGGEST_ELEVATE_WORD_FILE = "{labels.elevateWordFile}";
+    public static final String LABELS_ELEVATE_WORD_FILE = "{labels.elevateWordFile}";
 
     /** The key of the message: Bad Word File */
     public static final String LABELS_BAD_WORD_FILE = "{labels.badWordFile}";
 
+    /** The key of the message: Boost Expr */
+    public static final String LABELS_BOOST_EXPR = "{labels.boostExpr}";
+
+    /** The key of the message: Confirm */
+    public static final String LABELS_CONFIRM_PASSWORD = "{labels.confirmPassword}";
+
+    /** The key of the message: Crawler */
+    public static final String LABELS_CRAWLER = "{labels.crawler}";
+
+    /** The key of the message: mode */
+    public static final String LABELS_CRUD_MODE = "{labels.crudMode}";
+
+    /** The key of the message: Max Error Count */
+    public static final String LABELS_ERROR_COUNT_MAX = "{labels.errorCountMax}";
+
+    /** The key of the message: Min Error Count */
+    public static final String LABELS_ERROR_COUNT_MIN = "{labels.errorCountMin}";
+
+    /** The key of the message: Facet */
+    public static final String LABELS_FACET = "{labels.facet}";
+
+    /** The key of the message: Geo */
+    public static final String LABELS_GEO = "{labels.geo}";
+
+    /** The key of the message: Hash */
+    public static final String LABELS_HASH = "{labels.hash}";
+
+    /** The key of the message: Kuromoji File */
+    public static final String LABELS_KUROMOJI_FILE = "{labels.kuromojiFile}";
+
+    /** The key of the message: Max Size */
+    public static final String LABELS_MAX_SIZE = "{labels.maxSize}";
+
+    /** The key of the message: Order */
+    public static final String LABELS_ORDER = "{labels.order}";
+
+    /** The key of the message: Purge Suggest Documents Before */
+    public static final String LABELS_PURGE_SUGGEST_SEARCH_LOG_DAY = "{labels.purgeSuggestSearchLogDay}";
+
+    /** The key of the message: Query */
+    public static final String LABELS_Q = "{labels.q}";
+
+    /** The key of the message: Suggest Search Log */
+    public static final String LABELS_SUGGEST_SEARCH_LOG = "{labels.suggestSearchLog}";
+
+    /** The key of the message: Suggest Word */
+    public static final String LABELS_SUGGEST_WORD = "{labels.suggestWord}";
+
+    /** The key of the message: Target Label */
+    public static final String LABELS_TARGET_LABEL = "{labels.targetLabel}";
+
+    /** The key of the message: Target Role */
+    public static final String LABELS_TARGET_ROLE = "{labels.targetRole}";
+
+    /** The key of the message: Term */
+    public static final String LABELS_TERM = "{labels.term}";
+
+    /** The key of the message: Search Parameters */
+    public static final String LABELS_SEARCH_PARAMS = "{labels.searchParams}";
+
+    /** The key of the message: Fields */
+    public static final String LABELS_FIELDS = "{labels.fields}";
+
+    /** The key of the message: Extended Query */
+    public static final String LABELS_ex_q = "{labels.ex_q}";
+
     /** The key of the message: System */
     public static final String LABELS_menu_system = "{labels.menu_system}";
 

+ 25 - 54
src/main/resources/fess_label.properties

@@ -2,8 +2,6 @@ labels.authRealm=Realm
 labels.available=Status
 labels.createdBy=Created by
 labels.createdTime=Created Time
-labels.deletedBy=Deleted by
-labels.deletedTime=Deleted Time
 labels.depth=Depth
 labels.excludedPaths=Excluded Paths For Crawling
 labels.excludedUrls=Excluded URLs For Crawling
@@ -15,7 +13,6 @@ labels.includedPaths=Included Paths For Crawling
 labels.includedUrls=Included URLs For Crawling
 labels.includedDocPaths=Included Paths For Indexing
 labels.includedDocUrls=Included URLs For Indexing
-labels.intervalTime=Interval Time
 labels.maxAccessCount=Max Access Count
 labels.name=Name
 labels.numOfThread=Num of Thread
@@ -36,108 +33,59 @@ labels.userAgent=User Agent
 labels.username=Username
 labels.value=Value
 labels.versionNo=Version No.
-labels.webConfigId=Web Config Id
-labels.logFileName=Log File Name
 labels.cronExpression=Schedule
 labels.dayForCleanup=Remove Documents Before Days
 labels.crawlingThreadCount=Simultaneous Crawler Config
-labels.snapshotPath=Snapshot Path
 labels.boost=Boost
-labels.uploadedFile=File
-labels.scheduleEnabled=Use Schedule
-labels.scheduleMonth=Month
-labels.scheduleDate=Date
-labels.scheduleHour=Hours
-labels.scheduleMin=Minutes
 labels.crawlingConfigName=Name
 labels.crawlingConfigPath=Crawling Path
-labels.deleteUrl=URL
 labels.processType=Process Type
 labels.parameters=Parameters
 labels.designFile=Upload File
-labels.accessType=Access Type
-labels.additional=Additional Parameters
 labels.appendQueryParameter=Additional Query Parameters
-labels.callback=callback
-labels.clientIp=Client IP
-labels.code=User ID
 labels.configId=Config ID
 labels.configParameter=Config Parameters
 labels.content=Content
-labels.csvEncoding=CSV Encoding
 labels.csvFileEncoding=CSV Encoding
-labels.currentServerForSelect=Current Server (Select)
-labels.currentServerForUpdate=Current Server (Update)
-labels.currentServerStatusForSelect=Current Server Status (Select)
-labels.currentServerStatusForUpdate=Current Server Status (Update)
 labels.defaultLabelValue=Default Label
 labels.designFileName=File Name
 labels.incrementalCrawling=Check Last Modified
-labels.distance=Distance
-labels.encoding=Encoding
 labels.errorCount=Error Count
 labels.errorLog=Error Log
 labels.errorName=Error Name
 labels.expiredTime=Expired
 labels.failureCountThreshold=Failure Count
-labels.fileConfigId=FS Config ID
 labels.fileConfigName=FS Config Name
-labels.fileConfigId=FS Config ID
 labels.fileName=File name
-labels.groupName=Solr Group
 labels.handlerName=Handler Name
 labels.handlerParameter=Parameters
 labels.handlerScript=Scripts
-labels.hitCount=Hit Count
 labels.hotSearchWord=Popular words
 labels.ignoreFailureType=Ignored Failure Type
-labels.intervalTime=Interval
 labels.lastAccessTime=Last Accessed
-labels.latitude=Latitude
-labels.longitude=Longitude
 labels.notificationTo=Notification To
 labels.num=Num
-labels.overwrite=Overwrite
 labels.pn=Page Number
 labels.protocolScheme=Scheme
 labels.purgeByBots=Purge By Bots
 labels.purgeSearchLogDay=Purge Search Log
 labels.query=Query
 labels.queryId=Query ID
-labels.queryOffset=Offset
-labels.queryPageSize=Page Size
-labels.range=Range
-labels.referer=Referrer
-labels.requestedTime=Requested Time
-labels.responseTime=Response Time
-labels.returnPath=Return Path
 labels.rt=rt
-labels.scheduleDay=Schedule
 labels.searchLog=Search Log
-labels.searchWord=Search Word
-labels.snapshotReplication=Index Replication
-labels.solrInstanceName=Solr Instance Name
 labels.sort=Sort
 labels.start=Start Pos
 labels.supportedSearch=Supported Search
 labels.threadName=Thread Name
-labels.type=Type
-labels.u=URL
-labels.uri=URI
 labels.url=URL
 labels.userFavorite=Favorite Log
-labels.userId=User ID
 labels.userInfo=User Info
-labels.userSessionId=User ID
 labels.webApiJson=JSON Response
-labels.webApiXml=XML Response
-labels.webConfigId=Web Config ID
 labels.webConfigName=Web Config Name
 labels.allLanguages=All Languages
 labels.dictId=Dictionary ID
 labels.docId=Document ID
 labels.endTime=End Time
-labels.fn=fn
 labels.hq=hq
 labels.inputs=Source
 labels.jobLogging=Logging
@@ -145,7 +93,7 @@ labels.jobName=Name
 labels.jobStatus=Status
 labels.labelTypeIds=Labels
 labels.lang=lang
-labels.outputs=Target	
+labels.outputs=Target
 labels.pos=POS
 labels.purgeJobLogDay=Purge Job Log Before
 labels.purgeUserInfoDay=Purge User Before
@@ -159,9 +107,32 @@ labels.startTime=Start Time
 labels.target=Target
 labels.token=Token
 labels.synonymFile=Synonym File
-labels.userDictFile=Kuromoji File
 labels.elevateWordFile=Additional Word File
 labels.badWordFile=Bad Word File
+labels.boostExpr=Boost Expr
+labels.confirmPassword=Confirm
+labels.crawler=Crawler
+labels.crudMode=mode
+labels.errorCountMax=Max Error Count
+labels.errorCountMin=Min Error Count
+labels.facet=Facet
+labels.geo=Geo
+labels.groups=Groups
+labels.hash=Hash
+labels.kuromojiFile=Kuromoji File
+labels.maxSize=Max Size
+labels.order=Order
+labels.purgeSuggestSearchLogDay=Purge Suggest Documents Before
+labels.q=Query
+labels.roles=Roles
+labels.suggestSearchLog=Suggest Search Log
+labels.suggestWord=Suggest Word
+labels.targetLabel=Target Label
+labels.targetRole=Target Role
+labels.term=Term
+labels.searchParams=Search Parameters
+labels.fields=Fields
+labels.ex_q=Extended Query
 
 labels.menu_system=System
 labels.menu_wizard=Wizard