X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fsupported%2FBasicSupportPara.java;h=b9603484c17fb48410417e4df68eaa348252eaec;hb=13fdb89adc017452a7a72f552b933f8e7b869413;hp=d3beea53b47c39b251c5b31647397f54628ac54f;hpb=68328e172319fe97d76805d60f560376af2fcb5b;p=nikiroo-utils.git diff --git a/src/be/nikiroo/fanfix/supported/BasicSupportPara.java b/src/be/nikiroo/fanfix/supported/BasicSupportPara.java index d3beea5..b960348 100644 --- a/src/be/nikiroo/fanfix/supported/BasicSupportPara.java +++ b/src/be/nikiroo/fanfix/supported/BasicSupportPara.java @@ -68,10 +68,9 @@ class BasicSupportPara { // "Chapter 5: - Fun!" after the ": " was automatically added) String chapterName = BasicSupportPara.processPara(name, false) .getContent().trim(); - for (String lang : Instance.getConfig().getString(Config.CHAPTER) - .split(",")) { + for (String lang : Instance.getConfig().getList(Config.CONF_CHAPTER)) { String chapterWord = Instance.getConfig().getStringX( - Config.CHAPTER, lang); + Config.CONF_CHAPTER, lang); if (chapterName.startsWith(chapterWord)) { chapterName = chapterName.substring(chapterWord.length()) .trim();