From bbd7e1e0c18edc9f627a16ba5a484cdac5b31da8 Mon Sep 17 00:00:00 2001 From: Frisk Date: Mon, 18 Nov 2024 10:10:45 +0100 Subject: [PATCH] Fix i18n on messages coming for webhook removals --- src/wiki.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wiki.py b/src/wiki.py index e06e335..ebe1ee4 100644 --- a/src/wiki.py +++ b/src/wiki.py @@ -552,6 +552,7 @@ class Wiki: rc_targets_long_lived = self.rc_targets.copy() # Create a copy since those will be updated and we live in async world for combination, webhooks in rc_targets_long_lived.items(): lang = combination.lang + lang = langs[lang]["wiki"] try: # This is best effort scenario, but I don't plan to add re-tries to this dc_msg = DiscordMessage("compact", "custom/webhook_removal", webhooks, content=lang.gettext(