From 9606d3667064df1dd3b032e06b66891c0a5583af Mon Sep 17 00:00:00 2001 From: Amine Date: Fri, 3 Aug 2018 09:49:49 +0200 Subject: [PATCH] Hiding hidden tags from the "normal" tags section. --- .../java/apps/amine/bou/readerforselfoss/HomeActivity.kt | 7 ++++--- app/src/main/res/values-af-rZA/strings.xml | 2 +- app/src/main/res/values-ar-rSA/strings.xml | 2 +- app/src/main/res/values-ca-rES/strings.xml | 2 +- app/src/main/res/values-cs-rCZ/strings.xml | 2 +- app/src/main/res/values-da-rDK/strings.xml | 2 +- app/src/main/res/values-de-rDE/strings.xml | 2 +- app/src/main/res/values-el-rGR/strings.xml | 2 +- app/src/main/res/values-es-rES/strings.xml | 2 +- app/src/main/res/values-fi-rFI/strings.xml | 2 +- app/src/main/res/values-fr-rFR/strings.xml | 2 +- app/src/main/res/values-gl-rES/strings.xml | 2 +- app/src/main/res/values-hu-rHU/strings.xml | 2 +- app/src/main/res/values-in-rID/strings.xml | 2 +- app/src/main/res/values-it-rIT/strings.xml | 2 +- app/src/main/res/values-iw-rIL/strings.xml | 2 +- app/src/main/res/values-ja-rJP/strings.xml | 2 +- app/src/main/res/values-ko-rKR/strings.xml | 2 +- app/src/main/res/values-nl-rNL/strings.xml | 2 +- app/src/main/res/values-no-rNO/strings.xml | 2 +- app/src/main/res/values-pl-rPL/strings.xml | 2 +- app/src/main/res/values-pt-rBR/strings.xml | 2 +- app/src/main/res/values-pt-rPT/strings.xml | 2 +- app/src/main/res/values-ro-rRO/strings.xml | 2 +- app/src/main/res/values-ru-rRU/strings.xml | 2 +- app/src/main/res/values-sr-rSP/strings.xml | 2 +- app/src/main/res/values-sv-rSE/strings.xml | 2 +- app/src/main/res/values-tr-rTR/strings.xml | 2 +- app/src/main/res/values-uk-rUA/strings.xml | 2 +- app/src/main/res/values-vi-rVN/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 +- 33 files changed, 36 insertions(+), 35 deletions(-) diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt index 48e81ea..6abc8ad 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/HomeActivity.kt @@ -487,7 +487,8 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener { ) } } else { - tagsBadge = maybeTags.map { + val filteredTags = maybeTags.filterNot { hiddenTags.contains(it.tag) } + tagsBadge = filteredTags.map { val gd = GradientDrawable() val color = try { Color.parseColor(it.color) @@ -532,8 +533,8 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener { ) } } else { - val actualTags: List = maybeTags.filter { hiddenTags.contains(it.tag) } - tagsBadge = actualTags.map { + val filteredHiddenTags: List = maybeTags.filter { hiddenTags.contains(it.tag) } + tagsBadge = filteredHiddenTags.map { val gd = GradientDrawable() val color = try { Color.parseColor(it.color) diff --git a/app/src/main/res/values-af-rZA/strings.xml b/app/src/main/res/values-af-rZA/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-af-rZA/strings.xml +++ b/app/src/main/res/values-af-rZA/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-ar-rSA/strings.xml b/app/src/main/res/values-ar-rSA/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-ar-rSA/strings.xml +++ b/app/src/main/res/values-ar-rSA/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-ca-rES/strings.xml b/app/src/main/res/values-ca-rES/strings.xml index 5a73cb2..86416d4 100644 --- a/app/src/main/res/values-ca-rES/strings.xml +++ b/app/src/main/res/values-ca-rES/strings.xml @@ -127,7 +127,7 @@ Per raons de seguretat, els certificats autosignats no seran compatibles per defecte. En activar aquesta opció, sereu responsable de qualsevol problema de seguretat que es pugui produir. API de Selfoss Nombre d\'elements carregats - Hidden tags. + Hidden Tags Voleu llegir els articles que apareixen com a no llegits? No es registraran quan es marquen elements com a llegits Les crides de l\'API es registraran en marcar un article com a llegit diff --git a/app/src/main/res/values-cs-rCZ/strings.xml b/app/src/main/res/values-cs-rCZ/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-cs-rCZ/strings.xml +++ b/app/src/main/res/values-cs-rCZ/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-da-rDK/strings.xml b/app/src/main/res/values-da-rDK/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-da-rDK/strings.xml +++ b/app/src/main/res/values-da-rDK/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml index 5e41a32..117717a 100644 --- a/app/src/main/res/values-de-rDE/strings.xml +++ b/app/src/main/res/values-de-rDE/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. selfoss API Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-el-rGR/strings.xml b/app/src/main/res/values-el-rGR/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-el-rGR/strings.xml +++ b/app/src/main/res/values-el-rGR/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index 0db005c..391afe1 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -127,7 +127,7 @@ Por razones de seguridad, los certificados propios no son compatibles por defecto. Activando esto, no seré responsable de cualquier problema de seguridad que encuentre. Api de Selfoss Número de artículos cargados - Hidden tags. + Hidden Tags ¿Leer los artículos que aparecen como no leídos? Sin registro al marcar un elemento como leído Llamadas a la Api se registrarán al marcar un artículo como leído diff --git a/app/src/main/res/values-fi-rFI/strings.xml b/app/src/main/res/values-fi-rFI/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-fi-rFI/strings.xml +++ b/app/src/main/res/values-fi-rFI/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml index 4a324bf..112aa31 100644 --- a/app/src/main/res/values-fr-rFR/strings.xml +++ b/app/src/main/res/values-fr-rFR/strings.xml @@ -127,7 +127,7 @@ Pour des raisons de sécurité, les certificats auto-signés sont désactivés par défaut. En les activant, je ne serais pas responsable de quelconques problèmes de sécurité rencontrés. Api Selfoss Nombre d\'articles chargés - Hidden tags. + Hidden Tags Des articles lus marqués comme non lus ? Aucun log quand un article est marqué comme lu Les appels API vont être logués lorsqu\'un article est marqué comme lu diff --git a/app/src/main/res/values-gl-rES/strings.xml b/app/src/main/res/values-gl-rES/strings.xml index a55a26c..e28dd87 100644 --- a/app/src/main/res/values-gl-rES/strings.xml +++ b/app/src/main/res/values-gl-rES/strings.xml @@ -127,7 +127,7 @@ Por razóns de seguridade, por defecto non se permiten os certificados autoasinados. Activando isto, non serei responsable de calquera problema de seguridade que atopes. API de Selfoss Número de elementos cargados - Hidden tags. + Hidden Tags Ler os artigos que aparecen coma non lidos? Non rexistrar cando se marca un elemento coma lido As chamadas á API serán rexistradas cando se marque un artigo coma lido diff --git a/app/src/main/res/values-hu-rHU/strings.xml b/app/src/main/res/values-hu-rHU/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-hu-rHU/strings.xml +++ b/app/src/main/res/values-hu-rHU/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-in-rID/strings.xml b/app/src/main/res/values-in-rID/strings.xml index bdbaeb4..53bec9b 100644 --- a/app/src/main/res/values-in-rID/strings.xml +++ b/app/src/main/res/values-in-rID/strings.xml @@ -127,7 +127,7 @@ Untuk alasan keamanan, sertifikat yang ditandatangani sendiri tidak didukung secara bawaan. Jika Anda mengaktifkan item ini, saya tidak akan bertanggung jawab atas masalah keamanan yang Anda hadapi. Selfoss Api Item nomor dimuat - Hidden tags. + Hidden Tags Baca artikel yang ini sebagai belum dibaca ? Tidak ada catatan saat item ditandai sebagai telah dibaca Panggilan api dicatat saat item ditandai sebagai telah dibaca diff --git a/app/src/main/res/values-it-rIT/strings.xml b/app/src/main/res/values-it-rIT/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-it-rIT/strings.xml +++ b/app/src/main/res/values-it-rIT/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-iw-rIL/strings.xml b/app/src/main/res/values-iw-rIL/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-iw-rIL/strings.xml +++ b/app/src/main/res/values-iw-rIL/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-ja-rJP/strings.xml b/app/src/main/res/values-ja-rJP/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-ja-rJP/strings.xml +++ b/app/src/main/res/values-ja-rJP/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-ko-rKR/strings.xml b/app/src/main/res/values-ko-rKR/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-ko-rKR/strings.xml +++ b/app/src/main/res/values-ko-rKR/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-nl-rNL/strings.xml b/app/src/main/res/values-nl-rNL/strings.xml index 975b14f..c6ad82a 100644 --- a/app/src/main/res/values-nl-rNL/strings.xml +++ b/app/src/main/res/values-nl-rNL/strings.xml @@ -127,7 +127,7 @@ Vanwege veiligheidsredenen worden zelfondertekende certificaten niet standaard ondersteund. Door dit te activeren, ben ik niet verantwoordelijk voor beveiligingsproblemen die u tegenkomt. Selfoss Api Geladen items nummer - Hidden tags. + Hidden Tags Gelezen artikelen verschijnen als ongelezen? Geen logboek bij het markeren van een artikel als gelezen Api-oproepen zullen gelogd worden wanneer een artikel als gelezen wordt gemarkeerd diff --git a/app/src/main/res/values-no-rNO/strings.xml b/app/src/main/res/values-no-rNO/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-no-rNO/strings.xml +++ b/app/src/main/res/values-no-rNO/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-pl-rPL/strings.xml b/app/src/main/res/values-pl-rPL/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-pl-rPL/strings.xml +++ b/app/src/main/res/values-pl-rPL/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index f5b03c9..7df1d41 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -127,7 +127,7 @@ Por motivos de segurança, certificados autônomos não são suportados por padrão. Ao ativar, não serei responsável por qualquer problema de segurança que você encontre. Selfoss Api Quantidade de itens carregados - Hidden tags. + Hidden Tags Ler os artigos que aparecem como não lidos ? Nenhum registro ao marcar um item como lido As chamadas Api serão registradas ao marcar um artigo como lido diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 391fdc5..2a43820 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -127,7 +127,7 @@ Devido a razões de segurança, auto certificados auto-assinados não são suportados por padrão. Ao activar isto, eu não vou ser responsável de qualquer problema de segurança que você encontrar. Api de Selfoss Número de itens carregados - Hidden tags. + Hidden Tags Leia artigos aparecem como não lidas? Sem log quando marcar um item como lido Chamadas de Api serão registradas quando marcar um artigo como lido diff --git a/app/src/main/res/values-ro-rRO/strings.xml b/app/src/main/res/values-ro-rRO/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-ro-rRO/strings.xml +++ b/app/src/main/res/values-ro-rRO/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-ru-rRU/strings.xml b/app/src/main/res/values-ru-rRU/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-ru-rRU/strings.xml +++ b/app/src/main/res/values-ru-rRU/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-sr-rSP/strings.xml b/app/src/main/res/values-sr-rSP/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-sr-rSP/strings.xml +++ b/app/src/main/res/values-sr-rSP/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-sv-rSE/strings.xml b/app/src/main/res/values-sv-rSE/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-sv-rSE/strings.xml +++ b/app/src/main/res/values-sv-rSE/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml index 97e4c0e..0d61206 100644 --- a/app/src/main/res/values-tr-rTR/strings.xml +++ b/app/src/main/res/values-tr-rTR/strings.xml @@ -127,7 +127,7 @@ Güvenlik nedeniyle, kendinden imzalı sertifikalar varsayılan olarak desteklenmez. Bunu etkinleştirerek karşılaştığınız herhangi bir güvenlik sorununun sorumluluğunu almayacağım. Selfoss Uygulaması Yüklenen öğe numarası - Hidden tags. + Hidden Tags Okunmamış makaleleri görüntüle? Bir öğeyi işaretlediğinde günlük yok Bir makaleyi okundu olarak işaretlerken Api çağrıları günlüğe kaydedilir diff --git a/app/src/main/res/values-uk-rUA/strings.xml b/app/src/main/res/values-uk-rUA/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-uk-rUA/strings.xml +++ b/app/src/main/res/values-uk-rUA/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-vi-rVN/strings.xml b/app/src/main/res/values-vi-rVN/strings.xml index febe59c..05ae21f 100644 --- a/app/src/main/res/values-vi-rVN/strings.xml +++ b/app/src/main/res/values-vi-rVN/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 90ac356..67c4656 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -127,7 +127,7 @@ 出于安全考虑, 默认情况下不支持自签名证书。如果激活此项, 您遇到的任何安全问题我将概不负责。 塞尔福斯 Api 已加载项目编号 - Hidden tags. + Hidden Tags 已读文章显示为未读? 将项目标记为已读时没有记录 将项目标记为已读时将记录 Api 调用 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 595580a..c662e44 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -127,7 +127,7 @@ 出于安全考虑, 默认情况下不支持自签名证书。如果激活此项, 您遇到的任何安全问题我将概不负责。 塞尔福斯 Api 已加载项目编号 - Hidden tags. + Hidden Tags 已读文章显示为未读? 将项目标记为已读时没有记录 将项目标记为已读时将记录 Api 调用 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2c19b75..ed117ae 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -127,7 +127,7 @@ Due to security reasons, self signed certificates are not supported by default. By activating this, I\'ll not be responsible of any security problem you encounter. Selfoss Api Loaded items number - Hidden tags. + Hidden Tags Read articles appearing as unread ? No log when marking an item as read Api calls will be logged when marking an article as read