diff --git a/translations/ar.json b/translations/ar.json index 438105c1..83d909f8 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "إزالة المشاركات المجدولة", "Remove Twitter posts": "إزالة مشاركات Twitter", "Sensitive": "حساس", - "Word Replacements": "استبدال الكلمات" + "Word Replacements": "استبدال الكلمات", + "Happening Today": "يحدث اليوم" } diff --git a/translations/ca.json b/translations/ca.json index 3bba014c..c41a7643 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Elimineu les publicacions programades", "Remove Twitter posts": "Elimina les publicacions de Twitter", "Sensitive": "Sensible", - "Word Replacements": "Substitucions de paraula" + "Word Replacements": "Substitucions de paraula", + "Happening Today": "Passant avui" } diff --git a/translations/cy.json b/translations/cy.json index dced0969..7d492fd8 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Tynnwch y swyddi a drefnwyd", "Remove Twitter posts": "Dileu postiadau Twitter", "Sensitive": "Sensitif", - "Word Replacements": "Amnewidiadau Geiriau" + "Word Replacements": "Amnewidiadau Geiriau", + "Happening Today": "Digwydd Heddiw" } diff --git a/translations/de.json b/translations/de.json index a3c28159..792a8eab 100644 --- a/translations/de.json +++ b/translations/de.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Geplante Posts entfernen", "Remove Twitter posts": "Entfernen Sie Twitter-Posts", "Sensitive": "Empfindlich", - "Word Replacements": "Wortersetzungen" + "Word Replacements": "Wortersetzungen", + "Happening Today": "Heute passiert" } diff --git a/translations/en.json b/translations/en.json index 0b55cfec..863a4fd8 100644 --- a/translations/en.json +++ b/translations/en.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Remove scheduled posts", "Remove Twitter posts": "Remove Twitter posts", "Sensitive": "Sensitive", - "Word Replacements": "Word Replacements" + "Word Replacements": "Word Replacements", + "Happening Today": "Happening Today" } diff --git a/translations/es.json b/translations/es.json index 824216cd..e936d6c8 100644 --- a/translations/es.json +++ b/translations/es.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Eliminar publicaciones programadas", "Remove Twitter posts": "Eliminar publicaciones de Twitter", "Sensitive": "Sensible", - "Word Replacements": "Reemplazos de palabras" + "Word Replacements": "Reemplazos de palabras", + "Happening Today": "Sucediendo hoy" } diff --git a/translations/fr.json b/translations/fr.json index ef87fb1a..bf25dd4e 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Supprimer les messages planifiés", "Remove Twitter posts": "Supprimer les messages Twitter", "Sensitive": "Sensible", - "Word Replacements": "Remplacements de mots" + "Word Replacements": "Remplacements de mots", + "Happening Today": "Se passe aujourd'hui" } diff --git a/translations/ga.json b/translations/ga.json index e284ec9b..e3da6d27 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Bain na poist sceidealta", "Remove Twitter posts": "Bain poist Twitter", "Sensitive": "Íogair", - "Word Replacements": "Athchur Focal" + "Word Replacements": "Athchur Focal", + "Happening Today": "Ag tarlú inniu" } diff --git a/translations/hi.json b/translations/hi.json index 69cf3c91..8fcef6bf 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "अनुसूचित पदों को हटा दें", "Remove Twitter posts": "ट्विटर पोस्ट हटाएं", "Sensitive": "संवेदनशील", - "Word Replacements": "शब्द प्रतिस्थापन" + "Word Replacements": "शब्द प्रतिस्थापन", + "Happening Today": "आज हो रहा है" } diff --git a/translations/it.json b/translations/it.json index 8855d12a..9b8bf702 100644 --- a/translations/it.json +++ b/translations/it.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Rimuovi i post programmati", "Remove Twitter posts": "Rimuovi i post di Twitter", "Sensitive": "Sensibile", - "Word Replacements": "Sostituzioni di parole" + "Word Replacements": "Sostituzioni di parole", + "Happening Today": "Succede oggi" } diff --git a/translations/ja.json b/translations/ja.json index 704feaf3..617cf782 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "スケジュールされた投稿を削除する", "Remove Twitter posts": "Twitterの投稿を削除する", "Sensitive": "敏感", - "Word Replacements": "単語の置換" + "Word Replacements": "単語の置換", + "Happening Today": "今日の出来事" } diff --git a/translations/oc.json b/translations/oc.json index 1f92f677..e22c79ed 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -205,5 +205,6 @@ "Remove scheduled posts": "Remove scheduled posts", "Remove Twitter posts": "Remove Twitter posts", "Sensitive": "Sensitive", - "Word Replacements": "Word Replacements" + "Word Replacements": "Word Replacements", + "Happening Today": "Happening Today" } diff --git a/translations/pt.json b/translations/pt.json index 24e54503..0f97c66f 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Remover postagens agendadas", "Remove Twitter posts": "Remover postagens do Twitter", "Sensitive": "Sensível", - "Word Replacements": "Substituições do Word" + "Word Replacements": "Substituições do Word", + "Happening Today": "Acontecendo hoje" } diff --git a/translations/ru.json b/translations/ru.json index d3a37f76..1f4aa320 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "Удалить запланированные сообщения", "Remove Twitter posts": "Удалить сообщения из Твиттера", "Sensitive": "чувствительный", - "Word Replacements": "Замены слов" + "Word Replacements": "Замены слов", + "Happening Today": "Происходит сегодня" } diff --git a/translations/zh.json b/translations/zh.json index 0af1bf72..15fb923f 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -209,5 +209,6 @@ "Remove scheduled posts": "删除预定的帖子", "Remove Twitter posts": "删除Twitter帖子", "Sensitive": "敏感", - "Word Replacements": "单词替换" + "Word Replacements": "单词替换", + "Happening Today": "今天发生" } diff --git a/webinterface.py b/webinterface.py index 74c97454..064ef563 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2960,6 +2960,11 @@ def htmlTimeline(defaultTimeline: str, \ # add the javascript for content warnings tlStr+='' + # show todays events button + if boxName=='inbox': + if todaysEventsCheck(baseDir,nickname,domain): + tlStr+='