WIP: Locale strings
This commit is contained in:
@@ -25,7 +25,10 @@ async def command_set_offset(app: PyroClient, message: Message):
|
||||
answer = await listen_message(app, message.chat.id, 300)
|
||||
|
||||
if answer is None or answer.text == "/cancel":
|
||||
await message.reply_text("Cancelled.", reply_markup=ReplyKeyboardRemove())
|
||||
await message.reply_text(
|
||||
app._("cancelled", "messages", locale=user.locale),
|
||||
reply_markup=ReplyKeyboardRemove(),
|
||||
)
|
||||
return
|
||||
|
||||
try:
|
||||
|
Reference in New Issue
Block a user