Minor cleanup + local source string change to "local library"

This commit is contained in:
Jay 2020-04-13 23:09:18 -04:00
parent bdf73da0ba
commit 716f7f422f
36 changed files with 35 additions and 43 deletions

View File

@ -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) {

View File

@ -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)
}

View File

@ -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)

View File

@ -214,7 +214,7 @@
<string name="unknown_error">خطأ غير معروف</string>
<string name="updating_category">جار تحديث الفئات</string>
<string name="no_more_results">لا يوجد نتائج أخرى</string>
<string name="local_manga">المانجا المحلية</string>
<string name="local_library">المانجا المحلية</string>
<string name="other">أخرى</string>
<string name="global_search">البحث الشامل…</string>
<string name="latest">اﻷخيرة</string>

View File

@ -329,7 +329,7 @@
<string name="restoring_backup">Възстановяване на копие</string>
<string name="refresh_tracking_metadata">Обнови метаданните на проследяването</string>
<string name="updates_tracking_details">Обновява статус, оценка и последно прочетена глава от услугите за проследяване</string>
<string name="local_manga">Локална манга</string>
<string name="local_library">Локална манга</string>
<string name="last_chapter">Последна глава</string>
<string name="paused">На пауза</string>
<string name="download_paused">Изтеглянето спряно</string>

View File

@ -213,7 +213,7 @@
<string name="updating_category">ধরণ আপডেট হচ্ছে</string>
<string name="local">স্থানীয়</string>
<string name="no_more_results">আর কিছু নেই</string>
<string name="local_manga">স্থানীয় মাংগা</string>
<string name="local_library">স্থানীয় মাংগা</string>
<string name="other">অন্যসব</string>
<string name="global_search">সার্বজনীন খোঁজ…</string>
<string name="latest">সর্বশেষ</string>

View File

@ -244,7 +244,7 @@
<string name="local">Local</string>
<string name="search_filters">Filtres de cerca</string>
<string name="no_more_results">No hi ha més resultats</string>
<string name="local_manga">Manga en local</string>
<string name="local_library">Manga en local</string>
<string name="other">Altres</string>
<string name="global_search">Cerca global…</string>
<string name="latest">Recents</string>

View File

@ -289,7 +289,7 @@
<string name="updating_category">Aktualizace kategorie</string>
<string name="local">Lokální</string>
<string name="search_filters">Filtry vyhledávání</string>
<string name="local_manga">Lokální manga</string>
<string name="local_library">Lokální manga</string>
<string name="other">Ostatní</string>
<string name="latest">Nejnovější</string>
<string name="browse">Procházet</string>

View File

@ -207,7 +207,7 @@
<string name="unknown_error">Unbekannter Fehler</string>
<string name="updating_category">Kategorie wird aktualisiert</string>
<string name="no_more_results">Keine weiteren Ergebnisse</string>
<string name="local_manga">Lokale Manga</string>
<string name="local_library">Lokale Manga</string>
<string name="manga_not_in_db">Dieser Manga wurde aus der Datenbank entfernt!</string>
<string name="manga_detail_tab">Info</string>
<string name="description">Beschreibung</string>

View File

@ -241,7 +241,7 @@
<string name="local">Τοπικό</string>
<string name="search_filters">Φίλτρα αναζήτησης</string>
<string name="no_more_results">Δεν υπάρχουν άλλα αποτελέσματα</string>
<string name="local_manga">Τοπικά manga</string>
<string name="local_library">Τοπικά manga</string>
<string name="other">Άλλα</string>
<string name="global_search">Καθολική αναζήτηση…</string>
<string name="latest">Τελευταίο</string>

View File

@ -307,7 +307,7 @@ También asegúrese de haber iniciado sesión en las fuentes que lo requieren an
<string name="refresh_tracking_metadata">Actualizar metadatos de seguimiento</string>
<string name="updates_tracking_details">Actualización de estado, puntuación y último capítulo leído en los servicios de seguimiento</string>
<string name="no_more_results">No hay más resultados</string>
<string name="local_manga">Manga local</string>
<string name="local_library">Manga local</string>
<string name="manga_not_in_db">Este manga fue removido de la base de datos!</string>
<string name="last_chapter">Ultimo capítulo</string>
<string name="circular">Icono circular</string>

View File

@ -333,7 +333,7 @@
<string name="restore_backup">Palauta varmuuskopio</string>
<string name="backup_location">Varmuuskopio kansio</string>
<string name="search_filters">Hakusuodattimet</string>
<string name="local_manga">Paikalliset sarjat</string>
<string name="local_library">Paikalliset sarjat</string>
<string name="other">Muut</string>
<string name="latest">Viimeisimmät</string>
<string name="browse">Selaa</string>

View File

@ -301,7 +301,7 @@
<string name="amoled_black">Thème AMOLED</string>
<string name="default_category">Catégorie par défaut</string>
<string name="download_paused">Téléchargement en pause</string>
<string name="local_manga">Manga locaux</string>
<string name="local_library">Manga locaux</string>
<string name="last_chapter">Dernier chapitre</string>
<string name="paused">En pause</string>
<string name="restore">Restaurer</string>

View File

@ -211,7 +211,7 @@
<string name="updating_category">श्रेणी अपडेट कर रहा है</string>
<string name="local">लोकल</string>
<string name="no_more_results">कोई और परिणाम नहीं है</string>
<string name="local_manga">लोकल मंगा</string>
<string name="local_library">लोकल मंगा</string>
<string name="other">अन्य</string>
<string name="global_search">वैश्विक खोज …</string>
<string name="latest">नवीनतम</string>

View File

@ -209,7 +209,7 @@
<string name="unknown_error">Terdapat suatu kesalahan</string>
<string name="updating_category">Memperbarui kategori</string>
<string name="no_more_results">Tidak ada hasil lainnya</string>
<string name="local_manga">Manga lokal</string>
<string name="local_library">Manga lokal</string>
<string name="manga_not_in_db">Manga ini telah dihapus dari database!</string>
<string name="manga_detail_tab">Info</string>
<string name="description">Deskripsi</string>

View File

@ -322,7 +322,7 @@
<string name="refresh_tracking_metadata">Ricarica metadati progresso</string>
<string name="updates_tracking_details">Aggiorna stato, voto e ultimo capitolo letto dalla funzione segna progresso</string>
<string name="no_more_results">Non ci sono altri risultati</string>
<string name="local_manga">Manga locale</string>
<string name="local_library">Manga locale</string>
<string name="last_chapter">Ultimo capitolo</string>
<string name="paused">In pausa</string>
<string name="manga_tracking_tab">Monitoraggio</string>

View File

@ -326,7 +326,7 @@
<string name="what_should_backup">어떤 항목들을 백업하겠습니까\?</string>
<string name="clear_database_completed">항목 삭제됨</string>
<string name="local">로컬</string>
<string name="local_manga">로컬 만화</string>
<string name="local_library">로컬 만화</string>
<string name="other">기타</string>
<string name="browse">찾아보기</string>
<string name="manga_not_in_db">이 만화는 데이터베이스에서 제거되었습니다!</string>

View File

@ -210,7 +210,7 @@
<string name="updating_category">Kemaskini kategori dalam progres</string>
<string name="local">Setempat</string>
<string name="no_more_results">Tiada lagi hasil</string>
<string name="local_manga">Manga setempat</string>
<string name="local_library">Manga setempat</string>
<string name="other">Lain</string>
<string name="global_search">Carian keseluruhan…</string>
<string name="latest">Terkini</string>

View File

@ -233,7 +233,7 @@
<string name="local">Lokal</string>
<string name="search_filters">Søkefilter</string>
<string name="no_more_results">Ingen flere resultater</string>
<string name="local_manga">Lokal manga</string>
<string name="local_library">Lokal manga</string>
<string name="other">Andre</string>
<string name="global_search">Globalt søk…</string>
<string name="latest">Seneste</string>

View File

@ -161,7 +161,7 @@
<string name="unknown_error">Onbekende fout</string>
<string name="updating_category">Categorie bijwerken</string>
<string name="no_more_results">Geen verdere resultaten</string>
<string name="local_manga">Lokale manga</string>
<string name="local_library">Lokale manga</string>
<string name="manga_not_in_db">Deze manga is verwijderd uit de databank!</string>
<string name="manga_detail_tab">Info</string>
<string name="description">Beschrijving</string>

View File

@ -391,7 +391,7 @@
<string name="search_filters">Filtry wyszukiwania</string>
<string name="no_more_results">Nie ma więcej wyników</string>
<string name="no_results_found">Nie znaleziono wyników</string>
<string name="local_manga">Lokalne mangi</string>
<string name="local_library">Lokalne mangi</string>
<string name="other">Inne</string>
<string name="global_search">Wyszukiwanie globalne…</string>
<string name="latest">Najnowsze</string>

View File

@ -209,7 +209,7 @@ Além disso, verifique se as fontes que requerem uma conta foram configuradas co
<string name="unknown_error">Erro desconhecido</string>
<string name="updating_category">Atualizando categoria</string>
<string name="no_more_results">Não há mais resultados</string>
<string name="local_manga">Mangá local</string>
<string name="local_library">Mangá local</string>
<string name="manga_not_in_db">Este mangá foi excluído do seu banco de dados!</string>
<string name="manga_detail_tab">Informações</string>
<string name="description">Descrição</string>

View File

@ -338,7 +338,7 @@
<string name="local">Local</string>
<string name="search_filters">Filtros de busca</string>
<string name="no_more_results">Não há mais resultados</string>
<string name="local_manga">Mangá local</string>
<string name="local_library">Mangá local</string>
<string name="other">Outras</string>
<string name="global_search">Pesquisa global…</string>
<string name="latest">Mais recente</string>

View File

@ -240,7 +240,7 @@
<string name="local">Local</string>
<string name="search_filters">Filtre de căutare</string>
<string name="no_more_results">Nu mai sunt rezultate</string>
<string name="local_manga">Manga local</string>
<string name="local_library">Manga local</string>
<string name="other">Altele</string>
<string name="global_search">Căutare globală…</string>
<string name="latest">Cel mai recent</string>

View File

@ -297,7 +297,7 @@
<string name="loading">Загрузка…</string>
<string name="local_manga">Локальная манга</string>
<string name="local_library">Локальная манга</string>
<string name="local">Локальная</string>
<plurals name="after_minutes">

View File

@ -242,7 +242,7 @@
<string name="local">Locale</string>
<string name="search_filters">Filtros de chirca</string>
<string name="no_more_results">Non bi sunt àteros risultados</string>
<string name="local_manga">Manga locale</string>
<string name="local_library">Manga locale</string>
<string name="other">Àteru</string>
<string name="global_search">Chirca globale…</string>
<string name="latest">Ùrtimos</string>

View File

@ -242,7 +242,7 @@
<string name="local">Lokalno</string>
<string name="search_filters">Filteri pretrage</string>
<string name="no_more_results">Nema više rezultata</string>
<string name="local_manga">Lokalna manga</string>
<string name="local_library">Lokalna manga</string>
<string name="other">Ostalo</string>
<string name="global_search">Globalno pretraživanje…</string>
<string name="latest">Poslednje</string>

View File

@ -241,7 +241,7 @@
<string name="local">Lokal</string>
<string name="search_filters">Sök filter</string>
<string name="no_more_results">Inga mer resultat</string>
<string name="local_manga">Lokal manga</string>
<string name="local_library">Lokal manga</string>
<string name="other">Andra</string>
<string name="global_search">Global sökning…</string>
<string name="latest">Senaste</string>

View File

@ -242,7 +242,7 @@
<string name="local">ท้องถิ่น</string>
<string name="search_filters">ตัวกรองค้นหา</string>
<string name="no_more_results">ไม่มีผลลัพธ์เพิ่มเติม</string>
<string name="local_manga">มังงะภายในเครื่อง</string>
<string name="local_library">มังงะภายในเครื่อง</string>
<string name="other">อื่น ๆ</string>
<string name="global_search">ค้นหาทั้งหมด…</string>
<string name="latest">ล่าสุด</string>

View File

@ -255,7 +255,7 @@
<string name="local">Lokal</string>
<string name="search_filters">Pagsasala sa Paghahanap</string>
<string name="no_more_results">Wala nang mga resulta</string>
<string name="local_manga">Lokal na manga</string>
<string name="local_library">Lokal na manga</string>
<string name="other">Iba pa</string>
<string name="global_search">Pangkalahatang paghahanap…</string>
<string name="latest">Pinakabago</string>

View File

@ -240,7 +240,7 @@
<string name="local">Yerel</string>
<string name="search_filters">Arama süzgeçleri</string>
<string name="no_more_results">Başka sonuç yok</string>
<string name="local_manga">Yerel manga</string>
<string name="local_library">Yerel manga</string>
<string name="other">Diğer</string>
<string name="global_search">Genel arama…</string>
<string name="latest">En son</string>

View File

@ -241,7 +241,7 @@
<string name="local">Локальна</string>
<string name="search_filters">Пошукові фільтри</string>
<string name="no_more_results">Більше немає результатів</string>
<string name="local_manga">Локальна манга</string>
<string name="local_library">Локальна манга</string>
<string name="other">Інші</string>
<string name="global_search">Глобальний пошук…</string>
<string name="latest">Остання</string>

View File

@ -361,7 +361,7 @@
<string name="updates_tracking_details">Cập nhật trạng thái, điểm số và chương cuối đã đọc từ dịch vụ theo dõi</string>
<string name="local">Địa phương</string>
<string name="search_filters">Bộ lọc tìm kiếm</string>
<string name="local_manga">Truyện tranh địa phương</string>
<string name="local_library">Truyện tranh địa phương</string>
<string name="other">Khác</string>
<string name="global_search">Tìm kiếm toàn cầu…</string>
<string name="latest">Mới nhất</string>

View File

@ -240,7 +240,7 @@
<string name="local">本地</string>
<string name="search_filters">按分类搜索</string>
<string name="no_more_results">找不到更多结果</string>
<string name="local_manga">本地漫画</string>
<string name="local_library">本地漫画</string>
<string name="other">其它</string>
<string name="global_search">全局搜索…</string>
<string name="latest">最近更新</string>

View File

@ -261,7 +261,7 @@
<string name="unknown_error">不明的錯誤</string>
<string name="local">本機</string>
<string name="no_more_results">沒有更多結果</string>
<string name="local_manga">本機漫畫</string>
<string name="local_library">本機漫畫</string>
<string name="other">其他</string>
<string name="browse">瀏覽</string>
<string name="manga_detail_tab">簡介</string>

View File

@ -204,7 +204,7 @@
<string name="search_filters">Search filters</string>
<string name="no_more_results">No more results</string>
<string name="no_results_found">No results found</string>
<string name="local_manga">Local manga</string>
<string name="local_library">Local library</string>
<string name="other">Other</string>
<string name="global_search">Global search…</string>
<string name="latest">Latest</string>