modify synonym admin page and messages
This commit is contained in:
parent
dd782c9130
commit
a24a988d24
47 changed files with 934 additions and 4158 deletions
|
@ -37,14 +37,14 @@ public class KuromojiService {
|
|||
public List<KuromojiItem> getKuromojiList(final String dictId, final KuromojiPager kuromojiPager) {
|
||||
return getKuromojiFile(dictId).map(file -> {
|
||||
final int pageSize = kuromojiPager.getPageSize();
|
||||
final PagingList<KuromojiItem> userDictList = file.selectList((kuromojiPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
|
||||
final PagingList<KuromojiItem> kuromojiList = file.selectList((kuromojiPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
|
||||
|
||||
// update pager
|
||||
BeanUtil.copyBeanToBean(userDictList, kuromojiPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
|
||||
userDictList.setPageRangeSize(5);
|
||||
kuromojiPager.setPageNumberList(userDictList.createPageNumberList());
|
||||
BeanUtil.copyBeanToBean(kuromojiList, kuromojiPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
|
||||
kuromojiList.setPageRangeSize(5);
|
||||
kuromojiPager.setPageNumberList(kuromojiList.createPageNumberList());
|
||||
|
||||
return (List<KuromojiItem>) userDictList;
|
||||
return (List<KuromojiItem>) kuromojiList;
|
||||
}).orElseGet(() -> Collections.emptyList());
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ public class KuromojiService {
|
|||
.map(file -> OptionalEntity.of((KuromojiFile) file)).orElse(OptionalEntity.empty());
|
||||
}
|
||||
|
||||
public OptionalEntity<KuromojiItem> getKuromoji(final String dictId, final long id) {
|
||||
public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) {
|
||||
return getKuromojiFile(dictId).map(file -> file.get(id).get());
|
||||
}
|
||||
|
||||
|
|
|
@ -16,16 +16,14 @@
|
|||
|
||||
package org.codelibs.fess.app.service;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.codelibs.core.beans.util.BeanUtil;
|
||||
import org.codelibs.core.lang.StringUtil;
|
||||
import org.codelibs.fess.Constants;
|
||||
import org.codelibs.fess.app.pager.SynonymPager;
|
||||
import org.codelibs.fess.dict.DictionaryExpiredException;
|
||||
import org.codelibs.fess.dict.DictionaryFile.PagingList;
|
||||
import org.codelibs.fess.dict.DictionaryManager;
|
||||
import org.codelibs.fess.dict.synonym.SynonymFile;
|
||||
|
@ -37,53 +35,41 @@ public class SynonymService {
|
|||
protected DictionaryManager dictionaryManager;
|
||||
|
||||
public List<SynonymItem> getSynonymList(final String dictId, final SynonymPager synonymPager) {
|
||||
final SynonymFile synonymFile = getSynonymFile(dictId);
|
||||
return getSynonymFile(dictId).map(file -> {
|
||||
final int pageSize = synonymPager.getPageSize();
|
||||
final PagingList<SynonymItem> synonymList = file.selectList((synonymPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
|
||||
|
||||
final int pageSize = synonymPager.getPageSize();
|
||||
final PagingList<SynonymItem> synonymList = synonymFile.selectList((synonymPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
|
||||
|
||||
// update pager
|
||||
BeanUtil.copyBeanToBean(synonymList, synonymPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
|
||||
synonymList.setPageRangeSize(5);
|
||||
synonymPager.setPageNumberList(synonymList.createPageNumberList());
|
||||
|
||||
return synonymList;
|
||||
// update pager
|
||||
BeanUtil.copyBeanToBean(synonymList, synonymPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
|
||||
synonymList.setPageRangeSize(5);
|
||||
synonymPager.setPageNumberList(synonymList.createPageNumberList());
|
||||
|
||||
return (List<SynonymItem>) synonymList;
|
||||
}).orElseGet(() -> Collections.emptyList());
|
||||
}
|
||||
|
||||
public SynonymFile getSynonymFile(final String dictId) {
|
||||
return dictionaryManager.getDictionaryFile(dictId).filter(file -> file instanceof SynonymFile).map(file -> (SynonymFile) file)
|
||||
.orElseThrow(() -> new DictionaryExpiredException());
|
||||
public OptionalEntity<SynonymFile> getSynonymFile(final String dictId) {
|
||||
return dictionaryManager.getDictionaryFile(dictId).filter(file -> file instanceof SynonymFile)
|
||||
.map(file -> OptionalEntity.of((SynonymFile) file)).orElse(OptionalEntity.empty());
|
||||
}
|
||||
|
||||
public OptionalEntity<SynonymItem> getSynonym(final String dictId, final Map<String, String> paramMap) {
|
||||
final SynonymFile synonymFile = getSynonymFile(dictId);
|
||||
|
||||
final String idStr = paramMap.get("id");
|
||||
if (StringUtil.isNotBlank(idStr)) {
|
||||
try {
|
||||
final long id = Long.parseLong(idStr);
|
||||
return synonymFile.get(id);
|
||||
} catch (final NumberFormatException e) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
return OptionalEntity.empty();
|
||||
public OptionalEntity<SynonymItem> getSynonymItem(final String dictId, final long id) {
|
||||
return getSynonymFile(dictId).map(file -> file.get(id).get());
|
||||
}
|
||||
|
||||
public void store(final String dictId, final SynonymItem synonymItem) {
|
||||
final SynonymFile synonymFile = getSynonymFile(dictId);
|
||||
|
||||
if (synonymItem.getId() == 0) {
|
||||
synonymFile.insert(synonymItem);
|
||||
} else {
|
||||
synonymFile.update(synonymItem);
|
||||
}
|
||||
getSynonymFile(dictId).ifPresent(file -> {
|
||||
if (synonymItem.getId() == 0) {
|
||||
file.insert(synonymItem);
|
||||
} else {
|
||||
file.update(synonymItem);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void delete(final String dictId, final SynonymItem synonymItem) {
|
||||
final SynonymFile synonymFile = getSynonymFile(dictId);
|
||||
synonymFile.delete(synonymItem);
|
||||
getSynonymFile(dictId).ifPresent(file -> {
|
||||
file.delete(synonymItem);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -149,7 +149,7 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
verifyCrudMode(crudMode, CrudMode.EDIT);
|
||||
return asHtml(path_AdminDictKuromoji_EditJsp).useForm(EditForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
kuromojiService.getKuromoji(dictId, id).ifPresent(entity -> {
|
||||
kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> {
|
||||
copyBeanToBean(entity, form, copyOp -> {
|
||||
copyOp.excludeNull();
|
||||
});
|
||||
|
@ -175,7 +175,7 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
public HtmlResponse editfromconfirm(final EditForm form) {
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
form.crudMode = CrudMode.EDIT;
|
||||
kuromojiService.getKuromoji(form.dictId, form.id).ifPresent(entity -> {
|
||||
kuromojiService.getKuromojiItem(form.dictId, form.id).ifPresent(entity -> {
|
||||
copyBeanToBean(entity, form, op -> {});
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), toEditHtml());
|
||||
|
@ -189,7 +189,7 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
verifyCrudMode(crudMode, CrudMode.DELETE);
|
||||
return asHtml(path_AdminDictKuromoji_ConfirmJsp).useForm(EditForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
kuromojiService.getKuromoji(dictId, id).ifPresent(entity -> {
|
||||
kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> {
|
||||
copyBeanToBean(entity, form, copyOp -> {
|
||||
copyOp.excludeNull();
|
||||
});
|
||||
|
@ -207,7 +207,7 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
public HtmlResponse deletefromconfirm(final EditForm form) {
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
form.crudMode = CrudMode.DELETE;
|
||||
kuromojiService.getKuromoji(form.dictId, form.id).ifPresent(entity -> {
|
||||
kuromojiService.getKuromojiItem(form.dictId, form.id).ifPresent(entity -> {
|
||||
copyBeanToBean(entity, form, op -> {});
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), toEditHtml());
|
||||
|
@ -223,7 +223,7 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
verifyCrudMode(crudMode, CrudMode.CONFIRM);
|
||||
return asHtml(path_AdminDictKuromoji_ConfirmJsp).useForm(EditForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
kuromojiService.getKuromoji(dictId, id).ifPresent(entity -> {
|
||||
kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> {
|
||||
copyBeanToBean(entity, form, copyOp -> {
|
||||
copyOp.excludeNull();
|
||||
});
|
||||
|
@ -368,7 +368,7 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
public HtmlResponse delete(final EditForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.DELETE);
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
kuromojiService.getKuromoji(form.dictId, form.id).ifPresent(entity -> {
|
||||
kuromojiService.getKuromojiItem(form.dictId, form.id).ifPresent(entity -> {
|
||||
kuromojiService.delete(form.dictId, entity);
|
||||
saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
|
||||
}).orElse(() -> {
|
||||
|
@ -391,7 +391,7 @@ public class AdminDictKuromojiAction extends FessAdminAction {
|
|||
break;
|
||||
case CrudMode.EDIT:
|
||||
if (form instanceof EditForm) {
|
||||
return kuromojiService.getKuromoji(form.dictId, ((EditForm) form).id);
|
||||
return kuromojiService.getKuromojiItem(form.dictId, ((EditForm) form).id);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.Serializable;
|
|||
import org.lastaflute.web.validation.Required;
|
||||
|
||||
/**
|
||||
* @author codelibs
|
||||
* @author shinsuke
|
||||
* @author Keiichi Watanabe
|
||||
*/
|
||||
public class SearchForm implements Serializable {
|
||||
|
|
|
@ -16,24 +16,36 @@
|
|||
|
||||
package org.codelibs.fess.app.web.admin.dict.synonym;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.codelibs.core.beans.util.BeanUtil;
|
||||
import org.codelibs.core.lang.StringUtil;
|
||||
import org.codelibs.core.misc.DynamicProperties;
|
||||
import org.codelibs.fess.Constants;
|
||||
import org.codelibs.fess.annotation.Token;
|
||||
import org.codelibs.fess.app.pager.SynonymPager;
|
||||
import org.codelibs.fess.app.service.SynonymService;
|
||||
import org.codelibs.fess.app.web.CrudMode;
|
||||
import org.codelibs.fess.app.web.admin.suggestelevateword.SuggestElevateWordEditForm;
|
||||
import org.codelibs.fess.app.web.admin.dict.AdminDictAction;
|
||||
import org.codelibs.fess.app.web.base.FessAdminAction;
|
||||
import org.codelibs.fess.dict.synonym.SynonymItem;
|
||||
import org.codelibs.fess.helper.SystemHelper;
|
||||
import org.dbflute.optional.OptionalEntity;
|
||||
import org.lastaflute.web.Execute;
|
||||
import org.lastaflute.web.callback.ActionRuntime;
|
||||
import org.lastaflute.web.response.ActionResponse;
|
||||
import org.lastaflute.web.response.HtmlResponse;
|
||||
import org.lastaflute.web.response.render.RenderData;
|
||||
import org.lastaflute.web.validation.VaErrorHook;
|
||||
|
||||
/**
|
||||
* @author shinsuke
|
||||
* @author Keiichi Watanabe
|
||||
*/
|
||||
public class AdminDictSynonymAction extends FessAdminAction {
|
||||
|
@ -64,6 +76,7 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
// ==============
|
||||
@Execute
|
||||
public HtmlResponse index(final SearchForm form) {
|
||||
validate(form, messages -> {}, toIndexHtml());
|
||||
return asHtml(path_AdminDictSynonym_IndexJsp).renderWith(data -> {
|
||||
searchPaging(data, form);
|
||||
});
|
||||
|
@ -71,6 +84,7 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
|
||||
@Execute
|
||||
public HtmlResponse list(final Integer pageNumber, final SearchForm form) {
|
||||
validate(form, messages -> {}, toIndexHtml());
|
||||
synonymPager.setCurrentPageNumber(pageNumber);
|
||||
return asHtml(path_AdminDictSynonym_IndexJsp).renderWith(data -> {
|
||||
searchPaging(data, form);
|
||||
|
@ -79,7 +93,8 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
|
||||
@Execute
|
||||
public HtmlResponse search(final SearchForm form) {
|
||||
copyBeanToBean(form.searchParams, synonymPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
|
||||
validate(form, messages -> {}, toIndexHtml());
|
||||
copyBeanToBean(form, synonymPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
|
||||
return asHtml(path_AdminDictSynonym_IndexJsp).renderWith(data -> {
|
||||
searchPaging(data, form);
|
||||
});
|
||||
|
@ -87,6 +102,7 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
|
||||
@Execute
|
||||
public HtmlResponse reset(final SearchForm form) {
|
||||
validate(form, messages -> {}, toIndexHtml());
|
||||
synonymPager.clear();
|
||||
return asHtml(path_AdminDictSynonym_IndexJsp).renderWith(data -> {
|
||||
searchPaging(data, form);
|
||||
|
@ -95,13 +111,20 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
|
||||
@Execute
|
||||
public HtmlResponse back(final SearchForm form) {
|
||||
validate(form, messages -> {}, toIndexHtml());
|
||||
return asHtml(path_AdminDictSynonym_IndexJsp).renderWith(data -> {
|
||||
searchPaging(data, form);
|
||||
});
|
||||
}
|
||||
|
||||
protected void searchPaging(final RenderData data, final SearchForm form) {
|
||||
// TODO
|
||||
// page navi
|
||||
data.register("synonymItemItems", synonymService.getSynonymList(form.dictId, synonymPager));
|
||||
|
||||
// restore from pager
|
||||
BeanUtil.copyBeanToBean(synonymPager, form, op -> {
|
||||
op.exclude(Constants.PAGER_CONVERSION_RULE);
|
||||
});
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -112,51 +135,87 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
// ----------
|
||||
@Token(save = true, validate = false)
|
||||
@Execute
|
||||
public HtmlResponse createpage(final EditForm form) {
|
||||
form.initialize();
|
||||
form.crudMode = CrudMode.CREATE;
|
||||
return asHtml(path_AdminDictSynonym_EditJsp);
|
||||
public HtmlResponse createpage(final String dictId) {
|
||||
return asHtml(path_AdminDictSynonym_EditJsp).useForm(CreateForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
form.initialize();
|
||||
form.crudMode = CrudMode.CREATE;
|
||||
form.dictId = dictId;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@Token(save = true, validate = false)
|
||||
@Execute
|
||||
public HtmlResponse editpage(final int crudMode, final String id, final EditForm form) {
|
||||
form.crudMode = crudMode;
|
||||
form.id = id;
|
||||
verifyCrudMode(form, CrudMode.EDIT);
|
||||
// TODO loadSynonym(form);
|
||||
return asHtml(path_AdminDictSynonym_EditJsp);
|
||||
public HtmlResponse editpage(final String dictId, final int crudMode, final long id) {
|
||||
verifyCrudMode(crudMode, CrudMode.EDIT);
|
||||
return asHtml(path_AdminDictSynonym_EditJsp).useForm(EditForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
synonymService.getSynonymItem(dictId, id).ifPresent(entity -> {
|
||||
form.inputs = entity.getInputsValue();
|
||||
form.outputs = entity.getOutputsValue();
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, dictId + ":" + id), toEditHtml());
|
||||
});
|
||||
form.id = id;
|
||||
form.crudMode = crudMode;
|
||||
form.dictId = dictId;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@Token(save = true, validate = false)
|
||||
@Execute
|
||||
public HtmlResponse editagain(final EditForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.EDIT);
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
return asHtml(path_AdminDictSynonym_EditJsp);
|
||||
}
|
||||
|
||||
@Token(save = true, validate = false)
|
||||
@Execute
|
||||
public HtmlResponse editfromconfirm(final EditForm form) {
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
form.crudMode = CrudMode.EDIT;
|
||||
// TODO loadSynonym(form);
|
||||
synonymService.getSynonymItem(form.dictId, form.id).ifPresent(entity -> {
|
||||
form.inputs = entity.getInputsValue();
|
||||
form.outputs = entity.getOutputsValue();
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), toEditHtml());
|
||||
});
|
||||
return asHtml(path_AdminDictSynonym_EditJsp);
|
||||
}
|
||||
|
||||
@Token(save = true, validate = false)
|
||||
@Execute
|
||||
public HtmlResponse deletepage(final int crudMode, final String id, final EditForm form) {
|
||||
form.crudMode = crudMode;
|
||||
form.id = id;
|
||||
verifyCrudMode(form, CrudMode.DELETE);
|
||||
// TODO loadSynonym(form);
|
||||
return asHtml(path_AdminDictSynonym_ConfirmJsp);
|
||||
public HtmlResponse deletepage(final String dictId, final int crudMode, final long id) {
|
||||
verifyCrudMode(crudMode, CrudMode.DELETE);
|
||||
return asHtml(path_AdminDictSynonym_ConfirmJsp).useForm(EditForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
synonymService.getSynonymItem(dictId, id).ifPresent(entity -> {
|
||||
form.inputs = entity.getInputsValue();
|
||||
form.outputs = entity.getOutputsValue();
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, dictId + ":" + id), toEditHtml());
|
||||
});
|
||||
form.id = id;
|
||||
form.crudMode = crudMode;
|
||||
form.dictId = dictId;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@Token(save = true, validate = false)
|
||||
@Execute
|
||||
public HtmlResponse deletefromconfirm(final EditForm form) {
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
form.crudMode = CrudMode.DELETE;
|
||||
// TODO loadSynonym(form);
|
||||
synonymService.getSynonymItem(form.dictId, form.id).ifPresent(entity -> {
|
||||
form.inputs = entity.getInputsValue();
|
||||
form.outputs = entity.getOutputsValue();
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), toEditHtml());
|
||||
});
|
||||
return asHtml(path_AdminDictSynonym_ConfirmJsp);
|
||||
}
|
||||
|
||||
|
@ -164,18 +223,32 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
// Confirm
|
||||
// -------
|
||||
@Execute
|
||||
public HtmlResponse confirmpage(final int crudMode, final String id, final EditForm form) {
|
||||
form.crudMode = crudMode;
|
||||
form.id = id;
|
||||
verifyCrudMode(form, CrudMode.CONFIRM);
|
||||
// TODO loadSynonym(form);
|
||||
return asHtml(path_AdminDictSynonym_ConfirmJsp);
|
||||
public HtmlResponse confirmpage(final String dictId, final int crudMode, final long id) {
|
||||
verifyCrudMode(crudMode, CrudMode.CONFIRM);
|
||||
return asHtml(path_AdminDictSynonym_ConfirmJsp).useForm(EditForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
synonymService.getSynonymItem(dictId, id).ifPresent(entity -> {
|
||||
form.inputs = entity.getInputsValue();
|
||||
form.outputs = entity.getOutputsValue();
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, dictId + ":" + id), toEditHtml());
|
||||
});
|
||||
form.id = id;
|
||||
form.crudMode = crudMode;
|
||||
form.dictId = dictId;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@Token(save = false, validate = true, keep = true)
|
||||
@Execute
|
||||
public HtmlResponse confirmfromcreate(final EditForm form) {
|
||||
public HtmlResponse confirmfromcreate(final CreateForm form) {
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
form.crudMode = CrudMode.CREATE;
|
||||
final String[] newInputs = splitLine(form.inputs);
|
||||
validateSynonymString(newInputs, () -> createpage(form.dictId));
|
||||
final String[] newOutputs = splitLine(form.outputs);
|
||||
validateSynonymString(newOutputs, () -> createpage(form.dictId));
|
||||
return asHtml(path_AdminDictSynonym_ConfirmJsp);
|
||||
}
|
||||
|
||||
|
@ -183,6 +256,11 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
@Execute
|
||||
public HtmlResponse confirmfromupdate(final EditForm form) {
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
form.crudMode = CrudMode.EDIT;
|
||||
final String[] newInputs = splitLine(form.inputs);
|
||||
validateSynonymString(newInputs, () -> editpage(form.dictId, form.crudMode, form.id));
|
||||
final String[] newOutputs = splitLine(form.outputs);
|
||||
validateSynonymString(newOutputs, () -> editpage(form.dictId, form.crudMode, form.id));
|
||||
return asHtml(path_AdminDictSynonym_ConfirmJsp);
|
||||
}
|
||||
|
||||
|
@ -191,16 +269,32 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
// -------
|
||||
@Token(save = false, validate = true)
|
||||
@Execute
|
||||
public HtmlResponse downloadpage(final SearchForm form) {
|
||||
return asHtml(path_AdminDictSynonym_DownloadJsp);
|
||||
public HtmlResponse downloadpage(final String dictId) {
|
||||
return asHtml(path_AdminDictSynonym_DownloadJsp).useForm(DownloadForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
form.dictId = dictId;
|
||||
});
|
||||
}).renderWith(data -> {
|
||||
synonymService.getSynonymFile(dictId).ifPresent(file -> {
|
||||
data.register("path", file.getPath());
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), toIndexHtml());
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@Token(save = false, validate = true)
|
||||
@Execute
|
||||
public HtmlResponse download(final SearchForm form) {
|
||||
// TODO Download
|
||||
|
||||
return asHtml(path_AdminDictSynonym_DownloadJsp);
|
||||
public ActionResponse download(final DownloadForm form) {
|
||||
validate(form, messages -> {}, () -> downloadpage(form.dictId));
|
||||
return synonymService.getSynonymFile(form.dictId).map(file -> {
|
||||
return asStream(new File(file.getPath()).getName()).contentType("text/plain; charset=UTF-8").stream(out -> {
|
||||
out.write(file.getInputStream());
|
||||
});
|
||||
}).orElseGet(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), () -> downloadpage(form.dictId));
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
// -----------------------------------------------------
|
||||
|
@ -208,10 +302,39 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
// -------
|
||||
@Token(save = false, validate = true)
|
||||
@Execute
|
||||
public HtmlResponse uploadpage(final UploadForm form) {
|
||||
// TODO Upload
|
||||
public HtmlResponse uploadpage(final String dictId) {
|
||||
return asHtml(path_AdminDictSynonym_UploadJsp).useForm(UploadForm.class, op -> {
|
||||
op.setup(form -> {
|
||||
form.dictId = dictId;
|
||||
});
|
||||
}).renderWith(data -> {
|
||||
synonymService.getSynonymFile(dictId).ifPresent(file -> {
|
||||
data.register("path", file.getPath());
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), toIndexHtml());
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@Token(save = false, validate = true)
|
||||
@Execute
|
||||
public HtmlResponse upload(final UploadForm form) {
|
||||
validate(form, messages -> {}, () -> uploadpage(form.dictId));
|
||||
return synonymService.getSynonymFile(form.dictId).map(file -> {
|
||||
try (InputStream inputStream = form.synonymFile.getInputStream()) {
|
||||
file.update(inputStream);
|
||||
} catch (IOException e) {
|
||||
throwValidationError(messages -> messages.addErrorsFailedToUploadSynonymFile(GLOBAL), () -> {
|
||||
return redirectWith(getClass(), moreUrl("uploadpage/" + form.dictId));
|
||||
});
|
||||
}
|
||||
saveInfo(messages -> messages.addSuccessUploadSynonymFile(GLOBAL));
|
||||
return redirectWith(getClass(), moreUrl("uploadpage/" + form.dictId));
|
||||
}).orElseGet(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsFailedToUploadSynonymFile(GLOBAL), () -> uploadpage(form.dictId));
|
||||
return null;
|
||||
});
|
||||
|
||||
return asHtml(path_AdminDictSynonym_UploadJsp);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------
|
||||
|
@ -219,52 +342,133 @@ public class AdminDictSynonymAction extends FessAdminAction {
|
|||
// -------------
|
||||
@Token(save = false, validate = true)
|
||||
@Execute
|
||||
public HtmlResponse create(final EditForm form) {
|
||||
// TODO
|
||||
return redirect(getClass());
|
||||
public HtmlResponse create(final CreateForm form) {
|
||||
verifyCrudMode(form.crudMode, CrudMode.CREATE);
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
createSynonymItem(form).ifPresent(entity -> {
|
||||
final String[] newInputs = splitLine(form.inputs);
|
||||
validateSynonymString(newInputs, () -> confirmfromcreate(form));
|
||||
entity.setNewInputs(newInputs);
|
||||
final String[] newOutputs = splitLine(form.outputs);
|
||||
validateSynonymString(newOutputs, () -> confirmfromcreate(form));
|
||||
entity.setNewOutputs(newOutputs);
|
||||
synonymService.store(form.dictId, entity);
|
||||
saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL), toEditHtml());
|
||||
});
|
||||
return redirectWith(getClass(), moreUrl("list/1").params("dictId", form.dictId));
|
||||
}
|
||||
|
||||
@Token(save = false, validate = true)
|
||||
@Execute
|
||||
public HtmlResponse update(final EditForm form) {
|
||||
// TODO
|
||||
return redirect(getClass());
|
||||
verifyCrudMode(form.crudMode, CrudMode.EDIT);
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
createSynonymItem(form).ifPresent(entity -> {
|
||||
final String[] newInputs = splitLine(form.inputs);
|
||||
validateSynonymString(newInputs, () -> confirmfromupdate(form));
|
||||
entity.setNewInputs(newInputs);
|
||||
final String[] newOutputs = splitLine(form.outputs);
|
||||
validateSynonymString(newOutputs, () -> confirmfromupdate(form));
|
||||
entity.setNewOutputs(newOutputs);
|
||||
synonymService.store(form.dictId, entity);
|
||||
saveInfo(messages -> messages.addSuccessCrudUpdateCrudTable(GLOBAL));
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), toEditHtml());
|
||||
});
|
||||
return redirectWith(getClass(), moreUrl("list/1").params("dictId", form.dictId));
|
||||
}
|
||||
|
||||
@Execute
|
||||
public HtmlResponse delete(final EditForm form) {
|
||||
// TODO
|
||||
return redirect(getClass());
|
||||
}
|
||||
|
||||
@Token(save = false, validate = true)
|
||||
@Execute
|
||||
public HtmlResponse upload(final UploadForm form) {
|
||||
// TODO
|
||||
return redirect(getClass());
|
||||
verifyCrudMode(form.crudMode, CrudMode.DELETE);
|
||||
validate(form, messages -> {}, toEditHtml());
|
||||
synonymService.getSynonymItem(form.dictId, form.id).ifPresent(entity -> {
|
||||
synonymService.delete(form.dictId, entity);
|
||||
saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
|
||||
}).orElse(() -> {
|
||||
throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), toEditHtml());
|
||||
});
|
||||
return redirectWith(getClass(), moreUrl("list/1").params("dictId", form.dictId));
|
||||
}
|
||||
|
||||
//===================================================================================
|
||||
// Assist Logic
|
||||
// ============
|
||||
protected void loadSynonym(final SuggestElevateWordEditForm form) {
|
||||
// TODO
|
||||
|
||||
protected OptionalEntity<SynonymItem> createSynonymItem(CreateForm form) {
|
||||
switch (form.crudMode) {
|
||||
case CrudMode.CREATE:
|
||||
if (form instanceof CreateForm) {
|
||||
final SynonymItem entity = new SynonymItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY_STRINGS);
|
||||
return OptionalEntity.of(entity);
|
||||
}
|
||||
break;
|
||||
case CrudMode.EDIT:
|
||||
if (form instanceof EditForm) {
|
||||
return synonymService.getSynonymItem(form.dictId, ((EditForm) form).id);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return OptionalEntity.empty();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Small Helper
|
||||
// ============
|
||||
protected void verifyCrudMode(final EditForm form, final int expectedMode) {
|
||||
if (form.crudMode != expectedMode) {
|
||||
protected void verifyCrudMode(final int crudMode, final int expectedMode) {
|
||||
if (crudMode != expectedMode) {
|
||||
throwValidationError(messages -> {
|
||||
messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(form.crudMode));
|
||||
messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
|
||||
}, toEditHtml());
|
||||
}
|
||||
}
|
||||
|
||||
protected VaErrorHook toIndexHtml() {
|
||||
return () -> {
|
||||
return redirect(AdminDictAction.class);
|
||||
};
|
||||
}
|
||||
|
||||
protected VaErrorHook toEditHtml() {
|
||||
return () -> {
|
||||
return asHtml(path_AdminDictSynonym_EditJsp);
|
||||
};
|
||||
}
|
||||
|
||||
private void validateSynonymString(String[] values, VaErrorHook hook) {
|
||||
if (values.length == 0) {
|
||||
return;
|
||||
}
|
||||
for (String value : values) {
|
||||
if (value.indexOf(',') >= 0) {
|
||||
throwValidationError(messages -> {
|
||||
messages.addErrorsInvalidStrIsIncluded(GLOBAL, value, ",");
|
||||
}, hook);
|
||||
}
|
||||
if (value.indexOf("=>") >= 0) {
|
||||
throwValidationError(messages -> {
|
||||
messages.addErrorsInvalidStrIsIncluded(GLOBAL, value, "=>");
|
||||
}, hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private String[] splitLine(final String value) {
|
||||
if (StringUtil.isBlank(value)) {
|
||||
return StringUtil.EMPTY_STRINGS;
|
||||
}
|
||||
final String[] values = value.split("[\r\n]");
|
||||
final List<String> list = new ArrayList<>(values.length);
|
||||
for (final String line : values) {
|
||||
if (StringUtil.isNotBlank(line)) {
|
||||
list.add(line.trim());
|
||||
}
|
||||
}
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Copyright 2009-2015 the CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.codelibs.fess.app.web.admin.dict.synonym;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
import org.codelibs.fess.app.web.CrudMode;
|
||||
import org.lastaflute.web.validation.Required;
|
||||
|
||||
/**
|
||||
* @author shinsuke
|
||||
* @author Keiichi Watanabe
|
||||
*/
|
||||
public class CreateForm implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Required
|
||||
public String dictId;
|
||||
|
||||
public Integer crudMode;
|
||||
|
||||
@Required
|
||||
@Size(max = 1000)
|
||||
public String inputs;
|
||||
|
||||
@Required
|
||||
@Size(max = 1000)
|
||||
public String outputs;
|
||||
|
||||
public void initialize() {
|
||||
crudMode = CrudMode.CREATE;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
package org.codelibs.fess.app.web.admin.dict.synonym;
|
||||
|
||||
import org.lastaflute.web.validation.Required;
|
||||
|
||||
public class DownloadForm {
|
||||
@Required
|
||||
public String dictId;
|
||||
}
|
|
@ -16,50 +16,20 @@
|
|||
|
||||
package org.codelibs.fess.app.web.admin.dict.synonym;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import org.lastaflute.web.validation.Required;
|
||||
|
||||
/**
|
||||
* @author codelibs
|
||||
* @author shinsuke
|
||||
* @author Keiichi Watanabe
|
||||
*/
|
||||
public class EditForm implements Serializable {
|
||||
public class EditForm extends CreateForm {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
//@IntegerType
|
||||
public String pageNumber;
|
||||
|
||||
public Map<String, String> searchParams = new HashMap<String, String>();
|
||||
|
||||
//@Required
|
||||
public String dictId;
|
||||
|
||||
//@IntegerType
|
||||
public int crudMode;
|
||||
|
||||
public String getCurrentPageNumber() {
|
||||
return pageNumber;
|
||||
}
|
||||
|
||||
//@Required(target = "confirmfromupdate,update,delete")
|
||||
//@LongType
|
||||
public String id;
|
||||
|
||||
//@Required(target = "confirmfromcreate,create,confirmfromupdate,update,delete")
|
||||
//@Maxbytelength(maxbytelength = 1000)
|
||||
public String inputs;
|
||||
|
||||
//@Required(target = "confirmfromcreate,create,confirmfromupdate,update,delete")
|
||||
//@Maxbytelength(maxbytelength = 1000)
|
||||
public String outputs;
|
||||
|
||||
//@Required(target = "upload")
|
||||
//public FormFile synonymFile;
|
||||
|
||||
public void initialize() {
|
||||
id = null;
|
||||
@Required
|
||||
public Long id;
|
||||
|
||||
public String getDisplayId() {
|
||||
return dictId + ":" + id;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,16 +17,17 @@
|
|||
package org.codelibs.fess.app.web.admin.dict.synonym;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.lastaflute.web.validation.Required;
|
||||
|
||||
/**
|
||||
* @author codelibs
|
||||
* @author shinsuke
|
||||
* @author Keiichi Watanabe
|
||||
*/
|
||||
public class SearchForm implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Map<String, String> searchParams = new HashMap<String, String>();
|
||||
@Required
|
||||
public String dictId;
|
||||
}
|
||||
|
|
|
@ -19,15 +19,20 @@ package org.codelibs.fess.app.web.admin.dict.synonym;
|
|||
import java.io.Serializable;
|
||||
|
||||
import org.lastaflute.web.ruts.multipart.MultipartFormFile;
|
||||
import org.lastaflute.web.validation.Required;
|
||||
|
||||
/**
|
||||
* @author codelibs
|
||||
* @author shinsuke
|
||||
* @author Keiichi Watanabe
|
||||
*/
|
||||
public class UploadForm implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Required
|
||||
public String dictId;
|
||||
|
||||
@Required
|
||||
public MultipartFormFile synonymFile;
|
||||
|
||||
}
|
||||
}
|
|
@ -235,7 +235,7 @@ public class KuromojiFile extends DictionaryFile<KuromojiItem> {
|
|||
item.setNewToken(null);
|
||||
}
|
||||
} else {
|
||||
throw new DictionaryException("UserDict file was updated: old=" + oldItem + " : new=" + item);
|
||||
throw new DictionaryException("Kuromoji file was updated: old=" + oldItem + " : new=" + item);
|
||||
}
|
||||
} else {
|
||||
writer.write(oldItem.toLineString());
|
||||
|
|
|
@ -16,12 +16,14 @@
|
|||
|
||||
package org.codelibs.fess.dict.synonym;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.Closeable;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.OutputStreamWriter;
|
||||
import java.io.Writer;
|
||||
|
@ -51,10 +53,15 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
return SYNONYM;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
@Override
|
||||
public OptionalEntity<SynonymItem> get(final long id) {
|
||||
if (synonymItemList == null) {
|
||||
reload(null);
|
||||
reload(null, null);
|
||||
}
|
||||
|
||||
for (final SynonymItem synonymItem : synonymItemList) {
|
||||
|
@ -68,7 +75,7 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
@Override
|
||||
public synchronized PagingList<SynonymItem> selectList(final int offset, final int size) {
|
||||
if (synonymItemList == null) {
|
||||
reload(null);
|
||||
reload(null, null);
|
||||
}
|
||||
|
||||
if (offset >= synonymItemList.size() || offset < 0) {
|
||||
|
@ -86,14 +93,14 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
@Override
|
||||
public synchronized void insert(final SynonymItem item) {
|
||||
try (SynonymUpdater updater = new SynonymUpdater(item)) {
|
||||
reload(updater);
|
||||
reload(updater, null);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void update(final SynonymItem item) {
|
||||
try (SynonymUpdater updater = new SynonymUpdater(item)) {
|
||||
reload(updater);
|
||||
reload(updater, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -103,14 +110,14 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
synonymItem.setNewInputs(StringUtil.EMPTY_STRINGS);
|
||||
synonymItem.setNewOutputs(StringUtil.EMPTY_STRINGS);
|
||||
try (SynonymUpdater updater = new SynonymUpdater(item)) {
|
||||
reload(updater);
|
||||
reload(updater, null);
|
||||
}
|
||||
}
|
||||
|
||||
protected void reload(final SynonymUpdater updater) {
|
||||
protected void reload(final SynonymUpdater updater, InputStream in) {
|
||||
final List<SynonymItem> itemList = new ArrayList<SynonymItem>();
|
||||
try (BufferedReader reader =
|
||||
new BufferedReader(new InputStreamReader(dictionaryManager.getContentInputStream(this), Constants.UTF_8))) {
|
||||
new BufferedReader(new InputStreamReader(in != null ? in : dictionaryManager.getContentInputStream(this), Constants.UTF_8))) {
|
||||
long id = 0;
|
||||
String line = null;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
|
@ -244,15 +251,15 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
return new File(path).getName();
|
||||
}
|
||||
|
||||
// TODO
|
||||
// public InputStream getInputStream() throws IOException {
|
||||
// return new BufferedInputStream(new FileInputStream(file));
|
||||
// }
|
||||
//
|
||||
// public void update(final InputStream in) throws IOException {
|
||||
// CopyUtil.copy(in, file);
|
||||
// reload(null);
|
||||
// }
|
||||
public InputStream getInputStream() throws IOException {
|
||||
return new BufferedInputStream(dictionaryManager.getContentInputStream(this));
|
||||
}
|
||||
|
||||
public void update(final InputStream in) throws IOException {
|
||||
try (SynonymUpdater updater = new SynonymUpdater(null)) {
|
||||
reload(updater, in);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
@ -277,14 +284,14 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
if (newFile != null) {
|
||||
newFile.delete();
|
||||
}
|
||||
throw new DictionaryException("Failed to write a synonym file.", e);
|
||||
throw new DictionaryException("Failed to write a userDict file.", e);
|
||||
}
|
||||
item = newItem;
|
||||
}
|
||||
|
||||
public SynonymItem write(final SynonymItem oldItem) {
|
||||
try {
|
||||
if (item.getId() == oldItem.getId() && item.isUpdated()) {
|
||||
if (item != null && item.getId() == oldItem.getId() && item.isUpdated()) {
|
||||
if (item.equals(oldItem)) {
|
||||
try {
|
||||
if (!item.isDeleted()) {
|
||||
|
@ -323,7 +330,7 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
|
||||
public SynonymItem commit() {
|
||||
isCommit = true;
|
||||
if (item.isUpdated()) {
|
||||
if (item != null && item.isUpdated()) {
|
||||
try {
|
||||
writer.write(item.toLineString());
|
||||
writer.write(Constants.LINE_SEPARATOR);
|
||||
|
@ -355,4 +362,5 @@ public class SynonymFile extends DictionaryFile<SynonymItem> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.codelibs.fess.dict.synonym;
|
|||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.codelibs.core.lang.StringUtil;
|
||||
import org.codelibs.fess.dict.DictionaryItem;
|
||||
|
||||
public class SynonymItem extends DictionaryItem {
|
||||
|
@ -66,10 +67,24 @@ public class SynonymItem extends DictionaryItem {
|
|||
return inputs;
|
||||
}
|
||||
|
||||
public String getInputsValue() {
|
||||
if (inputs == null) {
|
||||
return StringUtil.EMPTY;
|
||||
}
|
||||
return String.join("\n", inputs);
|
||||
}
|
||||
|
||||
public String[] getOutputs() {
|
||||
return outputs;
|
||||
}
|
||||
|
||||
public String getOutputsValue() {
|
||||
if (outputs == null) {
|
||||
return StringUtil.EMPTY;
|
||||
}
|
||||
return String.join("\n", outputs);
|
||||
}
|
||||
|
||||
public boolean isUpdated() {
|
||||
return newInputs != null && newOutputs != null;
|
||||
}
|
||||
|
|
|
@ -491,7 +491,7 @@ 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: UserDict File */
|
||||
/** 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 */
|
||||
|
@ -503,125 +503,122 @@ public class FessLabels extends ActionMessages {
|
|||
/** The key of the message: System */
|
||||
public static final String LABELS_menu_system = "{labels.menu_system}";
|
||||
|
||||
/** The key of the message: » Wizard */
|
||||
public static final String LABELS_MENU_WIZARD = "{labels.menu.wizard}";
|
||||
/** The key of the message: Wizard */
|
||||
public static final String LABELS_menu_wizard = "{labels.menu_wizard}";
|
||||
|
||||
/** The key of the message: » General */
|
||||
public static final String LABELS_MENU_crawl_config = "{labels.menu.crawl_config}";
|
||||
/** The key of the message: General */
|
||||
public static final String LABELS_menu_crawl_config = "{labels.menu_crawl_config}";
|
||||
|
||||
/** The key of the message: » Scheduled Jobs */
|
||||
public static final String LABELS_MENU_scheduled_job_config = "{labels.menu.scheduled_job_config}";
|
||||
/** The key of the message: Scheduled Jobs */
|
||||
public static final String LABELS_menu_scheduled_job_config = "{labels.menu_scheduled_job_config}";
|
||||
|
||||
/** The key of the message: » System */
|
||||
public static final String LABELS_MENU_system_config = "{labels.menu.system_config}";
|
||||
/** The key of the message: System */
|
||||
public static final String LABELS_menu_system_config = "{labels.menu_system_config}";
|
||||
|
||||
/** The key of the message: » Index */
|
||||
public static final String LABELS_MENU_document_config = "{labels.menu.document_config}";
|
||||
/** The key of the message: Index */
|
||||
public static final String LABELS_menu_document_config = "{labels.menu_document_config}";
|
||||
|
||||
/** The key of the message: » Design */
|
||||
public static final String LABELS_MENU_DESIGN = "{labels.menu.design}";
|
||||
/** The key of the message: Design */
|
||||
public static final String LABELS_menu_design = "{labels.menu_design}";
|
||||
|
||||
/** The key of the message: » Dictionary */
|
||||
public static final String LABELS_MENU_DICT = "{labels.menu.dict}";
|
||||
/** The key of the message: Dictionary */
|
||||
public static final String LABELS_menu_dict = "{labels.menu_dict}";
|
||||
|
||||
/** The key of the message: » Backup/Restore */
|
||||
public static final String LABELS_MENU_DATA = "{labels.menu.data}";
|
||||
/** The key of the message: Backup/Restore */
|
||||
public static final String LABELS_menu_data = "{labels.menu_data}";
|
||||
|
||||
/** The key of the message: Crawler */
|
||||
public static final String LABELS_menu_crawl = "{labels.menu_crawl}";
|
||||
|
||||
/** The key of the message: » Web */
|
||||
public static final String LABELS_MENU_WEB = "{labels.menu.web}";
|
||||
/** The key of the message: Web */
|
||||
public static final String LABELS_menu_web = "{labels.menu_web}";
|
||||
|
||||
/** The key of the message: » File System */
|
||||
public static final String LABELS_MENU_file_system = "{labels.menu.file_system}";
|
||||
/** The key of the message: File System */
|
||||
public static final String LABELS_menu_file_system = "{labels.menu_file_system}";
|
||||
|
||||
/** The key of the message: » Data Store */
|
||||
public static final String LABELS_MENU_data_store = "{labels.menu.data_store}";
|
||||
/** The key of the message: Data Store */
|
||||
public static final String LABELS_menu_data_store = "{labels.menu_data_store}";
|
||||
|
||||
/** The key of the message: » Label */
|
||||
public static final String LABELS_MENU_label_type = "{labels.menu.label_type}";
|
||||
/** The key of the message: Label */
|
||||
public static final String LABELS_menu_label_type = "{labels.menu_label_type}";
|
||||
|
||||
/** The key of the message: » Key Match */
|
||||
public static final String LABELS_MENU_key_match = "{labels.menu.key_match}";
|
||||
/** The key of the message: Key Match */
|
||||
public static final String LABELS_menu_key_match = "{labels.menu_key_match}";
|
||||
|
||||
/** The key of the message: » Doc Boost */
|
||||
public static final String LABELS_MENU_boost_document_rule = "{labels.menu.boost_document_rule}";
|
||||
/** The key of the message: Doc Boost */
|
||||
public static final String LABELS_menu_boost_document_rule = "{labels.menu_boost_document_rule}";
|
||||
|
||||
/** The key of the message: » Path Mapping */
|
||||
public static final String LABELS_MENU_path_mapping = "{labels.menu.path_mapping}";
|
||||
/** The key of the message: Path Mapping */
|
||||
public static final String LABELS_menu_path_mapping = "{labels.menu_path_mapping}";
|
||||
|
||||
/** The key of the message: » Web Authentication */
|
||||
public static final String LABELS_MENU_web_authentication = "{labels.menu.web_authentication}";
|
||||
/** The key of the message: Web Authentication */
|
||||
public static final String LABELS_menu_web_authentication = "{labels.menu_web_authentication}";
|
||||
|
||||
/** The key of the message: » File Authentication */
|
||||
public static final String LABELS_MENU_file_authentication = "{labels.menu.file_authentication}";
|
||||
/** The key of the message: File Authentication */
|
||||
public static final String LABELS_menu_file_authentication = "{labels.menu_file_authentication}";
|
||||
|
||||
/** The key of the message: » Request Header */
|
||||
public static final String LABELS_MENU_request_header = "{labels.menu.request_header}";
|
||||
/** The key of the message: Request Header */
|
||||
public static final String LABELS_menu_request_header = "{labels.menu_request_header}";
|
||||
|
||||
/** The key of the message: » Overlapping Host */
|
||||
public static final String LABELS_MENU_overlapping_host = "{labels.menu.overlapping_host}";
|
||||
/** The key of the message: Overlapping Host */
|
||||
public static final String LABELS_menu_overlapping_host = "{labels.menu_overlapping_host}";
|
||||
|
||||
/** The key of the message: » Role */
|
||||
public static final String LABELS_MENU_role_type = "{labels.menu.role_type}";
|
||||
/** The key of the message: Role */
|
||||
public static final String LABELS_menu_role_type = "{labels.menu_role_type}";
|
||||
|
||||
/** The key of the message: User */
|
||||
public static final String LABELS_menu_user = "{labels.menu_user}";
|
||||
|
||||
/** The key of the message: User */
|
||||
public static final String LABELS_MENU_USER = "{labels.menu.user}";
|
||||
|
||||
/** The key of the message: Role */
|
||||
public static final String LABELS_MENU_ROLE = "{labels.menu.role}";
|
||||
public static final String LABELS_menu_role = "{labels.menu_role}";
|
||||
|
||||
/** The key of the message: Group */
|
||||
public static final String LABELS_MENU_GROUP = "{labels.menu.group}";
|
||||
public static final String LABELS_menu_group = "{labels.menu_group}";
|
||||
|
||||
/** The key of the message: Suggest */
|
||||
public static final String LABELS_menu_suggest = "{labels.menu_suggest}";
|
||||
|
||||
/** The key of the message: » Additional Word */
|
||||
public static final String LABELS_MENU_suggest_elevate_word = "{labels.menu.suggest_elevate_word}";
|
||||
/** The key of the message: Additional Word */
|
||||
public static final String LABELS_menu_suggest_elevate_word = "{labels.menu_suggest_elevate_word}";
|
||||
|
||||
/** The key of the message: » Bad Word */
|
||||
public static final String LABELS_MENU_suggest_bad_word = "{labels.menu.suggest_bad_word}";
|
||||
/** The key of the message: Bad Word */
|
||||
public static final String LABELS_menu_suggest_bad_word = "{labels.menu_suggest_bad_word}";
|
||||
|
||||
/** The key of the message: System Info */
|
||||
public static final String LABELS_menu_system_log = "{labels.menu_system_log}";
|
||||
|
||||
/** The key of the message: » Config Info */
|
||||
public static final String LABELS_MENU_system_info = "{labels.menu.system_info}";
|
||||
/** The key of the message: Config Info */
|
||||
public static final String LABELS_menu_system_info = "{labels.menu_system_info}";
|
||||
|
||||
/** The key of the message: » Session Info */
|
||||
public static final String LABELS_MENU_session_info = "{labels.menu.session_info}";
|
||||
/** The key of the message: Session Info */
|
||||
public static final String LABELS_menu_session_info = "{labels.menu_session_info}";
|
||||
|
||||
/** The key of the message: » Log Files */
|
||||
public static final String LABELS_MENU_LOG = "{labels.menu.log}";
|
||||
/** The key of the message: Log Files */
|
||||
public static final String LABELS_menu_log = "{labels.menu_log}";
|
||||
|
||||
/** The key of the message: » Job Log */
|
||||
public static final String LABELS_MENU_JOB_LOG = "{labels.menu.jobLog}";
|
||||
/** The key of the message: Job Log */
|
||||
public static final String LABELS_menu_jobLog = "{labels.menu_jobLog}";
|
||||
|
||||
/** The key of the message: » Failure URL */
|
||||
public static final String LABELS_MENU_failure_url = "{labels.menu.failure_url}";
|
||||
/** The key of the message: Failure URL */
|
||||
public static final String LABELS_menu_failure_url = "{labels.menu_failure_url}";
|
||||
|
||||
/** The key of the message: » Search */
|
||||
public static final String LABELS_MENU_search_list = "{labels.menu.search_list}";
|
||||
/** The key of the message: Search */
|
||||
public static final String LABELS_menu_search_list = "{labels.menu_search_list}";
|
||||
|
||||
/** The key of the message: User Info */
|
||||
public static final String LABELS_menu_user_log = "{labels.menu_user_log}";
|
||||
|
||||
/** The key of the message: » Search Log */
|
||||
public static final String LABELS_MENU_search_log = "{labels.menu.search_log}";
|
||||
/** The key of the message: Search Log */
|
||||
public static final String LABELS_menu_search_log = "{labels.menu_search_log}";
|
||||
|
||||
/** The key of the message: » Statistics */
|
||||
public static final String LABELS_MENU_STATS = "{labels.menu.stats}";
|
||||
/** The key of the message: Statistics */
|
||||
public static final String LABELS_menu_stats = "{labels.menu_stats}";
|
||||
|
||||
/** The key of the message: » Popular URL */
|
||||
public static final String LABELS_MENU_FAVORITE_LOG = "{labels.menu.favoriteLog}";
|
||||
/** The key of the message: Popular URL */
|
||||
public static final String LABELS_menu_favoriteLog = "{labels.menu_favoriteLog}";
|
||||
|
||||
/** The key of the message: Logout */
|
||||
public static final String LABELS_MENU_LOGOUT = "{labels.menu.logout}";
|
||||
public static final String LABELS_menu_logout = "{labels.menu_logout}";
|
||||
|
||||
/** The key of the message: Fess */
|
||||
public static final String LABELS_HEADER_logo_alt = "{labels.header.logo_alt}";
|
||||
|
@ -728,6 +725,66 @@ public class FessLabels extends ActionMessages {
|
|||
/** The key of the message: Cache */
|
||||
public static final String LABELS_search_result_cache = "{labels.search_result_cache}";
|
||||
|
||||
/** The key of the message: Label */
|
||||
public static final String LABELS_facet_label_title = "{labels.facet_label_title}";
|
||||
|
||||
/** The key of the message: Term */
|
||||
public static final String LABELS_facet_lastModified_title = "{labels.facet_lastModified_title}";
|
||||
|
||||
/** The key of the message: Past 24 Hours */
|
||||
public static final String LABELS_facet_lastModified_1day = "{labels.facet_lastModified_1day}";
|
||||
|
||||
/** The key of the message: Past Week */
|
||||
public static final String LABELS_facet_lastModified_1week = "{labels.facet_lastModified_1week}";
|
||||
|
||||
/** The key of the message: Past Month */
|
||||
public static final String LABELS_facet_lastModified_1month = "{labels.facet_lastModified_1month}";
|
||||
|
||||
/** The key of the message: Past Year */
|
||||
public static final String LABELS_facet_lastModified_1year = "{labels.facet_lastModified_1year}";
|
||||
|
||||
/** The key of the message: Size */
|
||||
public static final String LABELS_facet_contentLength_title = "{labels.facet_contentLength_title}";
|
||||
|
||||
/** The key of the message: - 10kb */
|
||||
public static final String LABELS_facet_contentLength_10k = "{labels.facet_contentLength_10k}";
|
||||
|
||||
/** The key of the message: 10kb - 100kb */
|
||||
public static final String LABELS_facet_contentLength_10kto100k = "{labels.facet_contentLength_10kto100k}";
|
||||
|
||||
/** The key of the message: 100kb - 500kb */
|
||||
public static final String LABELS_facet_contentLength_100kto500k = "{labels.facet_contentLength_100kto500k}";
|
||||
|
||||
/** The key of the message: 500kb - 1mb */
|
||||
public static final String LABELS_facet_contentLength_500kto1m = "{labels.facet_contentLength_500kto1m}";
|
||||
|
||||
/** The key of the message: 1mb - */
|
||||
public static final String LABELS_facet_contentLength_1m = "{labels.facet_contentLength_1m}";
|
||||
|
||||
/** The key of the message: File Type */
|
||||
public static final String LABELS_facet_filetype_title = "{labels.facet_filetype_title}";
|
||||
|
||||
/** The key of the message: HTML */
|
||||
public static final String LABELS_facet_filetype_html = "{labels.facet_filetype_html}";
|
||||
|
||||
/** The key of the message: Word */
|
||||
public static final String LABELS_facet_filetype_word = "{labels.facet_filetype_word}";
|
||||
|
||||
/** The key of the message: Excel */
|
||||
public static final String LABELS_facet_filetype_excel = "{labels.facet_filetype_excel}";
|
||||
|
||||
/** The key of the message: PowerPoint */
|
||||
public static final String LABELS_facet_filetype_powerpoint = "{labels.facet_filetype_powerpoint}";
|
||||
|
||||
/** The key of the message: PDF */
|
||||
public static final String LABELS_facet_filetype_pdf = "{labels.facet_filetype_pdf}";
|
||||
|
||||
/** The key of the message: PDF */
|
||||
public static final String LABELS_facet_filetype_others = "{labels.facet_filetype_others}";
|
||||
|
||||
/** The key of the message: Reset */
|
||||
public static final String LABELS_facet_label_reset = "{labels.facet_label_reset}";
|
||||
|
||||
/** The key of the message: All */
|
||||
public static final String LABELS_searchoptions_all = "{labels.searchoptions_all}";
|
||||
|
||||
|
@ -872,6 +929,9 @@ public class FessLabels extends ActionMessages {
|
|||
/** The key of the message: Options */
|
||||
public static final String LABELS_header_form_option_btn = "{labels.header_form_option_btn}";
|
||||
|
||||
/** The key of the message: Accessing {0}<br>At a first time starting, it might take a little more time to open the file. */
|
||||
public static final String LABELS_open_uri = "{labels.open_uri}";
|
||||
|
||||
/** The key of the message: File Crawling Configuration */
|
||||
public static final String LABELS_file_crawling_configuration = "{labels.file_crawling_configuration}";
|
||||
|
||||
|
@ -2584,6 +2644,9 @@ public class FessLabels extends ActionMessages {
|
|||
/** The key of the message: Samba */
|
||||
public static final String LABELS_file_authentication_scheme_samba = "{labels.file_authentication_scheme_samba}";
|
||||
|
||||
/** The key of the message: FTP */
|
||||
public static final String LABELS_file_authentication_scheme_ftp = "{labels.file_authentication_scheme_ftp}";
|
||||
|
||||
/** The key of the message: File Authentication */
|
||||
public static final String LABELS_file_authentication_title_confirm = "{labels.file_authentication_title_confirm}";
|
||||
|
||||
|
@ -2962,10 +3025,10 @@ public class FessLabels extends ActionMessages {
|
|||
/** The key of the message: Synonym File */
|
||||
public static final String LABELS_dict_synonym_file = "{labels.dict_synonym_file}";
|
||||
|
||||
/** The key of the message: UserDict List */
|
||||
/** The key of the message: Kuromoji List */
|
||||
public static final String LABELS_dict_kuromoji_configuration = "{labels.dict_kuromoji_configuration}";
|
||||
|
||||
/** The key of the message: UserDict List */
|
||||
/** The key of the message: Kuromoji List */
|
||||
public static final String LABELS_dict_kuromoji_title = "{labels.dict_kuromoji_title}";
|
||||
|
||||
/** The key of the message: List */
|
||||
|
@ -3025,7 +3088,7 @@ public class FessLabels extends ActionMessages {
|
|||
/** The key of the message: Upload */
|
||||
public static final String LABELS_dict_kuromoji_button_upload = "{labels.dict_kuromoji_button_upload}";
|
||||
|
||||
/** The key of the message: UserDict File */
|
||||
/** The key of the message: Kuromoji File */
|
||||
public static final String LABELS_dict_kuromoji_file = "{labels.dict_kuromoji_file}";
|
||||
|
||||
/** The key of the message: Doc Boost */
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -120,21 +120,21 @@
|
|||
<postConstruct name="addFacetQueryView">
|
||||
<arg>
|
||||
<component class="org.codelibs.fess.entity.FacetQueryView">
|
||||
<property name="title">"label.facet_lastModified_title"</property>
|
||||
<property name="title">"labels.facet_lastModified_title"</property>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_lastModified_1day"</arg>
|
||||
<arg>"labels.facet_lastModified_1day"</arg>
|
||||
<arg>"last_modified:[now/d-1d TO now]"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_lastModified_1week"</arg>
|
||||
<arg>"labels.facet_lastModified_1week"</arg>
|
||||
<arg>"last_modified:[now/d-7d TO now]"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_lastModified_1month"</arg>
|
||||
<arg>"labels.facet_lastModified_1month"</arg>
|
||||
<arg>"last_modified:[now/d-1M TO now]"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_lastModified_1year"</arg>
|
||||
<arg>"labels.facet_lastModified_1year"</arg>
|
||||
<arg>"last_modified:[now/d-1y TO now]"</arg>
|
||||
</postConstruct>
|
||||
</component>
|
||||
|
@ -143,25 +143,25 @@
|
|||
<postConstruct name="addFacetQueryView">
|
||||
<arg>
|
||||
<component class="org.codelibs.fess.entity.FacetQueryView">
|
||||
<property name="title">"label.facet_contentLength_title"</property>
|
||||
<property name="title">"labels.facet_contentLength_title"</property>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_contentLength_10k"</arg>
|
||||
<arg>"labels.facet_contentLength_10k"</arg>
|
||||
<arg>"content_length:[0 TO 9999]"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_contentLength_10kto100k"</arg>
|
||||
<arg>"labels.facet_contentLength_10kto100k"</arg>
|
||||
<arg>"content_length:[10000 TO 99999]"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_contentLength_100kto500k"</arg>
|
||||
<arg>"labels.facet_contentLength_100kto500k"</arg>
|
||||
<arg>"content_length:[100000 TO 499999]"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_contentLength_500kto1m"</arg>
|
||||
<arg>"labels.facet_contentLength_500kto1m"</arg>
|
||||
<arg>"content_length:[500000 TO 999999]"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_contentLength_1m"</arg>
|
||||
<arg>"labels.facet_contentLength_1m"</arg>
|
||||
<arg>"content_length:[1000000 TO *]"</arg>
|
||||
</postConstruct>
|
||||
</component>
|
||||
|
@ -170,29 +170,29 @@
|
|||
<postConstruct name="addFacetQueryView">
|
||||
<arg>
|
||||
<component class="org.codelibs.fess.entity.FacetQueryView">
|
||||
<property name="title">"label.facet_filetype_title"</property>
|
||||
<property name="title">"labels.facet_filetype_title"</property>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_filetype_html"</arg>
|
||||
<arg>"labels.facet_filetype_html"</arg>
|
||||
<arg>"filetype:html"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_filetype_word"</arg>
|
||||
<arg>"labels.facet_filetype_word"</arg>
|
||||
<arg>"filetype:word"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_filetype_excel"</arg>
|
||||
<arg>"labels.facet_filetype_excel"</arg>
|
||||
<arg>"filetype:excel"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_filetype_powerpoint"</arg>
|
||||
<arg>"labels.facet_filetype_powerpoint"</arg>
|
||||
<arg>"filetype:powerpoint"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_filetype_pdf"</arg>
|
||||
<arg>"labels.facet_filetype_pdf"</arg>
|
||||
<arg>"filetype:pdf"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addQuery">
|
||||
<arg>"label.facet_filetype_others"</arg>
|
||||
<arg>"labels.facet_filetype_others"</arg>
|
||||
<arg>"filetype:others"</arg>
|
||||
</postConstruct>
|
||||
</component>
|
||||
|
|
|
@ -164,50 +164,49 @@ labels.target=Target
|
|||
labels.token=Token
|
||||
labels.useAclAsRole=Use ACL as Role
|
||||
labels.synonymFile=Synonym File
|
||||
labels.userDictFile=UserDict File
|
||||
labels.userDictFile=Kuromoji File
|
||||
labels.suggestElevateWordFile=Additional Word File
|
||||
labels.suggestBadWordFile=Bad Word File
|
||||
labels.menu_system=System
|
||||
labels.menu.wizard=» Wizard
|
||||
labels.menu.crawl_config=» General
|
||||
labels.menu.scheduled_job_config=» Scheduled Jobs
|
||||
labels.menu.system_config=» System
|
||||
labels.menu.document_config=» Index
|
||||
labels.menu.design=» Design
|
||||
labels.menu.dict=» Dictionary
|
||||
labels.menu.data=» Backup/Restore
|
||||
labels.menu_wizard=Wizard
|
||||
labels.menu_crawl_config=General
|
||||
labels.menu_scheduled_job_config=Scheduled Jobs
|
||||
labels.menu_system_config=System
|
||||
labels.menu_document_config=Index
|
||||
labels.menu_design=Design
|
||||
labels.menu_dict=Dictionary
|
||||
labels.menu_data=Backup/Restore
|
||||
labels.menu_crawl=Crawler
|
||||
labels.menu.web=» Web
|
||||
labels.menu.file_system=» File System
|
||||
labels.menu.data_store=» Data Store
|
||||
labels.menu.label_type=» Label
|
||||
labels.menu.key_match=» Key Match
|
||||
labels.menu.boost_document_rule=» Doc Boost
|
||||
labels.menu.path_mapping=» Path Mapping
|
||||
labels.menu.web_authentication=» Web Authentication
|
||||
labels.menu.file_authentication=» File Authentication
|
||||
labels.menu.request_header=» Request Header
|
||||
labels.menu.overlapping_host=» Overlapping Host
|
||||
labels.menu.role_type=» Role
|
||||
labels.menu_web=Web
|
||||
labels.menu_file_system=File System
|
||||
labels.menu_data_store=Data Store
|
||||
labels.menu_label_type=Label
|
||||
labels.menu_key_match=Key Match
|
||||
labels.menu_boost_document_rule=Doc Boost
|
||||
labels.menu_path_mapping=Path Mapping
|
||||
labels.menu_web_authentication=Web Authentication
|
||||
labels.menu_file_authentication=File Authentication
|
||||
labels.menu_request_header=Request Header
|
||||
labels.menu_overlapping_host=Overlapping Host
|
||||
labels.menu_role_type=Role
|
||||
labels.menu_user=User
|
||||
labels.menu.user=User
|
||||
labels.menu.role=Role
|
||||
labels.menu.group=Group
|
||||
labels.menu_role=Role
|
||||
labels.menu_group=Group
|
||||
labels.menu_suggest=Suggest
|
||||
labels.menu.suggest_elevate_word=» Additional Word
|
||||
labels.menu.suggest_bad_word=» Bad Word
|
||||
labels.menu_suggest_elevate_word=Additional Word
|
||||
labels.menu_suggest_bad_word=Bad Word
|
||||
labels.menu_system_log=System Info
|
||||
labels.menu.system_info=» Config Info
|
||||
labels.menu.session_info=» Session Info
|
||||
labels.menu.log=» Log Files
|
||||
labels.menu.jobLog=» Job Log
|
||||
labels.menu.failure_url=» Failure URL
|
||||
labels.menu.search_list=» Search
|
||||
labels.menu_system_info=Config Info
|
||||
labels.menu_session_info=Session Info
|
||||
labels.menu_log=Log Files
|
||||
labels.menu_jobLog=Job Log
|
||||
labels.menu_failure_url=Failure URL
|
||||
labels.menu_search_list=Search
|
||||
labels.menu_user_log=User Info
|
||||
labels.menu.search_log=» Search Log
|
||||
labels.menu.stats=» Statistics
|
||||
labels.menu.favoriteLog=» Popular URL
|
||||
labels.menu.logout=Logout
|
||||
labels.menu_search_log=Search Log
|
||||
labels.menu_stats=Statistics
|
||||
labels.menu_favoriteLog=Popular URL
|
||||
labels.menu_logout=Logout
|
||||
labels.header.logo_alt=Fess
|
||||
labels.header.home=Home
|
||||
labels.header.help=Help
|
||||
|
@ -243,6 +242,26 @@ labels.search_result_favorited=Voted
|
|||
labels.search_click_count=Click: {0}
|
||||
labels.search_result_more=more..
|
||||
labels.search_result_cache=Cache
|
||||
labels.facet_label_title=Label
|
||||
labels.facet_lastModified_title=Term
|
||||
labels.facet_lastModified_1day=Past 24 Hours
|
||||
labels.facet_lastModified_1week=Past Week
|
||||
labels.facet_lastModified_1month=Past Month
|
||||
labels.facet_lastModified_1year=Past Year
|
||||
labels.facet_contentLength_title=Size
|
||||
labels.facet_contentLength_10k= - 10kb
|
||||
labels.facet_contentLength_10kto100k=10kb - 100kb
|
||||
labels.facet_contentLength_100kto500k=100kb - 500kb
|
||||
labels.facet_contentLength_500kto1m=500kb - 1mb
|
||||
labels.facet_contentLength_1m=1mb -
|
||||
labels.facet_filetype_title=File Type
|
||||
labels.facet_filetype_html=HTML
|
||||
labels.facet_filetype_word=Word
|
||||
labels.facet_filetype_excel=Excel
|
||||
labels.facet_filetype_powerpoint=PowerPoint
|
||||
labels.facet_filetype_pdf=PDF
|
||||
labels.facet_filetype_others=PDF
|
||||
labels.facet_label_reset=Reset
|
||||
labels.searchoptions_all=All
|
||||
labels.searchoptions_score=Score
|
||||
labels.searchoptions_menu_sort=Sort:
|
||||
|
@ -292,6 +311,7 @@ labels.search_unknown=Unknown
|
|||
labels.footer_back_to_top=Back to top
|
||||
labels.header_brand_name=Fess
|
||||
labels.header_form_option_btn=Options
|
||||
labels.open_uri=Accessing {0}<br>At a first time starting, it might take a little more time to open the file.
|
||||
labels.file_crawling_configuration=File Crawling Configuration
|
||||
labels.file_crawling_title_details=File Crawling Configuration
|
||||
labels.included_paths=Included Paths For Crawling
|
||||
|
@ -885,6 +905,7 @@ labels.file_authentication_password=Password
|
|||
labels.file_authentication_parameters=Parameters
|
||||
labels.file_authentication_file_crawling_config=FS Config
|
||||
labels.file_authentication_scheme_samba=Samba
|
||||
labels.file_authentication_scheme_ftp=FTP
|
||||
labels.file_authentication_title_confirm=File Authentication
|
||||
labels.file_authentication_button_update=Update
|
||||
labels.file_authentication_button_delete=Delete
|
||||
|
@ -1014,8 +1035,8 @@ labels.dict_synonym_button_update=Update
|
|||
labels.dict_synonym_button_download=Download
|
||||
labels.dict_synonym_button_upload=Upload
|
||||
labels.dict_synonym_file=Synonym File
|
||||
labels.dict_kuromoji_configuration=UserDict List
|
||||
labels.dict_kuromoji_title=UserDict List
|
||||
labels.dict_kuromoji_configuration=Kuromoji List
|
||||
labels.dict_kuromoji_title=Kuromoji List
|
||||
labels.dict_kuromoji_list_link=List
|
||||
labels.dict_kuromoji_link_create=Create New
|
||||
labels.dict_kuromoji_link_update=Edit
|
||||
|
@ -1035,7 +1056,7 @@ labels.dict_kuromoji_button_delete=Delete
|
|||
labels.dict_kuromoji_button_update=Update
|
||||
labels.dict_kuromoji_button_download=Download
|
||||
labels.dict_kuromoji_button_upload=Upload
|
||||
labels.dict_kuromoji_file=UserDict File
|
||||
labels.dict_kuromoji_file=Kuromoji File
|
||||
labels.boost_document_rule_configuration=Doc Boost
|
||||
labels.boost_document_rule_title_list=Doc Boost
|
||||
labels.boost_document_rule_title_confirm=Confirm Doc Boost
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -59,7 +59,6 @@ errors.app.db.already.deleted=others might be updated, so retry
|
|||
errors.app.db.already.updated=others might be updated, so retry
|
||||
errors.app.db.already.exists=already existing data, so retry
|
||||
|
||||
|
||||
# _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|
||||
# you can define your messages here:
|
||||
# e.g.
|
||||
|
@ -69,37 +68,6 @@ errors.app.db.already.exists=already existing data, so retry
|
|||
# ========================================================================================
|
||||
# Fess
|
||||
# ======
|
||||
errors.front_header=<div class="alert"><button type="button" class="close" data-dismiss="alert">\u00d7</button>
|
||||
errors.front_footer=</div>
|
||||
errors.front_prefix=<div>
|
||||
errors.front_suffix=</div>
|
||||
errors.header=<div class="alert-message error">
|
||||
errors.footer=</div>
|
||||
errors.prefix=<p>
|
||||
errors.suffix=</p>
|
||||
errors.invalid={0} is invalid.
|
||||
errors.maxlength={0} can not be greater than {1} characters.
|
||||
errors.minlength={0} can not be less than {1} characters.
|
||||
errors.maxbytelength={0} can not be greater than {1} bytes.
|
||||
errors.minbytelength={0} can not be less than {1} bytes.
|
||||
errors.range={0} is not in the range {1} through {2}.
|
||||
errors.required={0} is required.
|
||||
errors.byte={0} must be an byte.
|
||||
errors.date={0} is not a date.
|
||||
errors.double={0} must be an double.
|
||||
errors.float={0} must be an float.
|
||||
errors.integer={0} must be an integer.
|
||||
errors.long={0} must be an long.
|
||||
errors.short={0} must be an short.
|
||||
errors.creditcard={0} is not a valid credit card number.
|
||||
errors.email={0} is an invalid e-mail address.
|
||||
errors.url={0} is an invalid url (web address).
|
||||
errors.cronexpression={0} is a invalid format.
|
||||
errors.uritype={0} is a invalid uri.
|
||||
errors.alphaDigitOnly={0} must be alphabet or digit only.
|
||||
errors.alphaDigitSpaceOnly={0} must be alphabet, digit, or space only.
|
||||
errors.token=Invalid request.
|
||||
|
||||
errors.failed_to_update_crawler_params=Failed to update parameters. Please contact to a site administrator.
|
||||
errors.failed_to_update_web_crawler_params=Failed to update parameters. Please contact to a site administrator.
|
||||
errors.failed_to_update_solr_params=Failed to update parameters. Please contact to a site administrator.
|
||||
|
@ -148,8 +116,10 @@ errors.synonym_file_is_not_found=Synonym file is not found
|
|||
errors.failed_to_download_synonym_file=Failed to download the Synonym file.
|
||||
errors.failed_to_upload_synonym_file=Failed to upload the Synonym file.
|
||||
errors.kuromoji_file_is_not_found=Synonym file is not found
|
||||
errors.failed_to_download_kuromoji_file=Failed to download the UserDict file.
|
||||
errors.failed_to_upload_kuromoji_file=Failed to upload the UserDict file.
|
||||
errors.failed_to_download_kuromoji_file=Failed to download the Kuromoji file.
|
||||
errors.failed_to_upload_kuromoji_file=Failed to upload the Kuromoji file.
|
||||
errors.invalid_str_is_included="{1}" in "{0}" is invalid.
|
||||
errors.failed_to_reload_core=Failed to reload core. Check log files.
|
||||
errors.blank_password=Password is required.
|
||||
errors.invalid_confirm_password=Confirm Password does not match.
|
||||
errors.password_does_not_exist_in_session=Invalid password.
|
||||
|
@ -162,6 +132,12 @@ errors.invalid_query_parenthesis=An invalid parenthesis character is used.
|
|||
errors.invalid_query_num_range=An invalid range is used. The example of the range format is "field:[20020101 TO 20030101]".
|
||||
errors.invalid_query_str_range=An invalid range is used. The example of the range format is "field:'{'Aida TO Carmen'}'".
|
||||
|
||||
errors.crud_invalid_mode=Invalid mode(expected value is {0}, but it's {1}).
|
||||
errors.crud_failed_to_create_crud_table=Failed to create a new data.
|
||||
errors.crud_failed_to_update_crud_table=Failed to update the data.
|
||||
errors.crud_failed_to_delete_crud_table=Failed to delete the data.
|
||||
errors.crud_could_not_find_crud_table=Could not find the data({0}).
|
||||
|
||||
success.update_crawler_params=Updated parameters.
|
||||
success.update_web_crawler_params=Updated parameters.
|
||||
success.update_solr_params=Updated parameters.
|
||||
|
@ -188,38 +164,10 @@ success.job_started=Started job {0}.
|
|||
success.job_stopped=Stopped job {0}.
|
||||
success.joblog_delete_all=Deleted job logs.
|
||||
success.upload_synonym_file=Uploaded Synonym file.
|
||||
success.upload_kuromoji_file=Uploaded UserDict file.
|
||||
success.upload_kuromoji_file=Uploaded Kuromoji file.
|
||||
success.upload_suggest_elevate_word=Uploaded Additional Word file.
|
||||
success.upload_suggest_bad_word=Uploaded Bad Word file.
|
||||
|
||||
label.facet_label_title=Label
|
||||
label.facet_lastModified_title=Term
|
||||
label.facet_lastModified_1day=Past 24 Hours
|
||||
label.facet_lastModified_1week=Past Week
|
||||
label.facet_lastModified_1month=Past Month
|
||||
label.facet_lastModified_1year=Past Year
|
||||
label.facet_contentLength_title=Size
|
||||
label.facet_contentLength_10k= - 10kb
|
||||
label.facet_contentLength_10kto100k=10kb - 100kb
|
||||
label.facet_contentLength_100kto500k=100kb - 500kb
|
||||
label.facet_contentLength_500kto1m=500kb - 1mb
|
||||
label.facet_contentLength_1m=1mb -
|
||||
label.facet_filetype_title=File Type
|
||||
label.facet_filetype_html=HTML
|
||||
label.facet_filetype_word=Word
|
||||
label.facet_filetype_excel=Excel
|
||||
label.facet_filetype_powerpoint=PowerPoint
|
||||
label.facet_filetype_pdf=PDF
|
||||
label.facet_filetype_others=PDF
|
||||
label.facet_label_reset=Reset
|
||||
|
||||
errors.crud_invalid_mode=Invalid mode(expected value is {0}, but it's {1}).
|
||||
errors.crud_failed_to_create_crud_table=Failed to create a new data.
|
||||
errors.crud_failed_to_update_crud_table=Failed to update the data.
|
||||
errors.crud_failed_to_delete_crud_table=Failed to delete the data.
|
||||
errors.crud_could_not_find_crud_table=Could not find the data({0}).
|
||||
|
||||
success.crud_create_crud_table=Created data.
|
||||
success.crud_update_crud_table=Updated data.
|
||||
success.crud_delete_crud_table=Deleted data.
|
||||
|
||||
|
|
|
@ -1,154 +0,0 @@
|
|||
errors.front_header=<div class="alert"><button type="button" class="close" data-dismiss="alert">\u00d7</button>
|
||||
errors.front_footer=</div>
|
||||
errors.front_prefix=<div>
|
||||
errors.front_suffix=</div>
|
||||
errors.header=<div class="alert-message error">
|
||||
errors.footer=</div>
|
||||
errors.prefix=<p>
|
||||
errors.suffix=</p>
|
||||
errors.invalid={0} is invalid.
|
||||
errors.maxlength={0} can not be greater than {1} characters.
|
||||
errors.minlength={0} can not be less than {1} characters.
|
||||
errors.maxbytelength={0} can not be greater than {1} bytes.
|
||||
errors.minbytelength={0} can not be less than {1} bytes.
|
||||
errors.range={0} is not in the range {1} through {2}.
|
||||
errors.required={0} is required.
|
||||
errors.byte={0} must be an byte.
|
||||
errors.date={0} is not a date.
|
||||
errors.double={0} must be an double.
|
||||
errors.float={0} must be an float.
|
||||
errors.integer={0} must be an integer.
|
||||
errors.long={0} must be an long.
|
||||
errors.short={0} must be an short.
|
||||
errors.creditcard={0} is not a valid credit card number.
|
||||
errors.email={0} is an invalid e-mail address.
|
||||
errors.url={0} is an invalid url (web address).
|
||||
errors.cronexpression={0} is a invalid format.
|
||||
errors.uritype={0} is a invalid uri.
|
||||
errors.alphaDigitOnly={0} must be alphabet or digit only.
|
||||
errors.alphaDigitSpaceOnly={0} must be alphabet, digit, or space only.
|
||||
errors.token=Invalid request.
|
||||
|
||||
errors.failed_to_update_crawler_params=Failed to update parameters. Please contact to a site administrator.
|
||||
errors.failed_to_update_web_crawler_params=Failed to update parameters. Please contact to a site administrator.
|
||||
errors.failed_to_update_solr_params=Failed to update parameters. Please contact to a site administrator.
|
||||
error.login_error=Username or Password is not correct.
|
||||
errors.failed_to_commit_solr_index=Failed to commit index.
|
||||
errors.failed_to_optimize_solr_index=Failed to optimize index.
|
||||
errors.failed_to_delete_solr_index=Failed to delete index.
|
||||
errors.failed_to_start_solr_process_because_of_running=Failed to start a process because of running solr process.
|
||||
errors.failed_to_import_data=Failed to restore data.
|
||||
errors.unknown_import_file=Unknown file type.
|
||||
errors.failed_to_export_data=Failed to backup data.
|
||||
errors.could_not_find_log_file=Could not find {0}.
|
||||
errors.no_running_crawl_process=No running crawl process.
|
||||
errors.failed_to_start_crawl_process=Failed to start a crawl process.
|
||||
errors.invalid_design_jsp_file_name=Invalid JSP file.
|
||||
errors.design_jsp_file_does_not_exist=JSP file does not exist.
|
||||
errors.design_file_name_is_not_found=The file name is not specified.
|
||||
errors.failed_to_write_design_image_file=Failed to upload an image file.
|
||||
errors.failed_to_update_jsp_file=Failed to update a jsp file.
|
||||
errors.design_file_name_is_invalid=The file name is invalid.
|
||||
errors.design_file_is_unsupported_type=The kind of file is unsupported.
|
||||
errors.failed_to_start_solr_instance=Failed to start a solr instance.
|
||||
errors.failed_to_stop_solr_instance=Failed to stop a solr instance.
|
||||
errors.failed_to_reload_solr_instance=Failed to reload a solr instance.
|
||||
errors.failed_to_update_crawler_schedule=Failed to update a crawling schedule.
|
||||
errors.failed_to_create_crawling_config_at_wizard=Failed to create a crawling config.
|
||||
errors.design_editor_disabled=This feature is disabled.
|
||||
errors.could_not_create_search_log_csv=Could not create a search log csv file.
|
||||
errors.not_found_on_file_system=Not Found: {0}
|
||||
errors.could_not_open_on_system=Could not open {0}. <br/>Please check if the file is associated with an application.
|
||||
errors.process_time_is_exceeded=The limit of a search time was exceeded. The partial result was displayed.
|
||||
errors.result_size_exceeded=No more results could be displayed.
|
||||
errors.target_file_does_not_exist={0} file does not exist.
|
||||
errors.failed_to_download_file=Failed to download {0} file.
|
||||
errors.failed_to_delete_file=Failed to delete {0} file.
|
||||
errors.failed_to_redirect=Failed to redirect {0}.
|
||||
errors.unsupported_encoding={0} is not supported as encoding.
|
||||
errors.docid_not_found=Not found Doc ID:{0}
|
||||
errors.document_not_found=Not found URL of Doc ID:{0}
|
||||
errors.not_load_from_server=Could not load from this server: {0}
|
||||
errors.failed_to_start_job=Failed to start job {0}.
|
||||
errors.failed_to_stop_job=Failed to stop job {0}.
|
||||
errors.expired_dict_id=Expired dictionary information. Please reload it.
|
||||
errors.failed_to_create_cache=Failed to create a cache reponse for ID:{0}.
|
||||
errors.synonym_file_is_not_found=Synonym file is not found
|
||||
errors.failed_to_download_synonym_file=Failed to download the Synonym file.
|
||||
errors.failed_to_upload_synonym_file=Failed to upload the Synonym file.
|
||||
errors.kuromoji_file_is_not_found=Synonym file is not found
|
||||
errors.failed_to_download_kuromoji_file=Failed to download the UserDict file.
|
||||
errors.failed_to_upload_kuromoji_file=Failed to upload the UserDict file.
|
||||
errors.blank_password=Password is required.
|
||||
errors.invalid_confirm_password=Confirm Password does not match.
|
||||
errors.password_does_not_exist_in_session=Invalid password.
|
||||
|
||||
errors.invalid_query_unknown=The given query is invalid.
|
||||
errors.invalid_query_quoted=An invalid quote character is used.
|
||||
errors.invalid_query_curly_bracket=An invalid curly bracket character is used.
|
||||
errors.invalid_query_square_bracket=An invalid square bracket character is used.
|
||||
errors.invalid_query_parenthesis=An invalid parenthesis character is used.
|
||||
errors.invalid_query_num_range=An invalid range is used. The example of the range format is "field:[20020101 TO 20030101]".
|
||||
errors.invalid_query_str_range=An invalid range is used. The example of the range format is "field:'{'Aida TO Carmen'}'".
|
||||
|
||||
success.update_crawler_params=Updated parameters.
|
||||
success.update_web_crawler_params=Updated parameters.
|
||||
success.update_solr_params=Updated parameters.
|
||||
success.commit_solr_index=Started a process to commit index.
|
||||
success.optimize_solr_index=Started a process to optimize index.
|
||||
success.delete_solr_index=Started a process to optimize index.
|
||||
success.importing_data=Started to restore data from the uploaded file.
|
||||
success.crawling_session_delete_all=Deleted session data.
|
||||
success.start_crawl_process=Started a crawl process.
|
||||
success.stopping_crawl_process=Stopping a crawl process.
|
||||
success.upload_design_file=Uploaded {0}.
|
||||
success.update_design_jsp_file=Updated {0}.
|
||||
success.starting_solr_instance=Starting a solr instance.
|
||||
success.stopping_solr_instance=Stopping a solr instance.
|
||||
success.reloading_solr_instance=Reloading a solr instance.
|
||||
success.update_crawler_schedule=Updated a crawling schedule.
|
||||
success.create_crawling_config_at_wizard=Created a crawling config ({0}).
|
||||
success.search_log_delete_all=Deleted search logs.
|
||||
success.failure_url_delete_all=Deleted failure urls.
|
||||
success.delete_file=Deleted {0} file.
|
||||
success.user_info_delete_all=Deleted user information.
|
||||
success.favorite_log_delete_all=Deleted popular urls
|
||||
success.job_started=Started job {0}.
|
||||
success.job_stopped=Stopped job {0}.
|
||||
success.joblog_delete_all=Deleted job logs.
|
||||
success.upload_synonym_file=Uploaded Synonym file.
|
||||
success.upload_kuromoji_file=Uploaded UserDict file.
|
||||
success.upload_suggest_elevate_word=Uploaded Additional Word file. <br/>Started to restore data.
|
||||
success.upload_suggest_bad_word=Uploaded Bad Word file. <br/>Started to restore data.
|
||||
|
||||
label.facet_label_title=Label
|
||||
label.facet_lastModified_title=Term
|
||||
label.facet_lastModified_1day=Past 24 Hours
|
||||
label.facet_lastModified_1week=Past Week
|
||||
label.facet_lastModified_1month=Past Month
|
||||
label.facet_lastModified_1year=Past Year
|
||||
label.facet_contentLength_title=Size
|
||||
label.facet_contentLength_10k= - 10kb
|
||||
label.facet_contentLength_10kto100k=10kb - 100kb
|
||||
label.facet_contentLength_100kto500k=100kb - 500kb
|
||||
label.facet_contentLength_500kto1m=500kb - 1mb
|
||||
label.facet_contentLength_1m=1mb -
|
||||
label.facet_filetype_title=File Type
|
||||
label.facet_filetype_html=HTML
|
||||
label.facet_filetype_word=Word
|
||||
label.facet_filetype_excel=Excel
|
||||
label.facet_filetype_powerpoint=PowerPoint
|
||||
label.facet_filetype_pdf=PDF
|
||||
label.facet_filetype_others=PDF
|
||||
label.facet_label_reset=Reset
|
||||
|
||||
errors.crud_invalid_mode=Invalid mode(expected value is {0}, but it's {1}).
|
||||
errors.crud_failed_to_create_crud_table=Failed to create a new data.
|
||||
errors.crud_failed_to_update_crud_table=Failed to update the data.
|
||||
errors.crud_failed_to_delete_crud_table=Failed to delete the data.
|
||||
errors.crud_could_not_find_crud_table=Could not find the data({0}).
|
||||
|
||||
success.crud_create_crud_table=Created data.
|
||||
success.crud_update_crud_table=Updated data.
|
||||
success.crud_delete_crud_table=Deleted data.
|
||||
|
|
@ -1,151 +0,0 @@
|
|||
errors.front_header=<div class="alert"><button type="button" class="close" data-dismiss="alert">\u00d7</button>
|
||||
errors.front_footer=</div>
|
||||
errors.front_prefix=<div>
|
||||
errors.front_suffix=</div>
|
||||
errors.header=<div class="alert-message error">
|
||||
errors.footer=</div>
|
||||
errors.prefix=<p>
|
||||
errors.suffix=</p>
|
||||
errors.invalid={0}\u304c\u4e0d\u6b63\u3067\u3059\u3002
|
||||
errors.maxlength={0}\u306e\u9577\u3055\u304c\u6700\u5927\u5024({1})\u3092\u8d85\u3048\u3066\u3044\u307e\u3059\u3002
|
||||
errors.minlength={0}\u306e\u9577\u3055\u304c\u6700\u5c0f\u5024({1})\u672a\u6e80\u3067\u3059\u3002
|
||||
errors.maxbytelength={0}\u306e\u30d0\u30a4\u30c8\u9577\u304c\u6700\u5927\u5024({1})\u3092\u8d85\u3048\u3066\u3044\u307e\u3059\u3002
|
||||
errors.minbytelength={0}\u306e\u30d0\u30a4\u30c8\u9577\u304c\u6700\u5c0f\u5024({1})\u672a\u6e80\u3067\u3059\u3002
|
||||
errors.range={0}\u306f{1}\u3068{2}\u306e\u9593\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.required={0}\u306f\u5fc5\u9808\u3067\u3059\u3002
|
||||
errors.byte={0}\u306f\u30d0\u30a4\u30c8\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.date={0}\u306f\u65e5\u4ed8\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093
|
||||
errors.double={0}\u306f\u500d\u7cbe\u5ea6\u5b9f\u6570\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.float={0}\u306f\u5358\u7cbe\u5ea6\u5b9f\u6570\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.integer={0}\u306f\u6574\u6570\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.long={0}\u306f\u9577\u6574\u6570\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.short={0}\u306f\u77ed\u6574\u6570\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.creditcard={0}\u306f\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u756a\u53f7\u3068\u3057\u3066\u4e0d\u6b63\u3067\u3059\u3002
|
||||
errors.email={0}\u306f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u3057\u3066\u4e0d\u6b63\u3067\u3059\u3002
|
||||
errors.url={0}\u306fURL\u3068\u3057\u3066\u4e0d\u6b63\u3067\u3059\u3002
|
||||
errors.cronexpression={0}\u306f\u6b63\u3057\u3044\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.uritype={0}\u306f\u6b63\u3057\u3044 URI \u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.alphaDigitOnly={0}\u306f\u82f1\u6570\u5b57\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.alphaDigitSpaceOnly={0}\u306f\u82f1\u6570\u5b57\u307e\u305f\u306f\u7a7a\u767d\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
|
||||
errors.token=\u4e0d\u6b63\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u3059\u3002
|
||||
|
||||
errors.failed_to_update_crawler_params=\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u30b5\u30a4\u30c8\u7ba1\u7406\u8005\u306b\u9023\u7d61\u3057\u3066\u304f\u3060\u3055\u3044\u3002
|
||||
errors.failed_to_update_web_crawler_params=\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u30b5\u30a4\u30c8\u7ba1\u7406\u8005\u306b\u9023\u7d61\u3057\u3066\u304f\u3060\u3055\u3044\u3002
|
||||
errors.failed_to_update_solr_params=\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u30b5\u30a4\u30c8\u7ba1\u7406\u8005\u306b\u9023\u7d61\u3057\u3066\u304f\u3060\u3055\u3044\u3002
|
||||
error.login_error=\u30e6\u30fc\u30b6\u30fc\u540d\u307e\u305f\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.failed_to_commit_solr_index=\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30b3\u30df\u30c3\u30c8\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_optimize_solr_index=\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u6700\u9069\u5316\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_delete_solr_index=\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_start_solr_process_because_of_running=Solr\u30d7\u30ed\u30bb\u30b9\u304c\u5b9f\u884c\u4e2d\u306a\u306e\u3067\u3001\u51e6\u7406\u306e\u8d77\u52d5\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_import_data=\u8a2d\u5b9a\u30c7\u30fc\u30bf\u306e\u30ea\u30b9\u30c8\u30a2\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.unknown_import_file=\u672a\u77e5\u306e\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3067\u3059\u3002
|
||||
errors.failed_to_export_data=\u8a2d\u5b9a\u30c7\u30fc\u30bf\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.could_not_find_log_file={0}\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
|
||||
errors.no_running_crawl_process=\u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.failed_to_start_crawl_process=\u30af\u30ed\u30fc\u30eb\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
|
||||
errors.invalid_design_jsp_file_name=JSP\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.design_jsp_file_does_not_exist=JSP\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002
|
||||
errors.design_file_name_is_not_found=\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002
|
||||
errors.failed_to_write_design_image_file=\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306b\u3057\u3063\u3071\u3044\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_update_jsp_file=JSP\u30d5\u30a1\u30a4\u30eb\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.design_file_name_is_invalid=\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.design_file_is_unsupported_type=\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002
|
||||
errors.failed_to_start_solr_instance=Solr\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u8d77\u52d5\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_stop_solr_instance=Solr\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u505c\u6b62\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_reload_solr_instance=Solr\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30ea\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_update_crawler_schedule=\u30af\u30ed\u30fc\u30eb\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_create_crawling_config_at_wizard=\u30af\u30ed\u30fc\u30eb\u8a2d\u5b9a\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.design_editor_disabled=\u3053\u306e\u6a5f\u80fd\u306f\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002
|
||||
errors.could_not_create_search_log_csv=\u691c\u7d22\u30ed\u30b0\u306eCSV\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
|
||||
errors.not_found_on_file_system={0} \u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
|
||||
errors.could_not_open_on_system={0}\u306f\u958b\u3051\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br/>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002
|
||||
errors.process_time_is_exceeded=\u691c\u7d22\u51e6\u7406\u6642\u9593\u306e\u4e0a\u9650\u3092\u8d85\u3048\u305f\u305f\u3081\u3001\u691c\u7d22\u7d50\u679c\u306e\u4e00\u90e8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002
|
||||
errors.result_size_exceeded=\u3053\u308c\u4ee5\u4e0a\u306e\u691c\u7d22\u7d50\u679c\u306e\u8868\u793a\u306f\u3067\u304d\u307e\u305b\u3093\u3002
|
||||
errors.target_file_does_not_exist=\u30d5\u30a1\u30a4\u30eb {0} \u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002
|
||||
errors.failed_to_download_file={0} \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_delete_file=\u30d5\u30a1\u30a4\u30eb {0} \u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_redirect={0}\u3078\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.unsupported_encoding={0}\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u3059\u3002
|
||||
errors.docid_not_found=ID:{0}\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
|
||||
errors.document_not_found=ID:{0}\u306eURL\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
|
||||
errors.not_load_from_server=\u3053\u306e\u30b5\u30fc\u30d0\u304b\u3089\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f: {0}
|
||||
errors.failed_to_start_job=\u30b8\u30e7\u30d6 {0} \u306e\u958b\u59cb\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_stop_job=\u30b8\u30e7\u30d6 {0} \u306e\u958b\u59cb\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.expired_dict_id=\u8f9e\u66f8\u60c5\u5831\u304c\u671f\u9650\u5207\u308c\u3067\u3059\u3002\u518d\u5ea6\u8aad\u307f\u306a\u304a\u3057\u3066\u304f\u3060\u3055\u3044\u3002
|
||||
errors.failed_to_create_cache=ID:{0}\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u751f\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
|
||||
errors.synonym_file_is_not_found=\u540c\u7fa9\u8a9e\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
|
||||
errors.failed_to_download_synonym_file=\u540c\u7fa9\u8a9e\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_upload_synonym_file=\u540c\u7fa9\u8a9e\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.kuromoji_file_is_not_found=\u30e6\u30fc\u30b6\u30fc\u8f9e\u66f8\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
|
||||
errors.failed_to_download_kuromoji_file=\u30e6\u30fc\u30b6\u30fc\u8f9e\u66f8\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.failed_to_upload_kuromoji_file=\u30e6\u30fc\u30b6\u30fc\u8f9e\u66f8\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
|
||||
errors.invalid_query_unknown=\u691c\u7d22\u30af\u30a8\u30ea\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.invalid_query_quoted=\u30af\u30aa\u30fc\u30c8\u6587\u5b57(")\u306e\u5229\u7528\u65b9\u6cd5\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.invalid_query_curly_bracket=\u62ec\u5f27\u300c'{}'\u300d\u306e\u5229\u7528\u65b9\u6cd5\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.invalid_query_square_bracket=\u62ec\u5f27\u300c[]\u300d\u306e\u5229\u7528\u65b9\u6cd5\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.invalid_query_parenthesis=\u62ec\u5f27\u300c()\u300d\u306e\u5229\u7528\u65b9\u6cd5\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
errors.invalid_query_num_range=\u7bc4\u56f2\u306e\u6307\u5b9a\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u6b63\u3057\u3044\u4f8b: field:[20020101 TO 20030101]
|
||||
errors.invalid_query_str_range=\u7bc4\u56f2\u306e\u6307\u5b9a\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u6b63\u3057\u3044\u4f8b: "field:'{'Aida TO Carmen'}'"
|
||||
|
||||
success.update_crawler_params=\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002
|
||||
success.update_web_crawler_params=\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002
|
||||
success.update_solr_params=\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002
|
||||
success.commit_solr_index=\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30b3\u30df\u30c3\u30c8\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
success.optimize_solr_index=\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u6700\u9069\u5316\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
success.delete_solr_index=\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u524a\u9664\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
success.importing_data=\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u30c7\u30fc\u30bf\u30ea\u30b9\u30c8\u30a2\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
success.crawling_session_delete_all=\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
success.start_crawl_process=\u30af\u30ed\u30fc\u30eb\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
success.stopping_crawl_process=\u30af\u30ed\u30fc\u30eb\u30d7\u30ed\u30bb\u30b9\u3092\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\u3002
|
||||
success.upload_design_file={0} \u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002
|
||||
success.update_design_jsp_file={0} \u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002
|
||||
success.starting_solr_instance=Solr\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002
|
||||
success.stopping_solr_instance=Solr\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u3002
|
||||
success.reloading_solr_instance=Solr\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\u3002
|
||||
success.update_crawler_schedule=\u30af\u30ed\u30fc\u30eb\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002
|
||||
success.create_crawling_config_at_wizard=\u30af\u30ed\u30fc\u30eb\u8a2d\u5b9a {0} \u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002
|
||||
success.search_log_delete_all=\u691c\u7d22\u30ed\u30b0\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
success.failure_url_delete_all=\u969c\u5bb3URL\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
success.delete_file=\u30d5\u30a1\u30a4\u30eb {0} \u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
success.user_info_delete_all= \u5229\u7528\u8005\u60c5\u5831\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
success.favorite_log_delete_all=\u4eba\u6c17URL\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
success.job_started=\u30b8\u30e7\u30d6 {0} \u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
success.job_stopped=\u30b8\u30e7\u30d6 {0} \u3092\u505c\u6b62\u3057\u307e\u3057\u305f\u3002
|
||||
success.joblog_delete_all=\u30b8\u30e7\u30d6\u30ed\u30b0\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
success.upload_synonym_file=\u540c\u7fa9\u8a9e\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002
|
||||
success.upload_kuromoji_file=\u30e6\u30fc\u30b6\u30fc\u8f9e\u66f8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002
|
||||
success.upload_suggest_elevate_word=\u8ffd\u52a0\u5019\u88dc\u30d5\u30a1\u30a4\u30eb\u306e\u767b\u9332\u51e6\u7406\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
success.upload_suggest_bad_word=NG\u30ef\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u306e\u767b\u9332\u51e6\u7406\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002
|
||||
|
||||
label.facet_label_title=\u30e9\u30d9\u30eb
|
||||
label.facet_lastModified_title=\u671f\u9593
|
||||
label.facet_lastModified_1day=24 \u6642\u9593\u4ee5\u5185
|
||||
label.facet_lastModified_1week=1 \u9031\u9593\u4ee5\u5185
|
||||
label.facet_lastModified_1month=1 \u30f6\u6708\u4ee5\u5185
|
||||
label.facet_lastModified_1year=1 \u5e74\u4ee5\u5185
|
||||
label.facet_contentLength_title=\u30b5\u30a4\u30ba
|
||||
label.facet_contentLength_10k= - 10KB
|
||||
label.facet_contentLength_10kto100k=10KB - 100KB
|
||||
label.facet_contentLength_100kto500k=100KB - 500KB
|
||||
label.facet_contentLength_500kto1m=500KB - 1MB
|
||||
label.facet_contentLength_1m=1MB -
|
||||
label.facet_filetype_title=\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e
|
||||
label.facet_filetype_html=HTML
|
||||
label.facet_filetype_word=Word
|
||||
label.facet_filetype_excel=Excel
|
||||
label.facet_filetype_powerpoint=PowerPoint
|
||||
label.facet_filetype_pdf=PDF
|
||||
label.facet_filetype_others=\u305d\u306e\u4ed6
|
||||
label.facet_label_reset=\u30ea\u30bb\u30c3\u30c8
|
||||
|
||||
errors.crud_invalid_mode=\u30e2\u30fc\u30c9\u304c\u9055\u3044\u307e\u3059\u3002(\u6b63\u3057\u3044\u5024\u306f {0} \u3067\u3059\u304c\u3001\u5165\u529b\u3055\u308c\u305f\u5024\u306f {1} \u306b\u306a\u3063\u3066\u3044\u307e\u3059)
|
||||
errors.crud_failed_to_create_crud_table=\u30c7\u30fc\u30bf\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.crud_failed_to_update_crud_table=\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.crud_failed_to_delete_crud_table=\u30c7\u30fc\u30bf\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
|
||||
errors.crud_could_not_find_crud_table=\u30c7\u30fc\u30bf {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
|
||||
|
||||
success.crud_create_crud_table=\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002
|
||||
success.crud_update_crud_table=\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002
|
||||
success.crud_delete_crud_table=\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
<la:message key="labels.dict_synonym_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><la:link href="index">
|
||||
<li><la:link href="list">
|
||||
<la:message key="labels.dict_synonym_list_link" />
|
||||
</la:link></li>
|
||||
<c:if test="${crudMode == 1}">
|
||||
|
@ -69,7 +69,7 @@
|
|||
</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-default">
|
||||
<la:link href="../index">
|
||||
<la:link href="../list">
|
||||
<la:message key="labels.dict_list_link" />
|
||||
</la:link>
|
||||
</span>
|
||||
|
@ -132,18 +132,18 @@
|
|||
|
||||
<%-- Form Fields --%>
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="col-xs-2">
|
||||
<la:message key="labels.dict_synonym_source" />
|
||||
</th>
|
||||
<td>${f:br(f:h(inputs))}<la:hidden property="inputs" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><la:message key="labels.dict_synonym_target" /></th>
|
||||
<td>${f:br(f:h(outputs))}<la:hidden property="outputs" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="col-xs-2">
|
||||
<la:message key="labels.dict_synonym_source" />
|
||||
</th>
|
||||
<td>${f:br(f:h(inputs))}<la:hidden property="inputs" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><la:message key="labels.dict_synonym_target" /></th>
|
||||
<td>${f:br(f:h(outputs))}<la:hidden property="outputs" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<la:message key="labels.dict_synonym_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li class="active"><la:link href="index">
|
||||
<li class="active"><la:link href="list/0?dictId=${dictId}">
|
||||
<la:message key="labels.dict_synonym_link_download" />
|
||||
</la:link></li>
|
||||
</ol>
|
||||
|
@ -39,27 +39,27 @@
|
|||
</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-default">
|
||||
<la:link href="../index">
|
||||
<la:link href="/admin/dict/">
|
||||
<la:message key="labels.dict_list_link" />
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<a href="#">
|
||||
<la:link href="list/0/?dictId=${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_list_link" />
|
||||
</a>
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<la:link href="createpage?dictId=${f:u(dictId)}">
|
||||
<la:link href="createpage/${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_link_create" />
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<la:link href="downloadpage?dictId=${f:u(dictId)}">
|
||||
<a href="#">
|
||||
<la:message key="labels.dict_synonym_link_download" />
|
||||
</la:link>
|
||||
</a>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<la:link href="uploadpage?dictId=${f:u(dictId)}">
|
||||
<la:link href="uploadpage/${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_link_upload" />
|
||||
</la:link>
|
||||
</span>
|
||||
|
@ -78,13 +78,13 @@
|
|||
</div>
|
||||
|
||||
<%-- Edit Form: BEGIN --%>
|
||||
<la:form>
|
||||
<la:form target="_blank">
|
||||
<div>
|
||||
<la:hidden property="dictId" />
|
||||
<table class="table table-bordered table-striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="">${f:h(filename)}</th>
|
||||
<th style="">${f:h(path)}</th>
|
||||
<td style="form-control">
|
||||
<input type="submit"
|
||||
class="btn small" name="download"
|
||||
|
|
|
@ -83,12 +83,12 @@
|
|||
</span>
|
||||
</c:if>
|
||||
<span class="label label-default">
|
||||
<la:link href="downloadpage?dictId=${f:u(dictId)}">
|
||||
<la:link href="downloadpage/${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_link_download" />
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<la:link href="uploadpage?dictId=${f:u(dictId)}">
|
||||
<la:link href="uploadpage/${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_link_upload" />
|
||||
</la:link>
|
||||
</span>
|
||||
|
@ -108,12 +108,12 @@
|
|||
|
||||
<%-- Form Fields --%>
|
||||
<div class="form-group">
|
||||
<label for="term"><la:message key="labels.dict_synonym_source" /></label>
|
||||
<la:textarea property="inputs" rows="5" styleClass="form-control" />
|
||||
<label for="term"><la:message key="labels.dict_synonym_source" /></label>
|
||||
<la:textarea property="inputs" rows="5" styleClass="form-control" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="outputs"><la:message key="labels.dict_synonym_target" /></label>
|
||||
<la:textarea property="outputs" rows="5" styleClass="form-control" />
|
||||
<label for="outputs"><la:message key="labels.dict_synonym_target" /></label>
|
||||
<la:textarea property="outputs" rows="5" styleClass="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<%-- Box Footer --%>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<la:message key="labels.dict_synonym_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li class="active"><la:link href="list">
|
||||
<li class="active"><la:link href="">
|
||||
<la:message key="labels.dict_synonym_list_link" />
|
||||
</la:link></li>
|
||||
</ol>
|
||||
|
@ -39,7 +39,7 @@
|
|||
</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-default">
|
||||
<la:link href="../">
|
||||
<la:link href="/admin/dict/">
|
||||
<la:message key="labels.dict_list_link" />
|
||||
</la:link>
|
||||
</span>
|
||||
|
@ -84,10 +84,10 @@
|
|||
</c:if>
|
||||
<c:if test="${synonymPager.allRecordCount > 0}">
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th> <la:message key="labels.dict_synonym_source" /> </th>
|
||||
<th> <la:message key="labels.dict_synonym_target" /> </th>
|
||||
<th> <la:message key="labels.dict_synonym_source" /> </th>
|
||||
<th> <la:message key="labels.dict_synonym_target" /> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<la:message key="labels.dict_synonym_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li class="active"><la:link href="index">
|
||||
<li class="active"><la:link href="list/0?dictId=${dictId}">
|
||||
<la:message key="labels.dict_synonym_link_upload" />
|
||||
</la:link></li>
|
||||
</ol>
|
||||
|
@ -39,29 +39,29 @@
|
|||
</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-default">
|
||||
<la:link href="../index">
|
||||
<la:link href="/admin/dict/">
|
||||
<la:message key="labels.dict_list_link" />
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<a href="#">
|
||||
<la:link href="list/0/?dictId=${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_list_link" />
|
||||
</a>
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<la:link href="createpage?dictId=${f:u(dictId)}">
|
||||
<la:link href="createpage/${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_link_create" />
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<la:link href="downloadpage?dictId=${f:u(dictId)}">
|
||||
<la:link href="downloadpage/${f:u(dictId)}">
|
||||
<la:message key="labels.dict_synonym_link_download" />
|
||||
</la:link>
|
||||
</span>
|
||||
<span class="label label-default">
|
||||
<la:link href="uploadpage?dictId=${f:u(dictId)}">
|
||||
<a href="#">
|
||||
<la:message key="labels.dict_synonym_link_upload" />
|
||||
</la:link>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="log" />
|
||||
<jsp:param name="menuType" value="failureUrl" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="log" />
|
||||
<jsp:param name="menuType" value="failureUrl" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="log" />
|
||||
<jsp:param name="menuType" value="failureUrl" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="log" />
|
||||
<jsp:param name="menuType" value="log" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="log" />
|
||||
<jsp:param name="menuType" value="searchList" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="log" />
|
||||
<jsp:param name="menuType" value="searchList" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestBadWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestBadWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestBadWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestBadWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestBadWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestBadWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestElevateWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestElevateWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestElevateWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestElevateWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestElevateWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuCategoryType" value="suggest" />
|
||||
<jsp:param name="menuType" value="suggestElevateWord" />
|
||||
</jsp:include>
|
||||
|
||||
|
|
|
@ -29,34 +29,34 @@
|
|||
|
||||
<li <c:if test="${param.menuType=='wizard'}">class="active"</c:if>><la:link href="/admin/wizard/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.wizard" /></span>
|
||||
<span><la:message key="labels.menu_wizard" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='crawl'}">class="active"</c:if>><la:link href="/admin/crawl/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.crawl_config" /></span>
|
||||
<span><la:message key="labels.menu_crawl_config" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='system'}">class="active"</c:if>><la:link href="/admin/system/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.system_config" /></span>
|
||||
<span><la:message key="labels.menu_system_config" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='scheduledJob'}">class="active"</c:if>><la:link
|
||||
href="/admin/scheduledjob/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.scheduled_job_config" /></span>
|
||||
<span><la:message key="labels.menu_scheduled_job_config" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='design'}">class="active"</c:if>><la:link href="/admin/design/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.design" /></span>
|
||||
<span><la:message key="labels.menu_design" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='dict'}">class="active"</c:if>><la:link href="/admin/dict/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.dict" /></span>
|
||||
<span><la:message key="labels.menu_dict" /></span>
|
||||
</la:link></li>
|
||||
|
||||
</ul>
|
||||
|
@ -68,74 +68,74 @@
|
|||
|
||||
<li <c:if test="${param.menuType=='webConfig'}">class="active"</c:if>><la:link href="/admin/webconfig/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.web" /></span>
|
||||
<span><la:message key="labels.menu_web" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='fileConfig'}">class="active"</c:if>><la:link href="/admin/fileconfig/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.file_system" /></span>
|
||||
<span><la:message key="labels.menu_file_system" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='dataConfig'}">class="active"</c:if>><la:link href="/admin/dataconfig/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.data_store" /></span>
|
||||
<span><la:message key="labels.menu_data_store" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='labelType'}">class="active"</c:if>><la:link href="/admin/labeltype/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.label_type" /></span>
|
||||
<span><la:message key="labels.menu_label_type" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='keyMatch'}">class="active"</c:if>><la:link href="/admin/keymatch/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.key_match" /></span>
|
||||
<span><la:message key="labels.menu_key_match" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='boostDocumentRule'}">class="active"</c:if>><la:link
|
||||
href="/admin/boostdocumentrule/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.boost_document_rule" /></span>
|
||||
<span><la:message key="labels.menu_boost_document_rule" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='pathMapping'}">class="active"</c:if>><la:link
|
||||
href="/admin/pathmapping/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.path_mapping" /></span>
|
||||
<span><la:message key="labels.menu_path_mapping" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='webAuthentication'}">class="active"</c:if>><la:link
|
||||
href="/admin/webauthentication/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.web_authentication" /></span>
|
||||
<span><la:message key="labels.menu_web_authentication" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='fileAuthentication'}">class="active"</c:if>><la:link
|
||||
href="/admin/fileauthentication/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.file_authentication" /></span>
|
||||
<span><la:message key="labels.menu_file_authentication" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='requestHeader'}">class="active"</c:if>><la:link
|
||||
href="/admin/requestheader/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.request_header" /></span>
|
||||
<span><la:message key="labels.menu_request_header" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='overlappingHost'}">class="active"</c:if>><la:link
|
||||
href="/admin/overlappinghost/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.overlapping_host" /></span>
|
||||
<span><la:message key="labels.menu_overlapping_host" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='roleType'}">class="active"</c:if>><la:link href="/admin/roletype/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.role_type" /></span>
|
||||
<span><la:message key="labels.menu_role_type" /></span>
|
||||
</la:link></li>
|
||||
|
||||
</ul>
|
||||
|
@ -149,21 +149,21 @@
|
|||
href="/admin/user/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.user" /></span>
|
||||
<span><la:message key="labels.menu_user" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='role'}">class="active"</c:if>><la:link
|
||||
href="/admin/role/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.role" /></span>
|
||||
<span><la:message key="labels.menu_role" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='group'}">class="active"</c:if>><la:link
|
||||
href="/admin/group/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.group" /></span>
|
||||
<span><la:message key="labels.menu_group" /></span>
|
||||
</la:link></li>
|
||||
|
||||
</ul>
|
||||
|
@ -177,14 +177,14 @@
|
|||
href="/admin/suggestelevateword/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.suggest_elevate_word" /></span>
|
||||
<span><la:message key="labels.menu_suggest_elevate_word" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='suggestBadWord'}">class="active"</c:if>><la:link
|
||||
href="/admin/suggestbadword/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.suggest_bad_word" /></span>
|
||||
<span><la:message key="labels.menu_suggest_bad_word" /></span>
|
||||
</la:link></li>
|
||||
|
||||
</ul>
|
||||
|
@ -196,34 +196,34 @@
|
|||
|
||||
<li <c:if test="${param.menuType=='systemInfo'}">class="active"</c:if>><la:link href="/admin/systeminfo/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.system_info" /></span>
|
||||
<span><la:message key="labels.menu_system_info" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='jobLog'}">class="active"</c:if>><la:link href="/admin/joblog/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.jobLog" /></span>
|
||||
<span><la:message key="labels.menu_jobLog" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='crawlingSession'}">class="active"</c:if>><la:link
|
||||
href="/admin/crawlingsession/"
|
||||
>
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.session_info" /></span>
|
||||
<span><la:message key="labels.menu_session_info" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='log'}">class="active"</c:if>><la:link href="/admin/log/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.log" /></span>
|
||||
<span><la:message key="labels.menu_log" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='failureUrl'}">class="active"</c:if>><la:link href="/admin/failureurl/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.failure_url" /></span>
|
||||
<span><la:message key="labels.menu_failure_url" /></span>
|
||||
</la:link></li>
|
||||
|
||||
<li <c:if test="${param.menuType=='searchList'}">class="active"</c:if>><la:link href="/admin/searchlist/">
|
||||
<i class='fa fa-angle-right'></i>
|
||||
<span><la:message key="labels.menu.search_list" /></span>
|
||||
<span><la:message key="labels.menu_search_list" /></span>
|
||||
</la:link></li>
|
||||
|
||||
</ul>
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<ul class="nav nav-list">
|
||||
<c:forEach var="fieldData" items="${facetResponse.fieldList}">
|
||||
<c:if test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}">
|
||||
<li class="nav-header"><la:message key="label.facet_label_title" /></li>
|
||||
<li class="nav-header"><la:message key="labels.facet_label_title" /></li>
|
||||
<c:forEach var="countEntry" items="${fieldData.valueCountMap}">
|
||||
<c:if test="${countEntry.value != 0 && fe:labelexists(countEntry.key)}">
|
||||
<li><la:link
|
||||
|
@ -112,7 +112,7 @@
|
|||
<ul class="nav nav-list">
|
||||
<li class="reset">
|
||||
<la:link
|
||||
href="/search/search?query=${f:u(query)}"><la:message key="label.facet_label_reset" /></la:link>
|
||||
href="/search/search?query=${f:u(query)}"><la:message key="labels.facet_label_reset" /></la:link>
|
||||
</li>
|
||||
</ul>
|
||||
</c:if>
|
||||
|
|
Loading…
Add table
Reference in a new issue