diff --git a/app/build.gradle b/app/build.gradle index d6385802fd..d1d429973e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,8 +38,8 @@ android { minSdkVersion 16 targetSdkVersion 27 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - versionCode 39 - versionName "0.8.1" + versionCode 40 + versionName "0.8.2" buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt index ab81f4787d..8dfcc47489 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt @@ -29,9 +29,9 @@ class SettingsGeneralController : SettingsController() { listPreference { key = Keys.lang titleRes = R.string.pref_language - entryValues = arrayOf("", "ar", "bg", "bn", "de", "en-US", "en-GB", "es", "fr", "hi", - "hu", "in", "it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro", - "ru", "tr", "vi") + entryValues = arrayOf("", "ar", "bg", "bn", "ca", "cs", "de", "el", "en-US", "en-GB", + "es", "fr", "hi", "hu", "in", "it", "ja", "ko", "lv", "ms", "nb-rNO", "nl", "pl", "pt", + "pt-BR", "ro", "ru", "sr", "sv", "th", "tr", "uk", "vi", "zh-rCN") entries = entryValues.map { value -> val locale = LocaleHelper.getLocaleFromString(value.toString()) locale?.getDisplayName(locale)?.capitalize() ?: diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/ChapterSourceSync.kt b/app/src/main/java/eu/kanade/tachiyomi/util/ChapterSourceSync.kt index 18799f1787..60aff194a3 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/ChapterSourceSync.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/ChapterSourceSync.kt @@ -51,7 +51,12 @@ fun syncChaptersWithSource(db: DatabaseHelper, toAdd.add(sourceChapter) } else { //this forces metadata update for the main viewable things in the chapter list + if (source is HttpSource) { + source.prepareNewChapter(sourceChapter, manga) + } + ChapterRecognition.parseChapterNumber(sourceChapter, manga) + if (shouldUpdateDbChapter(dbChapter, sourceChapter)) { dbChapter.scanlator = sourceChapter.scanlator dbChapter.name = sourceChapter.name diff --git a/app/src/main/res/raw/changelog_release.xml b/app/src/main/res/raw/changelog_release.xml index cb741362f9..fc3ed7f3ab 100644 --- a/app/src/main/res/raw/changelog_release.xml +++ b/app/src/main/res/raw/changelog_release.xml @@ -1,5 +1,10 @@ + + Updated Cloudflare. + Fixed crashes with some translations. + + Fixed latest Cloudflare changes. Bundled SQLite for better performance and new features. diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 30e4cd8b96..4db5f7f2c7 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -402,7 +402,7 @@ Le défaut ne peut pas être selectionné avec des autres catégories Supprimer les chapitres téléchargés ? - Pour %1$s chapitres + Pour %1$d chapitres Suivi Nombre de chapitres Actualisations @@ -522,4 +522,4 @@ Assurez-vous que vous êtes connecté à des sources qui le demande avant de com En cours de déplacement… Bleu foncé - \ No newline at end of file + diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 2143bf3cdb..583b2c3aba 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -14,7 +14,7 @@ पुस्तकालय अद्यतन नवीनतम अद्यतन श्रेणियाँ - श्रेणियाँ + श्रेणियाँ %1$d बैकअप @@ -475,4 +475,4 @@ पृष्ठों को लोड करने में विफल है: %1$s गहरा नीला - \ No newline at end of file + diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 878410232f..ca40ef2d10 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -366,16 +366,13 @@ R Categorias para incluir na transferência Pasta de Backups - A restaurar backup... -\n%1$ adicionado a biblioteca - A restaurar backup... -\n%1$ Fonte não encontrada + A restaurar backup…\n%1$s adicionado a biblioteca + A restaurar backup…\n%1$s Fonte não encontrada Backup criado Restauro completo Não foi possivel abrir o registo - Restauro levou %1$. -\n%2$ erros encontrados. - Ficheiro salvo em %1$ + Restauro levou %1$s.\n%2$s erros encontrados. + Ficheiro salvo em %1$s O que pretende fazer backup\? Refrescar metadata da biblioteca Máximo de backups automáticos @@ -384,4 +381,4 @@ Confiar Não confiar Transferir personalizado - \ No newline at end of file + diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index c9eb9c81b9..011f37610f 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -242,7 +242,7 @@ Copie de rezervă creată Restaurare completă Nu s-a putut deschide log - Restaurarea a durat %$s. + Restaurarea a durat %1$s. \n%2$s erori găsite. Restaurare folosește sursa pentru a aduce datele, cost suplimentar aplicabil. De asemenea verificați dacă sunteți autentificați în sursele ce au nevoie înainte de a incepe restaurarea. Fișier salvat in %1$s @@ -395,7 +395,7 @@ Descărcare… Descărcat %1$d%% Pagina: %1$d - Capitolul %1$d + Capitolul %1$s Capitolul următor nu a fost găsit Capitolul precedent nu a fost găsit Imaginea nu a putu fi decodată