+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_status.xml b/app/src/main/res/layout/item_status.xml
index b0d0a6204..9b4f520f9 100644
--- a/app/src/main/res/layout/item_status.xml
+++ b/app/src/main/res/layout/item_status.xml
@@ -400,4 +400,5 @@
app:layout_constraintStart_toEndOf="@id/status_bookmark"
app:layout_constraintTop_toTopOf="@id/status_reply"
app:srcCompat="@drawable/ic_more_horiz_24dp" />
+
diff --git a/app/src/main/res/layout/item_status_filtered.xml b/app/src/main/res/layout/item_status_filtered.xml
new file mode 100644
index 000000000..362200cd1
--- /dev/null
+++ b/app/src/main/res/layout/item_status_filtered.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_status_wrapper.xml b/app/src/main/res/layout/item_status_wrapper.xml
new file mode 100644
index 000000000..ad0df44ab
--- /dev/null
+++ b/app/src/main/res/layout/item_status_wrapper.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml
index 7457335e4..a0436bcb9 100644
--- a/app/src/main/res/values-ar/strings.xml
+++ b/app/src/main/res/values-ar/strings.xml
@@ -258,8 +258,8 @@
حمِّل المزيد
الخطوط الزمنية العمومية
المحادثات
- إضافة عامل تصفية
- تعديل عامل التصفية
+ إضافة عامل تصفية
+ تعديل عامل التصفية
إزالة
تحديث
العبارة التي يلزم تصفيتها
diff --git a/app/src/main/res/values-be/strings.xml b/app/src/main/res/values-be/strings.xml
index ae6185d7c..7b453247a 100644
--- a/app/src/main/res/values-be/strings.xml
+++ b/app/src/main/res/values-be/strings.xml
@@ -342,10 +342,10 @@
Tusky — свабодная праграма з адкрытым зыходным кодам. Зроблена пад GNU General Public License Version 3. Вы можаце паглядзець ліцэнзію тут: https://www.gnu.org/licenses/gpl-3.0.en.html
Справаздачы аб памылках і пажаданні:
\n https://github.com/tuskyapp/Tusky/issues
- Дадаць фільтр
+ Дадаць фільтр
Вашы падпісчыкі
Заўсёды паказваць далікатны змест
- Рэдагаваць фільтр
+ Рэдагаваць фільтр
Выдаліць
Абнавіць
Цэлае слова
diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml
index 67dde271f..81b65fe53 100644
--- a/app/src/main/res/values-bg/strings.xml
+++ b/app/src/main/res/values-bg/strings.xml
@@ -160,8 +160,8 @@
Цяла дума
Актуализиране
Премахване
- Редакция на филтър
- Добавяне на филтър
+ Редакция на филтър
+ Добавяне на филтър
Разговори
Публични емисии
зареждане на още
diff --git a/app/src/main/res/values-bn-rBD/strings.xml b/app/src/main/res/values-bn-rBD/strings.xml
index 5a0cd5ea3..fb7c57123 100644
--- a/app/src/main/res/values-bn-rBD/strings.xml
+++ b/app/src/main/res/values-bn-rBD/strings.xml
@@ -82,8 +82,8 @@
বাক্য ফিল্টার কর
আপডেট
সরাও
- ফিল্টার সম্পাদনা করুন
- ফিল্টার যোগ করুন
+ ফিল্টার সম্পাদনা করুন
+ ফিল্টার যোগ করুন
কথাবার্তা
পাবলিক টাইমলাইন
আরো লোড কর
diff --git a/app/src/main/res/values-bn-rIN/strings.xml b/app/src/main/res/values-bn-rIN/strings.xml
index 9598f57c5..35c255a3f 100644
--- a/app/src/main/res/values-bn-rIN/strings.xml
+++ b/app/src/main/res/values-bn-rIN/strings.xml
@@ -264,8 +264,8 @@
আরো লোড কর
পাবলিক টাইমলাইন
কথাবার্তা
- ফিল্টার যোগ করুন
- ফিল্টার সম্পাদনা করুন
+ ফিল্টার যোগ করুন
+ ফিল্টার সম্পাদনা করুন
সরাও
আপডেট
বাক্য ফিল্টার কর
diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml
index 6ac60d70c..62b9401c8 100644
--- a/app/src/main/res/values-ca/strings.xml
+++ b/app/src/main/res/values-ca/strings.xml
@@ -261,8 +261,8 @@
Més grand
Enquestes
Converses
- Afegir un filtre
- Modificar un filtre
+ Afegir un filtre
+ Modificar un filtre
Eliminar
Afegir un compte
Obre l\'autor de l\'impuls
diff --git a/app/src/main/res/values-ckb/strings.xml b/app/src/main/res/values-ckb/strings.xml
index 0fbaf2546..5f0b624dc 100644
--- a/app/src/main/res/values-ckb/strings.xml
+++ b/app/src/main/res/values-ckb/strings.xml
@@ -406,8 +406,8 @@
هەموو وشەکە
نوێکردنەوە
لابردن
- دەستکاریکردنی فلتەر
- زیادکردنی فلتەر
+ دەستکاریکردنی فلتەر
+ زیادکردنی فلتەر
گفتوگۆکان
هێڵی کاتی گشتی
بارکردنی زیاتر
diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml
index 1ff6ca41b..b46645e99 100644
--- a/app/src/main/res/values-cs/strings.xml
+++ b/app/src/main/res/values-cs/strings.xml
@@ -265,8 +265,8 @@
načíst více
Veřejné časové osy
Konverzace
- Přidat filtr
- Upravit filtr
+ Přidat filtr
+ Upravit filtr
Odstranit
Aktualizovat
Fráze k filtrování
diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml
index 263d917e9..9510647da 100644
--- a/app/src/main/res/values-cy/strings.xml
+++ b/app/src/main/res/values-cy/strings.xml
@@ -331,8 +331,8 @@
Polau
Cofrestriadau
Ffrydiau cyhoeddus
- Ychwanegu hidlydd
- Golygu hidlydd
+ Ychwanegu hidlydd
+ Golygu hidlydd
Diweddaru
golygwyd neges rwy wedi rhyngweithio ag ef
Golygodd %s ei neges
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 52455f167..f35d2760f 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -246,8 +246,8 @@
Antworten an @%s
mehr laden
Konversationen
- Filter hinzufügen
- Filter bearbeiten
+ Filter hinzufügen
+ Filter bearbeiten
Entfernen
Aktualisieren
Konto hinzufügen
diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml
index ab0887c0b..e3cea19ee 100644
--- a/app/src/main/res/values-eo/strings.xml
+++ b/app/src/main/res/values-eo/strings.xml
@@ -260,8 +260,8 @@
ŝarĝi pli
Publikaj tempolinioj
Konversacioj
- Aldoni filtrilon
- Redakti filtrilon
+ Aldoni filtrilon
+ Redakti filtrilon
Forigi
Aktualigi
Frazo filtrota
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 2309425fa..ff4f79d37 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -382,8 +382,8 @@
Notificaciones sobre encuestas que han terminado
Cronologías públicas
Conversaciones
- Añadir filtro
- Editar filtro
+ Añadir filtro
+ Editar filtro
Actualizar
Frase para filtrar
No se pudo crear la lista
diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml
index 9dd2932ef..3cde4a4c8 100644
--- a/app/src/main/res/values-eu/strings.xml
+++ b/app/src/main/res/values-eu/strings.xml
@@ -329,8 +329,8 @@
%ds
Beti zabaldu edukien abisuekin markatutako tootak
Elkarrizketak
- Gehitu iragazkia
- Editatu iragazkia
+ Gehitu iragazkia
+ Editatu iragazkia
Ezabatu
Eguneratu
Hitz osoa
diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml
index 1f06f426e..d7dcc9b0a 100644
--- a/app/src/main/res/values-fa/strings.xml
+++ b/app/src/main/res/values-fa/strings.xml
@@ -323,8 +323,8 @@
گسترش همیشگی فرستههای علامتخورده با هشدار محتوا
خط زمانیهای عمومی
گفتوگوها
- افزودن پالایه
- ویرایش پالایه
+ افزودن پالایه
+ ویرایش پالایه
برداشتن
بهروز رسانی
تمام واژه
diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml
index 34ebc19c5..fcacca272 100644
--- a/app/src/main/res/values-fi/strings.xml
+++ b/app/src/main/res/values-fi/strings.xml
@@ -279,7 +279,7 @@
Suosikit
Äänestykset
Ilmoitukset päättyneistä äänestyksistä
- Muokkaa suodatinta
+ Muokkaa suodatinta
lisää reaktio
Lähetetty!
Lähetetty!
@@ -302,7 +302,7 @@
lataa lisää
Julkiset aikajanat
Keskustelut
- Lisää suodatin
+ Lisää suodatin
Myöhemmin
Sisältövaroitus: %s
HTTP-välityspalvelin
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 79fc13e20..390739eb7 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -265,8 +265,8 @@
en charger plus
Fils publics
Conversations
- Ajouter un filtre
- Modifier un filtre
+ Ajouter un filtre
+ Modifier un filtre
Supprimer
Mettre à jour
Phrase à filtrer
diff --git a/app/src/main/res/values-fy/strings.xml b/app/src/main/res/values-fy/strings.xml
index bd1c73b53..23fe4caf1 100644
--- a/app/src/main/res/values-fy/strings.xml
+++ b/app/src/main/res/values-fy/strings.xml
@@ -28,8 +28,8 @@
Account Tafoegje
Fernije
Fuortsmite
- Filter oanpasse
- Filter tafoegje
+ Filter oanpasse
+ Filter tafoegje
Petearen
mear lade
Oan it reagearren op @%s
diff --git a/app/src/main/res/values-ga/strings.xml b/app/src/main/res/values-ga/strings.xml
index d3c048654..1ea0d9aaa 100644
--- a/app/src/main/res/values-ga/strings.xml
+++ b/app/src/main/res/values-ga/strings.xml
@@ -278,8 +278,8 @@
Ag freagairt do @%s
Lódáil a thuilleadh
Comhráite
- Cuir scagaire leis
- Cuir scagaire in eagar
+ Cuir scagaire leis
+ Cuir scagaire in eagar
Bain
Amlínte poiblí
Leathnaigh/Fill na postálacha go léir
diff --git a/app/src/main/res/values-gd/strings.xml b/app/src/main/res/values-gd/strings.xml
index 97ab8a08b..27011ebf4 100644
--- a/app/src/main/res/values-gd/strings.xml
+++ b/app/src/main/res/values-gd/strings.xml
@@ -12,7 +12,7 @@
Annsachdan
Dè a th’ ann an ionstans\?
Deasaich
- Deasaich a’ chriathrag
+ Deasaich a’ chriathrag
Deasaich an liosta
Brathan
Deasaich
@@ -307,7 +307,7 @@
Facal slàn
Ùraich
Thoir air falbh
- Cuir criathrag ris
+ Cuir criathrag ris
Còmhraidhean
Loidhnichean-ama poblach
luchdaich barrachd dheth
diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml
index 6d4bc1934..ec14b5a83 100644
--- a/app/src/main/res/values-gl/strings.xml
+++ b/app/src/main/res/values-gl/strings.xml
@@ -281,8 +281,8 @@
Palabra completa
Actualizar
Eliminar
- Editar filtro
- Engadir filtro
+ Editar filtro
+ Engadir filtro
Conversas
Cronoloxías públicas
cargar máis
diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml
index 58c04146c..107999303 100644
--- a/app/src/main/res/values-hi/strings.xml
+++ b/app/src/main/res/values-hi/strings.xml
@@ -247,8 +247,8 @@
कैप्शन सेट करें
खाता जोड़ो
पूरा शब्द
- फ़िल्टर संपादित करें
- फिल्टर लगाएं
+ फ़िल्टर संपादित करें
+ फिल्टर लगाएं
सार्वजनिक टाइमलाइन
और लोड करें
टाइमलाइन में लिंक प्रीव्यू दिखाएं
diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml
index 134fae94b..fd0a89b45 100644
--- a/app/src/main/res/values-hu/strings.xml
+++ b/app/src/main/res/values-hu/strings.xml
@@ -307,8 +307,8 @@
Válasz @%s részére
Nyilvános idővonalak
Beszélgetések
- Szűrő hozzáadása
- Szűrő szerkesztése
+ Szűrő hozzáadása
+ Szűrő szerkesztése
Eltávolítás
Frissítés
Szűrendő kifejezés
diff --git a/app/src/main/res/values-is/strings.xml b/app/src/main/res/values-is/strings.xml
index d6cc31114..5f2646772 100644
--- a/app/src/main/res/values-is/strings.xml
+++ b/app/src/main/res/values-is/strings.xml
@@ -277,8 +277,8 @@
hlaða inn fleiru
Opinberar tímalínur
Samtöl
- Bæta við síu
- Breyta síu
+ Bæta við síu
+ Breyta síu
Fjarlægja
Uppfæra
Heil orð
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 6cb9ea714..78c1ccd60 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -259,8 +259,8 @@
carica altro
Timeline pubbliche
Conversazioni
- Aggiungi filtro
- Modifica filtro
+ Aggiungi filtro
+ Modifica filtro
Rimuovi
Aggiorna
Frase da filtrare
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index bfc1ec407..8af7dbdea 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -248,8 +248,8 @@
メディア
\@%sに返信
さらに読み込む
- フィルターを追加
- フィルターを編集
+ フィルターを追加
+ フィルターを編集
アカウントを追加
新しいMastodonアカウントを追加
リスト
diff --git a/app/src/main/res/values-kab/strings.xml b/app/src/main/res/values-kab/strings.xml
index c22e207b5..bd93ba948 100644
--- a/app/src/main/res/values-kab/strings.xml
+++ b/app/src/main/res/values-kab/strings.xml
@@ -121,8 +121,8 @@
Sɣiwes tijewwaqt-a
Bḍu agbur n tijewwiqt-a
Bḍu aseɣwen ɣer tijewwiqt
- Rnu amsizdeg
- Ẓreg amsizdeg
+ Rnu amsizdeg
+ Ẓreg amsizdeg
Snulfu-d tabdart
Snifel isem n tabdart
Kkes tabdart-a
diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml
index b6c4027a0..1b49407e0 100644
--- a/app/src/main/res/values-ko/strings.xml
+++ b/app/src/main/res/values-ko/strings.xml
@@ -269,8 +269,8 @@
더 불러오기
공개 타임라인
대화
- 필터 추가
- 필터 편집
+ 필터 추가
+ 필터 편집
삭제
변경 사항 저장
단어 전체에 매칭
diff --git a/app/src/main/res/values-lv/strings.xml b/app/src/main/res/values-lv/strings.xml
index eda9b7016..68bb2e7ea 100644
--- a/app/src/main/res/values-lv/strings.xml
+++ b/app/src/main/res/values-lv/strings.xml
@@ -118,13 +118,13 @@
Pielikumi
Sekošana pieprasīta
Publiskās laika līnijas
- Pievienot filtru
+ Pievienot filtru
Sarunas
Noņemt
Atjaunināt
Saraksti
Saraksti
- Labot filtru
+ Labot filtru
Pievienot kontu
Nevarēja dzēst sarakstu
Izveidot sarakstu
diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml
index 9ff00ddd9..f5700239b 100644
--- a/app/src/main/res/values-nb-rNO/strings.xml
+++ b/app/src/main/res/values-nb-rNO/strings.xml
@@ -231,8 +231,8 @@
last mer
Offentlige tidslinjer
Samtaler
- Legg til filter
- Endre filter
+ Legg til filter
+ Endre filter
Fjern
Oppdater
Filtrer frase
diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml
index ff28b4714..a130a11b5 100644
--- a/app/src/main/res/values-nl/strings.xml
+++ b/app/src/main/res/values-nl/strings.xml
@@ -337,8 +337,8 @@
Filters
Openbare tijdlijnen
Gesprekken
- Filter toevoegen
- Filter bewerken
+ Filter toevoegen
+ Filter bewerken
Verwijderen
Bijwerken
Zinsdeel om te filteren
diff --git a/app/src/main/res/values-oc/strings.xml b/app/src/main/res/values-oc/strings.xml
index 18f849fdd..97f613d11 100644
--- a/app/src/main/res/values-oc/strings.xml
+++ b/app/src/main/res/values-oc/strings.xml
@@ -305,8 +305,8 @@
%ds
Flux publics
Discutidas
- Ajustar un filtre
- Modificar un filtre
+ Ajustar un filtre
+ Modificar un filtre
Suprimir
Actualizar
Frasa de filtrar
diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index 0765e2d1b..5362ead9f 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -318,8 +318,8 @@
Zawsze rozwijaj wpisy z ostrzeżeniami o zawartości
Publiczne osi czasu
Konwersacje
- Dodaj filtr
- Edytuj filtr
+ Dodaj filtr
+ Edytuj filtr
Usuń
Aktualizuj
Całe słowo
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index 9dc312735..938488f3b 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -311,8 +311,8 @@
Notificar sobre enquetes que já terminaram
Linhas públicas
Conversas
- Criar filtro
- Editar filtro
+ Criar filtro
+ Editar filtro
Excluir
Atualizar
Frase para filtrar
diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml
index f7ff47005..9919ef743 100644
--- a/app/src/main/res/values-pt-rPT/strings.xml
+++ b/app/src/main/res/values-pt-rPT/strings.xml
@@ -311,8 +311,8 @@
carregar mais
Timelines públicas
Conversas
- Criar filtro
- Editar filtro
+ Criar filtro
+ Editar filtro
Remover
Se a palavra ou frase for alfanumérica, só será aplicado se corresponder à palavra completa
Frase para filtrar
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 225e2f0ac..5b09e2ba2 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -285,8 +285,8 @@
показать ещё
Публичные ленты
Разговоры
- Добавить фильтр
- Изм. фильтр
+ Добавить фильтр
+ Изм. фильтр
Удалить
Обновить
Слова на фильтр
diff --git a/app/src/main/res/values-sa/strings.xml b/app/src/main/res/values-sa/strings.xml
index 20e7c9dc4..8ce11fd30 100644
--- a/app/src/main/res/values-sa/strings.xml
+++ b/app/src/main/res/values-sa/strings.xml
@@ -206,8 +206,8 @@
सर्वः शब्दः
नवीक्रियताम्
नश्यताम्
- शोधकं सम्पाद्यताम्
- शोधकं युज्यताम्
+ शोधकं सम्पाद्यताम्
+ शोधकं युज्यताम्
आलापाः
सार्वजनिकतालिकाः
अधिकमारोप्यताम्
diff --git a/app/src/main/res/values-si/strings.xml b/app/src/main/res/values-si/strings.xml
index 3c08528dd..2f1a461b9 100644
--- a/app/src/main/res/values-si/strings.xml
+++ b/app/src/main/res/values-si/strings.xml
@@ -51,7 +51,7 @@
දැනුම්දීම් පෙරහන පෙන්වන්න
දව. %d
නික්මෙන්න
- පෙරහන සංස්කරණය
+ පෙරහන සංස්කරණය
%1$s, %2$s, සහ %3$s
මාස්ටඩන් හි සම්මත ඉමෝජි කට්ටලය
%1$s • %2$s
@@ -142,7 +142,7 @@
පිළිතුරු…
කාලරේඛා දැනුම්දීම් සීමාකරන්න
ටූට් යැවීමේ දෝෂයකි
- පෙරහන එකතු කරන්න
+ පෙරහන එකතු කරන්න
සැමවිටම මාධ්ය සංවේදී ලෙස සලකුණු කරන්න
යෙදුම යළි ඇරඹීම ඇවැසිය
යළි අරඹන්න
diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml
index 14ad779a4..d882ebc00 100644
--- a/app/src/main/res/values-sl/strings.xml
+++ b/app/src/main/res/values-sl/strings.xml
@@ -236,8 +236,8 @@
naloži več
Javne časovnice
Pogovori
- Dodaj filter
- Uredi filter
+ Dodaj filter
+ Uredi filter
Odstrani
Posodobi
Filtriraj frazo
diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml
index c561a84e8..6ff3deefa 100644
--- a/app/src/main/res/values-sv/strings.xml
+++ b/app/src/main/res/values-sv/strings.xml
@@ -259,8 +259,8 @@
ladda mer
Offentliga tidslinjer
Konversationer
- Lägg till filter
- Redigera filter
+ Lägg till filter
+ Redigera filter
Ta bort
Uppdatera
Filtrera fras
diff --git a/app/src/main/res/values-th/strings.xml b/app/src/main/res/values-th/strings.xml
index dd541a848..4380f5c0b 100644
--- a/app/src/main/res/values-th/strings.xml
+++ b/app/src/main/res/values-th/strings.xml
@@ -151,8 +151,8 @@
ทั้งคำ
อัปเดต
ลบ
- แก้ไขตัวคัดกรอง
- เพิ่มตัวคัดกรอง
+ แก้ไขตัวคัดกรอง
+ เพิ่มตัวคัดกรอง
การสนทนา
ไทม์ไลน์สาธารณะ
โหลดเพิ่ม
diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml
index d73fb68d9..34cc9b942 100644
--- a/app/src/main/res/values-tr/strings.xml
+++ b/app/src/main/res/values-tr/strings.xml
@@ -328,8 +328,8 @@
Sona eren anketlerle ilgili bildirimler
Genel zaman çizelgesi
Konuşmalar
- Filtre ekle
- Filtreyi düzenle
+ Filtre ekle
+ Filtreyi düzenle
Kaldır
Güncelle
Tüm dünya
diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml
index 751d2486b..90f1f1cce 100644
--- a/app/src/main/res/values-uk/strings.xml
+++ b/app/src/main/res/values-uk/strings.xml
@@ -295,8 +295,8 @@
Заблокувати обліковий запис
Вилучити
Вилучити
- Редагувати фільтр
- Додати фільтр
+ Редагувати фільтр
+ Додати фільтр
Розмови
Загальнодоступні стрічки
завантажити ще
diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml
index 934d77103..79443cc78 100644
--- a/app/src/main/res/values-vi/strings.xml
+++ b/app/src/main/res/values-vi/strings.xml
@@ -282,8 +282,8 @@
Thông báo khi ai đó thích tút của bạn
Lượt thích
Toàn bộ chữ có chứa cụm từ này
- Sửa bộ lọc
- Thêm bộ lọc
+ Sửa bộ lọc
+ Thêm bộ lọc
Thảo luận
Liên hợp
tải tút chưa đọc
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 1a69408e3..949a9c004 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -266,8 +266,8 @@
加载更多
公共时间轴
对话
- 添加新的过滤器
- 编辑过滤器
+ 添加新的过滤器
+ 编辑过滤器
移除
更新
需要过滤的文字
diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml
index 7d9824f83..b40c4ca77 100644
--- a/app/src/main/res/values-zh-rHK/strings.xml
+++ b/app/src/main/res/values-zh-rHK/strings.xml
@@ -265,8 +265,8 @@
載入更多
公共時間軸
對話
- 添加新的過濾器
- 編輯過濾器
+ 添加新的過濾器
+ 編輯過濾器
移除
更新
需要過濾的文字
diff --git a/app/src/main/res/values-zh-rMO/strings.xml b/app/src/main/res/values-zh-rMO/strings.xml
index 878c4d1bd..b5b54eab5 100644
--- a/app/src/main/res/values-zh-rMO/strings.xml
+++ b/app/src/main/res/values-zh-rMO/strings.xml
@@ -259,8 +259,8 @@
載入更多
公共時間軸
對話
- 添加新的過濾器
- 編輯過濾器
+ 添加新的過濾器
+ 編輯過濾器
移除
更新
需要過濾的文字
diff --git a/app/src/main/res/values-zh-rSG/strings.xml b/app/src/main/res/values-zh-rSG/strings.xml
index acaa91ba9..8eb92b741 100644
--- a/app/src/main/res/values-zh-rSG/strings.xml
+++ b/app/src/main/res/values-zh-rSG/strings.xml
@@ -264,8 +264,8 @@
加载更多
公共时间轴
对话
- 添加新的过滤器
- 编辑过滤器
+ 添加新的过滤器
+ 编辑过滤器
移除
更新
需要过滤的文字
diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml
index 3369372dc..584303bbb 100644
--- a/app/src/main/res/values-zh-rTW/strings.xml
+++ b/app/src/main/res/values-zh-rTW/strings.xml
@@ -265,8 +265,8 @@
載入更多
公共時間軸
對話
- 添加新的過濾器
- 編輯過濾器
+ 添加新的過濾器
+ 編輯過濾器
移除
更新
需要過濾的文字
diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml
index 3126b942e..644bea9e1 100644
--- a/app/src/main/res/values/donottranslate.xml
+++ b/app/src/main/res/values/donottranslate.xml
@@ -256,4 +256,18 @@
- OLDEST_FIRST
- NEWEST_FIRST
+
+
+ - warn
+ - hide
+
+
+
+ - home
+ - notifications
+ - public
+ - thread
+ - account
+
+
diff --git a/app/src/main/res/values/string-arrays.xml b/app/src/main/res/values/string-arrays.xml
index 2a2bd224c..1f0c46b71 100644
--- a/app/src/main/res/values/string-arrays.xml
+++ b/app/src/main/res/values/string-arrays.xml
@@ -29,4 +29,16 @@
- @string/pref_show_self_username_never
+
+ - @string/title_home
+ - @string/title_notifications
+ - @string/pref_title_public_filter_keywords
+ - @string/pref_title_thread_filter_keywords
+ - @string/pref_title_account_filter_keywords
+
+
+
+ - @string/filter_action_warn
+ - @string/filter_action_hide
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 7c0b06e73..834da7b86 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -412,6 +412,8 @@
Attachments
1+
now
+ Show anyway
+ Filtered: %s
Follow requested
@@ -436,8 +438,9 @@
Public timelines
Conversations
- Add filter
- Edit filter
+ Profiles
+ Add filter
+ Edit filter
Remove
Update
Whole word
@@ -760,7 +763,6 @@
%1$s edited %2$s
%1$s created %2$s
-
Loading thread
@@ -784,4 +786,19 @@
Follow request accepted
Follow request blocked
+
+ My filter
+ Title
+ Warn
+ Hide
+ Hide with a warning
+ Hide completely
+ Filter action
+ Filter contexts
+ Keywords or phrases to filter
+ Add
+ %s (whole word)
+ Add keyword
+ Edit keyword
+ %s: %s
diff --git a/app/src/test/java/com/keylesspalace/tusky/BottomSheetActivityTest.kt b/app/src/test/java/com/keylesspalace/tusky/BottomSheetActivityTest.kt
index 3438f614f..0c655262e 100644
--- a/app/src/test/java/com/keylesspalace/tusky/BottomSheetActivityTest.kt
+++ b/app/src/test/java/com/keylesspalace/tusky/BottomSheetActivityTest.kt
@@ -90,6 +90,7 @@ class BottomSheetActivityTest {
poll = null,
card = null,
language = null,
+ filtered = null,
)
private val statusSingle = Single.just(SearchResult(emptyList(), listOf(status), emptyList()))
diff --git a/app/src/test/java/com/keylesspalace/tusky/FilterTest.kt b/app/src/test/java/com/keylesspalace/tusky/FilterV1Test.kt
similarity index 85%
rename from app/src/test/java/com/keylesspalace/tusky/FilterTest.kt
rename to app/src/test/java/com/keylesspalace/tusky/FilterV1Test.kt
index ae85b1cc4..f51c9f0b6 100644
--- a/app/src/test/java/com/keylesspalace/tusky/FilterTest.kt
+++ b/app/src/test/java/com/keylesspalace/tusky/FilterV1Test.kt
@@ -18,15 +18,15 @@
package com.keylesspalace.tusky
import androidx.test.ext.junit.runners.AndroidJUnit4
+import com.keylesspalace.tusky.components.filters.EditFilterActivity
import com.keylesspalace.tusky.entity.Attachment
import com.keylesspalace.tusky.entity.Filter
+import com.keylesspalace.tusky.entity.FilterV1
import com.keylesspalace.tusky.entity.Poll
import com.keylesspalace.tusky.entity.PollOption
import com.keylesspalace.tusky.entity.Status
import com.keylesspalace.tusky.network.FilterModel
-import com.keylesspalace.tusky.view.getSecondsForDurationIndex
-import org.junit.Assert.assertFalse
-import org.junit.Assert.assertTrue
+import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
@@ -37,7 +37,7 @@ import java.util.Date
@Config(sdk = [28])
@RunWith(AndroidJUnit4::class)
-class FilterTest {
+class FilterV1Test {
private lateinit var filterModel: FilterModel
@@ -45,58 +45,58 @@ class FilterTest {
fun setup() {
filterModel = FilterModel()
val filters = listOf(
- Filter(
+ FilterV1(
id = "123",
phrase = "badWord",
- context = listOf(Filter.HOME),
+ context = listOf(FilterV1.HOME),
expiresAt = null,
irreversible = false,
wholeWord = false
),
- Filter(
+ FilterV1(
id = "123",
phrase = "badWholeWord",
- context = listOf(Filter.HOME, Filter.PUBLIC),
+ context = listOf(FilterV1.HOME, FilterV1.PUBLIC),
expiresAt = null,
irreversible = false,
wholeWord = true
),
- Filter(
+ FilterV1(
id = "123",
phrase = "@twitter.com",
- context = listOf(Filter.HOME),
+ context = listOf(FilterV1.HOME),
expiresAt = null,
irreversible = false,
wholeWord = true
),
- Filter(
+ FilterV1(
id = "123",
phrase = "#hashtag",
- context = listOf(Filter.HOME),
+ context = listOf(FilterV1.HOME),
expiresAt = null,
irreversible = false,
wholeWord = true
),
- Filter(
+ FilterV1(
id = "123",
phrase = "expired",
- context = listOf(Filter.HOME),
+ context = listOf(FilterV1.HOME),
expiresAt = Date.from(Instant.now().minusSeconds(10)),
irreversible = false,
wholeWord = true
),
- Filter(
+ FilterV1(
id = "123",
phrase = "unexpired",
- context = listOf(Filter.HOME),
+ context = listOf(FilterV1.HOME),
expiresAt = Date.from(Instant.now().plusSeconds(3600)),
irreversible = false,
wholeWord = true
),
- Filter(
+ FilterV1(
id = "123",
phrase = "href",
- context = listOf(Filter.HOME),
+ context = listOf(FilterV1.HOME),
expiresAt = null,
irreversible = false,
wholeWord = false
@@ -108,7 +108,8 @@ class FilterTest {
@Test
fun shouldNotFilter() {
- assertFalse(
+ assertEquals(
+ Filter.Action.NONE,
filterModel.shouldFilterStatus(
mockStatus(content = "should not be filtered")
)
@@ -117,7 +118,8 @@ class FilterTest {
@Test
fun shouldFilter_whenContentMatchesBadWord() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(content = "one two badWord three")
)
@@ -126,7 +128,8 @@ class FilterTest {
@Test
fun shouldFilter_whenContentMatchesBadWordPart() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(content = "one two badWordPart three")
)
@@ -135,7 +138,8 @@ class FilterTest {
@Test
fun shouldFilter_whenContentMatchesBadWholeWord() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(content = "one two badWholeWord three")
)
@@ -144,7 +148,8 @@ class FilterTest {
@Test
fun shouldNotFilter_whenContentDoesNotMatchWholeWord() {
- assertFalse(
+ assertEquals(
+ Filter.Action.NONE,
filterModel.shouldFilterStatus(
mockStatus(content = "one two badWholeWordTest three")
)
@@ -153,7 +158,8 @@ class FilterTest {
@Test
fun shouldFilter_whenSpoilerTextDoesMatch() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(
content = "should not be filtered",
@@ -165,7 +171,8 @@ class FilterTest {
@Test
fun shouldFilter_whenPollTextDoesMatch() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(
content = "should not be filtered",
@@ -178,7 +185,8 @@ class FilterTest {
@Test
fun shouldFilter_whenMediaDescriptionDoesMatch() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(
content = "should not be filtered",
@@ -191,7 +199,8 @@ class FilterTest {
@Test
fun shouldFilterPartialWord_whenWholeWordFilterContainsNonAlphanumericCharacters() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(content = "one two someone@twitter.com three")
)
@@ -200,7 +209,8 @@ class FilterTest {
@Test
fun shouldFilterHashtags() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(content = "#hashtag one two three")
)
@@ -209,7 +219,8 @@ class FilterTest {
@Test
fun shouldFilterHashtags_whenContentIsMarkedUp() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(content = "#hashtagone two three
")
)
@@ -218,7 +229,8 @@ class FilterTest {
@Test
fun shouldNotFilterHtmlAttributes() {
- assertFalse(
+ assertEquals(
+ Filter.Action.NONE,
filterModel.shouldFilterStatus(
mockStatus(content = "https://foo.bar/ one two three
")
)
@@ -227,7 +239,8 @@ class FilterTest {
@Test
fun shouldNotFilter_whenFilterIsExpired() {
- assertFalse(
+ assertEquals(
+ Filter.Action.NONE,
filterModel.shouldFilterStatus(
mockStatus(content = "content matching expired filter should not be filtered")
)
@@ -236,7 +249,8 @@ class FilterTest {
@Test
fun shouldFilter_whenFilterIsUnexpired() {
- assertTrue(
+ assertEquals(
+ Filter.Action.HIDE,
filterModel.shouldFilterStatus(
mockStatus(content = "content matching unexpired filter should be filtered")
)
@@ -247,7 +261,7 @@ class FilterTest {
fun unchangedExpiration_shouldBeNegative_whenFilterIsExpired() {
val expiredBySeconds = 3600
val expiredDate = Date.from(Instant.now().minusSeconds(expiredBySeconds.toLong()))
- val updatedDuration = getSecondsForDurationIndex(-1, null, expiredDate)
+ val updatedDuration = EditFilterActivity.getSecondsForDurationIndex(-1, null, expiredDate)
assert(updatedDuration != null && updatedDuration <= -expiredBySeconds)
}
@@ -255,7 +269,7 @@ class FilterTest {
fun unchangedExpiration_shouldBePositive_whenFilterIsUnexpired() {
val expiresInSeconds = 3600
val expiredDate = Date.from(Instant.now().plusSeconds(expiresInSeconds.toLong()))
- val updatedDuration = getSecondsForDurationIndex(-1, null, expiredDate)
+ val updatedDuration = EditFilterActivity.getSecondsForDurationIndex(-1, null, expiredDate)
assert(updatedDuration != null && updatedDuration > (expiresInSeconds - 60))
}
@@ -323,6 +337,7 @@ class FilterTest {
} else null,
card = null,
language = null,
+ filtered = null,
)
}
}
diff --git a/app/src/test/java/com/keylesspalace/tusky/components/notifications/NotificationsViewModelTestStatusAction.kt b/app/src/test/java/com/keylesspalace/tusky/components/notifications/NotificationsViewModelTestStatusAction.kt
index b4894592f..5f86f389e 100644
--- a/app/src/test/java/com/keylesspalace/tusky/components/notifications/NotificationsViewModelTestStatusAction.kt
+++ b/app/src/test/java/com/keylesspalace/tusky/components/notifications/NotificationsViewModelTestStatusAction.kt
@@ -19,7 +19,7 @@ package com.keylesspalace.tusky.components.notifications
import app.cash.turbine.test
import com.google.common.truth.Truth.assertThat
-import com.keylesspalace.tusky.FilterTest.Companion.mockStatus
+import com.keylesspalace.tusky.FilterV1Test.Companion.mockStatus
import com.keylesspalace.tusky.viewdata.StatusViewData
import io.reactivex.rxjava3.core.Single
import kotlinx.coroutines.ExperimentalCoroutinesApi
diff --git a/app/src/test/java/com/keylesspalace/tusky/components/timeline/StatusMocker.kt b/app/src/test/java/com/keylesspalace/tusky/components/timeline/StatusMocker.kt
index eef02d936..47f4dbf00 100644
--- a/app/src/test/java/com/keylesspalace/tusky/components/timeline/StatusMocker.kt
+++ b/app/src/test/java/com/keylesspalace/tusky/components/timeline/StatusMocker.kt
@@ -54,6 +54,7 @@ fun mockStatus(
poll = null,
card = null,
language = null,
+ filtered = null,
)
fun mockStatusViewData(
diff --git a/app/src/test/java/com/keylesspalace/tusky/db/TimelineDaoTest.kt b/app/src/test/java/com/keylesspalace/tusky/db/TimelineDaoTest.kt
index ec757070a..4332361a0 100644
--- a/app/src/test/java/com/keylesspalace/tusky/db/TimelineDaoTest.kt
+++ b/app/src/test/java/com/keylesspalace/tusky/db/TimelineDaoTest.kt
@@ -465,6 +465,7 @@ class TimelineDaoTest {
pinned = false,
card = card,
language = null,
+ filtered = null,
)
return Triple(status, author, reblogAuthor)
}
diff --git a/app/src/test/java/com/keylesspalace/tusky/usecase/TimelineCasesTest.kt b/app/src/test/java/com/keylesspalace/tusky/usecase/TimelineCasesTest.kt
index b5d26250e..ae62aedcc 100644
--- a/app/src/test/java/com/keylesspalace/tusky/usecase/TimelineCasesTest.kt
+++ b/app/src/test/java/com/keylesspalace/tusky/usecase/TimelineCasesTest.kt
@@ -97,6 +97,7 @@ class TimelineCasesTest {
poll = null,
card = null,
language = null,
+ filtered = null,
)
}
}