diff --git a/docs/locale/en/LC_MESSAGES/api/bot.po b/docs/locale/en/LC_MESSAGES/api/bot.po index 0a7dbcc9..96a78215 100644 --- a/docs/locale/en/LC_MESSAGES/api/bot.po +++ b/docs/locale/en/LC_MESSAGES/api/bot.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-07 23:01+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/bot.rst:3 msgid "Bot" @@ -77,11 +77,23 @@ msgid "" "methods at runtime." msgstr "" +#: aiogram.client.bot.Bot.__init__:8 of +msgid "" +"Default disable_web_page_preview mode. If specified it will be propagated" +" into the API methods at runtime." +msgstr "" + +#: aiogram.client.bot.Bot.__init__:10 of +msgid "" +"Default protect_content mode. If specified it will be propagated into the" +" API methods at runtime." +msgstr "" + #: aiogram.client.bot.Bot.__init__ of msgid "Raises" msgstr "" -#: aiogram.client.bot.Bot.__init__:8 of +#: aiogram.client.bot.Bot.__init__:12 of msgid "When token has invalid format this exception will be raised" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/answer_inline_query.po b/docs/locale/en/LC_MESSAGES/api/methods/answer_inline_query.po index 22834a67..329640c8 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/answer_inline_query.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/answer_inline_query.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-23 00:47+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/methods/answer_inline_query.rst:3 msgid "answerInlineQuery" @@ -61,7 +61,7 @@ msgstr "" msgid "" "Pass :code:`True` if results may be cached on the server side only for " "the user that sent the query. By default, results may be returned to any " -"user who sends the same query" +"user who sends the same query." msgstr "" #: ../../docstring @@ -74,11 +74,10 @@ msgid "" msgstr "" #: ../../docstring -#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_text:1 of +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.button:1 of msgid "" -"If passed, clients will display a button with specified text that " -"switches the user to a private chat with the bot and sends the bot a " -"start message with the parameter *switch_pm_parameter*" +"A JSON-serialized object describing a button to be shown above inline " +"query results" msgstr "" #: ../../docstring @@ -91,6 +90,20 @@ msgid "" ":code:`0-9`, :code:`_` and :code:`-` are allowed." msgstr "" +#: ../../docstring +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_parameter:3 +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_text:3 of +msgid "https://core.telegram.org/bots/api-changelog#april-21-2023" +msgstr "" + +#: ../../docstring +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_text:1 of +msgid "" +"If passed, clients will display a button with specified text that " +"switches the user to a private chat with the bot and sends the bot a " +"start message with the parameter *switch_pm_parameter*" +msgstr "" + #: ../../api/methods/answer_inline_query.rst:14 msgid "Usage" msgstr "" @@ -140,3 +153,12 @@ msgstr "" #~ ":code:`0-9`, :code:`_` and :code:`-` are " #~ "allowed." #~ msgstr "" + +#~ msgid "" +#~ "Pass :code:`True` if results may be " +#~ "cached on the server side only for" +#~ " the user that sent the query. " +#~ "By default, results may be returned " +#~ "to any user who sends the same " +#~ "query" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/get_my_name.po b/docs/locale/en/LC_MESSAGES/api/methods/get_my_name.po new file mode 100644 index 00000000..0437b444 --- /dev/null +++ b/docs/locale/en/LC_MESSAGES/api/methods/get_my_name.po @@ -0,0 +1,68 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/methods/get_my_name.rst:3 +msgid "getMyName" +msgstr "" + +#: ../../api/methods/get_my_name.rst:5 +msgid "Returns: :obj:`BotName`" +msgstr "" + +#: aiogram.methods.get_my_name.GetMyName:1 of +msgid "" +"Use this method to get the current bot name for the given user language. " +"Returns :class:`aiogram.types.bot_name.BotName` on success." +msgstr "" + +#: aiogram.methods.get_my_name.GetMyName:3 of +msgid "Source: https://core.telegram.org/bots/api#getmyname" +msgstr "" + +#: ../../docstring aiogram.methods.get_my_name.GetMyName.language_code:1 of +msgid "A two-letter ISO 639-1 language code or an empty string" +msgstr "" + +#: ../../api/methods/get_my_name.rst:14 +msgid "Usage" +msgstr "" + +#: ../../api/methods/get_my_name.rst:17 +msgid "As bot method" +msgstr "" + +#: ../../api/methods/get_my_name.rst:25 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/get_my_name.rst:27 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/get_my_name.rst:29 +msgid ":code:`from aiogram.methods.get_my_name import GetMyName`" +msgstr "" + +#: ../../api/methods/get_my_name.rst:30 +msgid "alias: :code:`from aiogram.methods import GetMyName`" +msgstr "" + +#: ../../api/methods/get_my_name.rst:33 +msgid "With specific bot" +msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/get_updates.po b/docs/locale/en/LC_MESSAGES/api/methods/get_updates.po index e64a0df6..39a54f54 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/get_updates.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/get_updates.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/methods/get_updates.rst:3 msgid "getUpdates" @@ -59,7 +59,7 @@ msgid "" ":class:`aiogram.methods.get_updates.GetUpdates` is called with an " "*offset* higher than its *update_id*. The negative offset can be " "specified to retrieve updates starting from *-offset* update from the end" -" of the updates queue. All previous updates will forgotten." +" of the updates queue. All previous updates will be forgotten." msgstr "" #: ../../docstring aiogram.methods.get_updates.GetUpdates.limit:1 of @@ -113,3 +113,21 @@ msgstr "" #: ../../api/methods/get_updates.rst:33 msgid "With specific bot" msgstr "" + +#~ msgid "" +#~ "Identifier of the first update to " +#~ "be returned. Must be greater by " +#~ "one than the highest among the " +#~ "identifiers of previously received updates." +#~ " By default, updates starting with " +#~ "the earliest unconfirmed update are " +#~ "returned. An update is considered " +#~ "confirmed as soon as " +#~ ":class:`aiogram.methods.get_updates.GetUpdates` is called" +#~ " with an *offset* higher than its " +#~ "*update_id*. The negative offset can be" +#~ " specified to retrieve updates starting " +#~ "from *-offset* update from the end " +#~ "of the updates queue. All previous " +#~ "updates will forgotten." +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/set_my_name.po b/docs/locale/en/LC_MESSAGES/api/methods/set_my_name.po new file mode 100644 index 00000000..b5befc8d --- /dev/null +++ b/docs/locale/en/LC_MESSAGES/api/methods/set_my_name.po @@ -0,0 +1,78 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/methods/set_my_name.rst:3 +msgid "setMyName" +msgstr "" + +#: ../../api/methods/set_my_name.rst:5 +msgid "Returns: :obj:`bool`" +msgstr "" + +#: aiogram.methods.set_my_name.SetMyName:1 of +msgid "Use this method to change the bot's name. Returns :code:`True` on success." +msgstr "" + +#: aiogram.methods.set_my_name.SetMyName:3 of +msgid "Source: https://core.telegram.org/bots/api#setmyname" +msgstr "" + +#: ../../docstring aiogram.methods.set_my_name.SetMyName.name:1 of +msgid "" +"New bot name; 0-64 characters. Pass an empty string to remove the " +"dedicated name for the given language." +msgstr "" + +#: ../../docstring aiogram.methods.set_my_name.SetMyName.language_code:1 of +msgid "" +"A two-letter ISO 639-1 language code. If empty, the name will be shown to" +" all users for whose language there is no dedicated name." +msgstr "" + +#: ../../api/methods/set_my_name.rst:14 +msgid "Usage" +msgstr "" + +#: ../../api/methods/set_my_name.rst:17 +msgid "As bot method" +msgstr "" + +#: ../../api/methods/set_my_name.rst:25 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/set_my_name.rst:27 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/set_my_name.rst:29 +msgid ":code:`from aiogram.methods.set_my_name import SetMyName`" +msgstr "" + +#: ../../api/methods/set_my_name.rst:30 +msgid "alias: :code:`from aiogram.methods import SetMyName`" +msgstr "" + +#: ../../api/methods/set_my_name.rst:33 +msgid "With specific bot" +msgstr "" + +#: ../../api/methods/set_my_name.rst:40 +msgid "As reply into Webhook in handler" +msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/session/base.po b/docs/locale/en/LC_MESSAGES/api/session/base.po index 3587676e..413eafd2 100644 --- a/docs/locale/en/LC_MESSAGES/api/session/base.po +++ b/docs/locale/en/LC_MESSAGES/api/session/base.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/session/base.rst:3 msgid "Base" @@ -29,10 +29,6 @@ msgstr "" msgid "Check response status" msgstr "" -#: aiogram.client.session.base.BaseSession.clean_json:1 of -msgid "Clean data before send" -msgstr "" - #: aiogram.client.session.base.BaseSession.close:1 of msgid "Close client session" msgstr "" @@ -72,3 +68,6 @@ msgstr "" #: aiogram.client.session.base.BaseSession.stream_content:1 of msgid "Stream reader" msgstr "" + +#~ msgid "Clean data before send" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/bot_name.po b/docs/locale/en/LC_MESSAGES/api/types/bot_name.po new file mode 100644 index 00000000..64e89253 --- /dev/null +++ b/docs/locale/en/LC_MESSAGES/api/types/bot_name.po @@ -0,0 +1,34 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/types/bot_name.rst:3 +msgid "BotName" +msgstr "" + +#: aiogram.types.bot_name.BotName:1 of +msgid "This object represents the bot's name." +msgstr "" + +#: aiogram.types.bot_name.BotName:3 of +msgid "Source: https://core.telegram.org/bots/api#botname" +msgstr "" + +#: ../../docstring aiogram.types.bot_name.BotName.name:1 of +msgid "The bot's name" +msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/chat_member_updated.po b/docs/locale/en/LC_MESSAGES/api/types/chat_member_updated.po index a362821e..756e5b94 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/chat_member_updated.po +++ b/docs/locale/en/LC_MESSAGES/api/types/chat_member_updated.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/chat_member_updated.rst:3 msgid "ChatMemberUpdated" @@ -60,3 +60,11 @@ msgid "" "*Optional*. Chat invite link, which was used by the user to join the " "chat; for joining by invite link events only." msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_updated.ChatMemberUpdated.via_chat_folder_invite_link:1 +#: of +msgid "" +"*Optional*. True, if the user joined the chat via a chat folder invite " +"link" +msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/index.po b/docs/locale/en/LC_MESSAGES/api/types/index.po index 8ee34c1a..dd347157 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/index.po +++ b/docs/locale/en/LC_MESSAGES/api/types/index.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-30 22:28+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/index.rst:3 msgid "Types" @@ -29,33 +29,32 @@ msgstr "" msgid "Inline mode" msgstr "" -#: ../../api/types/index.rst:46 +#: ../../api/types/index.rst:47 msgid "Available types" msgstr "" -#: ../../api/types/index.rst:134 +#: ../../api/types/index.rst:143 msgid "Telegram Passport" msgstr "" -#: ../../api/types/index.rst:155 +#: ../../api/types/index.rst:164 msgid "Getting updates" msgstr "" -#: ../../api/types/index.rst:164 +#: ../../api/types/index.rst:173 msgid "Stickers" msgstr "" -#: ../../api/types/index.rst:174 +#: ../../api/types/index.rst:184 msgid "Payments" msgstr "" -#: ../../api/types/index.rst:189 -msgid "Games" -msgstr "" - #: ../../api/types/index.rst:199 -msgid "Internals" +msgid "Games" msgstr "" #~ msgid "Internal events" #~ msgstr "" + +#~ msgid "Internals" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/inline_keyboard_button.po b/docs/locale/en/LC_MESSAGES/api/types/inline_keyboard_button.po index 7e6bedbe..3db47e31 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/inline_keyboard_button.po +++ b/docs/locale/en/LC_MESSAGES/api/types/inline_keyboard_button.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/inline_keyboard_button.rst:3 msgid "InlineKeyboardButton" @@ -91,6 +91,15 @@ msgid "" "empty, in which case only the bot's username will be inserted." msgstr "" +#: ../../docstring +#: aiogram.types.inline_keyboard_button.InlineKeyboardButton.switch_inline_query_chosen_chat:1 +#: of +msgid "" +"*Optional*. If set, pressing the button will prompt the user to select " +"one of their chats of the specified type, open that chat and insert the " +"bot's username and the specified inline query in the input field" +msgstr "" + #: ../../docstring #: aiogram.types.inline_keyboard_button.InlineKeyboardButton.callback_game:1 of msgid "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/inline_query.po b/docs/locale/en/LC_MESSAGES/api/types/inline_query.po index 4146b049..f848f5d0 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/inline_query.po +++ b/docs/locale/en/LC_MESSAGES/api/types/inline_query.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-23 00:47+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/inline_query.rst:3 msgid "InlineQuery" @@ -103,7 +103,7 @@ msgstr "" msgid "" "Pass :code:`True` if results may be cached on the server side only for " "the user that sent the query. By default, results may be returned to any " -"user who sends the same query" +"user who sends the same query." msgstr "" #: aiogram.types.inline_query.InlineQuery.answer:15 of @@ -116,9 +116,8 @@ msgstr "" #: aiogram.types.inline_query.InlineQuery.answer:16 of msgid "" -"If passed, clients will display a button with specified text that " -"switches the user to a private chat with the bot and sends the bot a " -"start message with the parameter *switch_pm_parameter*" +"A JSON-serialized object describing a button to be shown above inline " +"query results" msgstr "" #: aiogram.types.inline_query.InlineQuery.answer:17 of @@ -129,12 +128,28 @@ msgid "" ":code:`0-9`, :code:`_` and :code:`-` are allowed." msgstr "" +#: aiogram.types.inline_query.InlineQuery.answer:18 of +msgid "" +"If passed, clients will display a button with specified text that " +"switches the user to a private chat with the bot and sends the bot a " +"start message with the parameter *switch_pm_parameter*" +msgstr "" + #: aiogram.types.inline_query.InlineQuery.answer of msgid "Returns" msgstr "" -#: aiogram.types.inline_query.InlineQuery.answer:18 of +#: aiogram.types.inline_query.InlineQuery.answer:19 of msgid "" "instance of method " ":class:`aiogram.methods.answer_inline_query.AnswerInlineQuery`" msgstr "" + +#~ msgid "" +#~ "Pass :code:`True` if results may be " +#~ "cached on the server side only for" +#~ " the user that sent the query. " +#~ "By default, results may be returned " +#~ "to any user who sends the same " +#~ "query" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/inline_query_results_button.po b/docs/locale/en/LC_MESSAGES/api/types/inline_query_results_button.po new file mode 100644 index 00000000..3dcf4f0f --- /dev/null +++ b/docs/locale/en/LC_MESSAGES/api/types/inline_query_results_button.po @@ -0,0 +1,59 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/types/inline_query_results_button.rst:3 +msgid "InlineQueryResultsButton" +msgstr "" + +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton:1 of +msgid "" +"This object represents a button to be shown above inline query results. " +"You **must** use exactly one of the optional fields." +msgstr "" + +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton:3 of +msgid "Source: https://core.telegram.org/bots/api#inlinequeryresultsbutton" +msgstr "" + +#: ../../docstring +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton.text:1 of +msgid "Label text on the button" +msgstr "" + +#: ../../docstring +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton.web_app:1 +#: of +msgid "" +"*Optional*. Description of the `Web App " +"`_ that will be launched when the" +" user presses the button. The Web App will be able to switch back to the " +"inline mode using the method `switchInlineQuery " +"`_ inside " +"the Web App." +msgstr "" + +#: ../../docstring +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton.start_parameter:1 +#: of +msgid "" +"*Optional*. `Deep-linking `_ parameter for the /start message sent to the bot when a user " +"presses the button. 1-64 characters, only :code:`A-Z`, :code:`a-z`, " +":code:`0-9`, :code:`_` and :code:`-` are allowed." +msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/input_sticker.po b/docs/locale/en/LC_MESSAGES/api/types/input_sticker.po index 3bbc8b33..fb2433c4 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/input_sticker.po +++ b/docs/locale/en/LC_MESSAGES/api/types/input_sticker.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/input_sticker.rst:3 msgid "InputSticker" @@ -33,9 +33,11 @@ msgstr "" msgid "" "The added sticker. Pass a *file_id* as a String to send a file that " "already exists on the Telegram servers, pass an HTTP URL as a String for " -"Telegram to get a file from the Internet, or upload a new one using " -"multipart/form-data. Animated and video stickers can't be uploaded via " -"HTTP URL. :ref:`More information on Sending Files » `" +"Telegram to get a file from the Internet, upload a new one using " +"multipart/form-data, or pass 'attach://' to upload a " +"new one using multipart/form-data under name. Animated" +" and video stickers can't be uploaded via HTTP URL. :ref:`More " +"information on Sending Files » `" msgstr "" #: ../../docstring aiogram.types.input_sticker.InputSticker.emoji_list:1 of @@ -54,3 +56,17 @@ msgid "" "length of up to 64 characters. For 'regular' and 'custom_emoji' stickers " "only." msgstr "" + +#~ msgid "" +#~ "The added sticker. Pass a *file_id* " +#~ "as a String to send a file " +#~ "that already exists on the Telegram " +#~ "servers, pass an HTTP URL as a " +#~ "String for Telegram to get a file" +#~ " from the Internet, or upload a " +#~ "new one using multipart/form-data. " +#~ "Animated and video stickers can't be " +#~ "uploaded via HTTP URL. :ref:`More " +#~ "information on Sending Files » " +#~ "`" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_chat.po b/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_chat.po index 69f4736f..2912a3f0 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_chat.po +++ b/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_chat.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/keyboard_button_request_chat.rst:3 msgid "KeyboardButtonRequestChat" @@ -25,7 +25,8 @@ msgstr "" msgid "" "This object defines the criteria used to request a suitable chat. The " "identifier of the selected chat will be shared with the bot when the " -"corresponding button is pressed." +"corresponding button is pressed. `More about requesting chats » " +"`_" msgstr "" #: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat:3 of @@ -102,3 +103,11 @@ msgid "" "*Optional*. Pass :code:`True` to request a chat with the bot as a member." " Otherwise, no additional restrictions are applied." msgstr "" + +#~ msgid "" +#~ "This object defines the criteria used" +#~ " to request a suitable chat. The " +#~ "identifier of the selected chat will " +#~ "be shared with the bot when the" +#~ " corresponding button is pressed." +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_user.po b/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_user.po index faf737b0..1e0bca68 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_user.po +++ b/docs/locale/en/LC_MESSAGES/api/types/keyboard_button_request_user.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/keyboard_button_request_user.rst:3 msgid "KeyboardButtonRequestUser" @@ -25,7 +25,8 @@ msgstr "" msgid "" "This object defines the criteria used to request a suitable user. The " "identifier of the selected user will be shared with the bot when the " -"corresponding button is pressed." +"corresponding button is pressed. `More about requesting users » " +"`_" msgstr "" #: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser:3 of @@ -58,3 +59,11 @@ msgid "" ":code:`False` to request a non-premium user. If not specified, no " "additional restrictions are applied." msgstr "" + +#~ msgid "" +#~ "This object defines the criteria used" +#~ " to request a suitable user. The " +#~ "identifier of the selected user will " +#~ "be shared with the bot when the" +#~ " corresponding button is pressed." +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/switch_inline_query_chosen_chat.po b/docs/locale/en/LC_MESSAGES/api/types/switch_inline_query_chosen_chat.po new file mode 100644 index 00000000..3b8f431d --- /dev/null +++ b/docs/locale/en/LC_MESSAGES/api/types/switch_inline_query_chosen_chat.po @@ -0,0 +1,66 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/types/switch_inline_query_chosen_chat.rst:3 +msgid "SwitchInlineQueryChosenChat" +msgstr "" + +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat:1 +#: of +msgid "" +"This object represents an inline button that switches the current user to" +" inline mode in a chosen chat, with an optional default inline query." +msgstr "" + +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat:3 +#: of +msgid "Source: https://core.telegram.org/bots/api#switchinlinequerychosenchat" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.query:1 +#: of +msgid "" +"*Optional*. The default inline query to be inserted in the input field. " +"If left empty, only the bot's username will be inserted" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_user_chats:1 +#: of +msgid "*Optional*. True, if private chats with users can be chosen" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_bot_chats:1 +#: of +msgid "*Optional*. True, if private chats with bots can be chosen" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_group_chats:1 +#: of +msgid "*Optional*. True, if group and supergroup chats can be chosen" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_channel_chats:1 +#: of +msgid "*Optional*. True, if channel chats can be chosen" +msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/write_access_allowed.po b/docs/locale/en/LC_MESSAGES/api/types/write_access_allowed.po index e2754dd2..4fee2157 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/write_access_allowed.po +++ b/docs/locale/en/LC_MESSAGES/api/types/write_access_allowed.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-30 22:28+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/write_access_allowed.rst:3 msgid "WriteAccessAllowed" @@ -23,11 +23,24 @@ msgstr "" #: aiogram.types.write_access_allowed.WriteAccessAllowed:1 of msgid "" -"This object represents a service message about a user allowing a bot " -"added to the attachment menu to write messages. Currently holds no " -"information." +"This object represents a service message about a user allowing a bot to " +"write messages after adding the bot to the attachment menu or launching a" +" Web App from a link." msgstr "" #: aiogram.types.write_access_allowed.WriteAccessAllowed:3 of msgid "Source: https://core.telegram.org/bots/api#writeaccessallowed" msgstr "" + +#: ../../docstring +#: aiogram.types.write_access_allowed.WriteAccessAllowed.web_app_name:1 of +msgid "*Optional*. Name of the Web App which was launched from a link" +msgstr "" + +#~ msgid "" +#~ "This object represents a service message" +#~ " about a user allowing a bot " +#~ "added to the attachment menu to " +#~ "write messages. Currently holds no " +#~ "information." +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/upload_file.po b/docs/locale/en/LC_MESSAGES/api/upload_file.po index 8e01cf9e..a7ff966a 100644 --- a/docs/locale/en/LC_MESSAGES/api/upload_file.po +++ b/docs/locale/en/LC_MESSAGES/api/upload_file.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/upload_file.rst:5 msgid "How to upload file?" @@ -37,7 +37,7 @@ msgstr "" #: ../../api/upload_file.rst:13 msgid "" "But if you need to upload a new file just use subclasses of `InputFile " -"`__." +"`__." msgstr "" #: ../../api/upload_file.rst:15 @@ -187,3 +187,9 @@ msgstr "" #~ "want's to sent it to the " #~ "Telegram):" #~ msgstr "" + +#~ msgid "" +#~ "But if you need to upload a " +#~ "new file just use subclasses of " +#~ "`InputFile `__." +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/changelog.po b/docs/locale/en/LC_MESSAGES/changelog.po index ec08c2fa..25d6a145 100644 --- a/docs/locale/en/LC_MESSAGES/changelog.po +++ b/docs/locale/en/LC_MESSAGES/changelog.po @@ -8,59 +8,240 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../../CHANGES.rst:3 msgid "Changelog" msgstr "" #: ../../[towncrier-fragments]:2 -msgid "\\ |release| [UNRELEASED DRAFT] (2023-03-11)" +msgid "\\ |release| [UNRELEASED DRAFT] (2023-07-02)" msgstr "" -#: ../../../CHANGES.rst:193 ../../../CHANGES.rst:243 ../../../CHANGES.rst:623 +#: ../../../CHANGES.rst:56 ../../../CHANGES.rst:156 ../../../CHANGES.rst:216 +#: ../../../CHANGES.rst:267 ../../../CHANGES.rst:340 ../../../CHANGES.rst:381 +#: ../../../CHANGES.rst:419 ../../../CHANGES.rst:467 ../../../CHANGES.rst:543 +#: ../../../CHANGES.rst:576 ../../../CHANGES.rst:607 #: ../../[towncrier-fragments]:5 -msgid "Improved Documentation" +msgid "Features" msgstr "" #: ../../[towncrier-fragments]:7 msgid "" +"If router does not support custom event it does not break and passes it " +"to included routers `#1147 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:9 +msgid "Added support for FSM in Forum topics." +msgstr "" + +#: ../../[towncrier-fragments]:11 +msgid "The strategy can be changed in dispatcher:" +msgstr "" + +#: ../../[towncrier-fragments]:24 +msgid "" +"If you have implemented you own storages you should extend record key " +"generation with new one attribute - `thread_id`" +msgstr "" + +#: ../../[towncrier-fragments]:26 +msgid "`#1161 `_" +msgstr "" + +#: ../../[towncrier-fragments]:27 +msgid "Improved CallbackData serialization." +msgstr "" + +#: ../../[towncrier-fragments]:29 +msgid "Minimized UUID (hex without dashes)" +msgstr "" + +#: ../../[towncrier-fragments]:30 +msgid "Replaced bool values with int (true=1, false=0)" +msgstr "" + +#: ../../[towncrier-fragments]:31 +msgid "`#1163 `_" +msgstr "" + +#: ../../[towncrier-fragments]:32 +msgid "" +"Added a tool to make text formatting flexible and easy. More details on " +"the :ref:`corresponding documentation page ` `#1172 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:35 +msgid "" +"Added X-Telegram-Bot-Api-Secret-Token header check `#1173 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:37 +msgid "" +"Added possibility to pass custom headers to URLInputFile object `#1191 " +"`_" +msgstr "" + +#: ../../../CHANGES.rst:118 ../../../CHANGES.rst:181 ../../../CHANGES.rst:230 +#: ../../../CHANGES.rst:291 ../../../CHANGES.rst:349 ../../../CHANGES.rst:395 +#: ../../../CHANGES.rst:443 ../../../CHANGES.rst:499 ../../../CHANGES.rst:584 +#: ../../../CHANGES.rst:616 ../../[towncrier-fragments]:42 +msgid "Bugfixes" +msgstr "" + +#: ../../[towncrier-fragments]:44 +msgid "" +"Change type of result in InlineQueryResult enum for " +"`InlineQueryResultCachedMpeg4Gif` and `InlineQueryResultMpeg4Gif` to more" +" correct according to documentation." +msgstr "" + +#: ../../[towncrier-fragments]:47 +msgid "" +"Change regexp for entities parsing to more correct " +"(`InlineQueryResultType.yml`). `#1146 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:49 +msgid "" +"Fixed signature of startup/shutdown events to include the " +"**dispatcher.workflow_data as the handler arguments. `#1155 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:51 +msgid "" +"Added missing FORUM_TOPIC_EDITED value to content_type property `#1160 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:53 +msgid "" +"Fixed compatibility with Python 3.8-3.9 `#1162 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:55 +msgid "" +"Fixed the markdown spoiler parser. `#1176 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:57 +msgid "" +"Fixed workflow data propagation `#1196 " +"`_" +msgstr "" + +#: ../../../CHANGES.rst:193 ../../../CHANGES.rst:243 ../../../CHANGES.rst:623 +#: ../../[towncrier-fragments]:62 +msgid "Improved Documentation" +msgstr "" + +#: ../../[towncrier-fragments]:64 +msgid "" "Changed small grammar typos for `upload_file` `#1133 " "`_" msgstr "" +#: ../../../CHANGES.rst:250 ../../[towncrier-fragments]:69 +msgid "Deprecations and Removals" +msgstr "" + +#: ../../[towncrier-fragments]:71 +msgid "" +"Removed text filter in due to is planned to remove this filter few " +"versions ago." +msgstr "" + +#: ../../[towncrier-fragments]:73 +msgid "" +"Use :code:`F.text` instead `#1170 " +"`_" +msgstr "" + #: ../../../CHANGES.rst:127 ../../../CHANGES.rst:204 ../../../CHANGES.rst:257 #: ../../../CHANGES.rst:308 ../../../CHANGES.rst:362 ../../../CHANGES.rst:404 #: ../../../CHANGES.rst:450 ../../../CHANGES.rst:510 ../../../CHANGES.rst:531 #: ../../../CHANGES.rst:554 ../../../CHANGES.rst:591 ../../../CHANGES.rst:630 -#: ../../[towncrier-fragments]:12 +#: ../../[towncrier-fragments]:78 msgid "Misc" msgstr "" -#: ../../[towncrier-fragments]:14 +#: ../../[towncrier-fragments]:80 msgid "" "Added full support of `Bot API 6.6 `_" msgstr "" -#: ../../[towncrier-fragments]:18 +#: ../../[towncrier-fragments]:84 msgid "" "Note that this issue has breaking changes described in in the Bot API " "changelog, this changes is not breaking in the API but breaking inside " "aiogram because Beta stage is not finished." msgstr "" -#: ../../[towncrier-fragments]:21 +#: ../../[towncrier-fragments]:87 msgid "`#1139 `_" msgstr "" +#: ../../[towncrier-fragments]:88 +msgid "" +"Added global defaults `disable_web_page_preview` and `protect_content` in" +" addition to `parse_mode` to the Bot instance, reworked internal request " +"builder mechanism. `#1142 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:91 +msgid "" +"Removed bot parameters from storages `#1144 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:93 +msgid "" +"Added full support of `Bot API 6.7 `_" +msgstr "" + +#: ../../[towncrier-fragments]:97 +msgid "" +"Note that arguments *switch_pm_parameter* and *switch_pm_text* was " +"deprecated and should be changed to *button* argument as described in API" +" docs." +msgstr "" + +#: ../../[towncrier-fragments]:99 +msgid "`#1168 `_" +msgstr "" + +#: ../../[towncrier-fragments]:100 +msgid "Updated `Pydantic to V2 `_" +msgstr "" + +#: ../../[towncrier-fragments]:104 +msgid "" +"Be careful, not all libraries is already updated to using V2 (for example" +" at the time, when this warning was added FastAPI still not support V2)" +msgstr "" + +#: ../../[towncrier-fragments]:106 +msgid "`#1202 `_" +msgstr "" + #: ../../../CHANGES.rst:20 msgid "3.0.0b7 (2023-02-18)" msgstr "" @@ -83,13 +264,6 @@ msgstr "" msgid "But if you change it like this it should works as well:" msgstr "" -#: ../../../CHANGES.rst:56 ../../../CHANGES.rst:156 ../../../CHANGES.rst:216 -#: ../../../CHANGES.rst:267 ../../../CHANGES.rst:340 ../../../CHANGES.rst:381 -#: ../../../CHANGES.rst:419 ../../../CHANGES.rst:467 ../../../CHANGES.rst:543 -#: ../../../CHANGES.rst:576 ../../../CHANGES.rst:607 -msgid "Features" -msgstr "" - #: ../../../CHANGES.rst:58 msgid "Added missing shortcuts, new enums, reworked old stuff" msgstr "" @@ -189,13 +363,6 @@ msgid "" "`_" msgstr "" -#: ../../../CHANGES.rst:118 ../../../CHANGES.rst:181 ../../../CHANGES.rst:230 -#: ../../../CHANGES.rst:291 ../../../CHANGES.rst:349 ../../../CHANGES.rst:395 -#: ../../../CHANGES.rst:443 ../../../CHANGES.rst:499 ../../../CHANGES.rst:584 -#: ../../../CHANGES.rst:616 -msgid "Bugfixes" -msgstr "" - #: ../../../CHANGES.rst:120 msgid "" "Check status code when downloading file `#816 " @@ -459,10 +626,6 @@ msgid "" "`_" msgstr "" -#: ../../../CHANGES.rst:250 -msgid "Deprecations and Removals" -msgstr "" - #: ../../../CHANGES.rst:252 msgid "" "Removed filters factory as described in corresponding issue. `#942 " @@ -2618,3 +2781,6 @@ msgstr "" #~ ":class:`aiogram.enums.topic_icon_color.TopicIconColor`, " #~ ":class:`aiogram.enums.update_type.UpdateType`," #~ msgstr "" + +#~ msgid "\\ |release| [UNRELEASED DRAFT] (2023-03-11)" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po b/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po index 271fd8e1..f8669452 100644 --- a/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po +++ b/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-02 22:41+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../dispatcher/finite_state_machine/storages.rst:3 msgid "Storages" @@ -79,10 +79,6 @@ msgstr "" msgid "TTL for data records" msgstr "" -#: aiogram.fsm.storage.redis.RedisStorage.__init__:5 of -msgid "Custom arguments for Redis lock" -msgstr "" - #: aiogram.fsm.storage.redis.RedisStorage.from_url:1 of msgid "" "Create an instance of :class:`RedisStorage` with specifying the " @@ -169,18 +165,10 @@ msgstr "" #: aiogram.fsm.storage.base.BaseStorage.set_data:3 #: aiogram.fsm.storage.base.BaseStorage.set_state:3 #: aiogram.fsm.storage.base.BaseStorage.update_data:3 of -msgid "instance of the current bot" -msgstr "" - -#: aiogram.fsm.storage.base.BaseStorage.get_data:4 -#: aiogram.fsm.storage.base.BaseStorage.get_state:4 -#: aiogram.fsm.storage.base.BaseStorage.set_data:4 -#: aiogram.fsm.storage.base.BaseStorage.set_state:4 -#: aiogram.fsm.storage.base.BaseStorage.update_data:4 of msgid "storage key" msgstr "" -#: aiogram.fsm.storage.base.BaseStorage.set_state:5 of +#: aiogram.fsm.storage.base.BaseStorage.set_state:4 of msgid "new state" msgstr "" @@ -188,7 +176,7 @@ msgstr "" msgid "Get key state" msgstr "" -#: aiogram.fsm.storage.base.BaseStorage.get_state:5 of +#: aiogram.fsm.storage.base.BaseStorage.get_state:4 of msgid "current state" msgstr "" @@ -196,8 +184,8 @@ msgstr "" msgid "Write data (replace)" msgstr "" -#: aiogram.fsm.storage.base.BaseStorage.set_data:5 -#: aiogram.fsm.storage.base.BaseStorage.update_data:6 of +#: aiogram.fsm.storage.base.BaseStorage.set_data:4 +#: aiogram.fsm.storage.base.BaseStorage.update_data:5 of msgid "new data" msgstr "" @@ -205,7 +193,7 @@ msgstr "" msgid "Get current data for key" msgstr "" -#: aiogram.fsm.storage.base.BaseStorage.get_data:5 of +#: aiogram.fsm.storage.base.BaseStorage.get_data:4 of msgid "current data" msgstr "" @@ -213,7 +201,7 @@ msgstr "" msgid "Update date in the storage for key (like dict.update)" msgstr "" -#: aiogram.fsm.storage.base.BaseStorage.update_data:5 of +#: aiogram.fsm.storage.base.BaseStorage.update_data:4 of msgid "partial data" msgstr "" @@ -229,3 +217,9 @@ msgstr "" #~ msgid "see :code:`aioredis` docs" #~ msgstr "" + +#~ msgid "Custom arguments for Redis lock" +#~ msgstr "" + +#~ msgid "instance of the current bot" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/utils/formatting.po b/docs/locale/en/LC_MESSAGES/utils/formatting.po new file mode 100644 index 00000000..49966ca8 --- /dev/null +++ b/docs/locale/en/LC_MESSAGES/utils/formatting.po @@ -0,0 +1,439 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../utils/formatting.rst:5 +msgid "Formatting" +msgstr "" + +#: ../../utils/formatting.rst:7 +msgid "Make your message formatting flexible and simple" +msgstr "" + +#: ../../utils/formatting.rst:9 +msgid "" +"This instrument works on top of Message entities instead of using HTML or" +" Markdown markups, you can easily construct your message and sent it to " +"the Telegram without the need to remember tag parity (opening and " +"closing) or escaping user input." +msgstr "" + +#: ../../utils/formatting.rst:14 +msgid "Usage" +msgstr "" + +#: ../../utils/formatting.rst:17 +msgid "Basic scenario" +msgstr "" + +#: ../../utils/formatting.rst:19 +msgid "Construct your message and send it to the Telegram." +msgstr "" + +#: ../../utils/formatting.rst:26 +msgid "Is the same as the next example, but without usage markup" +msgstr "" + +#: ../../utils/formatting.rst:35 +msgid "" +"Literally when you execute :code:`as_kwargs` method the Text object is " +"converted into text :code:`Hello, Alex!` with entities list " +":code:`[MessageEntity(type='bold', offset=7, length=4)]` and passed into " +"dict which can be used as :code:`**kwargs` in API call." +msgstr "" + +#: ../../utils/formatting.rst:39 +msgid "" +"The complete list of elements is listed `on this page below <#available-" +"elements>`_." +msgstr "" + +#: ../../utils/formatting.rst:42 +msgid "Advanced scenario" +msgstr "" + +#: ../../utils/formatting.rst:44 +msgid "" +"On top of base elements can be implemented content rendering structures, " +"so, out of the box aiogram has a few already implemented functions that " +"helps you to format your messages:" +msgstr "" + +#: aiogram.utils.formatting.as_line:1 of +msgid "Wrap multiple nodes into line with :code:`\\\\n` at the end of line." +msgstr "" + +#: aiogram.utils.formatting.Text.as_kwargs +#: aiogram.utils.formatting.as_key_value aiogram.utils.formatting.as_line +#: aiogram.utils.formatting.as_list aiogram.utils.formatting.as_marked_list +#: aiogram.utils.formatting.as_marked_section +#: aiogram.utils.formatting.as_numbered_list +#: aiogram.utils.formatting.as_numbered_section +#: aiogram.utils.formatting.as_section of +msgid "Parameters" +msgstr "" + +#: aiogram.utils.formatting.as_line:3 of +msgid "Text or Any" +msgstr "" + +#: aiogram.utils.formatting.as_line:4 of +msgid "ending of the line, by default is :code:`\\\\n`" +msgstr "" + +#: aiogram.utils.formatting.Text.as_kwargs aiogram.utils.formatting.Text.render +#: aiogram.utils.formatting.as_key_value aiogram.utils.formatting.as_line +#: aiogram.utils.formatting.as_list aiogram.utils.formatting.as_marked_list +#: aiogram.utils.formatting.as_marked_section +#: aiogram.utils.formatting.as_numbered_list +#: aiogram.utils.formatting.as_numbered_section +#: aiogram.utils.formatting.as_section of +msgid "Returns" +msgstr "" + +#: aiogram.utils.formatting.as_key_value:5 aiogram.utils.formatting.as_line:5 +#: aiogram.utils.formatting.as_marked_list:5 +#: aiogram.utils.formatting.as_numbered_list:6 +#: aiogram.utils.formatting.as_section:5 of +msgid "Text" +msgstr "" + +#: aiogram.utils.formatting.as_list:1 of +msgid "Wrap each element to separated lines" +msgstr "" + +#: aiogram.utils.formatting.as_marked_list:1 of +msgid "Wrap elements as marked list" +msgstr "" + +#: aiogram.utils.formatting.as_marked_list:4 of +msgid "line marker, by default is :code:`- `" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_list:1 of +msgid "Wrap elements as numbered list" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_list:4 of +msgid "initial number, by default 1" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_list:5 of +msgid "number format, by default :code:`{}. `" +msgstr "" + +#: aiogram.utils.formatting.as_section:1 of +msgid "Wrap elements as simple section, section has title and body" +msgstr "" + +#: aiogram.utils.formatting.as_marked_section:1 of +msgid "Wrap elements as section with marked list" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_section:1 of +msgid "Wrap elements as section with numbered list" +msgstr "" + +#: aiogram.utils.formatting.as_key_value:1 of +msgid "Wrap elements pair as key-value line. (:code:`{key}: {value}`)" +msgstr "" + +#: ../../utils/formatting.rst:64 +msgid "and lets complete them all:" +msgstr "" + +#: ../../utils/formatting.rst:92 +msgid "Will be rendered into:" +msgstr "" + +#: ../../utils/formatting.rst:94 +msgid "**Success:**" +msgstr "" + +#: ../../utils/formatting.rst:96 +msgid "✅ Test 1" +msgstr "" + +#: ../../utils/formatting.rst:98 +msgid "✅ Test 3" +msgstr "" + +#: ../../utils/formatting.rst:100 +msgid "✅ Test 4" +msgstr "" + +#: ../../utils/formatting.rst:102 +msgid "**Failed:**" +msgstr "" + +#: ../../utils/formatting.rst:104 +msgid "❌ Test 2" +msgstr "" + +#: ../../utils/formatting.rst:106 +msgid "**Summary:**" +msgstr "" + +#: ../../utils/formatting.rst:108 +msgid "**Total**: 4" +msgstr "" + +#: ../../utils/formatting.rst:110 +msgid "**Success**: 3" +msgstr "" + +#: ../../utils/formatting.rst:112 +msgid "**Failed**: 1" +msgstr "" + +#: ../../utils/formatting.rst:114 +msgid "#test" +msgstr "" + +#: ../../utils/formatting.rst:117 +msgid "Or as HTML:" +msgstr "" + +#: ../../utils/formatting.rst:137 +msgid "Available methods" +msgstr "" + +#: aiogram.utils.formatting.Text:1 of +msgid "Bases: :py:class:`~typing.Iterable`\\ [:py:obj:`~typing.Any`]" +msgstr "" + +#: aiogram.utils.formatting.Text:1 of +msgid "Simple text element" +msgstr "" + +#: aiogram.utils.formatting.Text.render:1 of +msgid "Render elements tree as text with entities list" +msgstr "" + +#: aiogram.utils.formatting.Text.as_kwargs:1 of +msgid "" +"Render elements tree as keyword arguments for usage in the API call, for " +"example:" +msgstr "" + +#: aiogram.utils.formatting.Text.as_html:1 of +msgid "Render elements tree as HTML markup" +msgstr "" + +#: aiogram.utils.formatting.Text.as_markdown:1 of +msgid "Render elements tree as MarkdownV2 markup" +msgstr "" + +#: ../../utils/formatting.rst:147 +msgid "Available elements" +msgstr "" + +#: aiogram.utils.formatting.Bold:1 aiogram.utils.formatting.BotCommand:1 +#: aiogram.utils.formatting.CashTag:1 aiogram.utils.formatting.Code:1 +#: aiogram.utils.formatting.CustomEmoji:1 aiogram.utils.formatting.Email:1 +#: aiogram.utils.formatting.HashTag:1 aiogram.utils.formatting.Italic:1 +#: aiogram.utils.formatting.PhoneNumber:1 aiogram.utils.formatting.Pre:1 +#: aiogram.utils.formatting.Spoiler:1 aiogram.utils.formatting.Strikethrough:1 +#: aiogram.utils.formatting.TextLink:1 aiogram.utils.formatting.TextMention:1 +#: aiogram.utils.formatting.Underline:1 aiogram.utils.formatting.Url:1 of +msgid "Bases: :py:class:`~aiogram.utils.formatting.Text`" +msgstr "" + +#: aiogram.utils.formatting.HashTag:1 of +msgid "Hashtag element." +msgstr "" + +#: aiogram.utils.formatting.HashTag:5 of +msgid "The value should always start with '#' symbol" +msgstr "" + +#: aiogram.utils.formatting.HashTag:7 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.HASHTAG`" +msgstr "" + +#: aiogram.utils.formatting.CashTag:1 of +msgid "Cashtag element." +msgstr "" + +#: aiogram.utils.formatting.CashTag:5 of +msgid "The value should always start with '$' symbol" +msgstr "" + +#: aiogram.utils.formatting.CashTag:7 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.CASHTAG`" +msgstr "" + +#: aiogram.utils.formatting.BotCommand:1 of +msgid "Bot command element." +msgstr "" + +#: aiogram.utils.formatting.BotCommand:5 of +msgid "The value should always start with '/' symbol" +msgstr "" + +#: aiogram.utils.formatting.BotCommand:7 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.BOT_COMMAND`" +msgstr "" + +#: aiogram.utils.formatting.Url:1 of +msgid "Url element." +msgstr "" + +#: aiogram.utils.formatting.Url:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.URL`" +msgstr "" + +#: aiogram.utils.formatting.Email:1 of +msgid "Email element." +msgstr "" + +#: aiogram.utils.formatting.Email:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.EMAIL`" +msgstr "" + +#: aiogram.utils.formatting.PhoneNumber:1 of +msgid "Phone number element." +msgstr "" + +#: aiogram.utils.formatting.PhoneNumber:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.PHONE_NUMBER`" +msgstr "" + +#: aiogram.utils.formatting.Bold:1 of +msgid "Bold element." +msgstr "" + +#: aiogram.utils.formatting.Bold:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.BOLD`" +msgstr "" + +#: aiogram.utils.formatting.Italic:1 of +msgid "Italic element." +msgstr "" + +#: aiogram.utils.formatting.Italic:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.ITALIC`" +msgstr "" + +#: aiogram.utils.formatting.Underline:1 of +msgid "Underline element." +msgstr "" + +#: aiogram.utils.formatting.Underline:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.UNDERLINE`" +msgstr "" + +#: aiogram.utils.formatting.Strikethrough:1 of +msgid "Strikethrough element." +msgstr "" + +#: aiogram.utils.formatting.Strikethrough:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.STRIKETHROUGH`" +msgstr "" + +#: aiogram.utils.formatting.Spoiler:1 of +msgid "Spoiler element." +msgstr "" + +#: aiogram.utils.formatting.Spoiler:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.SPOILER`" +msgstr "" + +#: aiogram.utils.formatting.Code:1 of +msgid "Code element." +msgstr "" + +#: aiogram.utils.formatting.Code:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.CODE`" +msgstr "" + +#: aiogram.utils.formatting.Pre:1 of +msgid "Pre element." +msgstr "" + +#: aiogram.utils.formatting.Pre:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.PRE`" +msgstr "" + +#: aiogram.utils.formatting.TextLink:1 of +msgid "Text link element." +msgstr "" + +#: aiogram.utils.formatting.TextLink:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.TEXT_LINK`" +msgstr "" + +#: aiogram.utils.formatting.TextMention:1 of +msgid "Text mention element." +msgstr "" + +#: aiogram.utils.formatting.TextMention:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.TEXT_MENTION`" +msgstr "" + +#: aiogram.utils.formatting.CustomEmoji:1 of +msgid "Custom emoji element." +msgstr "" + +#: aiogram.utils.formatting.CustomEmoji:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.CUSTOM_EMOJI`" +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/bot.po b/docs/locale/uk_UA/LC_MESSAGES/api/bot.po index 0a7dbcc9..96a78215 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/bot.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/bot.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-07 23:01+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/bot.rst:3 msgid "Bot" @@ -77,11 +77,23 @@ msgid "" "methods at runtime." msgstr "" +#: aiogram.client.bot.Bot.__init__:8 of +msgid "" +"Default disable_web_page_preview mode. If specified it will be propagated" +" into the API methods at runtime." +msgstr "" + +#: aiogram.client.bot.Bot.__init__:10 of +msgid "" +"Default protect_content mode. If specified it will be propagated into the" +" API methods at runtime." +msgstr "" + #: aiogram.client.bot.Bot.__init__ of msgid "Raises" msgstr "" -#: aiogram.client.bot.Bot.__init__:8 of +#: aiogram.client.bot.Bot.__init__:12 of msgid "When token has invalid format this exception will be raised" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/answer_inline_query.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/answer_inline_query.po index 22834a67..329640c8 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/answer_inline_query.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/answer_inline_query.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-23 00:47+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/methods/answer_inline_query.rst:3 msgid "answerInlineQuery" @@ -61,7 +61,7 @@ msgstr "" msgid "" "Pass :code:`True` if results may be cached on the server side only for " "the user that sent the query. By default, results may be returned to any " -"user who sends the same query" +"user who sends the same query." msgstr "" #: ../../docstring @@ -74,11 +74,10 @@ msgid "" msgstr "" #: ../../docstring -#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_text:1 of +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.button:1 of msgid "" -"If passed, clients will display a button with specified text that " -"switches the user to a private chat with the bot and sends the bot a " -"start message with the parameter *switch_pm_parameter*" +"A JSON-serialized object describing a button to be shown above inline " +"query results" msgstr "" #: ../../docstring @@ -91,6 +90,20 @@ msgid "" ":code:`0-9`, :code:`_` and :code:`-` are allowed." msgstr "" +#: ../../docstring +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_parameter:3 +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_text:3 of +msgid "https://core.telegram.org/bots/api-changelog#april-21-2023" +msgstr "" + +#: ../../docstring +#: aiogram.methods.answer_inline_query.AnswerInlineQuery.switch_pm_text:1 of +msgid "" +"If passed, clients will display a button with specified text that " +"switches the user to a private chat with the bot and sends the bot a " +"start message with the parameter *switch_pm_parameter*" +msgstr "" + #: ../../api/methods/answer_inline_query.rst:14 msgid "Usage" msgstr "" @@ -140,3 +153,12 @@ msgstr "" #~ ":code:`0-9`, :code:`_` and :code:`-` are " #~ "allowed." #~ msgstr "" + +#~ msgid "" +#~ "Pass :code:`True` if results may be " +#~ "cached on the server side only for" +#~ " the user that sent the query. " +#~ "By default, results may be returned " +#~ "to any user who sends the same " +#~ "query" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_my_name.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_my_name.po new file mode 100644 index 00000000..0437b444 --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_my_name.po @@ -0,0 +1,68 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/methods/get_my_name.rst:3 +msgid "getMyName" +msgstr "" + +#: ../../api/methods/get_my_name.rst:5 +msgid "Returns: :obj:`BotName`" +msgstr "" + +#: aiogram.methods.get_my_name.GetMyName:1 of +msgid "" +"Use this method to get the current bot name for the given user language. " +"Returns :class:`aiogram.types.bot_name.BotName` on success." +msgstr "" + +#: aiogram.methods.get_my_name.GetMyName:3 of +msgid "Source: https://core.telegram.org/bots/api#getmyname" +msgstr "" + +#: ../../docstring aiogram.methods.get_my_name.GetMyName.language_code:1 of +msgid "A two-letter ISO 639-1 language code or an empty string" +msgstr "" + +#: ../../api/methods/get_my_name.rst:14 +msgid "Usage" +msgstr "" + +#: ../../api/methods/get_my_name.rst:17 +msgid "As bot method" +msgstr "" + +#: ../../api/methods/get_my_name.rst:25 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/get_my_name.rst:27 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/get_my_name.rst:29 +msgid ":code:`from aiogram.methods.get_my_name import GetMyName`" +msgstr "" + +#: ../../api/methods/get_my_name.rst:30 +msgid "alias: :code:`from aiogram.methods import GetMyName`" +msgstr "" + +#: ../../api/methods/get_my_name.rst:33 +msgid "With specific bot" +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_updates.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_updates.po index e64a0df6..39a54f54 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_updates.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_updates.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/methods/get_updates.rst:3 msgid "getUpdates" @@ -59,7 +59,7 @@ msgid "" ":class:`aiogram.methods.get_updates.GetUpdates` is called with an " "*offset* higher than its *update_id*. The negative offset can be " "specified to retrieve updates starting from *-offset* update from the end" -" of the updates queue. All previous updates will forgotten." +" of the updates queue. All previous updates will be forgotten." msgstr "" #: ../../docstring aiogram.methods.get_updates.GetUpdates.limit:1 of @@ -113,3 +113,21 @@ msgstr "" #: ../../api/methods/get_updates.rst:33 msgid "With specific bot" msgstr "" + +#~ msgid "" +#~ "Identifier of the first update to " +#~ "be returned. Must be greater by " +#~ "one than the highest among the " +#~ "identifiers of previously received updates." +#~ " By default, updates starting with " +#~ "the earliest unconfirmed update are " +#~ "returned. An update is considered " +#~ "confirmed as soon as " +#~ ":class:`aiogram.methods.get_updates.GetUpdates` is called" +#~ " with an *offset* higher than its " +#~ "*update_id*. The negative offset can be" +#~ " specified to retrieve updates starting " +#~ "from *-offset* update from the end " +#~ "of the updates queue. All previous " +#~ "updates will forgotten." +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/set_my_name.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/set_my_name.po new file mode 100644 index 00000000..b5befc8d --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/set_my_name.po @@ -0,0 +1,78 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/methods/set_my_name.rst:3 +msgid "setMyName" +msgstr "" + +#: ../../api/methods/set_my_name.rst:5 +msgid "Returns: :obj:`bool`" +msgstr "" + +#: aiogram.methods.set_my_name.SetMyName:1 of +msgid "Use this method to change the bot's name. Returns :code:`True` on success." +msgstr "" + +#: aiogram.methods.set_my_name.SetMyName:3 of +msgid "Source: https://core.telegram.org/bots/api#setmyname" +msgstr "" + +#: ../../docstring aiogram.methods.set_my_name.SetMyName.name:1 of +msgid "" +"New bot name; 0-64 characters. Pass an empty string to remove the " +"dedicated name for the given language." +msgstr "" + +#: ../../docstring aiogram.methods.set_my_name.SetMyName.language_code:1 of +msgid "" +"A two-letter ISO 639-1 language code. If empty, the name will be shown to" +" all users for whose language there is no dedicated name." +msgstr "" + +#: ../../api/methods/set_my_name.rst:14 +msgid "Usage" +msgstr "" + +#: ../../api/methods/set_my_name.rst:17 +msgid "As bot method" +msgstr "" + +#: ../../api/methods/set_my_name.rst:25 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/set_my_name.rst:27 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/set_my_name.rst:29 +msgid ":code:`from aiogram.methods.set_my_name import SetMyName`" +msgstr "" + +#: ../../api/methods/set_my_name.rst:30 +msgid "alias: :code:`from aiogram.methods import SetMyName`" +msgstr "" + +#: ../../api/methods/set_my_name.rst:33 +msgid "With specific bot" +msgstr "" + +#: ../../api/methods/set_my_name.rst:40 +msgid "As reply into Webhook in handler" +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/session/base.po b/docs/locale/uk_UA/LC_MESSAGES/api/session/base.po index 3587676e..413eafd2 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/session/base.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/session/base.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/session/base.rst:3 msgid "Base" @@ -29,10 +29,6 @@ msgstr "" msgid "Check response status" msgstr "" -#: aiogram.client.session.base.BaseSession.clean_json:1 of -msgid "Clean data before send" -msgstr "" - #: aiogram.client.session.base.BaseSession.close:1 of msgid "Close client session" msgstr "" @@ -72,3 +68,6 @@ msgstr "" #: aiogram.client.session.base.BaseSession.stream_content:1 of msgid "Stream reader" msgstr "" + +#~ msgid "Clean data before send" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/bot_name.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/bot_name.po new file mode 100644 index 00000000..64e89253 --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/bot_name.po @@ -0,0 +1,34 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/types/bot_name.rst:3 +msgid "BotName" +msgstr "" + +#: aiogram.types.bot_name.BotName:1 of +msgid "This object represents the bot's name." +msgstr "" + +#: aiogram.types.bot_name.BotName:3 of +msgid "Source: https://core.telegram.org/bots/api#botname" +msgstr "" + +#: ../../docstring aiogram.types.bot_name.BotName.name:1 of +msgid "The bot's name" +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_updated.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_updated.po index a362821e..756e5b94 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_updated.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_updated.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/chat_member_updated.rst:3 msgid "ChatMemberUpdated" @@ -60,3 +60,11 @@ msgid "" "*Optional*. Chat invite link, which was used by the user to join the " "chat; for joining by invite link events only." msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_updated.ChatMemberUpdated.via_chat_folder_invite_link:1 +#: of +msgid "" +"*Optional*. True, if the user joined the chat via a chat folder invite " +"link" +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/index.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/index.po index 8ee34c1a..dd347157 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/index.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/index.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-30 22:28+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/index.rst:3 msgid "Types" @@ -29,33 +29,32 @@ msgstr "" msgid "Inline mode" msgstr "" -#: ../../api/types/index.rst:46 +#: ../../api/types/index.rst:47 msgid "Available types" msgstr "" -#: ../../api/types/index.rst:134 +#: ../../api/types/index.rst:143 msgid "Telegram Passport" msgstr "" -#: ../../api/types/index.rst:155 +#: ../../api/types/index.rst:164 msgid "Getting updates" msgstr "" -#: ../../api/types/index.rst:164 +#: ../../api/types/index.rst:173 msgid "Stickers" msgstr "" -#: ../../api/types/index.rst:174 +#: ../../api/types/index.rst:184 msgid "Payments" msgstr "" -#: ../../api/types/index.rst:189 -msgid "Games" -msgstr "" - #: ../../api/types/index.rst:199 -msgid "Internals" +msgid "Games" msgstr "" #~ msgid "Internal events" #~ msgstr "" + +#~ msgid "Internals" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_keyboard_button.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_keyboard_button.po index 7e6bedbe..3db47e31 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_keyboard_button.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_keyboard_button.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/inline_keyboard_button.rst:3 msgid "InlineKeyboardButton" @@ -91,6 +91,15 @@ msgid "" "empty, in which case only the bot's username will be inserted." msgstr "" +#: ../../docstring +#: aiogram.types.inline_keyboard_button.InlineKeyboardButton.switch_inline_query_chosen_chat:1 +#: of +msgid "" +"*Optional*. If set, pressing the button will prompt the user to select " +"one of their chats of the specified type, open that chat and insert the " +"bot's username and the specified inline query in the input field" +msgstr "" + #: ../../docstring #: aiogram.types.inline_keyboard_button.InlineKeyboardButton.callback_game:1 of msgid "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_query.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_query.po index 4146b049..f848f5d0 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_query.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_query.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-23 00:47+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/inline_query.rst:3 msgid "InlineQuery" @@ -103,7 +103,7 @@ msgstr "" msgid "" "Pass :code:`True` if results may be cached on the server side only for " "the user that sent the query. By default, results may be returned to any " -"user who sends the same query" +"user who sends the same query." msgstr "" #: aiogram.types.inline_query.InlineQuery.answer:15 of @@ -116,9 +116,8 @@ msgstr "" #: aiogram.types.inline_query.InlineQuery.answer:16 of msgid "" -"If passed, clients will display a button with specified text that " -"switches the user to a private chat with the bot and sends the bot a " -"start message with the parameter *switch_pm_parameter*" +"A JSON-serialized object describing a button to be shown above inline " +"query results" msgstr "" #: aiogram.types.inline_query.InlineQuery.answer:17 of @@ -129,12 +128,28 @@ msgid "" ":code:`0-9`, :code:`_` and :code:`-` are allowed." msgstr "" +#: aiogram.types.inline_query.InlineQuery.answer:18 of +msgid "" +"If passed, clients will display a button with specified text that " +"switches the user to a private chat with the bot and sends the bot a " +"start message with the parameter *switch_pm_parameter*" +msgstr "" + #: aiogram.types.inline_query.InlineQuery.answer of msgid "Returns" msgstr "" -#: aiogram.types.inline_query.InlineQuery.answer:18 of +#: aiogram.types.inline_query.InlineQuery.answer:19 of msgid "" "instance of method " ":class:`aiogram.methods.answer_inline_query.AnswerInlineQuery`" msgstr "" + +#~ msgid "" +#~ "Pass :code:`True` if results may be " +#~ "cached on the server side only for" +#~ " the user that sent the query. " +#~ "By default, results may be returned " +#~ "to any user who sends the same " +#~ "query" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_query_results_button.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_query_results_button.po new file mode 100644 index 00000000..3dcf4f0f --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/inline_query_results_button.po @@ -0,0 +1,59 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/types/inline_query_results_button.rst:3 +msgid "InlineQueryResultsButton" +msgstr "" + +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton:1 of +msgid "" +"This object represents a button to be shown above inline query results. " +"You **must** use exactly one of the optional fields." +msgstr "" + +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton:3 of +msgid "Source: https://core.telegram.org/bots/api#inlinequeryresultsbutton" +msgstr "" + +#: ../../docstring +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton.text:1 of +msgid "Label text on the button" +msgstr "" + +#: ../../docstring +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton.web_app:1 +#: of +msgid "" +"*Optional*. Description of the `Web App " +"`_ that will be launched when the" +" user presses the button. The Web App will be able to switch back to the " +"inline mode using the method `switchInlineQuery " +"`_ inside " +"the Web App." +msgstr "" + +#: ../../docstring +#: aiogram.types.inline_query_results_button.InlineQueryResultsButton.start_parameter:1 +#: of +msgid "" +"*Optional*. `Deep-linking `_ parameter for the /start message sent to the bot when a user " +"presses the button. 1-64 characters, only :code:`A-Z`, :code:`a-z`, " +":code:`0-9`, :code:`_` and :code:`-` are allowed." +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/input_sticker.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/input_sticker.po index 3bbc8b33..fb2433c4 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/input_sticker.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/input_sticker.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/input_sticker.rst:3 msgid "InputSticker" @@ -33,9 +33,11 @@ msgstr "" msgid "" "The added sticker. Pass a *file_id* as a String to send a file that " "already exists on the Telegram servers, pass an HTTP URL as a String for " -"Telegram to get a file from the Internet, or upload a new one using " -"multipart/form-data. Animated and video stickers can't be uploaded via " -"HTTP URL. :ref:`More information on Sending Files » `" +"Telegram to get a file from the Internet, upload a new one using " +"multipart/form-data, or pass 'attach://' to upload a " +"new one using multipart/form-data under name. Animated" +" and video stickers can't be uploaded via HTTP URL. :ref:`More " +"information on Sending Files » `" msgstr "" #: ../../docstring aiogram.types.input_sticker.InputSticker.emoji_list:1 of @@ -54,3 +56,17 @@ msgid "" "length of up to 64 characters. For 'regular' and 'custom_emoji' stickers " "only." msgstr "" + +#~ msgid "" +#~ "The added sticker. Pass a *file_id* " +#~ "as a String to send a file " +#~ "that already exists on the Telegram " +#~ "servers, pass an HTTP URL as a " +#~ "String for Telegram to get a file" +#~ " from the Internet, or upload a " +#~ "new one using multipart/form-data. " +#~ "Animated and video stickers can't be " +#~ "uploaded via HTTP URL. :ref:`More " +#~ "information on Sending Files » " +#~ "`" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po index 392f3b2e..2912a3f0 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/keyboard_button_request_chat.rst:3 msgid "KeyboardButtonRequestChat" @@ -25,7 +25,8 @@ msgstr "" msgid "" "This object defines the criteria used to request a suitable chat. The " "identifier of the selected chat will be shared with the bot when the " -"corresponding button is pressed." +"corresponding button is pressed. `More about requesting chats » " +"`_" msgstr "" #: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat:3 of @@ -103,3 +104,10 @@ msgid "" " Otherwise, no additional restrictions are applied." msgstr "" +#~ msgid "" +#~ "This object defines the criteria used" +#~ " to request a suitable chat. The " +#~ "identifier of the selected chat will " +#~ "be shared with the bot when the" +#~ " corresponding button is pressed." +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po index a6b317ec..1e0bca68 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.9.1\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/keyboard_button_request_user.rst:3 msgid "KeyboardButtonRequestUser" @@ -25,7 +25,8 @@ msgstr "" msgid "" "This object defines the criteria used to request a suitable user. The " "identifier of the selected user will be shared with the bot when the " -"corresponding button is pressed." +"corresponding button is pressed. `More about requesting users » " +"`_" msgstr "" #: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser:3 of @@ -59,3 +60,10 @@ msgid "" "additional restrictions are applied." msgstr "" +#~ msgid "" +#~ "This object defines the criteria used" +#~ " to request a suitable user. The " +#~ "identifier of the selected user will " +#~ "be shared with the bot when the" +#~ " corresponding button is pressed." +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/switch_inline_query_chosen_chat.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/switch_inline_query_chosen_chat.po new file mode 100644 index 00000000..3b8f431d --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/switch_inline_query_chosen_chat.po @@ -0,0 +1,66 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../api/types/switch_inline_query_chosen_chat.rst:3 +msgid "SwitchInlineQueryChosenChat" +msgstr "" + +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat:1 +#: of +msgid "" +"This object represents an inline button that switches the current user to" +" inline mode in a chosen chat, with an optional default inline query." +msgstr "" + +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat:3 +#: of +msgid "Source: https://core.telegram.org/bots/api#switchinlinequerychosenchat" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.query:1 +#: of +msgid "" +"*Optional*. The default inline query to be inserted in the input field. " +"If left empty, only the bot's username will be inserted" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_user_chats:1 +#: of +msgid "*Optional*. True, if private chats with users can be chosen" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_bot_chats:1 +#: of +msgid "*Optional*. True, if private chats with bots can be chosen" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_group_chats:1 +#: of +msgid "*Optional*. True, if group and supergroup chats can be chosen" +msgstr "" + +#: ../../docstring +#: aiogram.types.switch_inline_query_chosen_chat.SwitchInlineQueryChosenChat.allow_channel_chats:1 +#: of +msgid "*Optional*. True, if channel chats can be chosen" +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/write_access_allowed.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/write_access_allowed.po index e2754dd2..4fee2157 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/write_access_allowed.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/write_access_allowed.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-30 22:28+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/types/write_access_allowed.rst:3 msgid "WriteAccessAllowed" @@ -23,11 +23,24 @@ msgstr "" #: aiogram.types.write_access_allowed.WriteAccessAllowed:1 of msgid "" -"This object represents a service message about a user allowing a bot " -"added to the attachment menu to write messages. Currently holds no " -"information." +"This object represents a service message about a user allowing a bot to " +"write messages after adding the bot to the attachment menu or launching a" +" Web App from a link." msgstr "" #: aiogram.types.write_access_allowed.WriteAccessAllowed:3 of msgid "Source: https://core.telegram.org/bots/api#writeaccessallowed" msgstr "" + +#: ../../docstring +#: aiogram.types.write_access_allowed.WriteAccessAllowed.web_app_name:1 of +msgid "*Optional*. Name of the Web App which was launched from a link" +msgstr "" + +#~ msgid "" +#~ "This object represents a service message" +#~ " about a user allowing a bot " +#~ "added to the attachment menu to " +#~ "write messages. Currently holds no " +#~ "information." +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/upload_file.po b/docs/locale/uk_UA/LC_MESSAGES/api/upload_file.po index 0506fffc..693fc1ea 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/upload_file.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/upload_file.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: 2022-12-13 21:40+0200\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../api/upload_file.rst:5 msgid "How to upload file?" @@ -42,7 +42,7 @@ msgstr "" #, fuzzy msgid "" "But if you need to upload a new file just use subclasses of `InputFile " -"`__." +"`__." msgstr "" "Але якщо вам потрібно завантажити новий файл, просто використовуйте " "підкласи `InputFile `__." diff --git a/docs/locale/uk_UA/LC_MESSAGES/changelog.po b/docs/locale/uk_UA/LC_MESSAGES/changelog.po index eb5c4ffc..8c342278 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/changelog.po +++ b/docs/locale/uk_UA/LC_MESSAGES/changelog.po @@ -8,59 +8,240 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-11 01:52+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.11.0\n" +"Generated-By: Babel 2.12.1\n" #: ../../../CHANGES.rst:3 msgid "Changelog" msgstr "" #: ../../[towncrier-fragments]:2 -msgid "\\ |release| [UNRELEASED DRAFT] (2023-03-11)" +msgid "\\ |release| [UNRELEASED DRAFT] (2023-07-02)" msgstr "" -#: ../../../CHANGES.rst:193 ../../../CHANGES.rst:243 ../../../CHANGES.rst:623 +#: ../../../CHANGES.rst:56 ../../../CHANGES.rst:156 ../../../CHANGES.rst:216 +#: ../../../CHANGES.rst:267 ../../../CHANGES.rst:340 ../../../CHANGES.rst:381 +#: ../../../CHANGES.rst:419 ../../../CHANGES.rst:467 ../../../CHANGES.rst:543 +#: ../../../CHANGES.rst:576 ../../../CHANGES.rst:607 #: ../../[towncrier-fragments]:5 -msgid "Improved Documentation" +msgid "Features" msgstr "" #: ../../[towncrier-fragments]:7 msgid "" +"If router does not support custom event it does not break and passes it " +"to included routers `#1147 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:9 +msgid "Added support for FSM in Forum topics." +msgstr "" + +#: ../../[towncrier-fragments]:11 +msgid "The strategy can be changed in dispatcher:" +msgstr "" + +#: ../../[towncrier-fragments]:24 +msgid "" +"If you have implemented you own storages you should extend record key " +"generation with new one attribute - `thread_id`" +msgstr "" + +#: ../../[towncrier-fragments]:26 +msgid "`#1161 `_" +msgstr "" + +#: ../../[towncrier-fragments]:27 +msgid "Improved CallbackData serialization." +msgstr "" + +#: ../../[towncrier-fragments]:29 +msgid "Minimized UUID (hex without dashes)" +msgstr "" + +#: ../../[towncrier-fragments]:30 +msgid "Replaced bool values with int (true=1, false=0)" +msgstr "" + +#: ../../[towncrier-fragments]:31 +msgid "`#1163 `_" +msgstr "" + +#: ../../[towncrier-fragments]:32 +msgid "" +"Added a tool to make text formatting flexible and easy. More details on " +"the :ref:`corresponding documentation page ` `#1172 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:35 +msgid "" +"Added X-Telegram-Bot-Api-Secret-Token header check `#1173 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:37 +msgid "" +"Added possibility to pass custom headers to URLInputFile object `#1191 " +"`_" +msgstr "" + +#: ../../../CHANGES.rst:118 ../../../CHANGES.rst:181 ../../../CHANGES.rst:230 +#: ../../../CHANGES.rst:291 ../../../CHANGES.rst:349 ../../../CHANGES.rst:395 +#: ../../../CHANGES.rst:443 ../../../CHANGES.rst:499 ../../../CHANGES.rst:584 +#: ../../../CHANGES.rst:616 ../../[towncrier-fragments]:42 +msgid "Bugfixes" +msgstr "" + +#: ../../[towncrier-fragments]:44 +msgid "" +"Change type of result in InlineQueryResult enum for " +"`InlineQueryResultCachedMpeg4Gif` and `InlineQueryResultMpeg4Gif` to more" +" correct according to documentation." +msgstr "" + +#: ../../[towncrier-fragments]:47 +msgid "" +"Change regexp for entities parsing to more correct " +"(`InlineQueryResultType.yml`). `#1146 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:49 +msgid "" +"Fixed signature of startup/shutdown events to include the " +"**dispatcher.workflow_data as the handler arguments. `#1155 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:51 +msgid "" +"Added missing FORUM_TOPIC_EDITED value to content_type property `#1160 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:53 +msgid "" +"Fixed compatibility with Python 3.8-3.9 `#1162 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:55 +msgid "" +"Fixed the markdown spoiler parser. `#1176 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:57 +msgid "" +"Fixed workflow data propagation `#1196 " +"`_" +msgstr "" + +#: ../../../CHANGES.rst:193 ../../../CHANGES.rst:243 ../../../CHANGES.rst:623 +#: ../../[towncrier-fragments]:62 +msgid "Improved Documentation" +msgstr "" + +#: ../../[towncrier-fragments]:64 +msgid "" "Changed small grammar typos for `upload_file` `#1133 " "`_" msgstr "" +#: ../../../CHANGES.rst:250 ../../[towncrier-fragments]:69 +msgid "Deprecations and Removals" +msgstr "" + +#: ../../[towncrier-fragments]:71 +msgid "" +"Removed text filter in due to is planned to remove this filter few " +"versions ago." +msgstr "" + +#: ../../[towncrier-fragments]:73 +msgid "" +"Use :code:`F.text` instead `#1170 " +"`_" +msgstr "" + #: ../../../CHANGES.rst:127 ../../../CHANGES.rst:204 ../../../CHANGES.rst:257 #: ../../../CHANGES.rst:308 ../../../CHANGES.rst:362 ../../../CHANGES.rst:404 #: ../../../CHANGES.rst:450 ../../../CHANGES.rst:510 ../../../CHANGES.rst:531 #: ../../../CHANGES.rst:554 ../../../CHANGES.rst:591 ../../../CHANGES.rst:630 -#: ../../[towncrier-fragments]:12 +#: ../../[towncrier-fragments]:78 msgid "Misc" msgstr "" -#: ../../[towncrier-fragments]:14 +#: ../../[towncrier-fragments]:80 msgid "" "Added full support of `Bot API 6.6 `_" msgstr "" -#: ../../[towncrier-fragments]:18 +#: ../../[towncrier-fragments]:84 msgid "" "Note that this issue has breaking changes described in in the Bot API " "changelog, this changes is not breaking in the API but breaking inside " "aiogram because Beta stage is not finished." msgstr "" -#: ../../[towncrier-fragments]:21 +#: ../../[towncrier-fragments]:87 msgid "`#1139 `_" msgstr "" +#: ../../[towncrier-fragments]:88 +msgid "" +"Added global defaults `disable_web_page_preview` and `protect_content` in" +" addition to `parse_mode` to the Bot instance, reworked internal request " +"builder mechanism. `#1142 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:91 +msgid "" +"Removed bot parameters from storages `#1144 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:93 +msgid "" +"Added full support of `Bot API 6.7 `_" +msgstr "" + +#: ../../[towncrier-fragments]:97 +msgid "" +"Note that arguments *switch_pm_parameter* and *switch_pm_text* was " +"deprecated and should be changed to *button* argument as described in API" +" docs." +msgstr "" + +#: ../../[towncrier-fragments]:99 +msgid "`#1168 `_" +msgstr "" + +#: ../../[towncrier-fragments]:100 +msgid "Updated `Pydantic to V2 `_" +msgstr "" + +#: ../../[towncrier-fragments]:104 +msgid "" +"Be careful, not all libraries is already updated to using V2 (for example" +" at the time, when this warning was added FastAPI still not support V2)" +msgstr "" + +#: ../../[towncrier-fragments]:106 +msgid "`#1202 `_" +msgstr "" + #: ../../../CHANGES.rst:20 msgid "3.0.0b7 (2023-02-18)" msgstr "" @@ -83,13 +264,6 @@ msgstr "" msgid "But if you change it like this it should works as well:" msgstr "" -#: ../../../CHANGES.rst:56 ../../../CHANGES.rst:156 ../../../CHANGES.rst:216 -#: ../../../CHANGES.rst:267 ../../../CHANGES.rst:340 ../../../CHANGES.rst:381 -#: ../../../CHANGES.rst:419 ../../../CHANGES.rst:467 ../../../CHANGES.rst:543 -#: ../../../CHANGES.rst:576 ../../../CHANGES.rst:607 -msgid "Features" -msgstr "" - #: ../../../CHANGES.rst:58 msgid "Added missing shortcuts, new enums, reworked old stuff" msgstr "" @@ -189,13 +363,6 @@ msgid "" "`_" msgstr "" -#: ../../../CHANGES.rst:118 ../../../CHANGES.rst:181 ../../../CHANGES.rst:230 -#: ../../../CHANGES.rst:291 ../../../CHANGES.rst:349 ../../../CHANGES.rst:395 -#: ../../../CHANGES.rst:443 ../../../CHANGES.rst:499 ../../../CHANGES.rst:584 -#: ../../../CHANGES.rst:616 -msgid "Bugfixes" -msgstr "" - #: ../../../CHANGES.rst:120 msgid "" "Check status code when downloading file `#816 " @@ -459,10 +626,6 @@ msgid "" "`_" msgstr "" -#: ../../../CHANGES.rst:250 -msgid "Deprecations and Removals" -msgstr "" - #: ../../../CHANGES.rst:252 msgid "" "Removed filters factory as described in corresponding issue. `#942 " @@ -2621,3 +2784,6 @@ msgstr "" #~ ":class:`aiogram.enums.topic_icon_color.TopicIconColor`, " #~ ":class:`aiogram.enums.update_type.UpdateType`," #~ msgstr "" + +#~ msgid "\\ |release| [UNRELEASED DRAFT] (2023-03-11)" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/dispatcher/filters/text.po b/docs/locale/uk_UA/LC_MESSAGES/dispatcher/filters/text.po new file mode 100644 index 00000000..b5b6c91d --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/dispatcher/filters/text.po @@ -0,0 +1,130 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-07 23:01+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../dispatcher/filters/text.rst:3 +msgid "Text" +msgstr "" + +#: aiogram.filters.text.Text:1 of +msgid "" +"Is useful for filtering text :class:`aiogram.types.message.Message`, any " +":class:`aiogram.types.callback_query.CallbackQuery` with `data`, " +":class:`aiogram.types.inline_query.InlineQuery` or " +":class:`aiogram.types.poll.Poll` question." +msgstr "" + +#: aiogram.filters.text.Text:7 of +msgid "" +"Only one of `text`, `contains`, `startswith` or `endswith` argument can " +"be used at once. Any of that arguments can be string, list, set or tuple " +"of strings." +msgstr "" + +#: aiogram.filters.text.Text:12 of +msgid "" +"use :ref:`magic-filter `. For example do :pycode:`F.text " +"== \"text\"` instead" +msgstr "" + +#: ../../dispatcher/filters/text.rst:10 +msgid "Can be imported:" +msgstr "" + +#: ../../dispatcher/filters/text.rst:12 +msgid ":code:`from aiogram.filters.text import Text`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:13 +msgid ":code:`from aiogram.filters import Text`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:16 +msgid "Usage" +msgstr "" + +#: ../../dispatcher/filters/text.rst:18 +msgid "" +"Text equals with the specified value: :code:`Text(text=\"text\") # value" +" == 'text'`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:19 +msgid "" +"Text starts with the specified value: :code:`Text(startswith=\"text\") #" +" value.startswith('text')`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:20 +msgid "" +"Text ends with the specified value: :code:`Text(endswith=\"text\") # " +"value.endswith('text')`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:21 +msgid "" +"Text contains the specified value: :code:`Text(contains=\"text\") # " +"value in 'text'`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:22 +msgid "" +"Any of previous listed filters can be list, set or tuple of strings " +"that's mean any of listed value should be " +"equals/startswith/endswith/contains: :code:`Text(text=[\"text\", " +"\"spam\"])`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:23 +msgid "" +"Ignore case can be combined with any previous listed filter: " +":code:`Text(text=\"Text\", ignore_case=True) # value.lower() == " +"'text'.lower()`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:26 +msgid "Allowed handlers" +msgstr "" + +#: ../../dispatcher/filters/text.rst:28 +msgid "Allowed update types for this filter:" +msgstr "" + +#: ../../dispatcher/filters/text.rst:30 +msgid ":code:`message`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:31 +msgid ":code:`edited_message`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:32 +msgid ":code:`channel_post`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:33 +msgid ":code:`edited_channel_post`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:34 +msgid ":code:`inline_query`" +msgstr "" + +#: ../../dispatcher/filters/text.rst:35 +msgid ":code:`callback_query`" +msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po b/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po index 48a899f8..dd8a43f3 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po +++ b/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-02 22:41+0200\n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" "PO-Revision-Date: 2022-10-20 22:00+0300\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../dispatcher/finite_state_machine/storages.rst:3 msgid "Storages" @@ -83,10 +83,6 @@ msgstr "" msgid "TTL for data records" msgstr "" -#: aiogram.fsm.storage.redis.RedisStorage.__init__:5 of -msgid "Custom arguments for Redis lock" -msgstr "" - #: aiogram.fsm.storage.redis.RedisStorage.from_url:1 of msgid "" "Create an instance of :class:`RedisStorage` with specifying the " @@ -175,18 +171,10 @@ msgstr "Установити стан для вказаного ключа" #: aiogram.fsm.storage.base.BaseStorage.set_data:3 #: aiogram.fsm.storage.base.BaseStorage.set_state:3 #: aiogram.fsm.storage.base.BaseStorage.update_data:3 of -msgid "instance of the current bot" -msgstr "екземпляр поточного бота" - -#: aiogram.fsm.storage.base.BaseStorage.get_data:4 -#: aiogram.fsm.storage.base.BaseStorage.get_state:4 -#: aiogram.fsm.storage.base.BaseStorage.set_data:4 -#: aiogram.fsm.storage.base.BaseStorage.set_state:4 -#: aiogram.fsm.storage.base.BaseStorage.update_data:4 of msgid "storage key" msgstr "ключ сховища" -#: aiogram.fsm.storage.base.BaseStorage.set_state:5 of +#: aiogram.fsm.storage.base.BaseStorage.set_state:4 of msgid "new state" msgstr "новий стан" @@ -194,7 +182,7 @@ msgstr "новий стан" msgid "Get key state" msgstr "Отримання стану ключа" -#: aiogram.fsm.storage.base.BaseStorage.get_state:5 of +#: aiogram.fsm.storage.base.BaseStorage.get_state:4 of msgid "current state" msgstr "поточний стан" @@ -202,8 +190,8 @@ msgstr "поточний стан" msgid "Write data (replace)" msgstr "Запис даних (заміна)" -#: aiogram.fsm.storage.base.BaseStorage.set_data:5 -#: aiogram.fsm.storage.base.BaseStorage.update_data:6 of +#: aiogram.fsm.storage.base.BaseStorage.set_data:4 +#: aiogram.fsm.storage.base.BaseStorage.update_data:5 of msgid "new data" msgstr "нові дані" @@ -211,7 +199,7 @@ msgstr "нові дані" msgid "Get current data for key" msgstr "Отримання поточних даних для ключа" -#: aiogram.fsm.storage.base.BaseStorage.get_data:5 of +#: aiogram.fsm.storage.base.BaseStorage.get_data:4 of msgid "current data" msgstr "нинішні дані" @@ -219,10 +207,16 @@ msgstr "нинішні дані" msgid "Update date in the storage for key (like dict.update)" msgstr "Дата оновлення в сховищі для ключа (наприклад, dict.update)" -#: aiogram.fsm.storage.base.BaseStorage.update_data:5 of +#: aiogram.fsm.storage.base.BaseStorage.update_data:4 of msgid "partial data" msgstr "неповні дані" #: aiogram.fsm.storage.base.BaseStorage.close:1 of msgid "Close storage (database connection, file or etc.)" msgstr "Закриття сховища (підключення до бази даних, файлу тощо)" + +#~ msgid "Custom arguments for Redis lock" +#~ msgstr "" + +#~ msgid "instance of the current bot" +#~ msgstr "екземпляр поточного бота" diff --git a/docs/locale/uk_UA/LC_MESSAGES/utils/formatting.po b/docs/locale/uk_UA/LC_MESSAGES/utils/formatting.po new file mode 100644 index 00000000..49966ca8 --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/utils/formatting.po @@ -0,0 +1,439 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-02 15:10+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: ../../utils/formatting.rst:5 +msgid "Formatting" +msgstr "" + +#: ../../utils/formatting.rst:7 +msgid "Make your message formatting flexible and simple" +msgstr "" + +#: ../../utils/formatting.rst:9 +msgid "" +"This instrument works on top of Message entities instead of using HTML or" +" Markdown markups, you can easily construct your message and sent it to " +"the Telegram without the need to remember tag parity (opening and " +"closing) or escaping user input." +msgstr "" + +#: ../../utils/formatting.rst:14 +msgid "Usage" +msgstr "" + +#: ../../utils/formatting.rst:17 +msgid "Basic scenario" +msgstr "" + +#: ../../utils/formatting.rst:19 +msgid "Construct your message and send it to the Telegram." +msgstr "" + +#: ../../utils/formatting.rst:26 +msgid "Is the same as the next example, but without usage markup" +msgstr "" + +#: ../../utils/formatting.rst:35 +msgid "" +"Literally when you execute :code:`as_kwargs` method the Text object is " +"converted into text :code:`Hello, Alex!` with entities list " +":code:`[MessageEntity(type='bold', offset=7, length=4)]` and passed into " +"dict which can be used as :code:`**kwargs` in API call." +msgstr "" + +#: ../../utils/formatting.rst:39 +msgid "" +"The complete list of elements is listed `on this page below <#available-" +"elements>`_." +msgstr "" + +#: ../../utils/formatting.rst:42 +msgid "Advanced scenario" +msgstr "" + +#: ../../utils/formatting.rst:44 +msgid "" +"On top of base elements can be implemented content rendering structures, " +"so, out of the box aiogram has a few already implemented functions that " +"helps you to format your messages:" +msgstr "" + +#: aiogram.utils.formatting.as_line:1 of +msgid "Wrap multiple nodes into line with :code:`\\\\n` at the end of line." +msgstr "" + +#: aiogram.utils.formatting.Text.as_kwargs +#: aiogram.utils.formatting.as_key_value aiogram.utils.formatting.as_line +#: aiogram.utils.formatting.as_list aiogram.utils.formatting.as_marked_list +#: aiogram.utils.formatting.as_marked_section +#: aiogram.utils.formatting.as_numbered_list +#: aiogram.utils.formatting.as_numbered_section +#: aiogram.utils.formatting.as_section of +msgid "Parameters" +msgstr "" + +#: aiogram.utils.formatting.as_line:3 of +msgid "Text or Any" +msgstr "" + +#: aiogram.utils.formatting.as_line:4 of +msgid "ending of the line, by default is :code:`\\\\n`" +msgstr "" + +#: aiogram.utils.formatting.Text.as_kwargs aiogram.utils.formatting.Text.render +#: aiogram.utils.formatting.as_key_value aiogram.utils.formatting.as_line +#: aiogram.utils.formatting.as_list aiogram.utils.formatting.as_marked_list +#: aiogram.utils.formatting.as_marked_section +#: aiogram.utils.formatting.as_numbered_list +#: aiogram.utils.formatting.as_numbered_section +#: aiogram.utils.formatting.as_section of +msgid "Returns" +msgstr "" + +#: aiogram.utils.formatting.as_key_value:5 aiogram.utils.formatting.as_line:5 +#: aiogram.utils.formatting.as_marked_list:5 +#: aiogram.utils.formatting.as_numbered_list:6 +#: aiogram.utils.formatting.as_section:5 of +msgid "Text" +msgstr "" + +#: aiogram.utils.formatting.as_list:1 of +msgid "Wrap each element to separated lines" +msgstr "" + +#: aiogram.utils.formatting.as_marked_list:1 of +msgid "Wrap elements as marked list" +msgstr "" + +#: aiogram.utils.formatting.as_marked_list:4 of +msgid "line marker, by default is :code:`- `" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_list:1 of +msgid "Wrap elements as numbered list" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_list:4 of +msgid "initial number, by default 1" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_list:5 of +msgid "number format, by default :code:`{}. `" +msgstr "" + +#: aiogram.utils.formatting.as_section:1 of +msgid "Wrap elements as simple section, section has title and body" +msgstr "" + +#: aiogram.utils.formatting.as_marked_section:1 of +msgid "Wrap elements as section with marked list" +msgstr "" + +#: aiogram.utils.formatting.as_numbered_section:1 of +msgid "Wrap elements as section with numbered list" +msgstr "" + +#: aiogram.utils.formatting.as_key_value:1 of +msgid "Wrap elements pair as key-value line. (:code:`{key}: {value}`)" +msgstr "" + +#: ../../utils/formatting.rst:64 +msgid "and lets complete them all:" +msgstr "" + +#: ../../utils/formatting.rst:92 +msgid "Will be rendered into:" +msgstr "" + +#: ../../utils/formatting.rst:94 +msgid "**Success:**" +msgstr "" + +#: ../../utils/formatting.rst:96 +msgid "✅ Test 1" +msgstr "" + +#: ../../utils/formatting.rst:98 +msgid "✅ Test 3" +msgstr "" + +#: ../../utils/formatting.rst:100 +msgid "✅ Test 4" +msgstr "" + +#: ../../utils/formatting.rst:102 +msgid "**Failed:**" +msgstr "" + +#: ../../utils/formatting.rst:104 +msgid "❌ Test 2" +msgstr "" + +#: ../../utils/formatting.rst:106 +msgid "**Summary:**" +msgstr "" + +#: ../../utils/formatting.rst:108 +msgid "**Total**: 4" +msgstr "" + +#: ../../utils/formatting.rst:110 +msgid "**Success**: 3" +msgstr "" + +#: ../../utils/formatting.rst:112 +msgid "**Failed**: 1" +msgstr "" + +#: ../../utils/formatting.rst:114 +msgid "#test" +msgstr "" + +#: ../../utils/formatting.rst:117 +msgid "Or as HTML:" +msgstr "" + +#: ../../utils/formatting.rst:137 +msgid "Available methods" +msgstr "" + +#: aiogram.utils.formatting.Text:1 of +msgid "Bases: :py:class:`~typing.Iterable`\\ [:py:obj:`~typing.Any`]" +msgstr "" + +#: aiogram.utils.formatting.Text:1 of +msgid "Simple text element" +msgstr "" + +#: aiogram.utils.formatting.Text.render:1 of +msgid "Render elements tree as text with entities list" +msgstr "" + +#: aiogram.utils.formatting.Text.as_kwargs:1 of +msgid "" +"Render elements tree as keyword arguments for usage in the API call, for " +"example:" +msgstr "" + +#: aiogram.utils.formatting.Text.as_html:1 of +msgid "Render elements tree as HTML markup" +msgstr "" + +#: aiogram.utils.formatting.Text.as_markdown:1 of +msgid "Render elements tree as MarkdownV2 markup" +msgstr "" + +#: ../../utils/formatting.rst:147 +msgid "Available elements" +msgstr "" + +#: aiogram.utils.formatting.Bold:1 aiogram.utils.formatting.BotCommand:1 +#: aiogram.utils.formatting.CashTag:1 aiogram.utils.formatting.Code:1 +#: aiogram.utils.formatting.CustomEmoji:1 aiogram.utils.formatting.Email:1 +#: aiogram.utils.formatting.HashTag:1 aiogram.utils.formatting.Italic:1 +#: aiogram.utils.formatting.PhoneNumber:1 aiogram.utils.formatting.Pre:1 +#: aiogram.utils.formatting.Spoiler:1 aiogram.utils.formatting.Strikethrough:1 +#: aiogram.utils.formatting.TextLink:1 aiogram.utils.formatting.TextMention:1 +#: aiogram.utils.formatting.Underline:1 aiogram.utils.formatting.Url:1 of +msgid "Bases: :py:class:`~aiogram.utils.formatting.Text`" +msgstr "" + +#: aiogram.utils.formatting.HashTag:1 of +msgid "Hashtag element." +msgstr "" + +#: aiogram.utils.formatting.HashTag:5 of +msgid "The value should always start with '#' symbol" +msgstr "" + +#: aiogram.utils.formatting.HashTag:7 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.HASHTAG`" +msgstr "" + +#: aiogram.utils.formatting.CashTag:1 of +msgid "Cashtag element." +msgstr "" + +#: aiogram.utils.formatting.CashTag:5 of +msgid "The value should always start with '$' symbol" +msgstr "" + +#: aiogram.utils.formatting.CashTag:7 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.CASHTAG`" +msgstr "" + +#: aiogram.utils.formatting.BotCommand:1 of +msgid "Bot command element." +msgstr "" + +#: aiogram.utils.formatting.BotCommand:5 of +msgid "The value should always start with '/' symbol" +msgstr "" + +#: aiogram.utils.formatting.BotCommand:7 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.BOT_COMMAND`" +msgstr "" + +#: aiogram.utils.formatting.Url:1 of +msgid "Url element." +msgstr "" + +#: aiogram.utils.formatting.Url:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.URL`" +msgstr "" + +#: aiogram.utils.formatting.Email:1 of +msgid "Email element." +msgstr "" + +#: aiogram.utils.formatting.Email:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.EMAIL`" +msgstr "" + +#: aiogram.utils.formatting.PhoneNumber:1 of +msgid "Phone number element." +msgstr "" + +#: aiogram.utils.formatting.PhoneNumber:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.PHONE_NUMBER`" +msgstr "" + +#: aiogram.utils.formatting.Bold:1 of +msgid "Bold element." +msgstr "" + +#: aiogram.utils.formatting.Bold:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.BOLD`" +msgstr "" + +#: aiogram.utils.formatting.Italic:1 of +msgid "Italic element." +msgstr "" + +#: aiogram.utils.formatting.Italic:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.ITALIC`" +msgstr "" + +#: aiogram.utils.formatting.Underline:1 of +msgid "Underline element." +msgstr "" + +#: aiogram.utils.formatting.Underline:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.UNDERLINE`" +msgstr "" + +#: aiogram.utils.formatting.Strikethrough:1 of +msgid "Strikethrough element." +msgstr "" + +#: aiogram.utils.formatting.Strikethrough:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.STRIKETHROUGH`" +msgstr "" + +#: aiogram.utils.formatting.Spoiler:1 of +msgid "Spoiler element." +msgstr "" + +#: aiogram.utils.formatting.Spoiler:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.SPOILER`" +msgstr "" + +#: aiogram.utils.formatting.Code:1 of +msgid "Code element." +msgstr "" + +#: aiogram.utils.formatting.Code:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.CODE`" +msgstr "" + +#: aiogram.utils.formatting.Pre:1 of +msgid "Pre element." +msgstr "" + +#: aiogram.utils.formatting.Pre:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type :obj:`aiogram.enums.message_entity_type.MessageEntityType.PRE`" +msgstr "" + +#: aiogram.utils.formatting.TextLink:1 of +msgid "Text link element." +msgstr "" + +#: aiogram.utils.formatting.TextLink:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.TEXT_LINK`" +msgstr "" + +#: aiogram.utils.formatting.TextMention:1 of +msgid "Text mention element." +msgstr "" + +#: aiogram.utils.formatting.TextMention:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.TEXT_MENTION`" +msgstr "" + +#: aiogram.utils.formatting.CustomEmoji:1 of +msgid "Custom emoji element." +msgstr "" + +#: aiogram.utils.formatting.CustomEmoji:3 of +msgid "" +"Will be wrapped into :obj:`aiogram.types.message_entity.MessageEntity` " +"with type " +":obj:`aiogram.enums.message_entity_type.MessageEntityType.CUSTOM_EMOJI`" +msgstr ""