diff --git a/webapp_post.py b/webapp_post.py index fc9c6173f..08115cb34 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1442,7 +1442,7 @@ def _get_blog_citations_html(box_name: str, '' + citation_name + '\n' if citations_str: - translated_citations_str = 'Citations' + translated_citations_str: str = 'Citations' if translate.get(translated_citations_str): translated_citations_str = translate[translated_citations_str] citations_str = '
' + translated_citations_str + ':
' + \ @@ -1453,7 +1453,7 @@ def _get_blog_citations_html(box_name: str, def _boost_own_post_html(translate: {}) -> str: """The html title for announcing your own post """ - announces_str = 'announces' + announces_str: str = 'announces' if translate.get(announces_str): announces_str = translate[announces_str] return '