From 3ae5d904c9f62bd0ae6694e2e2b54c1bb9998d9f Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Wed, 2 Nov 2022 22:46:44 +0200 Subject: [PATCH] Update texts --- .../api/methods/edit_message_live_location.po | 16 +- .../api/methods/edit_message_media.po | 34 ++-- .../api/methods/forward_message.po | 34 ++-- .../api/methods/pin_chat_message.po | 34 ++-- .../api/methods/stop_message_live_location.po | 16 +- .../api/methods/unpin_chat_message.po | 34 ++-- .../en/LC_MESSAGES/api/types/message.po | 179 +++++++++++++++++- docs/locale/en/LC_MESSAGES/api/types/user.po | 16 +- .../finite_state_machine/storages.po | 17 +- .../api/methods/edit_message_live_location.po | 16 +- .../api/methods/edit_message_media.po | 34 ++-- .../api/methods/forward_message.po | 34 ++-- .../api/methods/pin_chat_message.po | 34 ++-- .../api/methods/stop_message_live_location.po | 16 +- .../api/methods/unpin_chat_message.po | 34 ++-- .../uk_UA/LC_MESSAGES/api/types/message.po | 179 +++++++++++++++++- .../uk_UA/LC_MESSAGES/api/types/user.po | 16 +- .../finite_state_machine/storages.po | 131 +++++++++++-- 18 files changed, 691 insertions(+), 183 deletions(-) diff --git a/docs/locale/en/LC_MESSAGES/api/methods/edit_message_live_location.po b/docs/locale/en/LC_MESSAGES/api/methods/edit_message_live_location.po index f7595e9f..bad77c33 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/edit_message_live_location.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/edit_message_live_location.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -117,27 +117,31 @@ msgid "As bot method" msgstr "" #: ../../api/methods/edit_message_live_location.rst:25 +msgid "As message method" +msgstr "" + +#: ../../api/methods/edit_message_live_location.rst:33 msgid "Method as object" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:27 +#: ../../api/methods/edit_message_live_location.rst:35 msgid "Imports:" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:29 +#: ../../api/methods/edit_message_live_location.rst:37 msgid "" ":code:`from aiogram.methods.edit_message_live_location import " "EditMessageLiveLocation`" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:30 +#: ../../api/methods/edit_message_live_location.rst:38 msgid "alias: :code:`from aiogram.methods import EditMessageLiveLocation`" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:33 +#: ../../api/methods/edit_message_live_location.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:40 +#: ../../api/methods/edit_message_live_location.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/edit_message_media.po b/docs/locale/en/LC_MESSAGES/api/methods/edit_message_media.po index d82d53f0..59b4019c 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/edit_message_media.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/edit_message_media.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -85,25 +85,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/edit_message_media.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/edit_message_media.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/edit_message_media.rst:29 -msgid ":code:`from aiogram.methods.edit_message_media import EditMessageMedia`" -msgstr "" - -#: ../../api/methods/edit_message_media.rst:30 -msgid "alias: :code:`from aiogram.methods import EditMessageMedia`" +msgid "As message method" msgstr "" #: ../../api/methods/edit_message_media.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:37 +msgid ":code:`from aiogram.methods.edit_message_media import EditMessageMedia`" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:38 +msgid "alias: :code:`from aiogram.methods import EditMessageMedia`" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/edit_message_media.rst:40 +#: ../../api/methods/edit_message_media.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/forward_message.po b/docs/locale/en/LC_MESSAGES/api/methods/forward_message.po index b190d312..b8c25db1 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/forward_message.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/forward_message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -75,25 +75,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/forward_message.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/forward_message.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/forward_message.rst:29 -msgid ":code:`from aiogram.methods.forward_message import ForwardMessage`" -msgstr "" - -#: ../../api/methods/forward_message.rst:30 -msgid "alias: :code:`from aiogram.methods import ForwardMessage`" +msgid "As message method" msgstr "" #: ../../api/methods/forward_message.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/forward_message.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/forward_message.rst:37 +msgid ":code:`from aiogram.methods.forward_message import ForwardMessage`" +msgstr "" + +#: ../../api/methods/forward_message.rst:38 +msgid "alias: :code:`from aiogram.methods import ForwardMessage`" +msgstr "" + +#: ../../api/methods/forward_message.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/forward_message.rst:40 +#: ../../api/methods/forward_message.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/pin_chat_message.po b/docs/locale/en/LC_MESSAGES/api/methods/pin_chat_message.po index 3974b869..ffd72a51 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/pin_chat_message.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/pin_chat_message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -66,25 +66,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/pin_chat_message.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/pin_chat_message.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/pin_chat_message.rst:29 -msgid ":code:`from aiogram.methods.pin_chat_message import PinChatMessage`" -msgstr "" - -#: ../../api/methods/pin_chat_message.rst:30 -msgid "alias: :code:`from aiogram.methods import PinChatMessage`" +msgid "As message method" msgstr "" #: ../../api/methods/pin_chat_message.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:37 +msgid ":code:`from aiogram.methods.pin_chat_message import PinChatMessage`" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:38 +msgid "alias: :code:`from aiogram.methods import PinChatMessage`" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/pin_chat_message.rst:40 +#: ../../api/methods/pin_chat_message.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/stop_message_live_location.po b/docs/locale/en/LC_MESSAGES/api/methods/stop_message_live_location.po index 189880f7..54667c46 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/stop_message_live_location.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/stop_message_live_location.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -80,27 +80,31 @@ msgid "As bot method" msgstr "" #: ../../api/methods/stop_message_live_location.rst:25 +msgid "As message method" +msgstr "" + +#: ../../api/methods/stop_message_live_location.rst:33 msgid "Method as object" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:27 +#: ../../api/methods/stop_message_live_location.rst:35 msgid "Imports:" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:29 +#: ../../api/methods/stop_message_live_location.rst:37 msgid "" ":code:`from aiogram.methods.stop_message_live_location import " "StopMessageLiveLocation`" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:30 +#: ../../api/methods/stop_message_live_location.rst:38 msgid "alias: :code:`from aiogram.methods import StopMessageLiveLocation`" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:33 +#: ../../api/methods/stop_message_live_location.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:40 +#: ../../api/methods/stop_message_live_location.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/methods/unpin_chat_message.po b/docs/locale/en/LC_MESSAGES/api/methods/unpin_chat_message.po index 3acfdb7e..bbe0327b 100644 --- a/docs/locale/en/LC_MESSAGES/api/methods/unpin_chat_message.po +++ b/docs/locale/en/LC_MESSAGES/api/methods/unpin_chat_message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -62,25 +62,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/unpin_chat_message.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/unpin_chat_message.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/unpin_chat_message.rst:29 -msgid ":code:`from aiogram.methods.unpin_chat_message import UnpinChatMessage`" -msgstr "" - -#: ../../api/methods/unpin_chat_message.rst:30 -msgid "alias: :code:`from aiogram.methods import UnpinChatMessage`" +msgid "As message method" msgstr "" #: ../../api/methods/unpin_chat_message.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:37 +msgid ":code:`from aiogram.methods.unpin_chat_message import UnpinChatMessage`" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:38 +msgid "alias: :code:`from aiogram.methods import UnpinChatMessage`" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/unpin_chat_message.rst:40 +#: ../../api/methods/unpin_chat_message.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/message.po b/docs/locale/en/LC_MESSAGES/api/types/message.po index 41829583..4b8107f9 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/message.po +++ b/docs/locale/en/LC_MESSAGES/api/types/message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -478,6 +478,183 @@ msgstr "" msgid "Reply with invoice" msgstr "" +#: aiogram.types.message.Message.answer_invoice:3 +#: aiogram.types.message.Message.reply_invoice:3 of +msgid "Product name, 1-32 characters" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:4 +#: aiogram.types.message.Message.reply_invoice:4 of +msgid "Product description, 1-255 characters" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:5 +#: aiogram.types.message.Message.reply_invoice:5 of +msgid "" +"Bot-defined invoice payload, 1-128 bytes. This will not be displayed to " +"the user, use for your internal processes." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:6 +#: aiogram.types.message.Message.reply_invoice:6 of +msgid "" +"Payment provider token, obtained via `@BotFather " +"`_" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:7 +#: aiogram.types.message.Message.reply_invoice:7 of +msgid "" +"Three-letter ISO 4217 currency code, see `more on currencies " +"`_" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:8 +#: aiogram.types.message.Message.reply_invoice:8 of +msgid "" +"Price breakdown, a JSON-serialized list of components (e.g. product " +"price, tax, discount, delivery cost, delivery tax, bonus, etc.)" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:9 +#: aiogram.types.message.Message.reply_invoice:9 of +msgid "" +"The maximum accepted amount for tips in the *smallest units* of the " +"currency (integer, **not** float/double). For example, for a maximum tip " +"of :code:`US$ 1.45` pass :code:`max_tip_amount = 145`. See the *exp* " +"parameter in `currencies.json " +"`_, it shows the" +" number of digits past the decimal point for each currency (2 for the " +"majority of currencies). Defaults to 0" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:10 +#: aiogram.types.message.Message.reply_invoice:10 of +msgid "" +"A JSON-serialized array of suggested amounts of tips in the *smallest " +"units* of the currency (integer, **not** float/double). At most 4 " +"suggested tip amounts can be specified. The suggested tip amounts must be" +" positive, passed in a strictly increased order and must not exceed " +"*max_tip_amount*." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:11 +#: aiogram.types.message.Message.reply_invoice:11 of +msgid "" +"Unique deep-linking parameter. If left empty, **forwarded copies** of the" +" sent message will have a *Pay* button, allowing multiple users to pay " +"directly from the forwarded message, using the same invoice. If non-" +"empty, forwarded copies of the sent message will have a *URL* button with" +" a deep link to the bot (instead of a *Pay* button), with the value used " +"as the start parameter" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:12 +#: aiogram.types.message.Message.reply_invoice:12 of +msgid "" +"JSON-serialized data about the invoice, which will be shared with the " +"payment provider. A detailed description of required fields should be " +"provided by the payment provider." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:13 +#: aiogram.types.message.Message.reply_invoice:13 of +msgid "" +"URL of the product photo for the invoice. Can be a photo of the goods or " +"a marketing image for a service. People like it better when they see what" +" they are paying for." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:14 +#: aiogram.types.message.Message.reply_invoice:14 of +msgid "Photo size in bytes" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:15 +#: aiogram.types.message.Message.reply_invoice:15 of +msgid "Photo width" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:16 +#: aiogram.types.message.Message.reply_invoice:16 of +msgid "Photo height" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:17 +#: aiogram.types.message.Message.reply_invoice:17 of +msgid "" +"Pass :code:`True` if you require the user's full name to complete the " +"order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:18 +#: aiogram.types.message.Message.reply_invoice:18 of +msgid "" +"Pass :code:`True` if you require the user's phone number to complete the " +"order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:19 +#: aiogram.types.message.Message.reply_invoice:19 of +msgid "" +"Pass :code:`True` if you require the user's email address to complete the" +" order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:20 +#: aiogram.types.message.Message.reply_invoice:20 of +msgid "" +"Pass :code:`True` if you require the user's shipping address to complete " +"the order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:21 +#: aiogram.types.message.Message.reply_invoice:21 of +msgid "Pass :code:`True` if the user's phone number should be sent to provider" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:22 +#: aiogram.types.message.Message.reply_invoice:22 of +msgid "Pass :code:`True` if the user's email address should be sent to provider" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:23 +#: aiogram.types.message.Message.reply_invoice:23 of +msgid "Pass :code:`True` if the final price depends on the shipping method" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:24 +#: aiogram.types.message.Message.reply_invoice:24 of +msgid "" +"Sends the message `silently `_. Users will receive a notification with no sound." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:25 +#: aiogram.types.message.Message.reply_invoice:25 of +msgid "Protects the contents of the sent message from forwarding and saving" +msgstr "" + +#: aiogram.types.message.Message.reply_invoice:26 of +msgid "" +"Pass :code:`True` if the message should be sent even if the specified " +"replied-to message is not found" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:26 +#: aiogram.types.message.Message.reply_invoice:27 of +msgid "" +"A JSON-serialized object for an `inline keyboard " +"`_. If empty, one 'Pay :code:`total price`' button will be " +"shown. If not empty, the first button must be a Pay button." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:27 +#: aiogram.types.message.Message.reply_invoice:28 of +msgid "On success, the sent Message is returned." +msgstr "" + #: aiogram.types.message.Message.answer_invoice:1 of msgid "Answer with invoice" msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/api/types/user.po b/docs/locale/en/LC_MESSAGES/api/types/user.po index 9fabe8bd..04fb86df 100644 --- a/docs/locale/en/LC_MESSAGES/api/types/user.po +++ b/docs/locale/en/LC_MESSAGES/api/types/user.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,11 +22,9 @@ msgid "User" msgstr "" #: aiogram.types.user.User:1 of -msgid "This object represents a Telegram user or bot." -msgstr "" - -#: aiogram.types.user.User:3 of -msgid "Source: https://core.telegram.org/bots/api#user" +msgid "" +"This object represents a Telegram user or bot. Source: " +"https://core.telegram.org/bots/api#user" msgstr "" #: ../../docstring aiogram.types.user.User.id:1 of @@ -89,3 +87,9 @@ msgid "" "*Optional*. :code:`True`, if the bot supports inline queries. Returned " "only in :class:`aiogram.methods.get_me.GetMe`." msgstr "" + +#~ msgid "This object represents a Telegram user or bot." +#~ msgstr "" + +#~ msgid "Source: https://core.telegram.org/bots/api#user" +#~ msgstr "" diff --git a/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po b/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po index f06c5869..271fd8e1 100644 --- a/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po +++ b/docs/locale/en/LC_MESSAGES/dispatcher/finite_state_machine/storages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,8 +47,8 @@ msgstr "" #: aiogram.fsm.storage.redis.RedisStorage:1 of msgid "" -"Redis storage required :code:`aioredis` package installed (:code:`pip " -"install aioredis`)" +"Redis storage required :code:`redis` package installed (:code:`pip " +"install redis`)" msgstr "" #: aiogram.fsm.storage.base.BaseStorage.get_data @@ -94,7 +94,7 @@ msgid "for example :code:`redis://user:password@host:port/db`" msgstr "" #: aiogram.fsm.storage.redis.RedisStorage.from_url:4 of -msgid "see :code:`aioredis` docs" +msgid "see :code:`redis` docs" msgstr "" #: aiogram.fsm.storage.redis.RedisStorage.from_url:5 of @@ -220,3 +220,12 @@ msgstr "" #: aiogram.fsm.storage.base.BaseStorage.close:1 of msgid "Close storage (database connection, file or etc.)" msgstr "" + +#~ msgid "" +#~ "Redis storage required :code:`aioredis` " +#~ "package installed (:code:`pip install " +#~ "aioredis`)" +#~ msgstr "" + +#~ msgid "see :code:`aioredis` docs" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_live_location.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_live_location.po index f7595e9f..bad77c33 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_live_location.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_live_location.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -117,27 +117,31 @@ msgid "As bot method" msgstr "" #: ../../api/methods/edit_message_live_location.rst:25 +msgid "As message method" +msgstr "" + +#: ../../api/methods/edit_message_live_location.rst:33 msgid "Method as object" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:27 +#: ../../api/methods/edit_message_live_location.rst:35 msgid "Imports:" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:29 +#: ../../api/methods/edit_message_live_location.rst:37 msgid "" ":code:`from aiogram.methods.edit_message_live_location import " "EditMessageLiveLocation`" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:30 +#: ../../api/methods/edit_message_live_location.rst:38 msgid "alias: :code:`from aiogram.methods import EditMessageLiveLocation`" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:33 +#: ../../api/methods/edit_message_live_location.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/edit_message_live_location.rst:40 +#: ../../api/methods/edit_message_live_location.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_media.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_media.po index d82d53f0..59b4019c 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_media.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/edit_message_media.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -85,25 +85,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/edit_message_media.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/edit_message_media.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/edit_message_media.rst:29 -msgid ":code:`from aiogram.methods.edit_message_media import EditMessageMedia`" -msgstr "" - -#: ../../api/methods/edit_message_media.rst:30 -msgid "alias: :code:`from aiogram.methods import EditMessageMedia`" +msgid "As message method" msgstr "" #: ../../api/methods/edit_message_media.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:37 +msgid ":code:`from aiogram.methods.edit_message_media import EditMessageMedia`" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:38 +msgid "alias: :code:`from aiogram.methods import EditMessageMedia`" +msgstr "" + +#: ../../api/methods/edit_message_media.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/edit_message_media.rst:40 +#: ../../api/methods/edit_message_media.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/forward_message.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/forward_message.po index b190d312..b8c25db1 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/forward_message.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/forward_message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -75,25 +75,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/forward_message.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/forward_message.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/forward_message.rst:29 -msgid ":code:`from aiogram.methods.forward_message import ForwardMessage`" -msgstr "" - -#: ../../api/methods/forward_message.rst:30 -msgid "alias: :code:`from aiogram.methods import ForwardMessage`" +msgid "As message method" msgstr "" #: ../../api/methods/forward_message.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/forward_message.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/forward_message.rst:37 +msgid ":code:`from aiogram.methods.forward_message import ForwardMessage`" +msgstr "" + +#: ../../api/methods/forward_message.rst:38 +msgid "alias: :code:`from aiogram.methods import ForwardMessage`" +msgstr "" + +#: ../../api/methods/forward_message.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/forward_message.rst:40 +#: ../../api/methods/forward_message.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/pin_chat_message.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/pin_chat_message.po index 3974b869..ffd72a51 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/pin_chat_message.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/pin_chat_message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -66,25 +66,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/pin_chat_message.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/pin_chat_message.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/pin_chat_message.rst:29 -msgid ":code:`from aiogram.methods.pin_chat_message import PinChatMessage`" -msgstr "" - -#: ../../api/methods/pin_chat_message.rst:30 -msgid "alias: :code:`from aiogram.methods import PinChatMessage`" +msgid "As message method" msgstr "" #: ../../api/methods/pin_chat_message.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:37 +msgid ":code:`from aiogram.methods.pin_chat_message import PinChatMessage`" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:38 +msgid "alias: :code:`from aiogram.methods import PinChatMessage`" +msgstr "" + +#: ../../api/methods/pin_chat_message.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/pin_chat_message.rst:40 +#: ../../api/methods/pin_chat_message.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/stop_message_live_location.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/stop_message_live_location.po index 189880f7..54667c46 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/stop_message_live_location.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/stop_message_live_location.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -80,27 +80,31 @@ msgid "As bot method" msgstr "" #: ../../api/methods/stop_message_live_location.rst:25 +msgid "As message method" +msgstr "" + +#: ../../api/methods/stop_message_live_location.rst:33 msgid "Method as object" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:27 +#: ../../api/methods/stop_message_live_location.rst:35 msgid "Imports:" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:29 +#: ../../api/methods/stop_message_live_location.rst:37 msgid "" ":code:`from aiogram.methods.stop_message_live_location import " "StopMessageLiveLocation`" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:30 +#: ../../api/methods/stop_message_live_location.rst:38 msgid "alias: :code:`from aiogram.methods import StopMessageLiveLocation`" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:33 +#: ../../api/methods/stop_message_live_location.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/stop_message_live_location.rst:40 +#: ../../api/methods/stop_message_live_location.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/unpin_chat_message.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/unpin_chat_message.po index 3acfdb7e..bbe0327b 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/unpin_chat_message.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/unpin_chat_message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -62,25 +62,29 @@ msgid "As bot method" msgstr "" #: ../../api/methods/unpin_chat_message.rst:25 -msgid "Method as object" -msgstr "" - -#: ../../api/methods/unpin_chat_message.rst:27 -msgid "Imports:" -msgstr "" - -#: ../../api/methods/unpin_chat_message.rst:29 -msgid ":code:`from aiogram.methods.unpin_chat_message import UnpinChatMessage`" -msgstr "" - -#: ../../api/methods/unpin_chat_message.rst:30 -msgid "alias: :code:`from aiogram.methods import UnpinChatMessage`" +msgid "As message method" msgstr "" #: ../../api/methods/unpin_chat_message.rst:33 +msgid "Method as object" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:35 +msgid "Imports:" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:37 +msgid ":code:`from aiogram.methods.unpin_chat_message import UnpinChatMessage`" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:38 +msgid "alias: :code:`from aiogram.methods import UnpinChatMessage`" +msgstr "" + +#: ../../api/methods/unpin_chat_message.rst:41 msgid "With specific bot" msgstr "" -#: ../../api/methods/unpin_chat_message.rst:40 +#: ../../api/methods/unpin_chat_message.rst:48 msgid "As reply into Webhook in handler" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/message.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/message.po index 41829583..4b8107f9 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/message.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -478,6 +478,183 @@ msgstr "" msgid "Reply with invoice" msgstr "" +#: aiogram.types.message.Message.answer_invoice:3 +#: aiogram.types.message.Message.reply_invoice:3 of +msgid "Product name, 1-32 characters" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:4 +#: aiogram.types.message.Message.reply_invoice:4 of +msgid "Product description, 1-255 characters" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:5 +#: aiogram.types.message.Message.reply_invoice:5 of +msgid "" +"Bot-defined invoice payload, 1-128 bytes. This will not be displayed to " +"the user, use for your internal processes." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:6 +#: aiogram.types.message.Message.reply_invoice:6 of +msgid "" +"Payment provider token, obtained via `@BotFather " +"`_" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:7 +#: aiogram.types.message.Message.reply_invoice:7 of +msgid "" +"Three-letter ISO 4217 currency code, see `more on currencies " +"`_" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:8 +#: aiogram.types.message.Message.reply_invoice:8 of +msgid "" +"Price breakdown, a JSON-serialized list of components (e.g. product " +"price, tax, discount, delivery cost, delivery tax, bonus, etc.)" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:9 +#: aiogram.types.message.Message.reply_invoice:9 of +msgid "" +"The maximum accepted amount for tips in the *smallest units* of the " +"currency (integer, **not** float/double). For example, for a maximum tip " +"of :code:`US$ 1.45` pass :code:`max_tip_amount = 145`. See the *exp* " +"parameter in `currencies.json " +"`_, it shows the" +" number of digits past the decimal point for each currency (2 for the " +"majority of currencies). Defaults to 0" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:10 +#: aiogram.types.message.Message.reply_invoice:10 of +msgid "" +"A JSON-serialized array of suggested amounts of tips in the *smallest " +"units* of the currency (integer, **not** float/double). At most 4 " +"suggested tip amounts can be specified. The suggested tip amounts must be" +" positive, passed in a strictly increased order and must not exceed " +"*max_tip_amount*." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:11 +#: aiogram.types.message.Message.reply_invoice:11 of +msgid "" +"Unique deep-linking parameter. If left empty, **forwarded copies** of the" +" sent message will have a *Pay* button, allowing multiple users to pay " +"directly from the forwarded message, using the same invoice. If non-" +"empty, forwarded copies of the sent message will have a *URL* button with" +" a deep link to the bot (instead of a *Pay* button), with the value used " +"as the start parameter" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:12 +#: aiogram.types.message.Message.reply_invoice:12 of +msgid "" +"JSON-serialized data about the invoice, which will be shared with the " +"payment provider. A detailed description of required fields should be " +"provided by the payment provider." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:13 +#: aiogram.types.message.Message.reply_invoice:13 of +msgid "" +"URL of the product photo for the invoice. Can be a photo of the goods or " +"a marketing image for a service. People like it better when they see what" +" they are paying for." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:14 +#: aiogram.types.message.Message.reply_invoice:14 of +msgid "Photo size in bytes" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:15 +#: aiogram.types.message.Message.reply_invoice:15 of +msgid "Photo width" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:16 +#: aiogram.types.message.Message.reply_invoice:16 of +msgid "Photo height" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:17 +#: aiogram.types.message.Message.reply_invoice:17 of +msgid "" +"Pass :code:`True` if you require the user's full name to complete the " +"order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:18 +#: aiogram.types.message.Message.reply_invoice:18 of +msgid "" +"Pass :code:`True` if you require the user's phone number to complete the " +"order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:19 +#: aiogram.types.message.Message.reply_invoice:19 of +msgid "" +"Pass :code:`True` if you require the user's email address to complete the" +" order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:20 +#: aiogram.types.message.Message.reply_invoice:20 of +msgid "" +"Pass :code:`True` if you require the user's shipping address to complete " +"the order" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:21 +#: aiogram.types.message.Message.reply_invoice:21 of +msgid "Pass :code:`True` if the user's phone number should be sent to provider" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:22 +#: aiogram.types.message.Message.reply_invoice:22 of +msgid "Pass :code:`True` if the user's email address should be sent to provider" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:23 +#: aiogram.types.message.Message.reply_invoice:23 of +msgid "Pass :code:`True` if the final price depends on the shipping method" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:24 +#: aiogram.types.message.Message.reply_invoice:24 of +msgid "" +"Sends the message `silently `_. Users will receive a notification with no sound." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:25 +#: aiogram.types.message.Message.reply_invoice:25 of +msgid "Protects the contents of the sent message from forwarding and saving" +msgstr "" + +#: aiogram.types.message.Message.reply_invoice:26 of +msgid "" +"Pass :code:`True` if the message should be sent even if the specified " +"replied-to message is not found" +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:26 +#: aiogram.types.message.Message.reply_invoice:27 of +msgid "" +"A JSON-serialized object for an `inline keyboard " +"`_. If empty, one 'Pay :code:`total price`' button will be " +"shown. If not empty, the first button must be a Pay button." +msgstr "" + +#: aiogram.types.message.Message.answer_invoice:27 +#: aiogram.types.message.Message.reply_invoice:28 of +msgid "On success, the sent Message is returned." +msgstr "" + #: aiogram.types.message.Message.answer_invoice:1 of msgid "Answer with invoice" msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/user.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/user.po index 9fabe8bd..04fb86df 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/user.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/user.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-01 22:51+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,11 +22,9 @@ msgid "User" msgstr "" #: aiogram.types.user.User:1 of -msgid "This object represents a Telegram user or bot." -msgstr "" - -#: aiogram.types.user.User:3 of -msgid "Source: https://core.telegram.org/bots/api#user" +msgid "" +"This object represents a Telegram user or bot. Source: " +"https://core.telegram.org/bots/api#user" msgstr "" #: ../../docstring aiogram.types.user.User.id:1 of @@ -89,3 +87,9 @@ msgid "" "*Optional*. :code:`True`, if the bot supports inline queries. Returned " "only in :class:`aiogram.methods.get_me.GetMe`." msgstr "" + +#~ msgid "This object represents a Telegram user or bot." +#~ msgstr "" + +#~ msgid "Source: https://core.telegram.org/bots/api#user" +#~ msgstr "" diff --git a/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po b/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po index e340d7bf..48a899f8 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po +++ b/docs/locale/uk_UA/LC_MESSAGES/dispatcher/finite_state_machine/storages.po @@ -5,9 +5,9 @@ # msgid "" msgstr "" -"Project-Id-Version: aiogram\n" +"Project-Id-Version: aiogram\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-19 02:13+0300\n" +"POT-Creation-Date: 2022-11-02 22:41+0200\n" "PO-Revision-Date: 2022-10-20 22:00+0300\n" "Last-Translator: \n" "Language-Team: \n" @@ -15,7 +15,6 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" -"X-Generator: Poedit 3.1.1\n" #: ../../dispatcher/finite_state_machine/storages.rst:3 msgid "Storages" @@ -31,11 +30,11 @@ msgstr "MemoryStorage" #: aiogram.fsm.storage.memory.MemoryStorage:1 of msgid "" -"Default FSM storage, stores all data in :class:`dict` and loss " -"everything on shutdown" +"Default FSM storage, stores all data in :class:`dict` and loss everything" +" on shutdown" msgstr "" -"Сховище кінцевого автомату за замовчуванням, зберігає всі дані в :class:" -"`dict` і забуває все під час вимкнення" +"Сховище кінцевого автомату за замовчуванням, зберігає всі дані в " +":class:`dict` і забуває все під час вимкнення" #: aiogram.fsm.storage.memory.MemoryStorage:5 of msgid "" @@ -49,12 +48,116 @@ msgstr "" msgid "RedisStorage" msgstr "RedisStorage" +#: aiogram.fsm.storage.redis.RedisStorage:1 of +msgid "" +"Redis storage required :code:`redis` package installed (:code:`pip " +"install redis`)" +msgstr "" + +#: aiogram.fsm.storage.base.BaseStorage.get_data +#: aiogram.fsm.storage.base.BaseStorage.get_state +#: aiogram.fsm.storage.base.BaseStorage.set_data +#: aiogram.fsm.storage.base.BaseStorage.set_state +#: aiogram.fsm.storage.base.BaseStorage.update_data +#: aiogram.fsm.storage.redis.DefaultKeyBuilder.build +#: aiogram.fsm.storage.redis.KeyBuilder.build +#: aiogram.fsm.storage.redis.RedisStorage.__init__ +#: aiogram.fsm.storage.redis.RedisStorage.from_url of +msgid "Parameters" +msgstr "Параметри" + +#: aiogram.fsm.storage.redis.RedisStorage.__init__:1 of +#, fuzzy +msgid "Instance of Redis connection" +msgstr "екземпляр поточного бота" + +#: aiogram.fsm.storage.redis.RedisStorage.__init__:2 of +msgid "builder that helps to convert contextual key to string" +msgstr "" + +#: aiogram.fsm.storage.redis.RedisStorage.__init__:3 of +msgid "TTL for state records" +msgstr "" + +#: aiogram.fsm.storage.redis.RedisStorage.__init__:4 of +msgid "TTL for data records" +msgstr "" + +#: aiogram.fsm.storage.redis.RedisStorage.__init__:5 of +msgid "Custom arguments for Redis lock" +msgstr "" + +#: aiogram.fsm.storage.redis.RedisStorage.from_url:1 of +msgid "" +"Create an instance of :class:`RedisStorage` with specifying the " +"connection string" +msgstr "" + +#: aiogram.fsm.storage.redis.RedisStorage.from_url:3 of +msgid "for example :code:`redis://user:password@host:port/db`" +msgstr "" + +#: aiogram.fsm.storage.redis.RedisStorage.from_url:4 of +msgid "see :code:`redis` docs" +msgstr "" + +#: aiogram.fsm.storage.redis.RedisStorage.from_url:5 of +msgid "arguments to be passed to :class:`RedisStorage`" +msgstr "" + +#: aiogram.fsm.storage.base.BaseStorage.get_data +#: aiogram.fsm.storage.base.BaseStorage.get_state +#: aiogram.fsm.storage.base.BaseStorage.update_data +#: aiogram.fsm.storage.redis.DefaultKeyBuilder.build +#: aiogram.fsm.storage.redis.KeyBuilder.build +#: aiogram.fsm.storage.redis.RedisStorage.from_url of +msgid "Returns" +msgstr "Повертає" + +#: aiogram.fsm.storage.redis.RedisStorage.from_url:6 of +msgid "an instance of :class:`RedisStorage`" +msgstr "екземпляр класу :class:`RedisStorage`" + #: ../../dispatcher/finite_state_machine/storages.rst:22 msgid "Keys inside storage can be customized via key builders:" msgstr "" "Ключі всередині сховища можна налаштувати за допомогою конструкторів " "ключів:" +#: aiogram.fsm.storage.redis.KeyBuilder:1 of +msgid "Base class for Redis key builder" +msgstr "" + +#: aiogram.fsm.storage.redis.DefaultKeyBuilder.build:1 +#: aiogram.fsm.storage.redis.KeyBuilder.build:1 of +msgid "This method should be implemented in subclasses" +msgstr "" + +#: aiogram.fsm.storage.redis.DefaultKeyBuilder.build:3 +#: aiogram.fsm.storage.redis.KeyBuilder.build:3 of +msgid "contextual key" +msgstr "" + +#: aiogram.fsm.storage.redis.DefaultKeyBuilder.build:4 +#: aiogram.fsm.storage.redis.KeyBuilder.build:4 of +msgid "part of the record" +msgstr "" + +#: aiogram.fsm.storage.redis.DefaultKeyBuilder.build:5 +#: aiogram.fsm.storage.redis.KeyBuilder.build:5 of +msgid "key to be used in Redis queries" +msgstr "" + +#: aiogram.fsm.storage.redis.DefaultKeyBuilder:1 of +msgid "Simple Redis key builder with default prefix." +msgstr "" + +#: aiogram.fsm.storage.redis.DefaultKeyBuilder:3 of +msgid "" +"Generates a colon-joined string with prefix, chat_id, user_id, optional " +"bot_id and optional destiny." +msgstr "" + #: ../../dispatcher/finite_state_machine/storages.rst:34 msgid "Writing own storages" msgstr "Написання власних сховищ" @@ -67,14 +170,6 @@ msgstr "Основний клас для всіх сховищ кінцевог msgid "Set state for specified key" msgstr "Установити стан для вказаного ключа" -#: aiogram.fsm.storage.base.BaseStorage.get_data -#: aiogram.fsm.storage.base.BaseStorage.get_state -#: aiogram.fsm.storage.base.BaseStorage.set_data -#: aiogram.fsm.storage.base.BaseStorage.set_state -#: aiogram.fsm.storage.base.BaseStorage.update_data of -msgid "Parameters" -msgstr "Параметри" - #: aiogram.fsm.storage.base.BaseStorage.get_data:3 #: aiogram.fsm.storage.base.BaseStorage.get_state:3 #: aiogram.fsm.storage.base.BaseStorage.set_data:3 @@ -99,12 +194,6 @@ msgstr "новий стан" msgid "Get key state" msgstr "Отримання стану ключа" -#: aiogram.fsm.storage.base.BaseStorage.get_data -#: aiogram.fsm.storage.base.BaseStorage.get_state -#: aiogram.fsm.storage.base.BaseStorage.update_data of -msgid "Returns" -msgstr "Повертає" - #: aiogram.fsm.storage.base.BaseStorage.get_state:5 of msgid "current state" msgstr "поточний стан"