mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 03:08:51 +00:00
Bump texts translation files
This commit is contained in:
parent
faadc80460
commit
54134c68fe
73 changed files with 9002 additions and 1593 deletions
|
|
@ -8,14 +8,14 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
|
||||
"POT-Creation-Date: 2023-07-30 18:31+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.11.0\n"
|
||||
"Generated-By: Babel 2.12.1\n"
|
||||
|
||||
#: ../../dispatcher/dispatcher.rst:3
|
||||
msgid "Dispatcher"
|
||||
|
|
@ -92,8 +92,7 @@ msgstr ""
|
|||
msgid "Run many bots with polling"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:3
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:3 of
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:3 of
|
||||
msgid "Bot instances (one or mre)"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -112,23 +111,22 @@ msgstr ""
|
|||
msgid "backoff-retry config"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:7
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:7 of
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:7 of
|
||||
msgid "List of the update types you want your bot to receive"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:8
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:8 of
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:9 of
|
||||
msgid "handle signals (SIGINT/SIGTERM)"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:9
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:9 of
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:10 of
|
||||
msgid "close bot sessions on shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.run_polling:10
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:10 of
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:11 of
|
||||
msgid "contextual data"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -141,6 +139,16 @@ msgstr ""
|
|||
msgid "Polling runner"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:3 of
|
||||
msgid "Bot instances (one or more)"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.dispatcher.Dispatcher.start_polling:7 of
|
||||
msgid ""
|
||||
"List of the update types you want your bot to receive By default, all "
|
||||
"used update types are enabled (resolved from handlers)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/dispatcher.rst:18
|
||||
msgid "Simple usage"
|
||||
msgstr ""
|
||||
|
|
|
|||
159
docs/locale/en/LC_MESSAGES/dispatcher/errors.po
Normal file
159
docs/locale/en/LC_MESSAGES/dispatcher/errors.po
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
# 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-07-30 18:31+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.12.1\n"
|
||||
|
||||
#: ../../dispatcher/errors.rst:3
|
||||
msgid "Errors"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/errors.rst:7
|
||||
msgid "Handling errors"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/errors.rst:9
|
||||
msgid ""
|
||||
"Is recommended way that you should use errors inside handlers using try-"
|
||||
"except block, but in common cases you can use global errors handler at "
|
||||
"router or dispatcher level."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/errors.rst:12
|
||||
msgid ""
|
||||
"If you specify errors handler for router - it will be used for all "
|
||||
"handlers inside this router."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/errors.rst:14
|
||||
msgid ""
|
||||
"If you specify errors handler for dispatcher - it will be used for all "
|
||||
"handlers inside all routers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/errors.rst:34
|
||||
msgid "ErrorEvent"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.types.error_event.ErrorEvent:1 of
|
||||
msgid ""
|
||||
"Internal event, should be used to receive errors while processing Updates"
|
||||
" from Telegram"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.types.error_event.ErrorEvent:3 of
|
||||
msgid "Source: https://core.telegram.org/bots/api#error-event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.types.error_event.ErrorEvent.update:1 of
|
||||
msgid "Received update"
|
||||
msgstr ""
|
||||
|
||||
#: ../../docstring aiogram.types.error_event.ErrorEvent.exception:1 of
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/errors.rst:45
|
||||
msgid "Error types"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.AiogramError:1 of
|
||||
msgid "Base exception for all aiogram errors."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.DetailedAiogramError:1 of
|
||||
msgid "Base exception for all aiogram errors with detailed message."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.CallbackAnswerException:1 of
|
||||
msgid "Exception for callback answer."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.UnsupportedKeywordArgument:1 of
|
||||
msgid "Exception raised when a keyword argument is passed as filter."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramAPIError:1 of
|
||||
msgid "Base exception for all Telegram API errors."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramNetworkError:1 of
|
||||
msgid "Base exception for all Telegram network errors."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramRetryAfter:1 of
|
||||
msgid "Exception raised when flood control exceeds."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramMigrateToChat:1 of
|
||||
msgid "Exception raised when chat has been migrated to a supergroup."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramBadRequest:1 of
|
||||
msgid "Exception raised when request is malformed."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramNotFound:1 of
|
||||
msgid "Exception raised when chat, message, user, etc. not found."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramConflictError:1 of
|
||||
msgid ""
|
||||
"Exception raised when bot token is already used by another application in"
|
||||
" polling mode."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramUnauthorizedError:1 of
|
||||
msgid "Exception raised when bot token is invalid."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramForbiddenError:1 of
|
||||
msgid "Exception raised when bot is kicked from chat or etc."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramServerError:1 of
|
||||
msgid "Exception raised when Telegram server returns 5xx error."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.RestartingTelegram:1 of
|
||||
msgid "Exception raised when Telegram server is restarting."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.RestartingTelegram:3 of
|
||||
msgid ""
|
||||
"It seems like this error is not used by Telegram anymore, but it's still "
|
||||
"here for backward compatibility."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.RestartingTelegram:6 of
|
||||
msgid ""
|
||||
"Currently, you should expect that Telegram can raise RetryAfter (with "
|
||||
"timeout 5 seconds)"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.RestartingTelegram:7 of
|
||||
msgid "error instead of this one."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.TelegramEntityTooLarge:1 of
|
||||
msgid "Exception raised when you are trying to send a file that is too large."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.exceptions.ClientDecodeError:1 of
|
||||
msgid ""
|
||||
"Exception raised when client can't decode response. (Malformed response, "
|
||||
"etc.)"
|
||||
msgstr ""
|
||||
|
|
@ -8,14 +8,14 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: aiogram \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-11-23 00:47+0200\n"
|
||||
"POT-Creation-Date: 2023-07-30 18:31+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"
|
||||
"Generated-By: Babel 2.12.1\n"
|
||||
|
||||
#: ../../dispatcher/router.rst:3
|
||||
msgid "Router"
|
||||
|
|
@ -46,7 +46,9 @@ msgid "By decorator - :obj:`@router.<event_type>(<filters, ...>)`"
|
|||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.router.Router.__init__
|
||||
#: aiogram.dispatcher.router.Router.include_router of
|
||||
#: aiogram.dispatcher.router.Router.include_router
|
||||
#: aiogram.dispatcher.router.Router.include_routers
|
||||
#: aiogram.dispatcher.router.Router.resolve_used_update_types of
|
||||
msgid "Parameters"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -58,15 +60,37 @@ msgstr ""
|
|||
msgid "Attach another router."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.router.Router.include_router of
|
||||
#: aiogram.dispatcher.router.Router.include_router
|
||||
#: aiogram.dispatcher.router.Router.include_routers
|
||||
#: aiogram.dispatcher.router.Router.resolve_used_update_types of
|
||||
msgid "Returns"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:11
|
||||
#: aiogram.dispatcher.router.Router.include_routers:1 of
|
||||
msgid "Attach multiple routers."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.router.Router.resolve_used_update_types:1 of
|
||||
msgid "Resolve registered event names"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.router.Router.resolve_used_update_types:3 of
|
||||
msgid "Is useful for getting updates only for registered event types."
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.router.Router.resolve_used_update_types:5 of
|
||||
msgid "skip specified event names"
|
||||
msgstr ""
|
||||
|
||||
#: aiogram.dispatcher.router.Router.resolve_used_update_types:6 of
|
||||
msgid "set of registered names"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:13
|
||||
msgid "Event observers"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:15
|
||||
#: ../../dispatcher/router.rst:17
|
||||
msgid ""
|
||||
"All handlers always should be asynchronous. The name of the handler "
|
||||
"function is not important. The event argument name is also not important "
|
||||
|
|
@ -74,134 +98,145 @@ msgid ""
|
|||
" to function can not accept two arguments with the same name."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:18
|
||||
#: ../../dispatcher/router.rst:20
|
||||
msgid ""
|
||||
"Here is the list of available observers and examples of how to register "
|
||||
"handlers"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:20
|
||||
#: ../../dispatcher/router.rst:22
|
||||
msgid ""
|
||||
"In these examples only decorator-style registering handlers are used, but"
|
||||
" if you don't like @decorators just use :obj:`<event type>.register(...)`"
|
||||
" method instead."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:23
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:32
|
||||
msgid ""
|
||||
"By default Router already has an update handler which route all event "
|
||||
"types to another observers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:36
|
||||
#: ../../dispatcher/router.rst:25
|
||||
msgid "Message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:41
|
||||
#: ../../dispatcher/router.rst:30
|
||||
msgid "Be attentive with filtering this event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:43
|
||||
#: ../../dispatcher/router.rst:32
|
||||
msgid ""
|
||||
"You should expect that this event can be with different sets of "
|
||||
"attributes in different cases"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:45
|
||||
#: ../../dispatcher/router.rst:34
|
||||
msgid ""
|
||||
"(For example text, sticker and document are always of different content "
|
||||
"types of message)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:47
|
||||
#: ../../dispatcher/router.rst:36
|
||||
msgid ""
|
||||
"Recommended way to check field availability before usage, for example via"
|
||||
" :ref:`magic filter <magic-filters>`: :code:`F.text` to handle text, "
|
||||
":code:`F.sticker` to handle stickers only and etc."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:58
|
||||
#: ../../dispatcher/router.rst:47
|
||||
msgid "Edited message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:66
|
||||
#: ../../dispatcher/router.rst:55
|
||||
msgid "Channel post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:74
|
||||
#: ../../dispatcher/router.rst:63
|
||||
msgid "Edited channel post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:83
|
||||
#: ../../dispatcher/router.rst:72
|
||||
msgid "Inline query"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:91
|
||||
#: ../../dispatcher/router.rst:80
|
||||
msgid "Chosen inline query"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:99
|
||||
#: ../../dispatcher/router.rst:88
|
||||
msgid "Callback query"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:107
|
||||
#: ../../dispatcher/router.rst:96
|
||||
msgid "Shipping query"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:115
|
||||
#: ../../dispatcher/router.rst:104
|
||||
msgid "Pre checkout query"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:123
|
||||
#: ../../dispatcher/router.rst:112
|
||||
msgid "Poll"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:131
|
||||
#: ../../dispatcher/router.rst:120
|
||||
msgid "Poll answer"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:139
|
||||
#: ../../dispatcher/router.rst:128
|
||||
msgid "Errors"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:146
|
||||
msgid "Is useful for handling errors from other handlers"
|
||||
#: ../../dispatcher/router.rst:135
|
||||
msgid ""
|
||||
"Is useful for handling errors from other handlers, error event described "
|
||||
":ref:`here <error-event>`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:150
|
||||
#: ../../dispatcher/router.rst:142
|
||||
msgid "Nested routers"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:155
|
||||
#: ../../dispatcher/router.rst:147
|
||||
msgid ""
|
||||
"Routers by the way can be nested to an another routers with some "
|
||||
"limitations:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:155
|
||||
#: ../../dispatcher/router.rst:147
|
||||
msgid ""
|
||||
"1. Router **CAN NOT** include itself 1. Routers **CAN NOT** be used for "
|
||||
"circular including (router 1 include router 2, router 2 include router 3,"
|
||||
" router 3 include router 1)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:159
|
||||
#: ../../dispatcher/router.rst:151
|
||||
msgid "Example:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:161 ../../dispatcher/router.rst:171
|
||||
#: ../../dispatcher/router.rst:153
|
||||
msgid "module_1.py"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:163
|
||||
msgid "module_2.py"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:183
|
||||
#: ../../dispatcher/router.rst:175
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:184
|
||||
msgid "The only root Router (Dispatcher) can handle this type of event."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:188
|
||||
msgid ""
|
||||
"Dispatcher already has default handler for this event type, so you can "
|
||||
"use it for handling all updates that are not handled by any other "
|
||||
"handlers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:191
|
||||
msgid "How it works?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:185
|
||||
#: ../../dispatcher/router.rst:193
|
||||
msgid ""
|
||||
"For example, dispatcher has 2 routers, the last router also has one "
|
||||
"nested router:"
|
||||
|
|
@ -211,7 +246,7 @@ msgstr ""
|
|||
msgid "Nested routers example"
|
||||
msgstr ""
|
||||
|
||||
#: ../../dispatcher/router.rst:190
|
||||
#: ../../dispatcher/router.rst:198
|
||||
msgid "In this case update propagation flow will have form:"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -220,3 +255,12 @@ msgstr ""
|
|||
#~ "import string in format "
|
||||
#~ "\"<module>:<attribute>\""
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "By default Router already has an "
|
||||
#~ "update handler which route all event "
|
||||
#~ "types to another observers."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Is useful for handling errors from other handlers"
|
||||
#~ msgstr ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue