Fixed missing locale

This commit is contained in:
Profitroll 2023-09-06 22:26:44 +02:00
parent 59a12bd196
commit 13ca097909
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -46,7 +46,7 @@ async def command_upcoming(app: PyroClient, message: Message):
entries_text = "\n\n".join( 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 for entry in entries
] ]
) )