fix malformed translation string

This commit is contained in:
Markus-Rost 2020-08-22 21:26:01 +02:00
parent 5ca8ccc83b
commit 0a914677d5

View file

@ -51,7 +51,7 @@ async def feeds_compact_formatter(post_type, post, message_target, wiki, article
if not post["isReply"]: if not post["isReply"]:
message = _("[{author}]({author_url}) created a [comment](<{url}?commentId={commentId}>) on [{article}](<{url}>)").format(author=author, author_url=author_url, url=article_page["fullUrl"], article=article_page["title"], commentId=post["threadId"]) message = _("[{author}]({author_url}) created a [comment](<{url}?commentId={commentId}>) on [{article}](<{url}>)").format(author=author, author_url=author_url, url=article_page["fullUrl"], article=article_page["title"], commentId=post["threadId"])
else: else:
message = _("[{author}]({author_url}) created a [reply](<{url}?threadId={threadId}) to a [comment](<{url}?commentId={commentId}&replyId={replyId}>) on [{article}](<{url}>)").format(author=author, author_url=author_url, url=article_page["fullUrl"], article=article_page["title"], commentId=post["threadId"], replyId=post["id"]) message = _("[{author}]({author_url}) created a [reply](<{url}?commentId={commentId}&replyId={replyId}>) to a [comment](<{url}?commentId={commentId}>) on [{article}](<{url}>)").format(author=author, author_url=author_url, url=article_page["fullUrl"], article=article_page["title"], commentId=post["threadId"], replyId=post["id"])
else: else:
logger.warning("No entry for {event} with params: {params}".format(event=post_type, params=post)) logger.warning("No entry for {event} with params: {params}".format(event=post_type, params=post))
if not settings["support"]: if not settings["support"]: