From bc1ab2dc37a55d9c282d43b72685827b7a08efdb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 19 Dec 2020 11:23:22 +0000 Subject: [PATCH] Filter buttons on moderator screen --- translations/ar.json | 6 +++++- translations/ca.json | 6 +++++- translations/cy.json | 6 +++++- translations/de.json | 6 +++++- translations/en.json | 6 +++++- translations/es.json | 6 +++++- translations/fr.json | 6 +++++- translations/ga.json | 6 +++++- translations/hi.json | 6 +++++- translations/it.json | 6 +++++- translations/ja.json | 6 +++++- translations/oc.json | 6 +++++- translations/pt.json | 6 +++++- translations/ru.json | 6 +++++- translations/zh.json | 6 +++++- webapp_timeline.py | 13 +++++++++++++ 16 files changed, 88 insertions(+), 15 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 1afa3ef36..fabcebfb7 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "اسأل عن عنصر مشترك.", "Account Information": "معلومات الحساب", "This account interacts with the following instances": "يتفاعل هذا الحساب مع الحالات التالية", - "News posts are moderated": "المشاركات الإخبارية خاضعة للإشراف" + "News posts are moderated": "المشاركات الإخبارية خاضعة للإشراف", + "Filter": "منقي", + "Filter out words": "تصفية الكلمات", + "Unfilter": "غير مرشح", + "Unfilter words": "الكلمات غير المصفاة" } diff --git a/translations/ca.json b/translations/ca.json index 257b46953..0953924e3 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Pregunteu sobre un element compartit.", "Account Information": "Informació del compte", "This account interacts with the following instances": "Aquest compte interactua amb les instàncies següents", - "News posts are moderated": "Les publicacions de notícies es moderen" + "News posts are moderated": "Les publicacions de notícies es moderen", + "Filter": "Filtre", + "Filter out words": "Filtra les paraules", + "Unfilter": "Sense filtre", + "Unfilter words": "Paraules sense filtre" } diff --git a/translations/cy.json b/translations/cy.json index dd3f5b920..c387dc777 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Gofynnwch am eitem a rennir.", "Account Information": "Gwybodaeth Gyfrif", "This account interacts with the following instances": "Mae'r cyfrif hwn yn rhyngweithio â'r achosion canlynol", - "News posts are moderated": "Mae swyddi newyddion yn cael eu cymedroli" + "News posts are moderated": "Mae swyddi newyddion yn cael eu cymedroli", + "Filter": "Hidlo", + "Filter out words": "Hidlo geiriau", + "Unfilter": "Di-hid", + "Unfilter words": "Geiriau di-hid" } diff --git a/translations/de.json b/translations/de.json index 67d572256..67658593e 100644 --- a/translations/de.json +++ b/translations/de.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Fragen Sie nach einem gemeinsamen Artikel.", "Account Information": "Kontoinformationen", "This account interacts with the following instances": "Dieses Konto interagiert mit den folgenden Instanzen", - "News posts are moderated": "Nachrichtenbeiträge werden moderiert" + "News posts are moderated": "Nachrichtenbeiträge werden moderiert", + "Filter": "Filter", + "Filter out words": "Wörter herausfiltern", + "Unfilter": "Filter entfernen", + "Unfilter words": "Wörter herausfiltern" } diff --git a/translations/en.json b/translations/en.json index 9453645d0..4d950d2d4 100644 --- a/translations/en.json +++ b/translations/en.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Ask about a shared item.", "Account Information": "Account Information", "This account interacts with the following instances": "This account interacts with the following instances", - "News posts are moderated": "News posts are moderated" + "News posts are moderated": "News posts are moderated", + "Filter": "Filter", + "Filter out words": "Filter out words", + "Unfilter": "Unfilter", + "Unfilter words": "Unfilter words" } diff --git a/translations/es.json b/translations/es.json index 75c5f3e6a..2f8c55025 100644 --- a/translations/es.json +++ b/translations/es.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Pregunte por un elemento compartido.", "Account Information": "Información de la cuenta", "This account interacts with the following instances": "Esta cuenta interactúa con las siguientes instancias", - "News posts are moderated": "Las publicaciones de noticias están moderadas" + "News posts are moderated": "Las publicaciones de noticias están moderadas", + "Filter": "Filtrar", + "Filter out words": "Filtrar palabras", + "Unfilter": "Unfilter", + "Unfilter words": "Palabras sin filtrar" } diff --git a/translations/fr.json b/translations/fr.json index 8b37aa74c..3a6db801f 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Renseignez-vous sur un élément partagé.", "Account Information": "Information sur le compte", "This account interacts with the following instances": "Ce compte interagit avec les instances suivantes", - "News posts are moderated": "Les articles d'actualité sont modérés" + "News posts are moderated": "Les articles d'actualité sont modérés", + "Filter": "Filtre", + "Filter out words": "Filtrer les mots", + "Unfilter": "Non filtrer", + "Unfilter words": "Mots non filtrés" } diff --git a/translations/ga.json b/translations/ga.json index 9f1825bf5..e35e11f71 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Fiafraigh faoi earra roinnte.", "Account Information": "Faisnéis Chuntais", "This account interacts with the following instances": "Idirghníomhaíonn an cuntas seo leis na cásanna seo a leanas", - "News posts are moderated": "Déantar poist nuachta a mhodhnú" + "News posts are moderated": "Déantar poist nuachta a mhodhnú", + "Filter": "Scagaire", + "Filter out words": "Scag focail amach", + "Unfilter": "Neamhleithleach", + "Unfilter words": "Focail neamhleithleacha" } diff --git a/translations/hi.json b/translations/hi.json index feac20689..865de4a64 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "एक साझा आइटम के बारे में पूछें।", "Account Information": "खाते की जानकारी", "This account interacts with the following instances": "यह खाता निम्नलिखित उदाहरणों के साथ सहभागिता करता है", - "News posts are moderated": "समाचार पोस्ट संचालित होते हैं" + "News posts are moderated": "समाचार पोस्ट संचालित होते हैं", + "Filter": "फ़िल्टर", + "Filter out words": "शब्दों को फ़िल्टर करें", + "Unfilter": "Unfilter", + "Unfilter words": "अनफ़िल्टर शब्द" } diff --git a/translations/it.json b/translations/it.json index 735ecbdab..27d3f500e 100644 --- a/translations/it.json +++ b/translations/it.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Chiedi informazioni su un elemento condiviso.", "Account Information": "Informazioni account", "This account interacts with the following instances": "Questo account interagisce con le seguenti istanze", - "News posts are moderated": "I post di notizie sono moderati" + "News posts are moderated": "I post di notizie sono moderati", + "Filter": "Filtro", + "Filter out words": "Filtra le parole", + "Unfilter": "Unfilter", + "Unfilter words": "Parole non filtrate" } diff --git a/translations/ja.json b/translations/ja.json index 6cb030885..1e290df23 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "共有アイテムについて質問します。", "Account Information": "口座情報", "This account interacts with the following instances": "このアカウントは、次のインスタンスと相互作用します", - "News posts are moderated": "ニュース投稿はモデレートされます" + "News posts are moderated": "ニュース投稿はモデレートされます", + "Filter": "フィルタ", + "Filter out words": "単語を除外する", + "Unfilter": "フィルタリング解除", + "Unfilter words": "単語のフィルタリングを解除する" } diff --git a/translations/oc.json b/translations/oc.json index d8e91c995..1940d1b2c 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -338,5 +338,9 @@ "Ask about a shared item.": "Ask about a shared item.", "Account Information": "Account Information", "This account interacts with the following instances": "This account interacts with the following instances", - "News posts are moderated": "News posts are moderated" + "News posts are moderated": "News posts are moderated", + "Filter": "Filter", + "Filter out words": "Filter out words", + "Unfilter": "Unfilter", + "Unfilter words": "Unfilter words" } diff --git a/translations/pt.json b/translations/pt.json index 93d13383e..f87b44705 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Pergunte sobre um item compartilhado.", "Account Information": "Informação da conta", "This account interacts with the following instances": "Esta conta interage com as seguintes instâncias", - "News posts are moderated": "Postagens de notícias são moderadas" + "News posts are moderated": "Postagens de notícias são moderadas", + "Filter": "Filtro", + "Filter out words": "Filtrar palavras", + "Unfilter": "Unfilter", + "Unfilter words": "Palavras sem filtro" } diff --git a/translations/ru.json b/translations/ru.json index 80c171d44..a29f41750 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "Спросите об общем элементе.", "Account Information": "Информация об аккаунте", "This account interacts with the following instances": "Этот аккаунт взаимодействует со следующими экземплярами", - "News posts are moderated": "Сообщения новостей модерируются" + "News posts are moderated": "Сообщения новостей модерируются", + "Filter": "Фильтр", + "Filter out words": "Отфильтровать слова", + "Unfilter": "Нефильтровать", + "Unfilter words": "Не фильтровать слова" } diff --git a/translations/zh.json b/translations/zh.json index 31c9e9954..c2796f6e4 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -342,5 +342,9 @@ "Ask about a shared item.": "询问共享项目。", "Account Information": "帐户信息", "This account interacts with the following instances": "此帐户与以下实例进行交互", - "News posts are moderated": "新闻发布被审核" + "News posts are moderated": "新闻发布被审核", + "Filter": "过滤", + "Filter out words": "过滤掉单词", + "Unfilter": "取消过滤", + "Unfilter words": "未过滤字词" } diff --git a/webapp_timeline.py b/webapp_timeline.py index 9ac94abd4..d04339641 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -444,6 +444,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, else: tlStr += '
\n' + tlStr += \ ' \n' + tlStr += \ ' \n' + tlStr += \ ' \n' + + tlStr += \ + ' \n' + tlStr += \ + ' \n' + tlStr += '\n\n' logTimelineTiming(enableTimingLog, timelineStartTime, boxName, '6')