diff --git a/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt b/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt index 7af1dbf72..f1d34fb04 100644 --- a/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt +++ b/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt @@ -612,6 +612,7 @@ abstract class Madara( "مكتمل", "已完结", "Tamamlandı", + "Đã hoàn thành", ) protected val ongoingStatusList: Array = arrayOf( @@ -619,6 +620,7 @@ abstract class Madara( "Em Andamento", "En cours", "En Cours", "En cours de publication", "Ativo", "Lançando", "Đang Tiến Hành", "Devam Ediyor", "Devam ediyor", "In Corso", "In Arrivo", "مستمرة", "مستمر", "En Curso", "En curso", "Emision", "Curso", "En marcha", "Publicandose", "En emision", "连载中", "Em Lançamento", "Devam Ediyo", + "Đang làm", ) protected val hiatusStatusList: Array = arrayOf( @@ -626,12 +628,20 @@ abstract class Madara( "Pausado", "En espera", "Durduruldu", + "Beklemede", + "Đang chờ", + "متوقف", + "En Pause", ) protected val canceledStatusList: Array = arrayOf( "Canceled", "Cancelado", "İptal Edildi", + "Güncel", + "Đã hủy", + "ملغي", + "Abandonné", ) override fun mangaDetailsParse(document: Document): SManga { diff --git a/src/vi/pinkteacomic/build.gradle b/src/vi/pinkteacomic/build.gradle new file mode 100644 index 000000000..585c689c4 --- /dev/null +++ b/src/vi/pinkteacomic/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Pink Tea Comic' + extClass = '.PinkTeaComic' + themePkg = 'madara' + baseUrl = 'https://pinkteacomic.com' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/vi/pinkteacomic/res/mipmap-hdpi/ic_launcher.png b/src/vi/pinkteacomic/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..82fecbfed Binary files /dev/null and b/src/vi/pinkteacomic/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/vi/pinkteacomic/res/mipmap-mdpi/ic_launcher.png b/src/vi/pinkteacomic/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..9485d91de Binary files /dev/null and b/src/vi/pinkteacomic/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/vi/pinkteacomic/res/mipmap-xhdpi/ic_launcher.png b/src/vi/pinkteacomic/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..d00e88e95 Binary files /dev/null and b/src/vi/pinkteacomic/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/vi/pinkteacomic/res/mipmap-xxhdpi/ic_launcher.png b/src/vi/pinkteacomic/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..901206ab7 Binary files /dev/null and b/src/vi/pinkteacomic/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/vi/pinkteacomic/res/mipmap-xxxhdpi/ic_launcher.png b/src/vi/pinkteacomic/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..19f956847 Binary files /dev/null and b/src/vi/pinkteacomic/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/vi/pinkteacomic/src/eu/kanade/tachiyomi/extension/vi/pinkteacomic/PinkTeaComic.kt b/src/vi/pinkteacomic/src/eu/kanade/tachiyomi/extension/vi/pinkteacomic/PinkTeaComic.kt new file mode 100644 index 000000000..a5692ac05 --- /dev/null +++ b/src/vi/pinkteacomic/src/eu/kanade/tachiyomi/extension/vi/pinkteacomic/PinkTeaComic.kt @@ -0,0 +1,38 @@ +package eu.kanade.tachiyomi.extension.vi.pinkteacomic + +import android.annotation.SuppressLint +import eu.kanade.tachiyomi.multisrc.madara.Madara +import java.text.DateFormatSymbols +import java.text.SimpleDateFormat +import java.util.Locale + +@SuppressLint("SimpleDateFormat") +class PinkTeaComic : Madara( + "Pink Tea Comic", + "https://pinkteacomic.com", + "vi", + dateFormat = SimpleDateFormat( + "d MMMM, yyyy", + DateFormatSymbols(Locale("vi")).apply { + // Month One, Month Two, ... + months = arrayOf( + "Tháng Một", + "Tháng Hai", + "Tháng Ba", + "Tháng Tư", + "Tháng Năm", + "Tháng Sáu", + "Tháng Bảy", + "Tháng Tám", + "Tháng Chín", + "Tháng Mười", + "Tháng Mười Một", + "Tháng Mười Hai", + ) + }, + ), +) { + override val useNewChapterEndpoint = true + + override val mangaSubString = "truyen" +}