mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 10:26:53 +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
119
docs/locale/en/LC_MESSAGES/api/methods/send_sticker.po
Normal file
119
docs/locale/en/LC_MESSAGES/api/methods/send_sticker.po
Normal file
|
|
@ -0,0 +1,119 @@
|
|||
# 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/send_sticker.rst:3
|
||||
msgid "sendSticker"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:5
|
||||
msgid "Returns: :obj:`Message`"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.send_sticker.SendSticker:1 of
|
||||
msgid ""
|
||||
"Use this method to send static .WEBP, `animated "
|
||||
"<https://telegram.org/blog/animated-stickers>`_ .TGS, or `video "
|
||||
"<https://telegram.org/blog/video-stickers-better-reactions>`_ .WEBM "
|
||||
"stickers. On success, the sent :class:`aiogram.types.message.Message` is "
|
||||
"returned."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.methods.send_sticker.SendSticker:3 of
|
||||
msgid "Source: https://core.telegram.org/bots/api#sendsticker"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.methods.send_sticker.SendSticker.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.send_sticker.SendSticker.sticker:1 of
|
||||
msgid ""
|
||||
"Sticker to send. Pass a file_id as String to send a file that exists on "
|
||||
"the Telegram servers (recommended), pass an HTTP URL as a String for "
|
||||
"Telegram to get a .WEBP file from the Internet, or upload a new one using"
|
||||
" multipart/form-data. :ref:`More information on Sending Files » <sending-"
|
||||
"files>`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.send_sticker.SendSticker.disable_notification:1 of
|
||||
msgid ""
|
||||
"Sends the message `silently <https://telegram.org/blog/channels-2-0"
|
||||
"#silent-messages>`_. Users will receive a notification with no sound."
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.methods.send_sticker.SendSticker.protect_content:1
|
||||
#: of
|
||||
msgid "Protects the contents of the sent message from forwarding and saving"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.send_sticker.SendSticker.reply_to_message_id:1 of
|
||||
msgid "If the message is a reply, ID of the original message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring
|
||||
#: aiogram.methods.send_sticker.SendSticker.allow_sending_without_reply:1 of
|
||||
msgid ""
|
||||
"Pass :code:`True` if the message should be sent even if the specified "
|
||||
"replied-to message is not found"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.methods.send_sticker.SendSticker.reply_markup:1 of
|
||||
msgid ""
|
||||
"Additional interface options. A JSON-serialized object for an `inline "
|
||||
"keyboard <https://core.telegram.org/bots#inline-keyboards-and-on-the-fly-"
|
||||
"updating>`_, `custom reply keyboard "
|
||||
"<https://core.telegram.org/bots#keyboards>`_, instructions to remove "
|
||||
"reply keyboard or to force a reply from the user."
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:14
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:17
|
||||
msgid "As bot method"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:25
|
||||
msgid "Method as object"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:27
|
||||
msgid "Imports:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:29
|
||||
msgid ":code:`from aiogram.methods.send_sticker import SendSticker`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:30
|
||||
msgid "alias: :code:`from aiogram.methods import SendSticker`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:33
|
||||
msgid "With specific bot"
|
||||
msgstr ""
|
||||
|
||||
#: ../../api/methods/send_sticker.rst:40
|
||||
msgid "As reply into Webhook in handler"
|
||||
msgstr ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue