Fixed missing locale
This commit is contained in:
parent
59a12bd196
commit
13ca097909
@ -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
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user