mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 02:19:54 +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
97 lines
2.6 KiB
Text
97 lines
2.6 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"
|
|
|
|
#: ../../api/session/aiohttp.rst:3
|
|
msgid "aiohttp"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:5
|
|
msgid ""
|
|
"AiohttpSession represents a wrapper-class around `ClientSession` from "
|
|
"`aiohttp <https://pypi.org/project/aiohttp/>`_"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:7
|
|
msgid "Currently `AiohttpSession` is a default session used in `aiogram.Bot`"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:12
|
|
msgid "Usage example"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:24
|
|
msgid "Proxy requests in AiohttpSession"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:26
|
|
msgid ""
|
|
"In order to use AiohttpSession with proxy connector you have to install "
|
|
"`aiohttp-socks <https://pypi.org/project/aiohttp-socks>`_"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:28
|
|
msgid "Binding session to bot:"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:41
|
|
msgid ""
|
|
"Only following protocols are supported: http(tunneling), socks4(a), "
|
|
"socks5 as aiohttp_socks `documentation <https://github.com/romis2012"
|
|
"/aiohttp-socks/blob/master/README.md>`_ claims."
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:46
|
|
msgid "Authorization"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:48
|
|
msgid ""
|
|
"Proxy authorization credentials can be specified in proxy URL or come as "
|
|
"an instance of :obj:`aiohttp.BasicAuth` containing login and password."
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:51
|
|
msgid "Consider examples:"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:62
|
|
msgid "or simply include your basic auth credential in URL"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:71
|
|
msgid ""
|
|
"Aiogram prefers `BasicAuth` over username and password in URL, so if "
|
|
"proxy URL contains login and password and `BasicAuth` object is passed at"
|
|
" the same time aiogram will use login and password from `BasicAuth` "
|
|
"instance."
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:77
|
|
msgid "Proxy chains"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:79
|
|
msgid ""
|
|
"Since `aiohttp-socks <https://pypi.org/project/aiohttp-socks/>`_ supports"
|
|
" proxy chains, you're able to use them in aiogram"
|
|
msgstr ""
|
|
|
|
#: ../../api/session/aiohttp.rst:81
|
|
msgid "Example of chain proxies:"
|
|
msgstr ""
|