diff --git a/translations/ar.json b/translations/ar.json index 25502ed7d..7592497f3 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "هذا هو المقرر المقرر.", "Remove scheduled posts": "إزالة المشاركات المجدولة", - "Remove Twitter posts": "إزالة مشاركات Twitter" + "Remove Twitter posts": "إزالة مشاركات Twitter", + "Sensitive": "حساس" } diff --git a/translations/ca.json b/translations/ca.json index 8f2c12bad..1e83ba7bd 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Aquesta és una publicació programada.", "Remove scheduled posts": "Elimineu les publicacions programades", - "Remove Twitter posts": "Elimina les publicacions de Twitter" + "Remove Twitter posts": "Elimina les publicacions de Twitter", + "Sensitive": "Sensible" } diff --git a/translations/cy.json b/translations/cy.json index d35dcf03d..2ee7d3c05 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Mae hon yn swydd wedi'i hamserlennu.", "Remove scheduled posts": "Tynnwch y swyddi a drefnwyd", - "Remove Twitter posts": "Dileu postiadau Twitter" + "Remove Twitter posts": "Dileu postiadau Twitter", + "Sensitive": "Sensitif" } diff --git a/translations/de.json b/translations/de.json index 59ee5e14e..5175ab64a 100644 --- a/translations/de.json +++ b/translations/de.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Dies ist ein geplanter Beitrag.", "Remove scheduled posts": "Geplante Posts entfernen", - "Remove Twitter posts": "Entfernen Sie Twitter-Posts" + "Remove Twitter posts": "Entfernen Sie Twitter-Posts", + "Sensitive": "Empfindlich" } diff --git a/translations/en.json b/translations/en.json index 3951814ca..4d414907d 100644 --- a/translations/en.json +++ b/translations/en.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "This is a scheduled post.", "Remove scheduled posts": "Remove scheduled posts", - "Remove Twitter posts": "Remove Twitter posts" + "Remove Twitter posts": "Remove Twitter posts", + "Sensitive": "Sensitive" } diff --git a/translations/es.json b/translations/es.json index 997e8760d..56afedfde 100644 --- a/translations/es.json +++ b/translations/es.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Esta es una publicación programada.", "Remove scheduled posts": "Eliminar publicaciones programadas", - "Remove Twitter posts": "Eliminar publicaciones de Twitter" + "Remove Twitter posts": "Eliminar publicaciones de Twitter", + "Sensitive": "Sensible" } diff --git a/translations/fr.json b/translations/fr.json index 8d2957078..d50a469c5 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Il s'agit d'un article programmé.", "Remove scheduled posts": "Supprimer les messages planifiés", - "Remove Twitter posts": "Supprimer les messages Twitter" + "Remove Twitter posts": "Supprimer les messages Twitter", + "Sensitive": "Sensible" } diff --git a/translations/ga.json b/translations/ga.json index 422528f2e..ea76c6c08 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Is post sceidealta é seo.", "Remove scheduled posts": "Bain na poist sceidealta", - "Remove Twitter posts": "Bain poist Twitter" + "Remove Twitter posts": "Bain poist Twitter", + "Sensitive": "Íogair" } diff --git a/translations/hi.json b/translations/hi.json index fedf96b25..5eeeaf535 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "यह एक अनुसूचित पद है।", "Remove scheduled posts": "अनुसूचित पदों को हटा दें", - "Remove Twitter posts": "ट्विटर पोस्ट हटाएं" + "Remove Twitter posts": "ट्विटर पोस्ट हटाएं", + "Sensitive": "संवेदनशील" } diff --git a/translations/it.json b/translations/it.json index 9c48c063e..7c8c2451f 100644 --- a/translations/it.json +++ b/translations/it.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Questo è un post programmato", "Remove scheduled posts": "Rimuovi i post programmati", - "Remove Twitter posts": "Rimuovi i post di Twitter" + "Remove Twitter posts": "Rimuovi i post di Twitter", + "Sensitive": "Sensibile" } diff --git a/translations/ja.json b/translations/ja.json index 2f25e618f..7028110cf 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "これはスケジュールされた投稿です。", "Remove scheduled posts": "スケジュールされた投稿を削除する", - "Remove Twitter posts": "Twitterの投稿を削除する" + "Remove Twitter posts": "Twitterの投稿を削除する", + "Sensitive": "敏感" } diff --git a/translations/oc.json b/translations/oc.json index 038035d2f..a9fbc05e6 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -203,5 +203,6 @@ "PGP": "PGP", "This is a scheduled post.": "This is a scheduled post.", "Remove scheduled posts": "Remove scheduled posts", - "Remove Twitter posts": "Remove Twitter posts" + "Remove Twitter posts": "Remove Twitter posts", + "Sensitive": "Sensitive" } diff --git a/translations/pt.json b/translations/pt.json index 9f54f7943..4b7f05344 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Esta é uma postagem agendada.", "Remove scheduled posts": "Remover postagens agendadas", - "Remove Twitter posts": "Remover postagens do Twitter" + "Remove Twitter posts": "Remover postagens do Twitter", + "Sensitive": "Sensível" } diff --git a/translations/ru.json b/translations/ru.json index 775b32a69..fec06a361 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "Это запланированный пост.", "Remove scheduled posts": "Удалить запланированные сообщения", - "Remove Twitter posts": "Удалить сообщения из Твиттера" + "Remove Twitter posts": "Удалить сообщения из Твиттера", + "Sensitive": "чувствительный" } diff --git a/translations/zh.json b/translations/zh.json index 4be8bf9ba..681d2bd23 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -207,5 +207,6 @@ "PGP": "PGP", "This is a scheduled post.": "这是预定的帖子。", "Remove scheduled posts": "删除预定的帖子", - "Remove Twitter posts": "删除Twitter帖子" + "Remove Twitter posts": "删除Twitter帖子", + "Sensitive": "敏感" } diff --git a/webinterface.py b/webinterface.py index c6670c8f2..c7cf253e5 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2654,7 +2654,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ # sensitive posts should have a summary if postJsonObject['object'].get('summary'): postIsSensitive=postJsonObject['object']['sensitive'] - + else: + # add a generic summary if none is provided + postJsonObject['object']['summary']=translate['Sensitive'] + # add an extra line if there is a content warning, for better vertical spacing on mobile if postIsSensitive: footerStr='
'+footerStr