Terminology

merge-requests/30/head
Bob Mottram 2021-07-21 11:49:54 +01:00
parent b3da026bac
commit 70d3e1db67
1 changed files with 3 additions and 3 deletions

View File

@ -693,7 +693,7 @@ def _getBlogCitationsHtml(boxName: str,
return citationsStr return citationsStr
def _boostOwnTootHtml(translate: {}) -> str: def _boostOwnPostHtml(translate: {}) -> str:
"""The html title for announcing your own post """The html title for announcing your own post
""" """
return ' <img loading="lazy" title="' + \ return ' <img loading="lazy" title="' + \
@ -785,9 +785,9 @@ def _getPostTitleAnnounceHtml(baseDir: str,
if isinstance(objJson['attributedTo'], str): if isinstance(objJson['attributedTo'], str):
attributedTo = objJson['attributedTo'] attributedTo = objJson['attributedTo']
# boosting your own toot # boosting your own post
if attributedTo.startswith(postActor): if attributedTo.startswith(postActor):
titleStr += _boostOwnTootHtml(translate) titleStr += _boostOwnPostHtml(translate)
return (titleStr, replyAvatarImageInPost, return (titleStr, replyAvatarImageInPost,
containerClassIcons, containerClass) containerClassIcons, containerClass)