lecercleduscan : fix dates in french + add icons (#6669)

This commit is contained in:
nzoba 2021-04-23 13:09:55 +02:00 committed by GitHub
parent ee098a3ea0
commit 5efb6d89bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 19 additions and 1 deletions

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

View File

@ -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)
}
}

View File

@ -45,7 +45,7 @@ class FoolSlideGenerator : ThemeSourceGenerator {
SingleLang("Rama", "https://www.ramareader.it", "it"),
SingleLang("Mabushimajo", "http://mabushimajo.com", "tr"),
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
//SingleLang("One Time Scans", "https://reader.otscans.com", "en"),
)