i18n: use strings from Danbooru
This commit is contained in:
parent
8909210e2e
commit
bd39df5368
1 changed files with 3 additions and 2 deletions
|
@ -86,9 +86,10 @@ async def invalid_query(update: Update, query: str) -> None:
|
||||||
InlineQueryResultArticle(
|
InlineQueryResultArticle(
|
||||||
id=str(uuid4()),
|
id=str(uuid4()),
|
||||||
title=f"ID: {query}",
|
title=f"ID: {query}",
|
||||||
description="not found.",
|
description="Error",
|
||||||
input_message_content=InputTextMessageContent(
|
input_message_content=InputTextMessageContent(
|
||||||
f"ID: <code>{query}</code>\n<b>requested post does not exist.</b>",
|
f"ID: <code>{query}</code>\n"
|
||||||
|
f"That record was not found.",
|
||||||
parse_mode=ParseMode.HTML
|
parse_mode=ParseMode.HTML
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue