Slight locale changes
This commit is contained in:
@@ -10,4 +10,6 @@ from classes.pyroclient import PyroClient
|
||||
async def command_help(app: PyroClient, message: Message):
|
||||
user = await app.find_user(message.from_user)
|
||||
|
||||
await message.reply_text(app._("help", "messages", locale=user.locale))
|
||||
await message.reply_text(
|
||||
app._("help", "messages", locale=user.locale), disable_web_page_preview=True
|
||||
)
|
||||
|
@@ -27,7 +27,7 @@ async def command_setup(app: PyroClient, message: Message):
|
||||
)
|
||||
|
||||
await message.reply_text(
|
||||
"Let's begin configuration with the search for your location. Please, select whether you want to search among the locations near you or go straight to the search by location name.\n\nNote that the location you send to the bot will **NOT** be saved anywhere and is only used for location lookup in the database.",
|
||||
"Let's begin configuration with the search for your location.\n\nPlease, select whether you want to search among the locations near you or go straight to the search by location name.\n\nNote that the location you send will **NOT** be saved anywhere and is only used for location lookup in the database.",
|
||||
reply_markup=keyboard_type,
|
||||
)
|
||||
|
||||
@@ -66,6 +66,6 @@ async def command_setup(app: PyroClient, message: Message):
|
||||
user_time = datetime(1970, 1, 1, user.time_hour, user.time_minute)
|
||||
|
||||
await message.reply_text(
|
||||
f"You will now receive the notifications for **{location.name}** at {user_time.strftime(app._('time', 'formats', locale=user.locale))}, {user.offset} d. before collection.",
|
||||
f"✅ Finished! Your location is now **{location.name}**. You will receive the notifications about garbage collection {user.offset} d. in advance at {user_time.strftime(app._('time', 'formats', locale=user.locale))}.",
|
||||
reply_markup=ReplyKeyboardRemove(),
|
||||
)
|
||||
|
Reference in New Issue
Block a user