lecercleduscan : fix dates in french + add icons (#6669)
This commit is contained in:
parent
ee098a3ea0
commit
5efb6d89bc
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
After Width: | Height: | Size: 90 KiB |
|
@ -0,0 +1,18 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.fr.lecercleduscan
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.foolslide.FoolSlide
|
||||||
|
|
||||||
|
class LeCercleDuScan : FoolSlide("Le Cercle du Scan", "https://lel.lecercleduscan.com", "fr") {
|
||||||
|
|
||||||
|
override fun parseChapterDate(date: String): Long? {
|
||||||
|
val dateToEnglish = when (val lcDate = date.toLowerCase()) {
|
||||||
|
"hier" -> "yesterday"
|
||||||
|
"aujourd'hui" -> "today"
|
||||||
|
"demain" -> "tomorrow"
|
||||||
|
|
||||||
|
else -> lcDate
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.parseChapterDate(dateToEnglish)
|
||||||
|
}
|
||||||
|
}
|
|
@ -45,7 +45,7 @@ class FoolSlideGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Rama", "https://www.ramareader.it", "it"),
|
SingleLang("Rama", "https://www.ramareader.it", "it"),
|
||||||
SingleLang("Mabushimajo", "http://mabushimajo.com", "tr"),
|
SingleLang("Mabushimajo", "http://mabushimajo.com", "tr"),
|
||||||
SingleLang("Hyakuro", "https://hyakuro.com/reader", "en"),
|
SingleLang("Hyakuro", "https://hyakuro.com/reader", "en"),
|
||||||
SingleLang("Le Cercle du Scan", "https://lel.lecercleduscan.com", "fr")
|
SingleLang("Le Cercle du Scan", "https://lel.lecercleduscan.com", "fr", className = "LeCercleDuScan", overrideVersionCode = 1)
|
||||||
//Sites that are down
|
//Sites that are down
|
||||||
//SingleLang("One Time Scans", "https://reader.otscans.com", "en"),
|
//SingleLang("One Time Scans", "https://reader.otscans.com", "en"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue