diff --git a/src/bot.py b/src/bot.py index 20d69e8..be89926 100644 --- a/src/bot.py +++ b/src/bot.py @@ -25,7 +25,7 @@ from src.irc_feed import AioIRCCat logging.config.dictConfig(settings["logging"]) logger = logging.getLogger("rcgcdb.bot") logger.debug("Current settings: {settings}".format(settings=settings)) -logger.info("RcGcDb v{} is starting up.".format("1.0")) +logger.info("RcGcDb v{} is starting up.".format("1.1")) if command_line_args.debug: logger.info("Debug mode is active!") diff --git a/src/formatters/rc.py b/src/formatters/rc.py index 9ee8a40..2e735ed 100644 --- a/src/formatters/rc.py +++ b/src/formatters/rc.py @@ -378,7 +378,7 @@ async def compact_formatter(action, change, parsed_comment, categories, recent_c wiki_name=change["logparams"].get("wiki", _("Unknown")), comment=parsed_comment) elif action == "managewiki/namespaces-delete": content = _( - "[{author}]({author_url}) deleted a namespace *{namespace_name}* on *{wiki_name}*{comment}").format( + "[{author}]({author_url}) deleted namespace *{namespace_name}* on *{wiki_name}*{comment}").format( author=author, author_url=author_url, namespace_name=change["logparams"].get("namespace", _("Unknown")), wiki_name=change["logparams"].get("wiki", _("Unknown")), comment=parsed_comment) @@ -1005,7 +1005,7 @@ async def embed_formatter(action, change, parsed_comment, categories, recent_cha embed["title"] = _("Locked a \"{wiki}\" wiki").format(wiki=change["logparams"].get("wiki", _("Unknown"))) link = create_article_path(change["title"], WIKI_ARTICLE_PATH) elif action == "managewiki/namespaces": - embed["title"] = _("Modified a \"{namespace_name}\" namespace").format(namespace_name=change["logparams"].get("namespace", _("Unknown"))) + embed["title"] = _("Modified \"{namespace_name}\" namespace").format(namespace_name=change["logparams"].get("namespace", _("Unknown"))) link = create_article_path(change["title"], WIKI_ARTICLE_PATH) embed.add_field(_('Wiki'), change["logparams"].get("wiki", _("Unknown"))) elif action == "managewiki/namespaces-delete":