mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 18:32:39 +01:00
Add Pink Tea Comic (#2626)
* Add Pink Tea Comic * Bump base version * Add cancelled text for #1249 * Add hiatus text for #1088 * Add hiatus/cancelled text for #867 * Add hiatus/cancelled text for #498
This commit is contained in:
parent
2d84795403
commit
42f8c9e7a5
@ -612,6 +612,7 @@ abstract class Madara(
|
||||
"مكتمل",
|
||||
"已完结",
|
||||
"Tamamlandı",
|
||||
"Đã hoàn thành",
|
||||
)
|
||||
|
||||
protected val ongoingStatusList: Array<String> = 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<String> = arrayOf(
|
||||
@ -626,12 +628,20 @@ abstract class Madara(
|
||||
"Pausado",
|
||||
"En espera",
|
||||
"Durduruldu",
|
||||
"Beklemede",
|
||||
"Đang chờ",
|
||||
"متوقف",
|
||||
"En Pause",
|
||||
)
|
||||
|
||||
protected val canceledStatusList: Array<String> = arrayOf(
|
||||
"Canceled",
|
||||
"Cancelado",
|
||||
"İptal Edildi",
|
||||
"Güncel",
|
||||
"Đã hủy",
|
||||
"ملغي",
|
||||
"Abandonné",
|
||||
)
|
||||
|
||||
override fun mangaDetailsParse(document: Document): SManga {
|
||||
|
10
src/vi/pinkteacomic/build.gradle
Normal file
10
src/vi/pinkteacomic/build.gradle
Normal file
@ -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"
|
BIN
src/vi/pinkteacomic/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/vi/pinkteacomic/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
src/vi/pinkteacomic/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/vi/pinkteacomic/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
BIN
src/vi/pinkteacomic/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/vi/pinkteacomic/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
src/vi/pinkteacomic/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/vi/pinkteacomic/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
BIN
src/vi/pinkteacomic/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/vi/pinkteacomic/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 68 KiB |
@ -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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user