Merge pull request #711 from Stepanov-Sergey/master

add TXT RTF CHM
This commit is contained in:
Shinsuke Sugaya 2016-09-28 06:15:01 +09:00 committed by GitHub
commit 55563bf2c7
8 changed files with 59 additions and 3 deletions

View file

@ -730,6 +730,15 @@ public class FessLabels extends UserMessages {
/** The key of the message: iBooks */
public static final String LABELS_facet_filetype_ibooks = "{labels.facet_filetype_ibooks}";
/** The key of the message: Plain text */
public static final String LABELS_facet_filetype_txt = "{labels.facet_filetype_txt}";
/** The key of the message: Rich Text Format */
public static final String LABELS_facet_filetype_rtf = "{labels.facet_filetype_rtf}";
/** The key of the message: Help Format */
public static final String LABELS_facet_filetype_chm = "{labels.facet_filetype_chm}";
/** The key of the message: Others */
public static final String LABELS_facet_filetype_others = "{labels.facet_filetype_others}";

View file

@ -60,6 +60,9 @@
"filetype:fb2",
"filetype:epub",
"filetype:ibooks",
"filetype:txt",
"filetype:rtf",
"filetype:chm",
"filetype:others"
]</property>
</component>
@ -170,6 +173,18 @@
<arg>"labels.facet_filetype_ibooks"</arg>
<arg>"filetype:ibooks"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_txt"</arg>
<arg>"filetype:txt"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_rtf"</arg>
<arg>"filetype:rtf"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_chm"</arg>
<arg>"filetype:chm"</arg>
</postConstruct>
<postConstruct name="addQuery">
<arg>"labels.facet_filetype_others"</arg>
<arg>"filetype:others"</arg>

View file

@ -234,6 +234,9 @@ labels.facet_filetype_pdf=PDF
labels.facet_filetype_fb2=FictionBook
labels.facet_filetype_epub=EPUB
labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Help Format
labels.facet_filetype_others=Others
labels.facet_label_reset=Reset
labels.searchoptions_all=All

View file

@ -234,6 +234,9 @@ labels.facet_filetype_pdf=PDF
labels.facet_filetype_fb2=FictionBook
labels.facet_filetype_epub=EPUB
labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Help Format
labels.facet_filetype_others=Others
labels.facet_label_reset=Reset
labels.searchoptions_all=All

View file

@ -230,6 +230,9 @@ labels.facet_filetype_pdf=PDF
labels.facet_filetype_fb2=FictionBook
labels.facet_filetype_epub=EPUB
labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Help Format
labels.facet_filetype_others=\u305d\u306e\u4ed6
labels.facet_label_reset=\u30ea\u30bb\u30c3\u30c8
labels.searchoptions_all=\u3059\u3079\u3066

View file

@ -217,10 +217,18 @@ labels.facet_contentLength_500kto1m = 500KB - 1MB
labels.facet_contentLength_1m = 1MB - & nbsp;
labels.facet_filetype_title = \ud30c\uc77c \ud615\uc2dd
labels.facet_filetype_html = HTML
labels.facet_filetype_word = Word
labels.facet_filetype_excel = Excel
labels.facet_filetype_powerpoint = PowerPoint
labels.facet_filetype_excel=MS Excel
labels.facet_filetype_powerpoint=MS PowerPoint
labels.facet_filetype_odt=ODF Word
labels.facet_filetype_ods=ODF Spreadsheet
labels.facet_filetype_odp=ODF Presentation
labels.facet_filetype_pdf = PDF
labels.facet_filetype_fb2=FictionBook
labels.facet_filetype_epub=EPUB
labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Help Format
labels.facet_filetype_others = \uae30\ud0c0
labels.facet_label_reset = \uc7ac\uc124\uc815
labels.searchoptions_all = \ubaa8\ub4e0

View file

@ -234,6 +234,9 @@ labels.facet_filetype_pdf=PDF
labels.facet_filetype_fb2=FictionBook
labels.facet_filetype_epub=EPUB
labels.facet_filetype_ibooks=iBooks
labels.facet_filetype_txt=Plain text
labels.facet_filetype_rtf=Rich Text Format
labels.facet_filetype_chm=Help Format
labels.facet_filetype_others=Другие
labels.facet_label_reset=Сброс
labels.searchoptions_all=Все

View file

@ -105,6 +105,18 @@
<arg>"application/x-ibooks+zip"</arg>
<arg>"ibooks"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"text/plain"</arg>
<arg>"txt"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"application/rtf"</arg>
<arg>"rtf"</arg>
</postConstruct>
<postConstruct name="add">
<arg>"application/vnd.ms-htmlhelp"</arg>
<arg>"chm"</arg>
</postConstruct>
</component>
<component name="fessCrawler" class="org.codelibs.fess.exec.Crawler"
instance="prototype">