aiogram/docs/locale/en/LC_MESSAGES/dispatcher/router.po
Alex Root Junior 3ea73fbbbd
Add missing shortcuts, new enums, reworked old stuff (#1070)
* Render shortcuts

* Render docs

* Added enumerations

* Added docs

* Use enums, removed Helper

* Bump butcher

* Added InputMediaType enum

* Added MaskPositionPoint, InlineQueryResultType enums

* Update texts

* Added StickerType enum

* Cover tests

* Update docs

* Fixed imports

* Re-enabled all pre-commit hooks
2022-12-04 03:05:49 +02:00

222 lines
5.3 KiB
Text

# 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-11-23 00:47+0200\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/router.rst:3
msgid "Router"
msgstr ""
#: aiogram.dispatcher.router.Router:1 of
msgid "Bases: :py:class:`object`"
msgstr ""
#: aiogram.dispatcher.router.Router:1 of
msgid ""
"Router can route update, and it nested update types like messages, "
"callback query, polls and all other event types."
msgstr ""
#: aiogram.dispatcher.router.Router:4 of
msgid "Event handlers can be registered in observer by two ways:"
msgstr ""
#: aiogram.dispatcher.router.Router:6 of
msgid ""
"By observer method - :obj:`router.<event_type>.register(handler, "
"<filters, ...>)`"
msgstr ""
#: aiogram.dispatcher.router.Router:7 of
msgid "By decorator - :obj:`@router.<event_type>(<filters, ...>)`"
msgstr ""
#: aiogram.dispatcher.router.Router.__init__
#: aiogram.dispatcher.router.Router.include_router of
msgid "Parameters"
msgstr ""
#: aiogram.dispatcher.router.Router.__init__:1 of
msgid "Optional router name, can be useful for debugging"
msgstr ""
#: aiogram.dispatcher.router.Router.include_router:1 of
msgid "Attach another router."
msgstr ""
#: aiogram.dispatcher.router.Router.include_router of
msgid "Returns"
msgstr ""
#: ../../dispatcher/router.rst:11
msgid "Event observers"
msgstr ""
#: ../../dispatcher/router.rst:15
msgid ""
"All handlers always should be asynchronous. The name of the handler "
"function is not important. The event argument name is also not important "
"but it is recommended to not overlap the name with contextual data in due"
" to function can not accept two arguments with the same name."
msgstr ""
#: ../../dispatcher/router.rst:18
msgid ""
"Here is the list of available observers and examples of how to register "
"handlers"
msgstr ""
#: ../../dispatcher/router.rst:20
msgid ""
"In these examples only decorator-style registering handlers are used, but"
" if you don't like @decorators just use :obj:`<event type>.register(...)`"
" method instead."
msgstr ""
#: ../../dispatcher/router.rst:23
msgid "Update"
msgstr ""
#: ../../dispatcher/router.rst:32
msgid ""
"By default Router already has an update handler which route all event "
"types to another observers."
msgstr ""
#: ../../dispatcher/router.rst:36
msgid "Message"
msgstr ""
#: ../../dispatcher/router.rst:41
msgid "Be attentive with filtering this event"
msgstr ""
#: ../../dispatcher/router.rst:43
msgid ""
"You should expect that this event can be with different sets of "
"attributes in different cases"
msgstr ""
#: ../../dispatcher/router.rst:45
msgid ""
"(For example text, sticker and document are always of different content "
"types of message)"
msgstr ""
#: ../../dispatcher/router.rst:47
msgid ""
"Recommended way to check field availability before usage, for example via"
" :ref:`magic filter <magic-filters>`: :code:`F.text` to handle text, "
":code:`F.sticker` to handle stickers only and etc."
msgstr ""
#: ../../dispatcher/router.rst:58
msgid "Edited message"
msgstr ""
#: ../../dispatcher/router.rst:66
msgid "Channel post"
msgstr ""
#: ../../dispatcher/router.rst:74
msgid "Edited channel post"
msgstr ""
#: ../../dispatcher/router.rst:83
msgid "Inline query"
msgstr ""
#: ../../dispatcher/router.rst:91
msgid "Chosen inline query"
msgstr ""
#: ../../dispatcher/router.rst:99
msgid "Callback query"
msgstr ""
#: ../../dispatcher/router.rst:107
msgid "Shipping query"
msgstr ""
#: ../../dispatcher/router.rst:115
msgid "Pre checkout query"
msgstr ""
#: ../../dispatcher/router.rst:123
msgid "Poll"
msgstr ""
#: ../../dispatcher/router.rst:131
msgid "Poll answer"
msgstr ""
#: ../../dispatcher/router.rst:139
msgid "Errors"
msgstr ""
#: ../../dispatcher/router.rst:146
msgid "Is useful for handling errors from other handlers"
msgstr ""
#: ../../dispatcher/router.rst:150
msgid "Nested routers"
msgstr ""
#: ../../dispatcher/router.rst:155
msgid ""
"Routers by the way can be nested to an another routers with some "
"limitations:"
msgstr ""
#: ../../dispatcher/router.rst:155
msgid ""
"1. Router **CAN NOT** include itself 1. Routers **CAN NOT** be used for "
"circular including (router 1 include router 2, router 2 include router 3,"
" router 3 include router 1)"
msgstr ""
#: ../../dispatcher/router.rst:159
msgid "Example:"
msgstr ""
#: ../../dispatcher/router.rst:161 ../../dispatcher/router.rst:171
msgid "module_2.py"
msgstr ""
#: ../../dispatcher/router.rst:183
msgid "How it works?"
msgstr ""
#: ../../dispatcher/router.rst:185
msgid ""
"For example, dispatcher has 2 routers, the last router also has one "
"nested router:"
msgstr ""
#: ../../dispatcher/router.rst:-1
msgid "Nested routers example"
msgstr ""
#: ../../dispatcher/router.rst:190
msgid "In this case update propagation flow will have form:"
msgstr ""
#~ msgid ""
#~ "Can be attached directly or by "
#~ "import string in format "
#~ "\"<module>:<attribute>\""
#~ msgstr ""