From b64d60e7edfd2fdb40b3251e45573d108a34bb4a Mon Sep 17 00:00:00 2001 From: Smol Ame <155411819+Smol-Ame@users.noreply.github.com> Date: Mon, 3 Jun 2024 03:50:54 -0700 Subject: [PATCH] Dream Scan: Fix language locale (#3365) Fix mishap with "br" instead of "BR" --- src/pt/dreamscan/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/pt/dreamscan/DreamScan.kt | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pt/dreamscan/build.gradle b/src/pt/dreamscan/build.gradle index ffe29276f..903965d4e 100644 --- a/src/pt/dreamscan/build.gradle +++ b/src/pt/dreamscan/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.DreamScan' themePkg = 'madara' baseUrl = 'https://dreamscan.com.br' - overrideVersionCode = 0 + overrideVersionCode = 1 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/dreamscan/src/eu/kanade/tachiyomi/extension/pt/dreamscan/DreamScan.kt b/src/pt/dreamscan/src/eu/kanade/tachiyomi/extension/pt/dreamscan/DreamScan.kt index a8f9b4230..cc47dd13e 100644 --- a/src/pt/dreamscan/src/eu/kanade/tachiyomi/extension/pt/dreamscan/DreamScan.kt +++ b/src/pt/dreamscan/src/eu/kanade/tachiyomi/extension/pt/dreamscan/DreamScan.kt @@ -7,8 +7,10 @@ import java.util.Locale class DreamScan : Madara( "Dream Scan", "https://dreamscan.com.br", - "pt-br", - SimpleDateFormat("MMMM d, yyyy", Locale("pt", "br")), + "pt-BR", + SimpleDateFormat("MMMM d, yyyy", Locale("pt", "BR")), ) { + override val id: Long = 2058412298484770949 + override val useNewChapterEndpoint = true }