chore: Changed the word from Russian to English.

This commit is contained in:
Данил 2025-02-17 21:40:04 +03:00
parent 661e11c8d7
commit 7a246c8b92
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ async def currency(query: types.InlineQuery) -> None:
results = [(message, None, None)]
if chart:
results.insert(0, (f'{message}\n[График]({chart})', None, chart))
results.insert(0, (f'{message}\n[Chart]({chart})', None, chart))
await reply(result_id, results, query)

View file

@ -16,7 +16,7 @@ async def reply(result_id: str, args: list, query: types.InlineQuery) -> None:
article = types.InlineQueryResultArticle(
id=f"{result_id}_{idx}",
title=re.sub(r'\bГрафик\b|\[([^\]]+)\]\([^)]+\)', '', title, flags=re.IGNORECASE),
title=re.sub(r'\bChart\b|\[([^\]]+)\]\([^)]+\)', '', title, flags=re.IGNORECASE),
thumbnail_url=img,
description=description,
input_message_content=types.InputTextMessageContent(