mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
update docs + translations
This commit is contained in:
parent
c418689dc1
commit
acf4ec1a63
33 changed files with 988 additions and 255 deletions
|
|
@ -49,6 +49,12 @@ So... Now you can use this class to generate any callbacks with defined structur
|
|||
...
|
||||
print("bar =", callback_data.bar)
|
||||
|
||||
.. important::
|
||||
|
||||
You can accept :code:`callback_data` as another argument to the handler, and it will be unpacked to instance of :code:`MyCallback` class.
|
||||
**The unpacking is performed only if the handler is decorated with** :code:`MyCallback.filter(...)`.
|
||||
|
||||
|
||||
Also can be used in :doc:`Keyboard builder </utils/keyboard>`:
|
||||
|
||||
.. code-block:: python
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
||||
|
|
@ -146,3 +158,4 @@ msgstr ""
|
|||
#: aiogram.client.bot.Bot.download:6 of
|
||||
msgid "file_id or Downloadable object"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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,13 @@ 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 ""
|
||||
|
||||
|
|
|
|||
69
docs/locale/uk_UA/LC_MESSAGES/api/methods/get_my_name.po
Normal file
69
docs/locale/uk_UA/LC_MESSAGES/api/methods/get_my_name.po
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2023, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
||||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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,22 @@ 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 ""
|
||||
|
||||
|
|
|
|||
79
docs/locale/uk_UA/LC_MESSAGES/api/methods/set_my_name.po
Normal file
79
docs/locale/uk_UA/LC_MESSAGES/api/methods/set_my_name.po
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2023, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
||||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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/methods/set_sticker_set_thumb.rst:3
|
||||
msgid "setStickerSetThumb"
|
||||
|
|
@ -25,6 +25,52 @@ msgstr ""
|
|||
msgid "Returns: :obj:`bool`"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumbnail:1 of
|
||||
msgid ""
|
||||
"Use this method to set the thumbnail of a regular or mask sticker set. "
|
||||
"The format of the thumbnail file must match the format of the stickers in"
|
||||
" the set. Returns :code:`True` on success."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumbnail:3 of
|
||||
msgid "Source: https://core.telegram.org/bots/api#setstickersetthumbnail"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumbnail.name:1 of
|
||||
msgid "Sticker set name"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumbnail.user_id:1 of
|
||||
msgid "User identifier of the sticker set owner"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumbnail.thumbnail:1 of
|
||||
msgid ""
|
||||
"A **.WEBP** or **.PNG** image with the thumbnail, must be up to 128 "
|
||||
"kilobytes in size and have a width and height of exactly 100px, or a "
|
||||
"**.TGS** animation with a thumbnail up to 32 kilobytes in size (see "
|
||||
"`https://core.telegram.org/stickers#animated-sticker-requirements "
|
||||
"<https://core.telegram.org/stickers#animated-sticker-"
|
||||
"requirements>`_`https://core.telegram.org/stickers#animated-sticker-"
|
||||
"requirements <https://core.telegram.org/stickers#animated-sticker-"
|
||||
"requirements>`_ for animated sticker technical requirements), or a "
|
||||
"**WEBM** video with the thumbnail up to 32 kilobytes in size; see "
|
||||
"`https://core.telegram.org/stickers#video-sticker-requirements "
|
||||
"<https://core.telegram.org/stickers#video-sticker-"
|
||||
"requirements>`_`https://core.telegram.org/stickers#video-sticker-"
|
||||
"requirements <https://core.telegram.org/stickers#video-sticker-"
|
||||
"requirements>`_ for video sticker technical requirements. 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. :ref:`More "
|
||||
"information on Sending Files » <sending-files>`. Animated and video "
|
||||
"sticker set thumbnails can't be uploaded via HTTP URL. If omitted, then "
|
||||
"the thumbnail is dropped and the first sticker is used as the thumbnail."
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/set_sticker_set_thumb.rst:14
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
|
@ -112,3 +158,4 @@ msgstr ""
|
|||
#~ "thumbnails can't be uploaded via HTTP"
|
||||
#~ " URL."
|
||||
#~ msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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/methods/set_sticker_set_thumbnail.rst:3
|
||||
msgid "setStickerSetThumbnail"
|
||||
|
|
@ -25,54 +25,6 @@ msgstr ""
|
|||
msgid "Returns: :obj:`bool`"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail:1 of
|
||||
msgid ""
|
||||
"Use this method to set the thumbnail of a regular or mask sticker set. "
|
||||
"The format of the thumbnail file must match the format of the stickers in"
|
||||
" the set. Returns :code:`True` on success."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail:3 of
|
||||
msgid "Source: https://core.telegram.org/bots/api#setstickersetthumbnail"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail.name:1 of
|
||||
msgid "Sticker set name"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail.user_id:1
|
||||
#: of
|
||||
msgid "User identifier of the sticker set owner"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail.thumbnail:1
|
||||
#: of
|
||||
msgid ""
|
||||
"A **.WEBP** or **.PNG** image with the thumbnail, must be up to 128 "
|
||||
"kilobytes in size and have a width and height of exactly 100px, or a "
|
||||
"**.TGS** animation with a thumbnail up to 32 kilobytes in size (see "
|
||||
"`https://core.telegram.org/stickers#animated-sticker-requirements "
|
||||
"<https://core.telegram.org/stickers#animated-sticker-"
|
||||
"requirements>`_`https://core.telegram.org/stickers#animated-sticker-"
|
||||
"requirements <https://core.telegram.org/stickers#animated-sticker-"
|
||||
"requirements>`_ for animated sticker technical requirements), or a "
|
||||
"**WEBM** video with the thumbnail up to 32 kilobytes in size; see "
|
||||
"`https://core.telegram.org/stickers#video-sticker-requirements "
|
||||
"<https://core.telegram.org/stickers#video-sticker-"
|
||||
"requirements>`_`https://core.telegram.org/stickers#video-sticker-"
|
||||
"requirements <https://core.telegram.org/stickers#video-sticker-"
|
||||
"requirements>`_ for video sticker technical requirements. 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. :ref:`More "
|
||||
"information on Sending Files » <sending-files>`. Animated and video "
|
||||
"sticker set thumbnails can't be uploaded via HTTP URL. If omitted, then "
|
||||
"the thumbnail is dropped and the first sticker is used as the thumbnail."
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/set_sticker_set_thumbnail.rst:14
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
|
@ -106,3 +58,60 @@ msgstr ""
|
|||
#: ../../api/methods/set_sticker_set_thumbnail.rst:40
|
||||
msgid "As reply into Webhook in handler"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Use this method to set the "
|
||||
#~ "thumbnail of a regular or mask "
|
||||
#~ "sticker set. The format of the "
|
||||
#~ "thumbnail file must match the format "
|
||||
#~ "of the stickers in the set. "
|
||||
#~ "Returns :code:`True` on success."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Source: https://core.telegram.org/bots/api#setstickersetthumbnail"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Sticker set name"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "User identifier of the sticker set owner"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "A **.WEBP** or **.PNG** image with "
|
||||
#~ "the thumbnail, must be up to 128"
|
||||
#~ " kilobytes in size and have a "
|
||||
#~ "width and height of exactly 100px, "
|
||||
#~ "or a **.TGS** animation with a "
|
||||
#~ "thumbnail up to 32 kilobytes in "
|
||||
#~ "size (see `https://core.telegram.org/stickers#animated-"
|
||||
#~ "sticker-requirements <https://core.telegram.org/stickers"
|
||||
#~ "#animated-sticker-"
|
||||
#~ "requirements>`_`https://core.telegram.org/stickers#animated-"
|
||||
#~ "sticker-requirements <https://core.telegram.org/stickers"
|
||||
#~ "#animated-sticker-requirements>`_ for animated"
|
||||
#~ " sticker technical requirements), or a "
|
||||
#~ "**WEBM** video with the thumbnail up "
|
||||
#~ "to 32 kilobytes in size; see "
|
||||
#~ "`https://core.telegram.org/stickers#video-sticker-"
|
||||
#~ "requirements <https://core.telegram.org/stickers#video-"
|
||||
#~ "sticker-requirements>`_`https://core.telegram.org/stickers"
|
||||
#~ "#video-sticker-requirements "
|
||||
#~ "<https://core.telegram.org/stickers#video-sticker-"
|
||||
#~ "requirements>`_ for video sticker technical"
|
||||
#~ " requirements. 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. :ref:`More"
|
||||
#~ " information on Sending Files » "
|
||||
#~ "<sending-files>`. Animated and video "
|
||||
#~ "sticker set thumbnails can't be uploaded"
|
||||
#~ " via HTTP URL. If omitted, then "
|
||||
#~ "the thumbnail is dropped and the "
|
||||
#~ "first sticker is used as the "
|
||||
#~ "thumbnail."
|
||||
#~ msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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,7 @@ msgstr ""
|
|||
#: aiogram.client.session.base.BaseSession.stream_content:1 of
|
||||
msgid "Stream reader"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Clean data before send"
|
||||
#~ msgstr ""
|
||||
|
||||
|
|
|
|||
35
docs/locale/uk_UA/LC_MESSAGES/api/types/bot_name.po
Normal file
35
docs/locale/uk_UA/LC_MESSAGES/api/types/bot_name.po
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2023, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
||||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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,12 @@ 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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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,33 @@ 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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
|
@ -104,3 +113,4 @@ msgid ""
|
|||
"*Optional*. Specify :code:`True`, to send a `Pay button "
|
||||
"<https://core.telegram.org/bots/api#payments>`_."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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,29 @@ 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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <EMAIL@ADDRESS>, 2023.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 "
|
||||
"<https://core.telegram.org/bots/webapps>`_ 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 *web_app_switch_inline_query* inside the Web"
|
||||
" App."
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.types.inline_query_results_button.InlineQueryResultsButton.start_parameter:1
|
||||
#: of
|
||||
msgid ""
|
||||
"*Optional*. `Deep-linking <https://core.telegram.org/bots/features#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 ""
|
||||
|
||||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 » <sending-files>`"
|
||||
"Telegram to get a file from the Internet, upload a new one using "
|
||||
"multipart/form-data, or pass 'attach://<file_attach_name>' to upload a "
|
||||
"new one using multipart/form-data under <file_attach_name> name. Animated"
|
||||
" and video stickers can't be uploaded via HTTP URL. :ref:`More "
|
||||
"information on Sending Files » <sending-files>`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.types.input_sticker.InputSticker.emoji_list:1 of
|
||||
|
|
@ -54,3 +56,18 @@ 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 » "
|
||||
#~ "<sending-files>`"
|
||||
#~ msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 » "
|
||||
"<https://core.telegram.org/bots/features#chat-and-user-selection>`_"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat:3 of
|
||||
|
|
@ -103,3 +104,11 @@ 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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 » "
|
||||
"<https://core.telegram.org/bots/features#chat-and-user-selection>`_"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser:3 of
|
||||
|
|
@ -59,3 +60,11 @@ 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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,67 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2023, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 ""
|
||||
|
||||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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,25 @@ 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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+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 "
|
||||
"<types/input_file.md>`__."
|
||||
"<types/input_file.html>`__."
|
||||
msgstr ""
|
||||
"Але якщо вам потрібно завантажити новий файл, просто використовуйте "
|
||||
"підкласи `InputFile <types/input_file.md>`__."
|
||||
|
|
@ -180,3 +180,4 @@ msgstr ""
|
|||
"`обмеження на завантаження <https://core.telegram.org/bots/api#sending-"
|
||||
"files> `_ за URL-адресою, ви можете використовувати "
|
||||
":obj:`aiogram.types.input_file.URLInputFile`."
|
||||
|
||||
|
|
|
|||
|
|
@ -8,59 +8,233 @@ 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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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-06-01)"
|
||||
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 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1147>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:9
|
||||
msgid "Added support for FSM in Forum topics."
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:13
|
||||
msgid "The strategy can be changed in dispatcher:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:39
|
||||
msgid ""
|
||||
"If you have implemented you own storages you should extend record key "
|
||||
"generation"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:41
|
||||
msgid "with new one attribute - `thread_id`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:42
|
||||
msgid "`#1161 <https://github.com/aiogram/aiogram/issues/1161>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:43
|
||||
msgid "Improved CallbackData serialization."
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:47
|
||||
msgid "Minimized UUID (hex without dashes)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:49
|
||||
msgid "Replaced bool values with int (true=1, false=0)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:50
|
||||
msgid "`#1163 <https://github.com/aiogram/aiogram/issues/1163>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:51
|
||||
msgid ""
|
||||
"Add auto_resolve_update_types argument to start_polling method to collect"
|
||||
" the used update types automatically. `#1178 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1178>`_"
|
||||
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]:56
|
||||
msgid "Bugfixes"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:58
|
||||
msgid ""
|
||||
"Change type of result in InlineQueryResult enum for "
|
||||
"`InlineQueryResultCachedMpeg4Gif`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:60
|
||||
msgid ""
|
||||
"and `InlineQueryResultMpeg4Gif` to more correct according to "
|
||||
"documentation."
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:64
|
||||
msgid ""
|
||||
"Change regexp for entities parsing to more correct "
|
||||
"(`InlineQueryResultType.yml`). `#1146 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1146>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:66
|
||||
msgid ""
|
||||
"Fixed signature of startup/shutdown events to include the "
|
||||
"**dispatcher.workflow_data as the handler arguments. `#1155 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1155>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:68
|
||||
msgid ""
|
||||
"Added missing FORUM_TOPIC_EDITED value to content_type property `#1160 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1160>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:70
|
||||
msgid ""
|
||||
"Fixed compatibility with Python 3.8-3.9 `#1162 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1162>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:72
|
||||
msgid ""
|
||||
"Fixed the markdown spoiler parser. `#1176 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1176>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../CHANGES.rst:193 ../../../CHANGES.rst:243 ../../../CHANGES.rst:623
|
||||
#: ../../[towncrier-fragments]:77
|
||||
msgid "Improved Documentation"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:79
|
||||
msgid ""
|
||||
"Changed small grammar typos for `upload_file` `#1133 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1133>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../CHANGES.rst:250 ../../[towncrier-fragments]:84
|
||||
msgid "Deprecations and Removals"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:86
|
||||
msgid ""
|
||||
"Removed text filter in due to is planned to remove this filter few "
|
||||
"versions ago."
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:90
|
||||
msgid ""
|
||||
"Use :code:`F.text` instead `#1170 "
|
||||
"<https://github.com/aiogram/aiogram/issues/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]:95
|
||||
msgid "Misc"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:14
|
||||
#: ../../[towncrier-fragments]:97
|
||||
msgid ""
|
||||
"Added full support of `Bot API 6.6 <https://core.telegram.org/bots/api-"
|
||||
"changelog#march-9-2023>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:18
|
||||
#: ../../[towncrier-fragments]:105
|
||||
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."
|
||||
"changelog,"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:21
|
||||
#: ../../[towncrier-fragments]:107
|
||||
msgid ""
|
||||
"this changes is not breaking in the API but breaking inside aiogram "
|
||||
"because"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:109
|
||||
msgid "Beta stage is not finished."
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:110
|
||||
msgid "`#1139 <https://github.com/aiogram/aiogram/issues/1139>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:111
|
||||
msgid ""
|
||||
"Added global defaults `disable_web_page_preview` and `protect_content` in"
|
||||
" addition to `parse_mode` to the Bot instance,"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:113
|
||||
msgid ""
|
||||
"reworked internal request builder mechanism. `#1142 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1142>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:115
|
||||
msgid ""
|
||||
"Removed bot parameters from storages `#1144 "
|
||||
"<https://github.com/aiogram/aiogram/issues/1144>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:117
|
||||
msgid ""
|
||||
"Added full support of `Bot API 6.7 <https://core.telegram.org/bots/api-"
|
||||
"changelog#april-21-2023>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:125
|
||||
msgid ""
|
||||
"Note that arguments *switch_pm_parameter* and *switch_pm_text* was "
|
||||
"deprecated"
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:127
|
||||
msgid "and should be changed to *button* argument as described in API docs."
|
||||
msgstr ""
|
||||
|
||||
#: ../../[towncrier-fragments]:128
|
||||
msgid "`#1168 <https://github.com/aiogram/aiogram/issues/1168>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../CHANGES.rst:20
|
||||
msgid "3.0.0b7 (2023-02-18)"
|
||||
msgstr ""
|
||||
|
|
@ -83,13 +257,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 +356,6 @@ msgid ""
|
|||
"<https://github.com/aiogram/aiogram/issues/1117>`_"
|
||||
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 +619,6 @@ msgid ""
|
|||
"<https://github.com/aiogram/aiogram/issues/925>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../CHANGES.rst:250
|
||||
msgid "Deprecations and Removals"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../CHANGES.rst:252
|
||||
msgid ""
|
||||
"Removed filters factory as described in corresponding issue. `#942 "
|
||||
|
|
@ -2621,3 +2777,16 @@ msgstr ""
|
|||
#~ ":class:`aiogram.enums.topic_icon_color.TopicIconColor`, "
|
||||
#~ ":class:`aiogram.enums.update_type.UpdateType`,"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "\\ |release| [UNRELEASED DRAFT] (2023-03-11)"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ 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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+0300\n"
|
||||
"PO-Revision-Date: 2022-12-10 19:44+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"
|
||||
|
||||
#: ../../dispatcher/dispatcher.rst:3
|
||||
msgid "Dispatcher"
|
||||
|
|
@ -127,18 +127,22 @@ msgstr ""
|
|||
msgid "List of the update types you want your bot to receive"
|
||||
msgstr "Список типів подій, які має опрацьовувати ваш бот"
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:8
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:8 of
|
||||
msgid "handle signals (SIGINT/SIGTERM)"
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:8 of
|
||||
msgid "auto resolve update types from handlers"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:9
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:9 of
|
||||
msgid "close bot sessions on shutdown"
|
||||
msgid "handle signals (SIGINT/SIGTERM)"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:10
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:10 of
|
||||
msgid "close bot sessions on shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:11
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:11 of
|
||||
msgid "contextual data"
|
||||
msgstr "контекстні дані"
|
||||
|
||||
|
|
@ -151,6 +155,10 @@ msgstr "Повертає"
|
|||
msgid "Polling runner"
|
||||
msgstr "Запуск кількох ботів з опитуванням (асинхронно)"
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:8 of
|
||||
msgid "automatically resolve used update types in handlers"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/dispatcher.rst:18
|
||||
msgid "Simple usage"
|
||||
msgstr "Просте застосування"
|
||||
|
|
@ -177,3 +185,4 @@ msgstr ""
|
|||
|
||||
#~ msgid "Poling timeout"
|
||||
#~ msgstr "Час очікування на відповідь"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,17 +5,16 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram\n"
|
||||
"Project-Id-Version: aiogram\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
|
||||
"POT-Creation-Date: 2023-06-01 20:53+0300\n"
|
||||
"PO-Revision-Date: 2022-10-25 18:31+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"
|
||||
"X-Generator: Poedit 3.1.1\n"
|
||||
"Generated-By: Babel 2.12.1\n"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:3
|
||||
msgid "Callback Data Factory & Filter"
|
||||
|
|
@ -28,16 +27,17 @@ msgstr "Базовий клас для обгортки мітки зворот
|
|||
#: aiogram.filters.callback_data.CallbackData:3 of
|
||||
msgid "This class should be used as super-class of user-defined callbacks."
|
||||
msgstr ""
|
||||
"Цей клас слід використовувати як супер-клас зворотних викликів, визначених "
|
||||
"користувачем."
|
||||
"Цей клас слід використовувати як супер-клас зворотних викликів, "
|
||||
"визначених користувачем."
|
||||
|
||||
#: aiogram.filters.callback_data.CallbackData:5 of
|
||||
msgid ""
|
||||
"The class-keyword :code:`prefix` is required to define prefix and also the "
|
||||
"argument :code:`sep` can be passed to define separator (default is :code:`:`)."
|
||||
"The class-keyword :code:`prefix` is required to define prefix and also "
|
||||
"the argument :code:`sep` can be passed to define separator (default is "
|
||||
":code:`:`)."
|
||||
msgstr ""
|
||||
"Ключове слово класу :code:`prefix` потрібне для визначення префікса, а також "
|
||||
"аргумент :code:`sep` можна передати для визначення роздільника (за "
|
||||
"Ключове слово класу :code:`prefix` потрібне для визначення префікса, а "
|
||||
"також аргумент :code:`sep` можна передати для визначення роздільника (за "
|
||||
"замовчуванням це :code:`:`)."
|
||||
|
||||
#: aiogram.filters.callback_data.CallbackData.pack:1 of
|
||||
|
|
@ -94,8 +94,8 @@ msgstr "Створення підкласу :code:`CallbackData`:"
|
|||
#: ../../dispatcher/filters/callback_data.rst:21
|
||||
msgid "After that you can generate any callback based on this class, for example:"
|
||||
msgstr ""
|
||||
"Після цього ви можете створити будь-який зворотній виклик на основі цього "
|
||||
"класу, наприклад:"
|
||||
"Після цього ви можете створити будь-який зворотній виклик на основі цього"
|
||||
" класу, наприклад:"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:29
|
||||
msgid ""
|
||||
|
|
@ -109,63 +109,75 @@ msgstr ""
|
|||
msgid "... and handle by specific rules"
|
||||
msgstr "... і обробляти за певними правилами"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:52
|
||||
msgid "Also can be used in :doc:`Keyboard builder </utils/keyboard>`:"
|
||||
#: ../../dispatcher/filters/callback_data.rst:54
|
||||
msgid ""
|
||||
"You can accept :code:`callback_data` as another argument to the handler, "
|
||||
"and it will be unpacked to instance of :code:`MyCallback` class. **The "
|
||||
"unpacking is performed only if the handler is decorated with** "
|
||||
":code:`MyCallback.filter(...)`."
|
||||
msgstr ""
|
||||
"Ви можете приймати :code:`callback_data` як додатковий аргумент до обробника, "
|
||||
"і він буде розпакований до екземпляру класу :code:`MyCallback`. **Розпакування "
|
||||
"виконується тільки якщо обробник декорований** :code:`MyCallback.filter(...)`."
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:63
|
||||
#: ../../dispatcher/filters/callback_data.rst:58
|
||||
msgid "Also can be used in :doc:`Keyboard builder </utils/keyboard>`:"
|
||||
msgstr "Також може бути використаний в :doc:`Конструкторі клавіатури </utils/keyboard>`:"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:69
|
||||
msgid "Another abstract example:"
|
||||
msgstr "Ще один абстрактний приклад:"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:101
|
||||
#: ../../dispatcher/filters/callback_data.rst:107
|
||||
msgid "Known limitations"
|
||||
msgstr "Відомі обмеження"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:103
|
||||
#: ../../dispatcher/filters/callback_data.rst:109
|
||||
msgid "Allowed types and their subclasses:"
|
||||
msgstr "Дозволені типи та їх підкласи:"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:105
|
||||
#: ../../dispatcher/filters/callback_data.rst:111
|
||||
msgid ":code:`str`"
|
||||
msgstr ":code:`str`"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:106
|
||||
#: ../../dispatcher/filters/callback_data.rst:112
|
||||
msgid ":code:`int`"
|
||||
msgstr ":code:`int`"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:107
|
||||
#: ../../dispatcher/filters/callback_data.rst:113
|
||||
msgid ":code:`bool`"
|
||||
msgstr ":code:`bool`"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:108
|
||||
#: ../../dispatcher/filters/callback_data.rst:114
|
||||
msgid ":code:`float`"
|
||||
msgstr ":code:`float`"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:109
|
||||
#: ../../dispatcher/filters/callback_data.rst:115
|
||||
msgid ":code:`Decimal` (:code:`from decimal import Decimal`)"
|
||||
msgstr ":code:`Decimal` (:code:`from decimal import Decimal`)"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:110
|
||||
#: ../../dispatcher/filters/callback_data.rst:116
|
||||
msgid ":code:`Fraction` (:code:`from fractions import Fraction`)"
|
||||
msgstr ":code:`Fraction` (:code:`from fractions import Fraction`)"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:111
|
||||
#: ../../dispatcher/filters/callback_data.rst:117
|
||||
msgid ":code:`UUID` (:code:`from uuid import UUID`)"
|
||||
msgstr ":code:`UUID` (:code:`from uuid import UUID`)"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:112
|
||||
#: ../../dispatcher/filters/callback_data.rst:118
|
||||
msgid ":code:`Enum` (:code:`from enum import Enum`, only for string enums)"
|
||||
msgstr ":code:`Enum` (:code:`from enum import Enum`, лише для переліків рядків)"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:113
|
||||
#: ../../dispatcher/filters/callback_data.rst:119
|
||||
msgid ":code:`IntEnum` (:code:`from enum import IntEnum`, only for int enums)"
|
||||
msgstr ""
|
||||
":code:`IntEnum` (:code:`from enum import IntEnum`, тільки для переліків int)"
|
||||
":code:`IntEnum` (:code:`from enum import IntEnum`, тільки для переліків "
|
||||
"int)"
|
||||
|
||||
#: ../../dispatcher/filters/callback_data.rst:118
|
||||
#: ../../dispatcher/filters/callback_data.rst:124
|
||||
msgid ""
|
||||
"Note that the integer Enum's should be always is subclasses of :code:`IntEnum` "
|
||||
"in due to parsing issues."
|
||||
"Note that the integer Enum's should be always is subclasses of "
|
||||
":code:`IntEnum` in due to parsing issues."
|
||||
msgstr ""
|
||||
"Зауважте, що ціле число Enum завжди має бути підкласом :code:`IntEnum` через "
|
||||
"проблеми з синтаксичним аналізом."
|
||||
"Зауважте, що ціле число Enum завжди має бути підкласом :code:`IntEnum` "
|
||||
"через проблеми з синтаксичним аналізом."
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ msgstr ""
|
|||
|
||||
#: ../../dispatcher/filters/magic_filters.rst:5
|
||||
msgid "Magic filters"
|
||||
msgstr "✨ Магічні 🔮 фільтри ✨"
|
||||
msgstr "✨ Магічні фільтри"
|
||||
|
||||
#: ../../dispatcher/filters/magic_filters.rst:9
|
||||
msgid "This page still in progress. Has many incorrectly worded sentences."
|
||||
|
|
|
|||
|
|
@ -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-06-01 20:49+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,17 @@ 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 "екземпляр поточного бота"
|
||||
|
||||
|
|
|
|||
|
|
@ -59,67 +59,67 @@ msgstr "Через метод реєстрації обробника"
|
|||
|
||||
#: ../../dispatcher/flags.rst:41
|
||||
msgid "Via filters"
|
||||
msgstr "Через фільтри"
|
||||
msgstr "У фільтрах"
|
||||
|
||||
#: ../../dispatcher/flags.rst:55
|
||||
msgid "Use in middlewares"
|
||||
msgstr "Використовувати в міддлварах"
|
||||
msgstr "Використання в міддлварах"
|
||||
|
||||
#: aiogram.dispatcher.flags.check_flags:1 of
|
||||
msgid "Check flags via magic filter"
|
||||
msgstr ""
|
||||
msgstr "Перевірка маркерів магічним фільтром"
|
||||
|
||||
#: aiogram.dispatcher.flags.check_flags aiogram.dispatcher.flags.extract_flags
|
||||
#: aiogram.dispatcher.flags.get_flag of
|
||||
msgid "Parameters"
|
||||
msgstr ""
|
||||
msgstr "Параметри"
|
||||
|
||||
#: aiogram.dispatcher.flags.check_flags:3
|
||||
#: aiogram.dispatcher.flags.extract_flags:3 aiogram.dispatcher.flags.get_flag:3
|
||||
#: of
|
||||
msgid "handler object or data"
|
||||
msgstr ""
|
||||
msgstr "функція-обробника (handler) або дані (data)"
|
||||
|
||||
#: aiogram.dispatcher.flags.check_flags:4 of
|
||||
msgid "instance of the magic"
|
||||
msgstr ""
|
||||
msgstr "екземпляр магічного фільтра"
|
||||
|
||||
#: aiogram.dispatcher.flags.check_flags aiogram.dispatcher.flags.extract_flags
|
||||
#: aiogram.dispatcher.flags.get_flag of
|
||||
msgid "Returns"
|
||||
msgstr ""
|
||||
msgstr "Повертає"
|
||||
|
||||
#: aiogram.dispatcher.flags.check_flags:5 of
|
||||
msgid "the result of magic filter check"
|
||||
msgstr ""
|
||||
msgstr "результат перевірки магічного фільтра"
|
||||
|
||||
#: aiogram.dispatcher.flags.extract_flags:1 of
|
||||
msgid "Extract flags from handler or middleware context data"
|
||||
msgstr ""
|
||||
msgstr "Витягнути маркери з обробника або даних міддлвара"
|
||||
|
||||
#: aiogram.dispatcher.flags.extract_flags:4 of
|
||||
msgid "dictionary with all handler flags"
|
||||
msgstr ""
|
||||
msgstr "словник з усіма маркерами обробника"
|
||||
|
||||
#: aiogram.dispatcher.flags.get_flag:1 of
|
||||
msgid "Get flag by name"
|
||||
msgstr ""
|
||||
msgstr "Отримати маркер за ім'ям"
|
||||
|
||||
#: aiogram.dispatcher.flags.get_flag:4 of
|
||||
msgid "name of the flag"
|
||||
msgstr ""
|
||||
msgstr "ім'я маркера"
|
||||
|
||||
#: aiogram.dispatcher.flags.get_flag:5 of
|
||||
msgid "default value (None)"
|
||||
msgstr ""
|
||||
msgstr "значення за замовчуванням (None)"
|
||||
|
||||
#: aiogram.dispatcher.flags.get_flag:6 of
|
||||
msgid "value of the flag or default"
|
||||
msgstr ""
|
||||
msgstr "значення маркера або значення за замовчуванням"
|
||||
|
||||
#: ../../dispatcher/flags.rst:62
|
||||
msgid "Example in middlewares"
|
||||
msgstr "Приклад в міддлварах"
|
||||
msgstr "Приклад використання в міддлварах"
|
||||
|
||||
#: ../../dispatcher/flags.rst:75
|
||||
msgid "Use in utilities"
|
||||
|
|
|
|||
|
|
@ -26,31 +26,37 @@ msgid ""
|
|||
"*aiogram* includes Dispatcher mechanism. Dispatcher is needed for "
|
||||
"handling incoming updates from Telegram."
|
||||
msgstr ""
|
||||
"*aiogram* реалізує механізм диспетчера. Диспетчер необхідний для обробки "
|
||||
"вхідних оновлень від Telegram."
|
||||
|
||||
#: ../../dispatcher/index.rst:8
|
||||
msgid "With dispatcher you can do:"
|
||||
msgstr ""
|
||||
msgstr "З диспетчером ви можете зробити:"
|
||||
|
||||
#: ../../dispatcher/index.rst:10
|
||||
msgid "Handle incoming updates;"
|
||||
msgstr ""
|
||||
msgstr "Обробляти вхідні оновлення;"
|
||||
|
||||
#: ../../dispatcher/index.rst:11
|
||||
msgid "Filter incoming events before it will be processed by specific handler;"
|
||||
msgstr ""
|
||||
msgstr "Фільтрувати вхідні події (events) перед тим, як вони будуть оброблені будь-яким обробником;"
|
||||
|
||||
#: ../../dispatcher/index.rst:12
|
||||
msgid "Modify event and related data in middlewares;"
|
||||
msgstr ""
|
||||
msgstr "Змінювати подію (event) та пов'язані з нею дані в міддлварах;"
|
||||
|
||||
#: ../../dispatcher/index.rst:13
|
||||
msgid ""
|
||||
"Separate bot functionality between different handlers, modules and "
|
||||
"packages"
|
||||
msgstr ""
|
||||
"Розділяти функціональність бота між різними обробниками, модулями та "
|
||||
"пакетами"
|
||||
|
||||
#: ../../dispatcher/index.rst:15
|
||||
msgid ""
|
||||
"Dispatcher is also separated into two entities - Router and Dispatcher. "
|
||||
"Dispatcher is subclass of router and should be always is root router."
|
||||
msgstr ""
|
||||
"Диспетчер також розділений на дві сутності - Router та Dispatcher. "
|
||||
"Dispatcher є підкласом router та завжди повинен бути кореневим router."
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ msgid ""
|
|||
"**aiogram** provides powerful mechanism for customizing event handlers via "
|
||||
"middlewares."
|
||||
msgstr ""
|
||||
"**aiogram** надає потужний механізм для налаштування обробників(handler) "
|
||||
"подій через проміжні програми."
|
||||
"**aiogram** надає потужний механізм для налаштування обробників (handler) "
|
||||
"подій через проміжні програми (міддлвари)."
|
||||
|
||||
#: ../../dispatcher/middlewares.rst:7
|
||||
msgid ""
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ msgstr ""
|
|||
|
||||
#: ../../dispatcher/observer.rst:3
|
||||
msgid "Observer"
|
||||
msgstr "Обсервер"
|
||||
msgstr "Обсервер (спостерігач)"
|
||||
|
||||
#: ../../dispatcher/observer.rst:5
|
||||
msgid ""
|
||||
|
|
@ -48,7 +48,7 @@ msgstr "EventObserver"
|
|||
|
||||
#: aiogram.dispatcher.event.event.EventObserver:1 of
|
||||
msgid "Simple events observer"
|
||||
msgstr "Простий обсервер(спостерігач) подій"
|
||||
msgstr "Простий обсервер (спостерігач) подій"
|
||||
|
||||
#: aiogram.dispatcher.event.event.EventObserver:3 of
|
||||
msgid ""
|
||||
|
|
@ -60,11 +60,11 @@ msgstr ""
|
|||
|
||||
#: aiogram.dispatcher.event.event.EventObserver:5 of
|
||||
msgid "Handlers can be registered via decorator or method"
|
||||
msgstr "Обробники(Handler) можна зареєструвати за допомогою декоратора або методу"
|
||||
msgstr "Обробники (Handler) можна зареєструвати за допомогою декоратора або методу"
|
||||
|
||||
#: aiogram.dispatcher.event.event.EventObserver.register:1 of
|
||||
msgid "Register callback with filters"
|
||||
msgstr "Реєстрація обробника(callback) з фільтрами"
|
||||
msgstr "Реєстрація обробника (callback) з фільтрами"
|
||||
|
||||
#: aiogram.dispatcher.event.event.EventObserver.trigger:1 of
|
||||
msgid ""
|
||||
|
|
@ -77,7 +77,7 @@ msgstr ""
|
|||
#: aiogram.dispatcher.event.event.EventObserver.__call__:1
|
||||
#: aiogram.dispatcher.event.telegram.TelegramEventObserver.__call__:1 of
|
||||
msgid "Decorator for registering event handlers"
|
||||
msgstr "Декоратор для реєстрації обробника подій(handler)"
|
||||
msgstr "Декоратор для реєстрації обробника подій (handler)"
|
||||
|
||||
#: ../../dispatcher/observer.rst:22
|
||||
msgid "TelegramEventObserver"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ msgstr ""
|
|||
|
||||
#: ../../dispatcher/router.rst:3
|
||||
msgid "Router"
|
||||
msgstr "Маршрутизатор"
|
||||
msgstr "Маршрутизатор (Router)"
|
||||
|
||||
#: aiogram.dispatcher.router.Router:1 of
|
||||
msgid "Bases: :py:class:`object`"
|
||||
|
|
@ -106,7 +106,7 @@ msgstr ""
|
|||
|
||||
#: ../../dispatcher/router.rst:23
|
||||
msgid "Update"
|
||||
msgstr "Оновлення"
|
||||
msgstr "Оновлення (Update)"
|
||||
|
||||
#: ../../dispatcher/router.rst:32
|
||||
msgid ""
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ msgstr ""
|
|||
|
||||
#: ../../../README.rst:-1
|
||||
msgid "PyPi Package Version"
|
||||
msgstr ""
|
||||
msgstr "Версія пакету PyPi"
|
||||
|
||||
#: ../../../README.rst:-1
|
||||
msgid "Downloads"
|
||||
|
|
|
|||
|
|
@ -19,17 +19,20 @@ msgstr ""
|
|||
|
||||
#: ../../utils/callback_answer.rst:4
|
||||
msgid "Callback answer"
|
||||
msgstr ""
|
||||
msgstr "Зворотна відповідь (Callback answer)"
|
||||
|
||||
#: ../../utils/callback_answer.rst:6
|
||||
msgid ""
|
||||
"Helper for callback query handlers, can be useful in bots with a lot of "
|
||||
"callback handlers to automatically take answer to all requests."
|
||||
msgstr ""
|
||||
"Цей помічник для обробників запитів зворотного виклику, може бути корисним "
|
||||
"у ботах з великою кількістю обробників запитів зворотного виклику, щоб "
|
||||
"автоматично отримати відповідь на всі запити."
|
||||
|
||||
#: ../../utils/callback_answer.rst:10
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
msgstr "Просте використання"
|
||||
|
||||
#: ../../utils/callback_answer.rst:12
|
||||
msgid ""
|
||||
|
|
@ -37,48 +40,61 @@ msgid ""
|
|||
":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` in "
|
||||
"dispatcher or specific router:"
|
||||
msgstr ""
|
||||
"Для використання достатньо зареєструвати внутрішній middleware "
|
||||
":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` в "
|
||||
"диспетчері або конкретному маршрутизаторі (router):"
|
||||
|
||||
#: ../../utils/callback_answer.rst:18
|
||||
msgid ""
|
||||
"After that all handled callback queries will be answered automatically "
|
||||
"after processing the handler."
|
||||
msgstr ""
|
||||
"Після цього всі оброблені запити зворотного виклику будуть автоматично "
|
||||
"відповідати після обробки обробника."
|
||||
|
||||
#: ../../utils/callback_answer.rst:21
|
||||
msgid "Advanced usage"
|
||||
msgstr ""
|
||||
msgstr "Розширене використання"
|
||||
|
||||
#: ../../utils/callback_answer.rst:23
|
||||
msgid ""
|
||||
"In some cases you need to have some non-standard response parameters, "
|
||||
"this can be done in several ways:"
|
||||
msgstr ""
|
||||
msgstr ""
|
||||
"У деяких випадках вам потрібно мати деякі нестандартні параметри відповіді, "
|
||||
"це можна зробити декількома способами:"
|
||||
|
||||
#: ../../utils/callback_answer.rst:26
|
||||
msgid "Global defaults"
|
||||
msgstr ""
|
||||
msgstr "Глобальні значення за замовчуванням"
|
||||
|
||||
#: ../../utils/callback_answer.rst:28
|
||||
msgid ""
|
||||
"Change default parameters while initializing middleware, for example "
|
||||
"change answer to `pre` mode and text \"OK\":"
|
||||
msgstr ""
|
||||
"Змініть параметри за замовчуванням під час ініціалізації middleware, "
|
||||
"наприклад, змініть відповідь на режим `pre` та текст \"OK\":"
|
||||
|
||||
#: ../../utils/callback_answer.rst:35
|
||||
msgid ""
|
||||
"Look at :class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` "
|
||||
"to get all available parameters"
|
||||
msgstr ""
|
||||
"Дивіться :class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` "
|
||||
"щоб отримати всі доступні параметри"
|
||||
|
||||
#: ../../utils/callback_answer.rst:39
|
||||
msgid "Handler specific"
|
||||
msgstr ""
|
||||
msgstr "Для конкретного обробника"
|
||||
|
||||
#: ../../utils/callback_answer.rst:41
|
||||
msgid ""
|
||||
"By using :ref:`flags <flags>` you can change the behavior for specific "
|
||||
"handler"
|
||||
msgstr ""
|
||||
"За допомогою :ref:`flags <flags>` ви можете змінити поведінку для "
|
||||
"конкретного обробника"
|
||||
|
||||
#: ../../utils/callback_answer.rst:50
|
||||
msgid ""
|
||||
|
|
@ -86,10 +102,13 @@ msgid ""
|
|||
":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` with "
|
||||
"additional one :code:`disabled` to disable answer."
|
||||
msgstr ""
|
||||
"Аргументи маркерів такі ж, як і в "
|
||||
":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` з "
|
||||
"додатковим :code:`disabled` для відключення відповіді."
|
||||
|
||||
#: ../../utils/callback_answer.rst:54
|
||||
msgid "A special case"
|
||||
msgstr ""
|
||||
msgstr "Особливий випадок"
|
||||
|
||||
#: ../../utils/callback_answer.rst:56
|
||||
msgid ""
|
||||
|
|
@ -98,16 +117,22 @@ msgid ""
|
|||
"of :class:`aiogram.utils.callback_answer.CallbackAnswer` object inside "
|
||||
"handler and change whatever you want."
|
||||
msgstr ""
|
||||
"Не завжди правильно відповідати однаково в кожному випадку, тому є "
|
||||
"можливість змінити відповідь всередині обробника. Ви можете отримати "
|
||||
"екземпляр об'єкта :class:`aiogram.utils.callback_answer.CallbackAnswer` "
|
||||
"всередині обробника і змінити все, що завгодно."
|
||||
|
||||
#: ../../utils/callback_answer.rst:61
|
||||
msgid ""
|
||||
"Note that is impossible to change callback answer attributes when you use"
|
||||
" :code:`pre=True` mode."
|
||||
msgstr ""
|
||||
"Зверніть увагу, що неможливо змінити атрибути відповіді на виклик, коли "
|
||||
"ви використовуєте режим :code:`pre=True`."
|
||||
|
||||
#: ../../utils/callback_answer.rst:76
|
||||
msgid "Combine that all at once"
|
||||
msgstr ""
|
||||
msgstr "Об'єднайте все це одночасно"
|
||||
|
||||
#: ../../utils/callback_answer.rst:78
|
||||
msgid ""
|
||||
|
|
@ -115,10 +140,13 @@ msgid ""
|
|||
"\"🤔\" but at some cases need to answer after the handler with custom "
|
||||
"text, so you can do it:"
|
||||
msgstr ""
|
||||
"Наприклад, ви хочете відповісти в більшості випадків перед обробником з "
|
||||
"текстом \"🤔\", але в деяких випадках потрібно відповісти після обробника "
|
||||
"зі спеціальним текстом, тому ви можете зробити це:"
|
||||
|
||||
#: ../../utils/callback_answer.rst:94
|
||||
msgid "Description of objects"
|
||||
msgstr ""
|
||||
msgstr "Опис об'єктів"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware:1 of
|
||||
msgid "Bases: :py:class:`~aiogram.dispatcher.middlewares.base.BaseMiddleware`"
|
||||
|
|
@ -129,35 +157,38 @@ msgid ""
|
|||
"Inner middleware for callback query handlers, can be useful in bots with "
|
||||
"a lot of callback handlers to automatically take answer to all requests"
|
||||
msgstr ""
|
||||
"Внутрішня проміжна програма (middleware) для обробників запитів зворотного виклику, може бути "
|
||||
"корисно в ботах з багатьма обробниками зворотного виклику, щоб автоматично "
|
||||
"отримувати відповідь на всі запити"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__
|
||||
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__ of
|
||||
msgid "Parameters"
|
||||
msgstr ""
|
||||
msgstr "Параметри"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:4 of
|
||||
msgid "send answer before execute handler"
|
||||
msgstr ""
|
||||
msgstr "відправити відповідь перед виконанням обробника"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:5
|
||||
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:5 of
|
||||
msgid "answer with text"
|
||||
msgstr ""
|
||||
msgstr "відповісти текстом"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:6
|
||||
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:6 of
|
||||
msgid "show alert"
|
||||
msgstr ""
|
||||
msgstr "показати сповіщення"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:7
|
||||
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:7 of
|
||||
msgid "game url"
|
||||
msgstr ""
|
||||
msgstr "URL гри"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:8
|
||||
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:8 of
|
||||
msgid "cache answer for some time"
|
||||
msgstr ""
|
||||
msgstr "кешувати відповідь на деякий час"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer:1 of
|
||||
msgid "Bases: :py:class:`object`"
|
||||
|
|
@ -165,41 +196,41 @@ msgstr ""
|
|||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:1 of
|
||||
msgid "Callback answer configuration"
|
||||
msgstr ""
|
||||
msgstr "Конфігурація відповіді на зворотній виклик"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:3 of
|
||||
msgid "this request is already answered by middleware"
|
||||
msgstr ""
|
||||
msgstr "цей запит вже відповів проміжній програмі (middleware)"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:4 of
|
||||
msgid "answer will not be performed"
|
||||
msgstr ""
|
||||
msgstr "відповідь не буде виконана"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.disable:1 of
|
||||
msgid "Deactivate answering for this handler"
|
||||
msgstr ""
|
||||
msgstr "Деактивувати відповідь для цього обробника"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.disabled:1 of
|
||||
msgid "Indicates that automatic answer is disabled in this handler"
|
||||
msgstr ""
|
||||
msgstr "Вказує, що автоматична відповідь відключена в цьому обробнику"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.answered:1 of
|
||||
msgid "Indicates that request is already answered by middleware"
|
||||
msgstr ""
|
||||
msgstr "Вказує, що запит вже відповів проміжній програмі (middleware)"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.text:1 of
|
||||
msgid "Response text :return:"
|
||||
msgstr ""
|
||||
msgstr "Текст відповіді :return:"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.show_alert:1 of
|
||||
msgid "Whether to display an alert"
|
||||
msgstr ""
|
||||
msgstr "Чи показувати сповіщення"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.url:1 of
|
||||
msgid "Game url"
|
||||
msgstr ""
|
||||
msgstr "URL гри"
|
||||
|
||||
#: aiogram.utils.callback_answer.CallbackAnswer.cache_time:1 of
|
||||
msgid "Response cache time"
|
||||
msgstr ""
|
||||
msgstr "Час кешування відповіді"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue