mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
* 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
146 lines
4.3 KiB
Text
146 lines
4.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-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"
|
|
|
|
#: ../../utils/chat_action.rst:3
|
|
msgid "Chat action sender"
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:6
|
|
msgid "Sender"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender:1 of
|
|
msgid ""
|
|
"This utility helps to automatically send chat action until long actions "
|
|
"is done to take acknowledge bot users the bot is doing something and not "
|
|
"crashed."
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender:4 of
|
|
msgid "Provides simply to use context manager."
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender:6 of
|
|
msgid ""
|
|
"Technically sender start background task with infinity loop which works "
|
|
"until action will be finished and sends the `chat action "
|
|
"<https://core.telegram.org/bots/api#sendchataction>`_ every 5 seconds."
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.__init__ of
|
|
msgid "Parameters"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.__init__:1 of
|
|
msgid "target chat id"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.__init__:2 of
|
|
msgid "chat action type"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.__init__:3 of
|
|
msgid "interval between iterations"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.__init__:4 of
|
|
msgid "sleep before first iteration"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.__init__:5 of
|
|
msgid "instance of the bot, can be omitted from the context"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.choose_sticker:1 of
|
|
msgid "Create instance of the sender with `choose_sticker` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.find_location:1 of
|
|
msgid "Create instance of the sender with `find_location` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.record_video:1 of
|
|
msgid "Create instance of the sender with `record_video` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.record_video_note:1 of
|
|
msgid "Create instance of the sender with `record_video_note` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.record_voice:1 of
|
|
msgid "Create instance of the sender with `record_voice` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.typing:1 of
|
|
msgid "Create instance of the sender with `typing` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.upload_document:1 of
|
|
msgid "Create instance of the sender with `upload_document` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.upload_photo:1 of
|
|
msgid "Create instance of the sender with `upload_photo` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.upload_video:1 of
|
|
msgid "Create instance of the sender with `upload_video` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.upload_video_note:1 of
|
|
msgid "Create instance of the sender with `upload_video_note` action"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionSender.upload_voice:1 of
|
|
msgid "Create instance of the sender with `upload_voice` action"
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:12 ../../utils/chat_action.rst:29
|
|
msgid "Usage"
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:23
|
|
msgid "Middleware"
|
|
msgstr ""
|
|
|
|
#: aiogram.utils.chat_action.ChatActionMiddleware:1 of
|
|
msgid "Helps to automatically use chat action sender for all message handlers"
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:31
|
|
msgid "Before usa should be registered for the `message` event"
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:37
|
|
msgid ""
|
|
"After this action all handlers which works longer than `initial_sleep` "
|
|
"will produce the '`typing`' chat action."
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:39
|
|
msgid "Also sender can be customized via flags feature for particular handler."
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:41
|
|
msgid "Change only action type:"
|
|
msgstr ""
|
|
|
|
#: ../../utils/chat_action.rst:50
|
|
msgid "Change sender configuration:"
|
|
msgstr ""
|