From 13ca09790968b0eac6f4068afb0e8179b788292d Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 6 Sep 2023 22:26:44 +0200 Subject: [PATCH] Fixed missing locale --- plugins/commands/upcoming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/upcoming.py b/plugins/commands/upcoming.py index d468b0d..163fd09 100644 --- a/plugins/commands/upcoming.py +++ b/plugins/commands/upcoming.py @@ -46,7 +46,7 @@ async def command_upcoming(app: PyroClient, message: Message): entries_text = "\n\n".join( [ - f"**{entry.date.strftime(app._('date', 'formats', locale=user.locale))}**:\n{app._(str(entry.garbage_type.value), 'garbage_types')}" + f"**{entry.date.strftime(app._('date', 'formats', locale=user.locale))}**:\n{app._(str(entry.garbage_type.value), 'garbage_types', locale=user.locale)}" for entry in entries ] )