mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 02:19:54 +00:00
* Added basic support of Bot API 6.6 * Update descriptions * Added StickerFormat enum * Bump version * Refresh from docs * Fixed CommandStart * Fixed files uploading * Cover new functionality * Added changelog * Update texts
204 lines
5.8 KiB
Text
204 lines
5.8 KiB
Text
# 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-03-11 01:52+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.11.0\n"
|
|
|
|
#: ../../utils/callback_answer.rst:4
|
|
msgid "Callback answer"
|
|
msgstr ""
|
|
|
|
#: ../../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 ""
|
|
|
|
#: ../../utils/callback_answer.rst:12
|
|
msgid ""
|
|
"For use, it is enough to register the inner middleware "
|
|
":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` in "
|
|
"dispatcher or specific router:"
|
|
msgstr ""
|
|
|
|
#: ../../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 ""
|
|
|
|
#: ../../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 ""
|
|
|
|
#: ../../utils/callback_answer.rst:26
|
|
msgid "Global defaults"
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:28
|
|
msgid ""
|
|
"Change default parameters while initializing middleware, for example "
|
|
"change answer to `pre` mode and text \"OK\":"
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:35
|
|
msgid ""
|
|
"Look at :class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` "
|
|
"to get all available parameters"
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:39
|
|
msgid "Handler specific"
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:41
|
|
msgid ""
|
|
"By using :ref:`flags <flags>` you can change the behavior for specific "
|
|
"handler"
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:50
|
|
msgid ""
|
|
"Flag arguments is the same as in "
|
|
":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` with "
|
|
"additional one :code:`disabled` to disable answer."
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:54
|
|
msgid "A special case"
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:56
|
|
msgid ""
|
|
"It is not always correct to answer the same in every case, so there is an"
|
|
" option to change the answer inside the handler. You can get an instance "
|
|
"of :class:`aiogram.utils.callback_answer.CallbackAnswer` object inside "
|
|
"handler and change whatever you want."
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:61
|
|
msgid ""
|
|
"Note that is impossible to change callback answer attributes when you use"
|
|
" :code:`pre=True` mode."
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:76
|
|
msgid "Combine that all at once"
|
|
msgstr ""
|
|
|
|
#: ../../utils/callback_answer.rst:78
|
|
msgid ""
|
|
"For example you want to answer in most of cases before handler with text "
|
|
"\"🤔\" 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 ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware:1 of
|
|
msgid "Bases: :py:class:`~aiogram.dispatcher.middlewares.base.BaseMiddleware`"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:1 of
|
|
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 ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__ of
|
|
msgid "Parameters"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:4 of
|
|
msgid "send answer before execute handler"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:5
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:5 of
|
|
msgid "answer with text"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:6
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:6 of
|
|
msgid "show alert"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:7
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:7 of
|
|
msgid "game url"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:8
|
|
#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:8 of
|
|
msgid "cache answer for some time"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer:1 of
|
|
msgid "Bases: :py:class:`object`"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:1 of
|
|
msgid "Callback answer configuration"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:3 of
|
|
msgid "this request is already answered by middleware"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.__init__:4 of
|
|
msgid "answer will not be performed"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.disable:1 of
|
|
msgid "Deactivate answering for this handler"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.disabled:1 of
|
|
msgid "Indicates that automatic answer is disabled in this handler"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.answered:1 of
|
|
msgid "Indicates that request is already answered by middleware"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.text:1 of
|
|
msgid "Response text :return:"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.show_alert:1 of
|
|
msgid "Whether to display an alert"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.url:1 of
|
|
msgid "Game url"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.callback_answer.CallbackAnswer.cache_time:1 of
|
|
msgid "Response cache time"
|
|
msgstr ""
|