change config names
[nikiroo-utils.git] / src / be / nikiroo / fanfix / supported / Text.java
index 34f180e94c3cb16bc778313ccaeebdc5ceef0472..1e5977a493660bac7b6551ba7f09d506696c8074 100644 (file)
@@ -331,8 +331,8 @@ class Text extends BasicSupport {
         */
        static private String detectChapter(String line, int number) {
                line = line.toUpperCase();
-               for (String lang : Instance.getConfig().getList(Config.CHAPTER)) {
-                       String chapter = Instance.getConfig().getStringX(Config.CHAPTER,
+               for (String lang : Instance.getConfig().getList(Config.CONF_CHAPTER)) {
+                       String chapter = Instance.getConfig().getStringX(Config.CONF_CHAPTER,
                                        lang);
                        if (chapter != null && !chapter.isEmpty()) {
                                chapter = chapter.toUpperCase() + " ";