Browse Source

fix #386 : add ja help link

Shinsuke Sugaya 9 years ago
parent
commit
35375509c7

+ 2 - 14
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

@@ -566,7 +566,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
     /** The key of the configuration. e.g. backup */
     String ONLINE_HELP_NAME_BACKUP = "online.help.name.backup";
 
-    /** The key of the configuration. e.g.  */
+    /** The key of the configuration. e.g. ja */
     String ONLINE_HELP_SUPPORTED_LANGS = "online.help.supported.langs";
 
     /** The key of the configuration. e.g. 0 */
@@ -2304,19 +2304,11 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
 
     /**
      * Get the value for the key 'online.help.supported.langs'. <br>
-     * The value is, e.g.  <br>
+     * The value is, e.g. ja <br>
      * @return The value of found property. (NotNull: if not found, exception but basically no way)
      */
     String getOnlineHelpSupportedLangs();
 
-    /**
-     * Get the value for the key 'online.help.supported.langs' as {@link Integer}. <br>
-     * The value is, e.g.  <br>
-     * @return The value of found property. (NotNull: if not found, exception but basically no way)
-     * @throws NumberFormatException When the property is not integer.
-     */
-    Integer getOnlineHelpSupportedLangsAsInteger();
-
     /**
      * Get the value for the key 'suggest.popular.word.seed'. <br>
      * The value is, e.g. 0 <br>
@@ -3574,10 +3566,6 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
             return get(FessConfig.ONLINE_HELP_SUPPORTED_LANGS);
         }
 
-        public Integer getOnlineHelpSupportedLangsAsInteger() {
-            return getAsInteger(FessConfig.ONLINE_HELP_SUPPORTED_LANGS);
-        }
-
         public String getSuggestPopularWordSeed() {
             return get(FessConfig.SUGGEST_POPULAR_WORD_SEED);
         }

+ 1 - 1
src/main/resources/fess_config.properties

@@ -322,7 +322,7 @@ online.help.name.scheduler=scheduler
 online.help.name.crawlinginfo=crawlinginfo
 online.help.name.backup=backup
 
-online.help.supported.langs=
+online.help.supported.langs=ja
 
 # ----------------------------------------------------------
 #                                                    Suggest