From 157df969d359d1583aaa3dc8b67e5c7356e559e8 Mon Sep 17 00:00:00 2001 From: imsLmaooo <94536394+imsLmaooo@users.noreply.github.com> Date: Sun, 12 Feb 2023 14:02:40 +0200 Subject: [PATCH] UA translation of chat_action.po from Bot Api (#1123) * Update Ukrainian docs localization * Update Ukrainian docs localization --- .../LC_MESSAGES/api/enums/chat_action.po | 22 +- .../api/methods/get_chat_member.po | 21 +- .../api/methods/promote_chat_member.po | 17 +- .../api/methods/restrict_chat_member.po | 18 +- .../api/methods/set_chat_permissions.po | 18 +- .../uk_UA/LC_MESSAGES/api/types/chat.po | 49 ++- .../api/types/chat_administrator_rights.po | 17 +- .../api/types/chat_join_request.po | 17 +- .../LC_MESSAGES/api/types/chat_member.po | 63 +++- .../api/types/chat_member_administrator.po | 17 +- .../api/types/chat_member_restricted.po | 121 ++++--- .../LC_MESSAGES/api/types/chat_permissions.po | 80 ++++- .../LC_MESSAGES/api/types/chat_shared.po | 50 +++ .../LC_MESSAGES/api/types/keyboard_button.po | 55 ++- .../api/types/keyboard_button_request_chat.po | 105 ++++++ .../api/types/keyboard_button_request_user.po | 61 ++++ .../uk_UA/LC_MESSAGES/api/types/message.po | 13 +- .../LC_MESSAGES/api/types/user_shared.po | 50 +++ docs/locale/uk_UA/LC_MESSAGES/changelog.po | 77 ++++- docs/locale/uk_UA/LC_MESSAGES/contributing.po | 323 ++++++++++++++++++ docs/locale/uk_UA/LC_MESSAGES/index.po | 7 +- .../LC_MESSAGES/utils/callback_answer.po | 205 +++++++++++ 22 files changed, 1277 insertions(+), 129 deletions(-) create mode 100644 docs/locale/uk_UA/LC_MESSAGES/api/types/chat_shared.po create mode 100644 docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po create mode 100644 docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po create mode 100644 docs/locale/uk_UA/LC_MESSAGES/api/types/user_shared.po create mode 100644 docs/locale/uk_UA/LC_MESSAGES/contributing.po create mode 100644 docs/locale/uk_UA/LC_MESSAGES/utils/callback_answer.po diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/enums/chat_action.po b/docs/locale/uk_UA/LC_MESSAGES/api/enums/chat_action.po index 0ba8fec1..b73fa4b6 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/enums/chat_action.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/enums/chat_action.po @@ -23,44 +23,44 @@ msgstr "" #: aiogram.enums.chat_action.ChatAction:1 of msgid "This object represents bot actions." -msgstr "" +msgstr "Цей об’єкт представляє дії бота." #: aiogram.enums.chat_action.ChatAction:3 of msgid "Choose one, depending on what the user is about to receive:" -msgstr "" +msgstr "Виберіть один залежно від того, що користувач збирається отримати:" #: aiogram.enums.chat_action.ChatAction:5 of msgid "typing for text messages," -msgstr "" +msgstr "typing для текстових повідомлень," #: aiogram.enums.chat_action.ChatAction:6 of msgid "upload_photo for photos," -msgstr "" +msgstr "upload_photo для фотографій," #: aiogram.enums.chat_action.ChatAction:7 of msgid "record_video or upload_video for videos," -msgstr "" +msgstr "record_video або upload_video для відео," #: aiogram.enums.chat_action.ChatAction:8 of msgid "record_voice or upload_voice for voice notes," -msgstr "" +msgstr "record_voice або upload_voice для голосових повідомлень," #: aiogram.enums.chat_action.ChatAction:9 of msgid "upload_document for general files," -msgstr "" +msgstr "upload_document для загальних файлів," #: aiogram.enums.chat_action.ChatAction:10 of msgid "choose_sticker for stickers," -msgstr "" +msgstr "choose_sticker для наклейок," #: aiogram.enums.chat_action.ChatAction:11 of msgid "find_location for location data," -msgstr "" +msgstr "find_location для данних про місце знаходження," #: aiogram.enums.chat_action.ChatAction:12 of msgid "record_video_note or upload_video_note for video notes." -msgstr "" +msgstr "record_video_note або upload_video_note для відео кружків." #: aiogram.enums.chat_action.ChatAction:14 of msgid "Source: https://core.telegram.org/bots/api#sendchataction" -msgstr "" +msgstr "Джерело: https://core.telegram.org/bots/api#sendchataction" diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_chat_member.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_chat_member.po index f882bd5a..d3bff554 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_chat_member.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/get_chat_member.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-07 23:01+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/methods/get_chat_member.rst:3 msgid "getChatMember" @@ -31,9 +31,9 @@ msgstr "" #: aiogram.methods.get_chat_member.GetChatMember:1 of msgid "" "Use this method to get information about a member of a chat. The method " -"is guaranteed to work for other users, only if the bot is an " -"administrator in the chat. Returns a " -":class:`aiogram.types.chat_member.ChatMember` object on success." +"is only guaranteed to work for other users if the bot is an administrator" +" in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` " +"object on success." msgstr "" #: aiogram.methods.get_chat_member.GetChatMember:3 of @@ -85,3 +85,14 @@ msgstr "" #: ../../api/methods/get_chat_member.rst:45 msgid ":meth:`aiogram.types.chat.Chat.get_member`" msgstr "" + +#~ msgid "" +#~ "Use this method to get information " +#~ "about a member of a chat. The " +#~ "method is guaranteed to work for " +#~ "other users, only if the bot is" +#~ " an administrator in the chat. " +#~ "Returns a :class:`aiogram.types.chat_member.ChatMember`" +#~ " object on success." +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/promote_chat_member.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/promote_chat_member.po index 2d9c0978..8c7dbc2b 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/promote_chat_member.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/promote_chat_member.po @@ -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-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/methods/promote_chat_member.rst:3 msgid "promoteChatMember" @@ -102,7 +102,7 @@ msgstr "" #: of msgid "" "Pass :code:`True` if the administrator can add new administrators with a " -"subset of their own privileges or demote administrators that he has " +"subset of their own privileges or demote administrators that they have " "promoted, directly or indirectly (promoted by administrators that were " "appointed by him)" msgstr "" @@ -170,3 +170,14 @@ msgstr "" #: ../../api/methods/promote_chat_member.rst:50 msgid ":meth:`aiogram.types.chat.Chat.promote`" msgstr "" + +#~ msgid "" +#~ "Pass :code:`True` if the administrator " +#~ "can add new administrators with a " +#~ "subset of their own privileges or " +#~ "demote administrators that he has " +#~ "promoted, directly or indirectly (promoted " +#~ "by administrators that were appointed by" +#~ " him)" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/restrict_chat_member.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/restrict_chat_member.po index 9c0755b7..6ab0dc68 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/restrict_chat_member.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/restrict_chat_member.po @@ -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-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/methods/restrict_chat_member.rst:3 msgid "restrictChatMember" @@ -54,6 +54,19 @@ msgstr "" msgid "A JSON-serialized object for new user permissions" msgstr "" +#: ../../docstring +#: aiogram.methods.restrict_chat_member.RestrictChatMember.use_independent_chat_permissions:1 +#: of +msgid "" +"Pass :code:`True` if chat permissions are set independently. Otherwise, " +"the *can_send_other_messages* and *can_add_web_page_previews* permissions" +" will imply the *can_send_messages*, *can_send_audios*, " +"*can_send_documents*, *can_send_photos*, *can_send_videos*, " +"*can_send_video_notes*, and *can_send_voice_notes* permissions; the " +"*can_send_polls* permission will imply the *can_send_messages* " +"permission." +msgstr "" + #: ../../docstring #: aiogram.methods.restrict_chat_member.RestrictChatMember.until_date:1 of msgid "" @@ -103,3 +116,4 @@ msgstr "" #: ../../api/methods/restrict_chat_member.rst:50 msgid ":meth:`aiogram.types.chat.Chat.restrict`" msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/methods/set_chat_permissions.po b/docs/locale/uk_UA/LC_MESSAGES/api/methods/set_chat_permissions.po index d27d7878..84b5a8aa 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/methods/set_chat_permissions.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/methods/set_chat_permissions.po @@ -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-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/methods/set_chat_permissions.rst:3 msgid "setChatPermissions" @@ -49,6 +49,19 @@ msgstr "" msgid "A JSON-serialized object for new default chat permissions" msgstr "" +#: ../../docstring +#: aiogram.methods.set_chat_permissions.SetChatPermissions.use_independent_chat_permissions:1 +#: of +msgid "" +"Pass :code:`True` if chat permissions are set independently. Otherwise, " +"the *can_send_other_messages* and *can_add_web_page_previews* permissions" +" will imply the *can_send_messages*, *can_send_audios*, " +"*can_send_documents*, *can_send_photos*, *can_send_videos*, " +"*can_send_video_notes*, and *can_send_voice_notes* permissions; the " +"*can_send_polls* permission will imply the *can_send_messages* " +"permission." +msgstr "" + #: ../../api/methods/set_chat_permissions.rst:14 msgid "Usage" msgstr "" @@ -90,3 +103,4 @@ msgstr "" #: ../../api/methods/set_chat_permissions.rst:50 msgid ":meth:`aiogram.types.chat.Chat.set_permissions`" msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat.po index c0f95110..df76afc2 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-07 23:01+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/chat.rst:3 msgid "Chat" @@ -733,9 +733,9 @@ msgstr "" #: aiogram.types.chat.Chat.get_member:6 of msgid "" "Use this method to get information about a member of a chat. The method " -"is guaranteed to work for other users, only if the bot is an " -"administrator in the chat. Returns a " -":class:`aiogram.types.chat_member.ChatMember` object on success." +"is only guaranteed to work for other users if the bot is an administrator" +" in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` " +"object on success." msgstr "" #: aiogram.types.chat.Chat.get_member:8 of @@ -944,8 +944,20 @@ msgstr "" msgid "A JSON-serialized object for new default chat permissions" msgstr "" +#: aiogram.types.chat.Chat.restrict:12 #: aiogram.types.chat.Chat.set_permissions:11 of msgid "" +"Pass :code:`True` if chat permissions are set independently. Otherwise, " +"the *can_send_other_messages* and *can_add_web_page_previews* permissions" +" will imply the *can_send_messages*, *can_send_audios*, " +"*can_send_documents*, *can_send_photos*, *can_send_videos*, " +"*can_send_video_notes*, and *can_send_voice_notes* permissions; the " +"*can_send_polls* permission will imply the *can_send_messages* " +"permission." +msgstr "" + +#: aiogram.types.chat.Chat.set_permissions:12 of +msgid "" "instance of method " ":class:`aiogram.methods.set_chat_permissions.SetChatPermissions`" msgstr "" @@ -1010,7 +1022,7 @@ msgstr "" #: aiogram.types.chat.Chat.promote:18 of msgid "" "Pass :code:`True` if the administrator can add new administrators with a " -"subset of their own privileges or demote administrators that he has " +"subset of their own privileges or demote administrators that they have " "promoted, directly or indirectly (promoted by administrators that were " "appointed by him)" msgstr "" @@ -1064,14 +1076,14 @@ msgstr "" msgid "A JSON-serialized object for new user permissions" msgstr "" -#: aiogram.types.chat.Chat.restrict:12 of +#: aiogram.types.chat.Chat.restrict:13 of msgid "" "Date when restrictions will be lifted for the user, unix time. If user is" " restricted for more than 366 days or less than 30 seconds from the " "current time, they are considered to be restricted forever" msgstr "" -#: aiogram.types.chat.Chat.restrict:13 of +#: aiogram.types.chat.Chat.restrict:14 of msgid "" "instance of method " ":class:`aiogram.methods.restrict_chat_member.RestrictChatMember`" @@ -1256,3 +1268,24 @@ msgstr "" #: aiogram.types.chat.Chat.set_photo:11 of msgid "instance of method :class:`aiogram.methods.set_chat_photo.SetChatPhoto`" msgstr "" + +#~ msgid "" +#~ "Use this method to get information " +#~ "about a member of a chat. The " +#~ "method is guaranteed to work for " +#~ "other users, only if the bot is" +#~ " an administrator in the chat. " +#~ "Returns a :class:`aiogram.types.chat_member.ChatMember`" +#~ " object on success." +#~ msgstr "" + +#~ msgid "" +#~ "Pass :code:`True` if the administrator " +#~ "can add new administrators with a " +#~ "subset of their own privileges or " +#~ "demote administrators that he has " +#~ "promoted, directly or indirectly (promoted " +#~ "by administrators that were appointed by" +#~ " him)" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_administrator_rights.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_administrator_rights.po index e792b43d..519189b1 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_administrator_rights.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_administrator_rights.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-06 14:18+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/chat_administrator_rights.rst:3 msgid "ChatAdministratorRights" @@ -68,7 +68,7 @@ msgstr "" #: of msgid "" ":code:`True`, if the administrator can add new administrators with a " -"subset of their own privileges or demote administrators that he has " +"subset of their own privileges or demote administrators that they have " "promoted, directly or indirectly (promoted by administrators that were " "appointed by the user)" msgstr "" @@ -118,3 +118,14 @@ msgid "" "*Optional*. :code:`True`, if the user is allowed to create, rename, " "close, and reopen forum topics; supergroups only" msgstr "" + +#~ msgid "" +#~ ":code:`True`, if the administrator can " +#~ "add new administrators with a subset " +#~ "of their own privileges or demote " +#~ "administrators that he has promoted, " +#~ "directly or indirectly (promoted by " +#~ "administrators that were appointed by " +#~ "the user)" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_join_request.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_join_request.po index 0349c899..beaee2ea 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_join_request.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_join_request.po @@ -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-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/chat_join_request.rst:3 msgid "ChatJoinRequest" @@ -38,6 +38,18 @@ msgstr "" msgid "User that sent the join request" msgstr "" +#: ../../docstring +#: aiogram.types.chat_join_request.ChatJoinRequest.user_chat_id:1 of +msgid "" +"Identifier of a private chat with the user who sent the join request. " +"This number may have more than 32 significant bits and some programming " +"languages may have difficulty/silent defects in interpreting it. But it " +"has at most 52 significant bits, so a 64-bit integer or double-precision " +"float type are safe for storing this identifier. The bot can use this " +"identifier for 24 hours to send messages until the join request is " +"processed, assuming no other administrator contacted the user." +msgstr "" + #: ../../docstring aiogram.types.chat_join_request.ChatJoinRequest.date:1 of msgid "Date the request was sent in Unix time" msgstr "" @@ -121,3 +133,4 @@ msgstr "" #~ msgid "Use this method to decline a chat join request." #~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member.po index 87fe2331..6f46ae07 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member.po @@ -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-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/chat_member.rst:3 msgid "ChatMember" @@ -108,8 +108,8 @@ msgstr "" #: of msgid "" "*Optional*. :code:`True`, if the administrator can add new administrators" -" with a subset of their own privileges or demote administrators that he " -"has promoted, directly or indirectly (promoted by administrators that " +" with a subset of their own privileges or demote administrators that they" +" have promoted, directly or indirectly (promoted by administrators that " "were appointed by the user)" msgstr "" @@ -158,14 +158,33 @@ msgstr "" #: ../../docstring aiogram.types.chat_member.ChatMember.can_send_messages:1 of msgid "" "*Optional*. :code:`True`, if the user is allowed to send text messages, " -"contacts, locations and venues" +"contacts, invoices, locations and venues" msgstr "" -#: ../../docstring -#: aiogram.types.chat_member.ChatMember.can_send_media_messages:1 of -msgid "" -"*Optional*. :code:`True`, if the user is allowed to send audios, " -"documents, photos, videos, video notes and voice notes" +#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_audios:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send audios" +msgstr "" + +#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_documents:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send documents" +msgstr "" + +#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_photos:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send photos" +msgstr "" + +#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_videos:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send videos" +msgstr "" + +#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_video_notes:1 +#: of +msgid "*Optional*. :code:`True`, if the user is allowed to send video notes" +msgstr "" + +#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_voice_notes:1 +#: of +msgid "*Optional*. :code:`True`, if the user is allowed to send voice notes" msgstr "" #: ../../docstring aiogram.types.chat_member.ChatMember.can_send_polls:1 of @@ -194,3 +213,27 @@ msgstr "" #~ msgid "..." #~ msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the administrator" +#~ " can add new administrators with a" +#~ " subset of their own privileges or" +#~ " demote administrators that he has " +#~ "promoted, directly or indirectly (promoted " +#~ "by administrators that were appointed by" +#~ " the user)" +#~ msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the user is" +#~ " allowed to send text messages, " +#~ "contacts, locations and venues" +#~ msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the user is" +#~ " allowed to send audios, documents, " +#~ "photos, videos, video notes and voice" +#~ " notes" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_administrator.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_administrator.po index 0045c783..8d56701a 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_administrator.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_administrator.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-06 14:18+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/chat_member_administrator.rst:3 msgid "ChatMemberAdministrator" @@ -89,7 +89,7 @@ msgstr "" #: of msgid "" ":code:`True`, if the administrator can add new administrators with a " -"subset of their own privileges or demote administrators that he has " +"subset of their own privileges or demote administrators that they have " "promoted, directly or indirectly (promoted by administrators that were " "appointed by the user)" msgstr "" @@ -145,3 +145,14 @@ msgstr "" #: of msgid "*Optional*. Custom title for this user" msgstr "" + +#~ msgid "" +#~ ":code:`True`, if the administrator can " +#~ "add new administrators with a subset " +#~ "of their own privileges or demote " +#~ "administrators that he has promoted, " +#~ "directly or indirectly (promoted by " +#~ "administrators that were appointed by " +#~ "the user)" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_restricted.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_restricted.po index 79784f6d..052a4b20 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_restricted.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_member_restricted.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-06 14:18+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/chat_member_restricted.rst:3 msgid "ChatMemberRestricted" @@ -49,6 +49,72 @@ msgid "" "request" msgstr "" +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_messages:1 +#: of +msgid "" +":code:`True`, if the user is allowed to send text messages, contacts, " +"invoices, locations and venues" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_audios:1 +#: of +msgid ":code:`True`, if the user is allowed to send audios" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_documents:1 +#: of +msgid ":code:`True`, if the user is allowed to send documents" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_photos:1 +#: of +msgid ":code:`True`, if the user is allowed to send photos" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_videos:1 +#: of +msgid ":code:`True`, if the user is allowed to send videos" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_video_notes:1 +#: of +msgid ":code:`True`, if the user is allowed to send video notes" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_voice_notes:1 +#: of +msgid ":code:`True`, if the user is allowed to send voice notes" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_polls:1 +#: of +msgid ":code:`True`, if the user is allowed to send polls" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_other_messages:1 +#: of +msgid "" +":code:`True`, if the user is allowed to send animations, games, stickers " +"and use inline bots" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_add_web_page_previews:1 +#: of +msgid "" +":code:`True`, if the user is allowed to add web page previews to their " +"messages" +msgstr "" + #: ../../docstring #: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_change_info:1 #: of @@ -75,47 +141,22 @@ msgstr "" msgid ":code:`True`, if the user is allowed to create forum topics" msgstr "" -#: ../../docstring -#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_messages:1 -#: of -msgid "" -":code:`True`, if the user is allowed to send text messages, contacts, " -"locations and venues" -msgstr "" - -#: ../../docstring -#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_media_messages:1 -#: of -msgid "" -":code:`True`, if the user is allowed to send audios, documents, photos, " -"videos, video notes and voice notes" -msgstr "" - -#: ../../docstring -#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_polls:1 -#: of -msgid ":code:`True`, if the user is allowed to send polls" -msgstr "" - -#: ../../docstring -#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_other_messages:1 -#: of -msgid "" -":code:`True`, if the user is allowed to send animations, games, stickers " -"and use inline bots" -msgstr "" - -#: ../../docstring -#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_add_web_page_previews:1 -#: of -msgid "" -":code:`True`, if the user is allowed to add web page previews to their " -"messages" -msgstr "" - #: ../../docstring #: aiogram.types.chat_member_restricted.ChatMemberRestricted.until_date:1 of msgid "" "Date when restrictions will be lifted for this user; unix time. If 0, " "then the user is restricted forever" msgstr "" + +#~ msgid "" +#~ ":code:`True`, if the user is allowed " +#~ "to send text messages, contacts, " +#~ "locations and venues" +#~ msgstr "" + +#~ msgid "" +#~ ":code:`True`, if the user is allowed " +#~ "to send audios, documents, photos, " +#~ "videos, video notes and voice notes" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_permissions.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_permissions.po index d4bb052c..f3a97667 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_permissions.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_permissions.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-06 14:18+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/chat_permissions.rst:3 msgid "ChatPermissions" @@ -35,29 +35,49 @@ msgstr "" #: aiogram.types.chat_permissions.ChatPermissions.can_send_messages:1 of msgid "" "*Optional*. :code:`True`, if the user is allowed to send text messages, " -"contacts, locations and venues" +"contacts, invoices, locations and venues" msgstr "" #: ../../docstring -#: aiogram.types.chat_permissions.ChatPermissions.can_send_media_messages:1 of -msgid "" -"*Optional*. :code:`True`, if the user is allowed to send audios, " -"documents, photos, videos, video notes and voice notes, implies " -"can_send_messages" +#: aiogram.types.chat_permissions.ChatPermissions.can_send_audios:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send audios" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_permissions.ChatPermissions.can_send_documents:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send documents" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_permissions.ChatPermissions.can_send_photos:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send photos" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_permissions.ChatPermissions.can_send_videos:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send videos" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_permissions.ChatPermissions.can_send_video_notes:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send video notes" +msgstr "" + +#: ../../docstring +#: aiogram.types.chat_permissions.ChatPermissions.can_send_voice_notes:1 of +msgid "*Optional*. :code:`True`, if the user is allowed to send voice notes" msgstr "" #: ../../docstring #: aiogram.types.chat_permissions.ChatPermissions.can_send_polls:1 of -msgid "" -"*Optional*. :code:`True`, if the user is allowed to send polls, implies " -"can_send_messages" +msgid "*Optional*. :code:`True`, if the user is allowed to send polls" msgstr "" #: ../../docstring #: aiogram.types.chat_permissions.ChatPermissions.can_send_other_messages:1 of msgid "" "*Optional*. :code:`True`, if the user is allowed to send animations, " -"games, stickers and use inline bots, implies can_send_media_messages" +"games, stickers and use inline bots" msgstr "" #: ../../docstring @@ -65,7 +85,7 @@ msgstr "" #: of msgid "" "*Optional*. :code:`True`, if the user is allowed to add web page previews" -" to their messages, implies can_send_media_messages" +" to their messages" msgstr "" #: ../../docstring @@ -95,3 +115,37 @@ msgid "" "*Optional*. :code:`True`, if the user is allowed to create forum topics. " "If omitted defaults to the value of can_pin_messages" msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the user is" +#~ " allowed to send text messages, " +#~ "contacts, locations and venues" +#~ msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the user is" +#~ " allowed to send audios, documents, " +#~ "photos, videos, video notes and voice" +#~ " notes, implies can_send_messages" +#~ msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the user is" +#~ " allowed to send polls, implies " +#~ "can_send_messages" +#~ msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the user is" +#~ " allowed to send animations, games, " +#~ "stickers and use inline bots, implies" +#~ " can_send_media_messages" +#~ msgstr "" + +#~ msgid "" +#~ "*Optional*. :code:`True`, if the user is" +#~ " allowed to add web page previews " +#~ "to their messages, implies " +#~ "can_send_media_messages" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_shared.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_shared.po new file mode 100644 index 00000000..21852254 --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/chat_shared.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api/types/chat_shared.rst:3 +msgid "ChatShared" +msgstr "" + +#: aiogram.types.chat_shared.ChatShared:1 of +msgid "" +"This object contains information about the chat whose identifier was " +"shared with the bot using a " +":class:`aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat`" +" button." +msgstr "" + +#: aiogram.types.chat_shared.ChatShared:3 of +msgid "Source: https://core.telegram.org/bots/api#chatshared" +msgstr "" + +#: ../../docstring aiogram.types.chat_shared.ChatShared.request_id:1 of +msgid "Identifier of the request" +msgstr "" + +#: ../../docstring aiogram.types.chat_shared.ChatShared.chat_id:1 of +msgid "" +"Identifier of the shared chat. This number may have more than 32 " +"significant bits and some programming languages may have " +"difficulty/silent defects in interpreting it. But it has at most 52 " +"significant bits, so a 64-bit integer or double-precision float type are " +"safe for storing this identifier. The bot may not have access to the chat" +" and could be unable to use this identifier, unless the chat is already " +"known to the bot by some other means." +msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button.po index 8a0ad540..446d54f3 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button.po @@ -8,14 +8,14 @@ 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: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/keyboard_button.rst:3 msgid "KeyboardButton" @@ -24,12 +24,12 @@ msgstr "" #: aiogram.types.keyboard_button.KeyboardButton:1 of msgid "" "This object represents one button of the reply keyboard. For simple text " -"buttons *String* can be used instead of this object to specify text of " -"the button. Optional fields *web_app*, *request_contact*, " -"*request_location*, and *request_poll* are mutually exclusive. **Note:** " -"*request_contact* and *request_location* options will only work in " -"Telegram versions released after 9 April, 2016. Older clients will " -"display *unsupported message*." +"buttons, *String* can be used instead of this object to specify the " +"button text. The optional fields *web_app*, *request_user*, " +"*request_chat*, *request_contact*, *request_location*, and *request_poll*" +" are mutually exclusive. **Note:** *request_contact* and " +"*request_location* options will only work in Telegram versions released " +"after 9 April, 2016. Older clients will display *unsupported message*." msgstr "" #: aiogram.types.keyboard_button.KeyboardButton:4 of @@ -46,6 +46,13 @@ msgid "" msgstr "" #: aiogram.types.keyboard_button.KeyboardButton:8 of +msgid "" +"**Note:** *request_user* and *request_chat* options will only work in " +"Telegram versions released after 3 February, 2023. Older clients will " +"display *unsupported message*." +msgstr "" + +#: aiogram.types.keyboard_button.KeyboardButton:10 of msgid "Source: https://core.telegram.org/bots/api#keyboardbutton" msgstr "" @@ -55,6 +62,22 @@ msgid "" "sent as a message when the button is pressed" msgstr "" +#: ../../docstring aiogram.types.keyboard_button.KeyboardButton.request_user:1 +#: of +msgid "" +"*Optional.* If specified, pressing the button will open a list of " +"suitable users. Tapping on any user will send their identifier to the bot" +" in a 'user_shared' service message. Available in private chats only." +msgstr "" + +#: ../../docstring aiogram.types.keyboard_button.KeyboardButton.request_chat:1 +#: of +msgid "" +"*Optional.* If specified, pressing the button will open a list of " +"suitable chats. Tapping on a chat will send its identifier to the bot in " +"a 'chat_shared' service message. Available in private chats only." +msgstr "" + #: ../../docstring #: aiogram.types.keyboard_button.KeyboardButton.request_contact:1 of msgid "" @@ -84,3 +107,19 @@ msgid "" "button is pressed. The Web App will be able to send a 'web_app_data' " "service message. Available in private chats only." msgstr "" + +#~ msgid "" +#~ "This object represents one button of " +#~ "the reply keyboard. For simple text " +#~ "buttons *String* can be used instead " +#~ "of this object to specify text of" +#~ " the button. Optional fields *web_app*, " +#~ "*request_contact*, *request_location*, and " +#~ "*request_poll* are mutually exclusive. " +#~ "**Note:** *request_contact* and *request_location*" +#~ " options will only work in Telegram" +#~ " versions released after 9 April, " +#~ "2016. Older clients will display " +#~ "*unsupported message*." +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po new file mode 100644 index 00000000..392f3b2e --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_chat.po @@ -0,0 +1,105 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api/types/keyboard_button_request_chat.rst:3 +msgid "KeyboardButtonRequestChat" +msgstr "" + +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat:1 of +msgid "" +"This object defines the criteria used to request a suitable chat. The " +"identifier of the selected chat will be shared with the bot when the " +"corresponding button is pressed." +msgstr "" + +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat:3 of +msgid "Source: https://core.telegram.org/bots/api#keyboardbuttonrequestchat" +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.request_id:1 +#: of +msgid "" +"Signed 32-bit identifier of the request, which will be received back in " +"the :class:`aiogram.types.chat_shared.ChatShared` object. Must be unique " +"within the message" +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_is_channel:1 +#: of +msgid "" +"Pass :code:`True` to request a channel chat, pass :code:`False` to " +"request a group or a supergroup chat." +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_is_forum:1 +#: of +msgid "" +"*Optional*. Pass :code:`True` to request a forum supergroup, pass " +":code:`False` to request a non-forum chat. If not specified, no " +"additional restrictions are applied." +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_has_username:1 +#: of +msgid "" +"*Optional*. Pass :code:`True` to request a supergroup or a channel with a" +" username, pass :code:`False` to request a chat without a username. If " +"not specified, no additional restrictions are applied." +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_is_created:1 +#: of +msgid "" +"*Optional*. Pass :code:`True` to request a chat owned by the user. " +"Otherwise, no additional restrictions are applied." +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.user_administrator_rights:1 +#: of +msgid "" +"*Optional*. A JSON-serialized object listing the required administrator " +"rights of the user in the chat. The rights must be a superset of " +"*bot_administrator_rights*. If not specified, no additional restrictions " +"are applied." +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.bot_administrator_rights:1 +#: of +msgid "" +"*Optional*. A JSON-serialized object listing the required administrator " +"rights of the bot in the chat. The rights must be a subset of " +"*user_administrator_rights*. If not specified, no additional restrictions" +" are applied." +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.bot_is_member:1 +#: of +msgid "" +"*Optional*. Pass :code:`True` to request a chat with the bot as a member." +" Otherwise, no additional restrictions are applied." +msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po new file mode 100644 index 00000000..a6b317ec --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/keyboard_button_request_user.po @@ -0,0 +1,61 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api/types/keyboard_button_request_user.rst:3 +msgid "KeyboardButtonRequestUser" +msgstr "" + +#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser:1 of +msgid "" +"This object defines the criteria used to request a suitable user. The " +"identifier of the selected user will be shared with the bot when the " +"corresponding button is pressed." +msgstr "" + +#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser:3 of +msgid "Source: https://core.telegram.org/bots/api#keyboardbuttonrequestuser" +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser.request_id:1 +#: of +msgid "" +"Signed 32-bit identifier of the request, which will be received back in " +"the :class:`aiogram.types.user_shared.UserShared` object. Must be unique " +"within the message" +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser.user_is_bot:1 +#: of +msgid "" +"*Optional*. Pass :code:`True` to request a bot, pass :code:`False` to " +"request a regular user. If not specified, no additional restrictions are " +"applied." +msgstr "" + +#: ../../docstring +#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser.user_is_premium:1 +#: of +msgid "" +"*Optional*. Pass :code:`True` to request a premium user, pass " +":code:`False` to request a non-premium user. If not specified, no " +"additional restrictions are applied." +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 516aa013..416cf8e9 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/api/types/message.po +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/message.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-30 22:28+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../api/types/message.rst:3 msgid "Message" @@ -328,6 +328,14 @@ msgid "" "`_" msgstr "" +#: ../../docstring aiogram.types.message.Message.user_shared:1 of +msgid "*Optional*. Service message: a user was shared with the bot" +msgstr "" + +#: ../../docstring aiogram.types.message.Message.chat_shared:1 of +msgid "*Optional*. Service message: a chat was shared with the bot" +msgstr "" + #: ../../docstring aiogram.types.message.Message.connected_website:1 of msgid "" "*Optional*. The domain name of the website on which the user has logged " @@ -2536,3 +2544,4 @@ msgstr "" #~ msgid "Copy message" #~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/api/types/user_shared.po b/docs/locale/uk_UA/LC_MESSAGES/api/types/user_shared.po new file mode 100644 index 00000000..1f0e56d3 --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/api/types/user_shared.po @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../api/types/user_shared.rst:3 +msgid "UserShared" +msgstr "" + +#: aiogram.types.user_shared.UserShared:1 of +msgid "" +"This object contains information about the user whose identifier was " +"shared with the bot using a " +":class:`aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser`" +" button." +msgstr "" + +#: aiogram.types.user_shared.UserShared:3 of +msgid "Source: https://core.telegram.org/bots/api#usershared" +msgstr "" + +#: ../../docstring aiogram.types.user_shared.UserShared.request_id:1 of +msgid "Identifier of the request" +msgstr "" + +#: ../../docstring aiogram.types.user_shared.UserShared.user_id:1 of +msgid "" +"Identifier of the shared user. This number may have more than 32 " +"significant bits and some programming languages may have " +"difficulty/silent defects in interpreting it. But it has at most 52 " +"significant bits, so a 64-bit integer or double-precision float type are " +"safe for storing this identifier. The bot may not have access to the user" +" and could be unable to use this identifier, unless the user is already " +"known to the bot by some other means." +msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/changelog.po b/docs/locale/uk_UA/LC_MESSAGES/changelog.po index a8b8a071..975e4939 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/changelog.po +++ b/docs/locale/uk_UA/LC_MESSAGES/changelog.po @@ -8,21 +8,21 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-07 23:01+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../../CHANGES.rst:3 msgid "Changelog" msgstr "" #: ../../[towncrier-fragments]:2 -msgid "\\ |release| [UNRELEASED DRAFT] (2023-01-07)" +msgid "\\ |release| [UNRELEASED DRAFT] (2023-02-12)" msgstr "" #: ../../../CHANGES.rst:23 ../../../CHANGES.rst:83 ../../../CHANGES.rst:134 @@ -121,26 +121,77 @@ msgstr "" #: ../../[towncrier-fragments]:60 msgid "" -"Added full support of `Bot API 6.4 `_ `#1088 " -"`_" +"Added :ref:`callback answer ` feature `#1091 " +"`_" +msgstr "" + +#: ../../../CHANGES.rst:48 ../../../CHANGES.rst:97 ../../../CHANGES.rst:158 +#: ../../../CHANGES.rst:216 ../../../CHANGES.rst:262 ../../../CHANGES.rst:310 +#: ../../../CHANGES.rst:366 ../../../CHANGES.rst:451 ../../../CHANGES.rst:483 +#: ../../[towncrier-fragments]:65 +msgid "Bugfixes" +msgstr "" + +#: ../../[towncrier-fragments]:67 +msgid "" +"Fixed `ignore_case` parameter in :obj:`aiogram.filters.command.Command` " +"filter `#1106 `_" msgstr "" #: ../../../CHANGES.rst:71 ../../../CHANGES.rst:124 ../../../CHANGES.rst:175 #: ../../../CHANGES.rst:229 ../../../CHANGES.rst:271 ../../../CHANGES.rst:317 #: ../../../CHANGES.rst:377 ../../../CHANGES.rst:398 ../../../CHANGES.rst:421 #: ../../../CHANGES.rst:458 ../../../CHANGES.rst:497 -#: ../../[towncrier-fragments]:65 +#: ../../[towncrier-fragments]:72 msgid "Misc" msgstr "" -#: ../../[towncrier-fragments]:67 +#: ../../[towncrier-fragments]:74 msgid "" "Added integration with new code-generator named `Butcher " "`_ `#1069 " "`_" msgstr "" +#: ../../[towncrier-fragments]:76 +msgid "" +"Added full support of `Bot API 6.4 `_ `#1088 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:78 +msgid "" +"Updated package metadata, moved build internals from Poetry to Hatch, " +"added contributing guides. `#1095 " +"`_" +msgstr "" + +#: ../../[towncrier-fragments]:80 +msgid "" +"Added full support of `Bot API 6.5 `_" +msgstr "" + +#: ../../[towncrier-fragments]:84 +msgid "" +"Note that :obj:`aiogram.types.chat_permissions.ChatPermissions` is " +"updated without backward compatibility, so now this object has no " +":code:`can_send_media_messages` attribute" +msgstr "" + +#: ../../[towncrier-fragments]:86 +msgid "`#1112 `_" +msgstr "" + +#: ../../[towncrier-fragments]:87 +msgid "" +"Replaced error :code:`TypeError: TelegramEventObserver.__call__() got an " +"unexpected keyword argument ''` with a more understandable one for " +"developers and with a link to the documentation. `#1114 " +"`_" +msgstr "" + #: ../../../CHANGES.rst:20 msgid "3.0.0b6 (2022-11-18)" msgstr "" @@ -213,12 +264,6 @@ msgid "" "`_" msgstr "" -#: ../../../CHANGES.rst:48 ../../../CHANGES.rst:97 ../../../CHANGES.rst:158 -#: ../../../CHANGES.rst:216 ../../../CHANGES.rst:262 ../../../CHANGES.rst:310 -#: ../../../CHANGES.rst:366 ../../../CHANGES.rst:451 ../../../CHANGES.rst:483 -msgid "Bugfixes" -msgstr "" - #: ../../../CHANGES.rst:50 msgid "" "Fixed :code:`Message.send_invoice` and :code:`Message.reply_invoice`, " @@ -2480,3 +2525,7 @@ msgstr "" #: ../../../HISTORY.rst:497 msgid "0.1 (2017-06-03)" msgstr "" + +#~ msgid "\\ |release| [UNRELEASED DRAFT] (2023-01-07)" +#~ msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/contributing.po b/docs/locale/uk_UA/LC_MESSAGES/contributing.po new file mode 100644 index 00000000..e71e4dda --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/contributing.po @@ -0,0 +1,323 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../contributing.rst:3 +msgid "Contributing" +msgstr "" + +#: ../../contributing.rst:5 +msgid "You're welcome to contribute to aiogram!" +msgstr "" + +#: ../../contributing.rst:7 +msgid "" +"*aiogram* is an open-source project, and anyone can contribute to it in " +"any possible way" +msgstr "" + +#: ../../contributing.rst:11 +msgid "Developing" +msgstr "" + +#: ../../contributing.rst:13 +msgid "" +"Before making any changes in the framework code, it is necessary to fork " +"the project and clone the project to your PC and know how to do a pull-" +"request." +msgstr "" + +#: ../../contributing.rst:16 +msgid "" +"How to work with pull-request you can read in the `GitHub docs " +"`_" +msgstr "" + +#: ../../contributing.rst:18 +msgid "" +"Also in due to this project is written in Python, you will need Python to" +" be installed (is recommended to use latest Python versions, but any " +"version starting from 3.8 can be used)" +msgstr "" + +#: ../../contributing.rst:23 +msgid "Use virtualenv" +msgstr "" + +#: ../../contributing.rst:25 +msgid "" +"You can create a virtual environment in a directory using :code:`venv` " +"module (it should be pre-installed by default):" +msgstr "" + +#: ../../contributing.rst:31 +msgid "" +"This action will create a :code:`.venv` directory with the Python " +"binaries and then you will be able to install packages into that isolated" +" environment." +msgstr "" + +#: ../../contributing.rst:36 +msgid "Activate the environment" +msgstr "" + +#: ../../contributing.rst:38 +msgid "Linux/ macOS:" +msgstr "" + +#: ../../contributing.rst:44 +msgid "Windows PoweShell" +msgstr "" + +#: ../../contributing.rst:50 +msgid "" +"To check it worked, use described command, it should show the :code:`pip`" +" location inside the isolated environment" +msgstr "" + +#: ../../contributing.rst:53 +msgid "Linux, macOS:" +msgstr "" + +#: ../../contributing.rst:59 +msgid "Windows PowerShell" +msgstr "" + +#: ../../contributing.rst:65 +msgid "" +"Also make you shure you have the latest pip version in your virtual " +"environment to avoid errors on next steps:" +msgstr "" + +#: ../../contributing.rst:74 +msgid "Setup project" +msgstr "" + +#: ../../contributing.rst:76 +msgid "" +"After activating the environment install `aiogram` from sources and their" +" dependencies:" +msgstr "" + +#: ../../contributing.rst:82 +msgid "" +"It will install :code:`aiogram` in editable mode into your virtual " +"environment and all dependencies." +msgstr "" + +#: ../../contributing.rst:85 +msgid "Making changes in code" +msgstr "" + +#: ../../contributing.rst:87 +msgid "" +"At this point you can make any changes in the code that you want, it can " +"be any fixes, implementing new features or experimenting." +msgstr "" + +#: ../../contributing.rst:92 +msgid "Format the code (code-style)" +msgstr "" + +#: ../../contributing.rst:94 +msgid "" +"Note that this project is Black-formatted, so you should follow that " +"code-style, too be sure You're correctly doing this let's reformat the " +"code automatically:" +msgstr "" + +#: ../../contributing.rst:104 +msgid "Run tests" +msgstr "" + +#: ../../contributing.rst:106 +msgid "All changes should be tested:" +msgstr "" + +#: ../../contributing.rst:112 +msgid "" +"Also if you are doing something with Redis-storage, you will need to test" +" everything works with Redis:" +msgstr "" + +#: ../../contributing.rst:119 +msgid "Docs" +msgstr "" + +#: ../../contributing.rst:121 +msgid "" +"We are using `Sphinx` to render docs in different languages, all sources " +"located in `docs` directory, you can change the sources and to test it " +"you can start live-preview server and look what you are doing:" +msgstr "" + +#: ../../contributing.rst:130 +msgid "Docs translations" +msgstr "" + +#: ../../contributing.rst:132 +msgid "" +"Translation of the documentation is very necessary and cannot be done " +"without the help of the community from all over the world, so you are " +"welcome to translate the documentation into different languages." +msgstr "" + +#: ../../contributing.rst:136 +msgid "Before start, let's up to date all texts:" +msgstr "" + +#: ../../contributing.rst:144 +msgid "" +"Change the :code:`` in example below to the target " +"language code, after that you can modify texts inside " +":code:`docs/locale//LC_MESSAGES` as :code:`*.po` files by " +"using any text-editor or specialized utilites for GNU Gettext, for " +"example via `poedit `_." +msgstr "" + +#: ../../contributing.rst:149 +msgid "To view results:" +msgstr "" + +#: ../../contributing.rst:157 +msgid "Describe changes" +msgstr "" + +#: ../../contributing.rst:159 +msgid "" +"Describe your changes in one or more sentences so that bot developers " +"know what's changed in their favorite framework - create " +"`..rst` file and write the description." +msgstr "" + +#: ../../contributing.rst:162 +msgid "" +":code:`` is Issue or Pull-request number, after release link to " +"this issue will be published to the *Changelog* page." +msgstr "" + +#: ../../contributing.rst:165 +msgid ":code:`` is a changes category marker, it can be one of:" +msgstr "" + +#: ../../contributing.rst:167 +msgid ":code:`feature` - when you are implementing new feature" +msgstr "" + +#: ../../contributing.rst:168 +msgid ":code:`bugfix` - when you fix a bug" +msgstr "" + +#: ../../contributing.rst:169 +msgid ":code:`doc` - when you improve the docs" +msgstr "" + +#: ../../contributing.rst:170 +msgid ":code:`removal` - when you remove something from the framework" +msgstr "" + +#: ../../contributing.rst:171 +msgid "" +":code:`misc` - when changed something inside the Core or project " +"configuration" +msgstr "" + +#: ../../contributing.rst:173 +msgid "" +"If you have troubles with changing category feel free to ask Core-" +"contributors to help with choosing it." +msgstr "" + +#: ../../contributing.rst:176 +msgid "Complete" +msgstr "" + +#: ../../contributing.rst:178 +msgid "" +"After you have made all your changes, publish them to the repository and " +"create a pull request as mentioned at the beginning of the article and " +"wait for a review of these changes." +msgstr "" + +#: ../../contributing.rst:183 +msgid "Star on GitHub" +msgstr "" + +#: ../../contributing.rst:185 +msgid "" +"You can \"star\" repository on GitHub - " +"https://github.com/aiogram/aiogram (click the star button at the top " +"right)" +msgstr "" + +#: ../../contributing.rst:187 +msgid "" +"Adding stars makes it easier for other people to find this project and " +"understand how useful it is." +msgstr "" + +#: ../../contributing.rst:190 +msgid "Guides" +msgstr "" + +#: ../../contributing.rst:192 +msgid "" +"You can write guides how to develop Bots on top of aiogram and publish it" +" into YouTube, Medium, GitHub Books, any Courses platform or any other " +"platform that you know." +msgstr "" + +#: ../../contributing.rst:195 +msgid "" +"This will help more people learn about the framework and learn how to use" +" it" +msgstr "" + +#: ../../contributing.rst:199 +msgid "Take answers" +msgstr "" + +#: ../../contributing.rst:201 +msgid "" +"The developers is always asks for any question in our chats or any other " +"platforms like GitHub Discussions, StackOverflow and others, feel free to" +" answer to this questions." +msgstr "" + +#: ../../contributing.rst:205 +msgid "Funding" +msgstr "" + +#: ../../contributing.rst:207 +msgid "" +"The development of the project is free and not financed by commercial " +"organizations, it is my personal initiative (`@JRootJunior " +"`_) and I am engaged in the development of the " +"project in my free time." +msgstr "" + +#: ../../contributing.rst:211 +msgid "" +"So, if you want to financially support the project, or, for example, give" +" me a pizza or a beer, you can do it on `OpenCollective " +"`_ or `Patreon " +"`_." +msgstr "" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/index.po b/docs/locale/uk_UA/LC_MESSAGES/index.po index 1d6913cf..7add5fd0 100644 --- a/docs/locale/uk_UA/LC_MESSAGES/index.po +++ b/docs/locale/uk_UA/LC_MESSAGES/index.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: aiogram \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-30 22:28+0200\n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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.9.1\n" #: ../../../README.rst:3 msgid "aiogram |beta badge|" @@ -133,7 +133,7 @@ msgstr "Працює з `PyPy `_" #: ../../../README.rst:70 #, fuzzy msgid "" -"Supports `Telegram Bot API 6.4 `_ and" +"Supports `Telegram Bot API 6.5 `_ and" " gets fast updates to the latest versions of the Bot API" msgstr "" "Підтримує `Telegram Bot API 6.3 `_ та" @@ -238,3 +238,4 @@ msgstr "Приклад використання" #: ../../index.rst:9 msgid "Contents" msgstr "Зміст" + diff --git a/docs/locale/uk_UA/LC_MESSAGES/utils/callback_answer.po b/docs/locale/uk_UA/LC_MESSAGES/utils/callback_answer.po new file mode 100644 index 00000000..2adc4af9 --- /dev/null +++ b/docs/locale/uk_UA/LC_MESSAGES/utils/callback_answer.po @@ -0,0 +1,205 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2023, aiogram Team +# This file is distributed under the same license as the aiogram package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: aiogram \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-12 00:22+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" + +#: ../../utils/callback_answer.rst:4 +msgid "Callback answer" +msgstr "" + +#: ../../utils/callback_answer.rst:6 +msgid "" +"Helper for callback query handlers, can be useful in bots with a lot of " +"callback handlers to automatically take answer to all requests." +msgstr "" + +#: ../../utils/callback_answer.rst:10 +msgid "Simple usage" +msgstr "" + +#: ../../utils/callback_answer.rst:12 +msgid "" +"For use, it is enough to register the inner middleware " +":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` in " +"dispatcher or specific router:" +msgstr "" + +#: ../../utils/callback_answer.rst:18 +msgid "" +"After that all handled callback queries will be answered automatically " +"after processing the handler." +msgstr "" + +#: ../../utils/callback_answer.rst:21 +msgid "Advanced usage" +msgstr "" + +#: ../../utils/callback_answer.rst:23 +msgid "" +"In some cases you need to have some non-standard response parameters, " +"this can be done in several ways:" +msgstr "" + +#: ../../utils/callback_answer.rst:26 +msgid "Global defaults" +msgstr "" + +#: ../../utils/callback_answer.rst:28 +msgid "" +"Change default parameters while initializing middleware, for example " +"change answer to `pre` mode and text \"OK\":" +msgstr "" + +#: ../../utils/callback_answer.rst:35 +msgid "" +"Look at :class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` " +"to get all available parameters" +msgstr "" + +#: ../../utils/callback_answer.rst:39 +msgid "Handler specific" +msgstr "" + +#: ../../utils/callback_answer.rst:41 +msgid "" +"By using :ref:`flags ` you can change the behavior for specific " +"handler" +msgstr "" + +#: ../../utils/callback_answer.rst:50 +msgid "" +"Flag arguments is the same as in " +":class:`aiogram.utils.callback_answer.CallbackAnswerMiddleware` with " +"additional one :code:`disabled` to disable answer." +msgstr "" + +#: ../../utils/callback_answer.rst:54 +msgid "A special case" +msgstr "" + +#: ../../utils/callback_answer.rst:56 +msgid "" +"It is not always correct to answer the same in every case, so there is an" +" option to change the answer inside the handler. You can get an instance " +"of :class:`aiogram.utils.callback_answer.CallbackAnswer` object inside " +"handler and change whatever you want." +msgstr "" + +#: ../../utils/callback_answer.rst:61 +msgid "" +"Note that is impossible to change callback answer attributes when you use" +" :code:`pre=True` mode." +msgstr "" + +#: ../../utils/callback_answer.rst:76 +msgid "Combine that all at once" +msgstr "" + +#: ../../utils/callback_answer.rst:78 +msgid "" +"For example you want to answer in most of cases before handler with text " +"\"🤔\" but at some cases need to answer after the handler with custom " +"text, so you can do it:" +msgstr "" + +#: ../../utils/callback_answer.rst:94 +msgid "Description of objects" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware:1 of +msgid "Bases: :py:class:`~aiogram.dispatcher.middlewares.base.BaseMiddleware`" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:1 of +msgid "" +"Inner middleware for callback query handlers, can be useful in bots with " +"a lot of callback handlers to automatically take answer to all requests" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__ +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__ of +msgid "Parameters" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:4 of +msgid "send answer before execute handler" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__:5 +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:5 of +msgid "answer with text" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__:6 +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:6 of +msgid "show alert" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__:7 +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:7 of +msgid "game url" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__:8 +#: aiogram.utils.callback_answer.CallbackAnswerMiddleware.__init__:8 of +msgid "cache answer for some time" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer:1 of +msgid "Bases: :py:class:`object`" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__:1 of +msgid "Callback answer configuration" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__:3 of +msgid "this request is already answered by middleware" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.__init__:4 of +msgid "answer will not be performed" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.disable:1 of +msgid "Deactivate answering for this handler" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.disabled:1 of +msgid "Indicates that automatic answer is disabled in this handler" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.answered:1 of +msgid "Indicates that request is already answered by middleware" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.text:1 of +msgid "Response text :return:" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.show_alert:1 of +msgid "Whether to display an alert" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.url:1 of +msgid "Game url" +msgstr "" + +#: aiogram.utils.callback_answer.CallbackAnswer.cache_time:1 of +msgid "Response cache time" +msgstr "" +