mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Remove filters factory, introduce docs translation (#978)
* Rewrite filters * Update README.rst * Fixed tests * Small optimization of the Text filter (TY to @bomzheg) * Remove dataclass slots argument in due to the only Python 3.10 has an slots argument * Fixed mypy * Update tests * Disable Python 3.11 * Fixed #1013: Empty mention should be None instead of empty string. * Added #990 to the changelog * Added #942 to the changelog * Fixed coverage * Update poetry and dependencies * Fixed mypy * Remove deprecated code * Added more tests, update pyproject.toml * Partial update docs * Added initial Docs translation files * Added more changes * Added log message when connection is established in polling process * Fixed action * Disable lint for PyPy * Added changelog for docs translation
This commit is contained in:
parent
94030903ec
commit
f4251382e8
610 changed files with 61738 additions and 1687 deletions
|
|
@ -0,0 +1,56 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:5
|
||||
msgid "BaseHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:7
|
||||
msgid ""
|
||||
"Base handler is generic abstract class and should be used in all other "
|
||||
"class-based handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:9
|
||||
msgid "Import: :code:`from aiogram.handler import BaseHandler`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:11
|
||||
msgid ""
|
||||
"By default you will need to override only method :code:`async def "
|
||||
"handle(self) -> Any: ...`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:13
|
||||
msgid ""
|
||||
"This class is also have an default initializer and you don't need to "
|
||||
"change it. Initializer accepts current event and all contextual data and "
|
||||
"which can be accessed from the handler through attributes: :code:`event: "
|
||||
"TelegramEvent` and :code:`data: Dict[Any, str]`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:17
|
||||
msgid ""
|
||||
"If instance of the bot is specified in context data or current context it"
|
||||
" can be accessed through *bot* class attribute."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:20
|
||||
msgid "Example"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/callback_query.rst:3
|
||||
msgid "CallbackQueryHandler"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.handlers.callback_query.CallbackQueryHandler:1 of
|
||||
msgid "There is base class for callback query handlers."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.handlers.callback_query.CallbackQueryHandler:13 of
|
||||
msgid "Example:"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.handlers.callback_query.CallbackQueryHandler.from_user:1 of
|
||||
msgid "Is alias for `event.from_user`"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.handlers.callback_query.CallbackQueryHandler.message:1 of
|
||||
msgid "Is alias for `event.message`"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.handlers.callback_query.CallbackQueryHandler.callback_data:1 of
|
||||
msgid "Is alias for `event.data`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chat_member.rst:3
|
||||
msgid "ChatMemberHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chat_member.rst:5
|
||||
msgid "There is base class for chat member updated events."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chat_member.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chat_member.rst:23
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chat_member.rst:25
|
||||
msgid ""
|
||||
"This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chat_member.rst:27
|
||||
msgid ":code:`self.chat` is alias for :code:`self.event.chat`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chosen_inline_result.rst:3
|
||||
msgid "ChosenInlineResultHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chosen_inline_result.rst:5
|
||||
msgid "There is base class for chosen inline result handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chosen_inline_result.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chosen_inline_result.rst:22
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chosen_inline_result.rst:24
|
||||
msgid ""
|
||||
"This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chosen_inline_result.rst:26
|
||||
msgid ":code:`self.chat` is alias for :code:`self.event.chat`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/chosen_inline_result.rst:27
|
||||
msgid ":code:`self.from_user` is alias for :code:`self.event.from_user`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/error.rst:3
|
||||
msgid "ErrorHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/error.rst:5
|
||||
msgid "There is base class for error handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/error.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/error.rst:27
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/error.rst:29
|
||||
msgid ""
|
||||
"This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/error.rst:31
|
||||
msgid ""
|
||||
":code:`self.exception_name` is alias for "
|
||||
":code:`self.event.__class__.__name__`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/error.rst:32
|
||||
msgid ":code:`self.exception_message` is alias for :code:`str(self.event)`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/index.rst:3
|
||||
msgid "Class based handlers"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/index.rst:5
|
||||
msgid ""
|
||||
"A handler is a async callable which takes a event with contextual data "
|
||||
"and returns a response."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/index.rst:7
|
||||
msgid ""
|
||||
"In **aiogram** it can be more than just an async function, these allow "
|
||||
"you to use classes which can be used as Telegram event handlers to "
|
||||
"structure your event handlers and reuse code by harnessing inheritance "
|
||||
"and mixins."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/index.rst:10
|
||||
msgid ""
|
||||
"There are some base class based handlers what you need to use in your own"
|
||||
" handlers:"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/inline_query.rst:3
|
||||
msgid "InlineQueryHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/inline_query.rst:5
|
||||
msgid "There is base class for inline query handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/inline_query.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/inline_query.rst:22
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/inline_query.rst:24
|
||||
msgid ""
|
||||
"This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/inline_query.rst:26
|
||||
msgid ":code:`self.chat` is alias for :code:`self.event.chat`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/inline_query.rst:27
|
||||
msgid ":code:`self.query` is alias for :code:`self.event.query`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/message.rst:3
|
||||
msgid "MessageHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/message.rst:5
|
||||
msgid "There is base class for message handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/message.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/message.rst:22
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/message.rst:24
|
||||
msgid ""
|
||||
"This base handler is subclass of [BaseHandler](basics.md#basehandler) "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/message.rst:26
|
||||
msgid ":code:`self.chat` is alias for :code:`self.event.chat`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/message.rst:27
|
||||
msgid ":code:`self.from_user` is alias for :code:`self.event.from_user`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/poll.rst:3
|
||||
msgid "PollHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/poll.rst:5
|
||||
msgid "There is base class for poll handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/poll.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/poll.rst:21
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/poll.rst:23
|
||||
msgid ""
|
||||
"This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/poll.rst:25
|
||||
msgid ":code:`self.question` is alias for :code:`self.event.question`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/poll.rst:26
|
||||
msgid ":code:`self.options` is alias for :code:`self.event.options`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/pre_checkout_query.rst:3
|
||||
msgid "PreCheckoutQueryHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/pre_checkout_query.rst:5
|
||||
msgid "There is base class for callback query handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/pre_checkout_query.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/pre_checkout_query.rst:21
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/pre_checkout_query.rst:23
|
||||
msgid ""
|
||||
"This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/pre_checkout_query.rst:25
|
||||
msgid ":code:`self.from_user` is alias for :code:`self.event.from_user`"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2022, aiogram Team
|
||||
# This file is distributed under the same license as the aiogram package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-10-01 22:51+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"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/shipping_query.rst:3
|
||||
msgid "ShippingQueryHandler"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/shipping_query.rst:5
|
||||
msgid "There is base class for callback query handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/shipping_query.rst:8
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/shipping_query.rst:21
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/shipping_query.rst:23
|
||||
msgid ""
|
||||
"This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` "
|
||||
"with some extensions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/shipping_query.rst:25
|
||||
msgid ":code:`self.from_user` is alias for :code:`self.event.from_user`"
|
||||
msgstr ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue