mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-16 12:07:13 +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
120
docs/locale/en/LC_MESSAGES/api/methods/delete_message.po
Normal file
120
docs/locale/en/LC_MESSAGES/api/methods/delete_message.po
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
# 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"
|
||||
|
||||
#: ../../api/methods/delete_message.rst:3
|
||||
msgid "deleteMessage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:5
|
||||
msgid "Returns: :obj:`bool`"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:1 of
|
||||
msgid ""
|
||||
"Use this method to delete a message, including service messages, with the"
|
||||
" following limitations:"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:3 of
|
||||
msgid "A message can only be deleted if it was sent less than 48 hours ago."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:5 of
|
||||
msgid ""
|
||||
"A dice message in a private chat can only be deleted if it was sent more "
|
||||
"than 24 hours ago."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:7 of
|
||||
msgid ""
|
||||
"Bots can delete outgoing messages in private chats, groups, and "
|
||||
"supergroups."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:9 of
|
||||
msgid "Bots can delete incoming messages in private chats."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:11 of
|
||||
msgid ""
|
||||
"Bots granted *can_post_messages* permissions can delete outgoing messages"
|
||||
" in channels."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:13 of
|
||||
msgid ""
|
||||
"If the bot is an administrator of a group, it can delete any message "
|
||||
"there."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:15 of
|
||||
msgid ""
|
||||
"If the bot has *can_delete_messages* permission in a supergroup or a "
|
||||
"channel, it can delete any message there."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:17 of
|
||||
msgid "Returns :code:`True` on success."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.delete_message.DeleteMessage:19 of
|
||||
msgid "Source: https://core.telegram.org/bots/api#deletemessage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.methods.delete_message.DeleteMessage.chat_id:1 of
|
||||
msgid ""
|
||||
"Unique identifier for the target chat or username of the target channel "
|
||||
"(in the format :code:`@channelusername`)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.methods.delete_message.DeleteMessage.message_id:1 of
|
||||
msgid "Identifier of the message to delete"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:14
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:17
|
||||
msgid "As bot method"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:25
|
||||
msgid "Method as object"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:27
|
||||
msgid "Imports:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:29
|
||||
msgid ":code:`from aiogram.methods.delete_message import DeleteMessage`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:30
|
||||
msgid "alias: :code:`from aiogram.methods import DeleteMessage`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:33
|
||||
msgid "With specific bot"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/delete_message.rst:40
|
||||
msgid "As reply into Webhook in handler"
|
||||
msgstr ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue