diff --git a/src/vi/truyentranhdammy/build.gradle b/src/vi/truyentranhdammy/build.gradle new file mode 100644 index 000000000..dee0d3534 --- /dev/null +++ b/src/vi/truyentranhdammy/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Truyen tranh dam my' + extClass = '.TruyenTranhDamMy' + themePkg = 'madara' + baseUrl = 'https://truyentranhdammyy.top' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/vi/truyentranhdammy/res/mipmap-hdpi/ic_launcher.png b/src/vi/truyentranhdammy/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..dd0052439 Binary files /dev/null and b/src/vi/truyentranhdammy/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/vi/truyentranhdammy/res/mipmap-mdpi/ic_launcher.png b/src/vi/truyentranhdammy/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..7b6f47d71 Binary files /dev/null and b/src/vi/truyentranhdammy/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/vi/truyentranhdammy/res/mipmap-xhdpi/ic_launcher.png b/src/vi/truyentranhdammy/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..aeba28376 Binary files /dev/null and b/src/vi/truyentranhdammy/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/vi/truyentranhdammy/res/mipmap-xxhdpi/ic_launcher.png b/src/vi/truyentranhdammy/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..da75476b5 Binary files /dev/null and b/src/vi/truyentranhdammy/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/vi/truyentranhdammy/res/mipmap-xxxhdpi/ic_launcher.png b/src/vi/truyentranhdammy/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..736c73bb3 Binary files /dev/null and b/src/vi/truyentranhdammy/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/vi/truyentranhdammy/src/eu/kanade/tachiyomi/extension/vi/truyentranhdammy/TruyenTranhDamMy.kt b/src/vi/truyentranhdammy/src/eu/kanade/tachiyomi/extension/vi/truyentranhdammy/TruyenTranhDamMy.kt new file mode 100644 index 000000000..c79a57ea4 --- /dev/null +++ b/src/vi/truyentranhdammy/src/eu/kanade/tachiyomi/extension/vi/truyentranhdammy/TruyenTranhDamMy.kt @@ -0,0 +1,37 @@ +package eu.kanade.tachiyomi.extension.vi.truyentranhdammy + +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 TruyenTranhDamMy : Madara( + "Truyện tranh đam mỹ", + "https://truyentranhdammyy.top", + "vi", + dateFormat = SimpleDateFormat( + "MMMM d, 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 useLoadMoreRequest = LoadMoreStrategy.Never + override val useNewChapterEndpoint = false +}