mirror of https://gitlab.com/bashrc2/epicyon
add a generic summary if none is provided
parent
a49e27643e
commit
3a57a76703
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "هذا هو المقرر المقرر.",
|
"This is a scheduled post.": "هذا هو المقرر المقرر.",
|
||||||
"Remove scheduled posts": "إزالة المشاركات المجدولة",
|
"Remove scheduled posts": "إزالة المشاركات المجدولة",
|
||||||
"Remove Twitter posts": "إزالة مشاركات Twitter"
|
"Remove Twitter posts": "إزالة مشاركات Twitter",
|
||||||
|
"Sensitive": "حساس"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Aquesta és una publicació programada.",
|
"This is a scheduled post.": "Aquesta és una publicació programada.",
|
||||||
"Remove scheduled posts": "Elimineu les publicacions programades",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Mae hon yn swydd wedi'i hamserlennu.",
|
"This is a scheduled post.": "Mae hon yn swydd wedi'i hamserlennu.",
|
||||||
"Remove scheduled posts": "Tynnwch y swyddi a drefnwyd",
|
"Remove scheduled posts": "Tynnwch y swyddi a drefnwyd",
|
||||||
"Remove Twitter posts": "Dileu postiadau Twitter"
|
"Remove Twitter posts": "Dileu postiadau Twitter",
|
||||||
|
"Sensitive": "Sensitif"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Dies ist ein geplanter Beitrag.",
|
"This is a scheduled post.": "Dies ist ein geplanter Beitrag.",
|
||||||
"Remove scheduled posts": "Geplante Posts entfernen",
|
"Remove scheduled posts": "Geplante Posts entfernen",
|
||||||
"Remove Twitter posts": "Entfernen Sie Twitter-Posts"
|
"Remove Twitter posts": "Entfernen Sie Twitter-Posts",
|
||||||
|
"Sensitive": "Empfindlich"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "This is a scheduled post.",
|
"This is a scheduled post.": "This is a scheduled post.",
|
||||||
"Remove scheduled posts": "Remove scheduled posts",
|
"Remove scheduled posts": "Remove scheduled posts",
|
||||||
"Remove Twitter posts": "Remove Twitter posts"
|
"Remove Twitter posts": "Remove Twitter posts",
|
||||||
|
"Sensitive": "Sensitive"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Esta es una publicación programada.",
|
"This is a scheduled post.": "Esta es una publicación programada.",
|
||||||
"Remove scheduled posts": "Eliminar publicaciones programadas",
|
"Remove scheduled posts": "Eliminar publicaciones programadas",
|
||||||
"Remove Twitter posts": "Eliminar publicaciones de Twitter"
|
"Remove Twitter posts": "Eliminar publicaciones de Twitter",
|
||||||
|
"Sensitive": "Sensible"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Il s'agit d'un article programmé.",
|
"This is a scheduled post.": "Il s'agit d'un article programmé.",
|
||||||
"Remove scheduled posts": "Supprimer les messages planifiés",
|
"Remove scheduled posts": "Supprimer les messages planifiés",
|
||||||
"Remove Twitter posts": "Supprimer les messages Twitter"
|
"Remove Twitter posts": "Supprimer les messages Twitter",
|
||||||
|
"Sensitive": "Sensible"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Is post sceidealta é seo.",
|
"This is a scheduled post.": "Is post sceidealta é seo.",
|
||||||
"Remove scheduled posts": "Bain na poist sceidealta",
|
"Remove scheduled posts": "Bain na poist sceidealta",
|
||||||
"Remove Twitter posts": "Bain poist Twitter"
|
"Remove Twitter posts": "Bain poist Twitter",
|
||||||
|
"Sensitive": "Íogair"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "यह एक अनुसूचित पद है।",
|
"This is a scheduled post.": "यह एक अनुसूचित पद है।",
|
||||||
"Remove scheduled posts": "अनुसूचित पदों को हटा दें",
|
"Remove scheduled posts": "अनुसूचित पदों को हटा दें",
|
||||||
"Remove Twitter posts": "ट्विटर पोस्ट हटाएं"
|
"Remove Twitter posts": "ट्विटर पोस्ट हटाएं",
|
||||||
|
"Sensitive": "संवेदनशील"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Questo è un post programmato",
|
"This is a scheduled post.": "Questo è un post programmato",
|
||||||
"Remove scheduled posts": "Rimuovi i post programmati",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "これはスケジュールされた投稿です。",
|
"This is a scheduled post.": "これはスケジュールされた投稿です。",
|
||||||
"Remove scheduled posts": "スケジュールされた投稿を削除する",
|
"Remove scheduled posts": "スケジュールされた投稿を削除する",
|
||||||
"Remove Twitter posts": "Twitterの投稿を削除する"
|
"Remove Twitter posts": "Twitterの投稿を削除する",
|
||||||
|
"Sensitive": "敏感"
|
||||||
}
|
}
|
||||||
|
|
|
@ -203,5 +203,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "This is a scheduled post.",
|
"This is a scheduled post.": "This is a scheduled post.",
|
||||||
"Remove scheduled posts": "Remove scheduled posts",
|
"Remove scheduled posts": "Remove scheduled posts",
|
||||||
"Remove Twitter posts": "Remove Twitter posts"
|
"Remove Twitter posts": "Remove Twitter posts",
|
||||||
|
"Sensitive": "Sensitive"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Esta é uma postagem agendada.",
|
"This is a scheduled post.": "Esta é uma postagem agendada.",
|
||||||
"Remove scheduled posts": "Remover postagens agendadas",
|
"Remove scheduled posts": "Remover postagens agendadas",
|
||||||
"Remove Twitter posts": "Remover postagens do Twitter"
|
"Remove Twitter posts": "Remover postagens do Twitter",
|
||||||
|
"Sensitive": "Sensível"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "Это запланированный пост.",
|
"This is a scheduled post.": "Это запланированный пост.",
|
||||||
"Remove scheduled posts": "Удалить запланированные сообщения",
|
"Remove scheduled posts": "Удалить запланированные сообщения",
|
||||||
"Remove Twitter posts": "Удалить сообщения из Твиттера"
|
"Remove Twitter posts": "Удалить сообщения из Твиттера",
|
||||||
|
"Sensitive": "чувствительный"
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,5 +207,6 @@
|
||||||
"PGP": "PGP",
|
"PGP": "PGP",
|
||||||
"This is a scheduled post.": "这是预定的帖子。",
|
"This is a scheduled post.": "这是预定的帖子。",
|
||||||
"Remove scheduled posts": "删除预定的帖子",
|
"Remove scheduled posts": "删除预定的帖子",
|
||||||
"Remove Twitter posts": "删除Twitter帖子"
|
"Remove Twitter posts": "删除Twitter帖子",
|
||||||
|
"Sensitive": "敏感"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2654,7 +2654,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
# sensitive posts should have a summary
|
# sensitive posts should have a summary
|
||||||
if postJsonObject['object'].get('summary'):
|
if postJsonObject['object'].get('summary'):
|
||||||
postIsSensitive=postJsonObject['object']['sensitive']
|
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
|
# add an extra line if there is a content warning, for better vertical spacing on mobile
|
||||||
if postIsSensitive:
|
if postIsSensitive:
|
||||||
footerStr='<br>'+footerStr
|
footerStr='<br>'+footerStr
|
||||||
|
|
Loading…
Reference in New Issue