From 716f7f422f85f2bdd3f591b0d823f590aefbf2e7 Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 13 Apr 2020 23:09:18 -0400 Subject: [PATCH] Minor cleanup + local source string change to "local library" --- .../java/eu/kanade/tachiyomi/data/glide/TachiGlideModule.kt | 6 ------ .../tachiyomi/data/notification/NotificationReceiver.kt | 2 -- app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt | 4 ++-- app/src/main/res/values-ar/strings.xml | 2 +- app/src/main/res/values-bg/strings.xml | 2 +- app/src/main/res/values-bn/strings.xml | 2 +- app/src/main/res/values-ca/strings.xml | 2 +- app/src/main/res/values-cs/strings.xml | 2 +- app/src/main/res/values-de/strings.xml | 2 +- app/src/main/res/values-el/strings.xml | 2 +- app/src/main/res/values-es/strings.xml | 2 +- app/src/main/res/values-fi/strings.xml | 2 +- app/src/main/res/values-fr/strings.xml | 2 +- app/src/main/res/values-hi/strings.xml | 2 +- app/src/main/res/values-in/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 2 +- app/src/main/res/values-ko/strings.xml | 2 +- app/src/main/res/values-ms/strings.xml | 2 +- app/src/main/res/values-nb-rNO/strings.xml | 2 +- app/src/main/res/values-nl/strings.xml | 2 +- app/src/main/res/values-pl/strings.xml | 2 +- app/src/main/res/values-pt-rBR/strings.xml | 2 +- app/src/main/res/values-pt/strings.xml | 2 +- app/src/main/res/values-ro/strings.xml | 2 +- app/src/main/res/values-ru/strings.xml | 2 +- app/src/main/res/values-sc/strings.xml | 2 +- app/src/main/res/values-sr/strings.xml | 2 +- app/src/main/res/values-sv/strings.xml | 2 +- app/src/main/res/values-th/strings.xml | 2 +- app/src/main/res/values-tl/strings.xml | 2 +- app/src/main/res/values-tr/strings.xml | 2 +- app/src/main/res/values-uk/strings.xml | 2 +- app/src/main/res/values-vi/strings.xml | 2 +- app/src/main/res/values-zh-rCN/strings.xml | 2 +- app/src/main/res/values-zh-rTW/strings.xml | 2 +- app/src/main/res/values/strings.xml | 2 +- 36 files changed, 35 insertions(+), 43 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/glide/TachiGlideModule.kt b/app/src/main/java/eu/kanade/tachiyomi/data/glide/TachiGlideModule.kt index 8b1efcda12..fffdbc433e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/glide/TachiGlideModule.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/glide/TachiGlideModule.kt @@ -26,12 +26,6 @@ class TachiGlideModule : AppGlideModule() { override fun applyOptions(context: Context, builder: GlideBuilder) { builder.setDiskCache(InternalCacheDiskCacheFactory(context, 50 * 1024 * 1024)) builder.setDefaultRequestOptions(RequestOptions().format(DecodeFormat.PREFER_RGB_565)) - // val memoryCacheSizeBytes = 1024 * 1024 * 100 // 100mb - // builder.setMemoryCache(LruResourceCache(memoryCacheSizeBytes.toLong())) - - /* builder.setDefaultTransitionOptions( - Drawable::class.java, - DrawableTransitionOptions.withCrossFade())*/ } override fun registerComponents(context: Context, glide: Glide, registry: Registry) { diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt b/app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt index e04d8ec4ec..aff7d10e2a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt @@ -351,7 +351,6 @@ class NotificationReceiver : BroadcastReceiver() { * @return [PendingIntent] */ internal fun shareImagePendingBroadcast(context: Context, path: String, notificationId: Int): PendingIntent { - // val shareIntent = ShareStartingActivity.newIntent(context, path) val shareIntent = Intent(Intent.ACTION_SEND).apply { val uri = File(path).getUriCompat(context) putExtra(Intent.EXTRA_STREAM, uri) @@ -359,7 +358,6 @@ class NotificationReceiver : BroadcastReceiver() { clipData = ClipData.newRawUri(null, uri) type = "image/*" } - // val shareIntent2 = Intent.createChooser(shareIntent, context.getString(R.string.action_share)) return PendingIntent.getActivity(context, 0, shareIntent, PendingIntent .FLAG_CANCEL_CURRENT) } diff --git a/app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt b/app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt index 9f1aac9e4e..25cfb9c475 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt @@ -63,11 +63,11 @@ class LocalSource(private val context: Context) : CatalogueSource { } override val id = ID - override val name = context.getString(R.string.local_manga) + override val name = context.getString(R.string.local_library) override val lang = "" override val supportsLatest = true - override fun toString() = context.getString(R.string.local_manga) + override fun toString() = context.getString(R.string.local_library) override fun fetchPopularManga(page: Int) = fetchSearchManga(page, "", POPULAR_FILTERS) diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 2ece8135e1..20744bd2cd 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -214,7 +214,7 @@ خطأ غير معروف جار تحديث الفئات لا يوجد نتائج أخرى - المانجا المحلية + المانجا المحلية أخرى البحث الشامل… اﻷخيرة diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index be9b6d709a..f241926c4f 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -329,7 +329,7 @@ Възстановяване на копие Обнови метаданните на проследяването Обновява статус, оценка и последно прочетена глава от услугите за проследяване - Локална манга + Локална манга Последна глава На пауза Изтеглянето спряно diff --git a/app/src/main/res/values-bn/strings.xml b/app/src/main/res/values-bn/strings.xml index fdc5f83eba..da2e909ceb 100644 --- a/app/src/main/res/values-bn/strings.xml +++ b/app/src/main/res/values-bn/strings.xml @@ -213,7 +213,7 @@ ধরণ আপডেট হচ্ছে স্থানীয় আর কিছু নেই - স্থানীয় মাংগা + স্থানীয় মাংগা অন্যসব সার্বজনীন খোঁজ… সর্বশেষ diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index 942c86556e..2abc9f2b72 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -244,7 +244,7 @@ Local Filtres de cerca No hi ha més resultats - Manga en local + Manga en local Altres Cerca global… Recents diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 4783de54cd..9461efb6f6 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -289,7 +289,7 @@ Aktualizace kategorie Lokální Filtry vyhledávání - Lokální manga + Lokální manga Ostatní Nejnovější Procházet diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 0036f2e22e..17c31d2456 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -207,7 +207,7 @@ Unbekannter Fehler Kategorie wird aktualisiert Keine weiteren Ergebnisse - Lokale Manga + Lokale Manga Dieser Manga wurde aus der Datenbank entfernt! Info Beschreibung diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index d58dabe1a2..afffdc5b10 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -241,7 +241,7 @@ Τοπικό Φίλτρα αναζήτησης Δεν υπάρχουν άλλα αποτελέσματα - Τοπικά manga + Τοπικά manga Άλλα Καθολική αναζήτηση… Τελευταίο diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 2b33c505f3..f862a10ec8 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -307,7 +307,7 @@ También asegúrese de haber iniciado sesión en las fuentes que lo requieren an Actualizar metadatos de seguimiento Actualización de estado, puntuación y último capítulo leído en los servicios de seguimiento No hay más resultados - Manga local + Manga local Este manga fue removido de la base de datos! Ultimo capítulo Icono circular diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index db02e43163..98a3dee158 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -333,7 +333,7 @@ Palauta varmuuskopio Varmuuskopio kansio Hakusuodattimet - Paikalliset sarjat + Paikalliset sarjat Muut Viimeisimmät Selaa diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 14b2df357f..374863362c 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -301,7 +301,7 @@ Thème AMOLED Catégorie par défaut Téléchargement en pause - Manga locaux + Manga locaux Dernier chapitre En pause Restaurer diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 50e01397d1..f7cf3c3345 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -211,7 +211,7 @@ श्रेणी अपडेट कर रहा है लोकल कोई और परिणाम नहीं है - लोकल मंगा + लोकल मंगा अन्य वैश्विक खोज … नवीनतम diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index cfe0a6417c..2c28158cbd 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -209,7 +209,7 @@ Terdapat suatu kesalahan Memperbarui kategori Tidak ada hasil lainnya - Manga lokal + Manga lokal Manga ini telah dihapus dari database! Info Deskripsi diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 26be0b83d6..6f0b214039 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -322,7 +322,7 @@ Ricarica metadati progresso Aggiorna stato, voto e ultimo capitolo letto dalla funzione segna progresso Non ci sono altri risultati - Manga locale + Manga locale Ultimo capitolo In pausa Monitoraggio diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index 1f8d8d7f5b..c47a0cc080 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -326,7 +326,7 @@ 어떤 항목들을 백업하겠습니까\? 항목 삭제됨 로컬 - 로컬 만화 + 로컬 만화 기타 찾아보기 이 만화는 데이터베이스에서 제거되었습니다! diff --git a/app/src/main/res/values-ms/strings.xml b/app/src/main/res/values-ms/strings.xml index e01a128603..ebbb8d900d 100644 --- a/app/src/main/res/values-ms/strings.xml +++ b/app/src/main/res/values-ms/strings.xml @@ -210,7 +210,7 @@ Kemaskini kategori dalam progres Setempat Tiada lagi hasil - Manga setempat + Manga setempat Lain Carian keseluruhan… Terkini diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index 6e08d73bca..193884d926 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -233,7 +233,7 @@ Lokal Søkefilter Ingen flere resultater - Lokal manga + Lokal manga Andre Globalt søk… Seneste diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index a7fc1f581c..3f0465e3ad 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -161,7 +161,7 @@ Onbekende fout Categorie bijwerken Geen verdere resultaten - Lokale manga + Lokale manga Deze manga is verwijderd uit de databank! Info Beschrijving diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 9c0df6fd75..9bc9cb6914 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -391,7 +391,7 @@ Filtry wyszukiwania Nie ma więcej wyników Nie znaleziono wyników - Lokalne mangi + Lokalne mangi Inne Wyszukiwanie globalne… Najnowsze diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 47ef864e5d..59db5e02f7 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -209,7 +209,7 @@ Além disso, verifique se as fontes que requerem uma conta foram configuradas co Erro desconhecido Atualizando categoria Não há mais resultados - Mangá local + Mangá local Este mangá foi excluído do seu banco de dados! Informações Descrição diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 3dbbc23da4..58ad7faded 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -338,7 +338,7 @@ Local Filtros de busca Não há mais resultados - Mangá local + Mangá local Outras Pesquisa global… Mais recente diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index f65fd5479a..2b9d3aaece 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -240,7 +240,7 @@ Local Filtre de căutare Nu mai sunt rezultate - Manga local + Manga local Altele Căutare globală… Cel mai recent diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 9564faef2c..ec4dfeeb72 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -297,7 +297,7 @@ Загрузка… - Локальная манга + Локальная манга Локальная diff --git a/app/src/main/res/values-sc/strings.xml b/app/src/main/res/values-sc/strings.xml index 8679ef442c..8fab6fd0b0 100644 --- a/app/src/main/res/values-sc/strings.xml +++ b/app/src/main/res/values-sc/strings.xml @@ -242,7 +242,7 @@ Locale Filtros de chirca Non bi sunt àteros risultados - Manga locale + Manga locale Àteru Chirca globale… Ùrtimos diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index 87a8ff64bc..55443d7f9e 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -242,7 +242,7 @@ Lokalno Filteri pretrage Nema više rezultata - Lokalna manga + Lokalna manga Ostalo Globalno pretraživanje… Poslednje diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 279cf6086e..b7a2d87a0f 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -241,7 +241,7 @@ Lokal Sök filter Inga mer resultat - Lokal manga + Lokal manga Andra Global sökning… Senaste diff --git a/app/src/main/res/values-th/strings.xml b/app/src/main/res/values-th/strings.xml index 3c1e3ebb3e..94ab47512a 100644 --- a/app/src/main/res/values-th/strings.xml +++ b/app/src/main/res/values-th/strings.xml @@ -242,7 +242,7 @@ ท้องถิ่น ตัวกรองค้นหา ไม่มีผลลัพธ์เพิ่มเติม - มังงะภายในเครื่อง + มังงะภายในเครื่อง อื่น ๆ ค้นหาทั้งหมด… ล่าสุด diff --git a/app/src/main/res/values-tl/strings.xml b/app/src/main/res/values-tl/strings.xml index 23fae552c5..93b151ff61 100644 --- a/app/src/main/res/values-tl/strings.xml +++ b/app/src/main/res/values-tl/strings.xml @@ -255,7 +255,7 @@ Lokal Pagsasala sa Paghahanap Wala nang mga resulta - Lokal na manga + Lokal na manga Iba pa Pangkalahatang paghahanap… Pinakabago diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 00f5e2dfde..746e72095c 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -240,7 +240,7 @@ Yerel Arama süzgeçleri Başka sonuç yok - Yerel manga + Yerel manga Diğer Genel arama… En son diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 01555958df..e67b6b4d68 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -241,7 +241,7 @@ Локальна Пошукові фільтри Більше немає результатів - Локальна манга + Локальна манга Інші Глобальний пошук… Остання diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index daedc8be89..a98beed7d4 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -361,7 +361,7 @@ Cập nhật trạng thái, điểm số và chương cuối đã đọc từ dịch vụ theo dõi Địa phương Bộ lọc tìm kiếm - Truyện tranh địa phương + Truyện tranh địa phương Khác Tìm kiếm toàn cầu… Mới nhất diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index ac27886406..032cc19d37 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -240,7 +240,7 @@ 本地 按分类搜索 找不到更多结果 - 本地漫画 + 本地漫画 其它 全局搜索… 最近更新 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 7c5f48b66e..c96ea2fe12 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -261,7 +261,7 @@ 不明的錯誤 本機 沒有更多結果 - 本機漫畫 + 本機漫畫 其他 瀏覽 簡介 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 04cec43461..0778c5d273 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -204,7 +204,7 @@ Search filters No more results No results found - Local manga + Local library Other Global search… Latest