aiogram/docs/locale/uk_UA/LC_MESSAGES/api/upload_file.po

183 lines
7.4 KiB
Text
Raw Normal View History

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: aiogram\n"
"Report-Msgid-Bugs-To: \n"
2023-07-02 15:12:42 +03:00
"POT-Creation-Date: 2023-07-02 15:10+0300\n"
"PO-Revision-Date: 2022-12-13 21:40+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
2023-07-02 15:12:42 +03:00
"Generated-By: Babel 2.12.1\n"
#: ../../api/upload_file.rst:5
msgid "How to upload file?"
msgstr "Як відвантажити файл?"
#: ../../api/upload_file.rst:7
msgid ""
"As says `official Telegram Bot API documentation "
"<https://core.telegram.org/bots/api#sending-files>`_ there are three ways"
" to send files (photos, stickers, audio, media, etc.):"
msgstr ""
"Як стверджує `official Telegram Bot API documentation "
"<https://core.telegram.org/bots/api#sending-files>`_ існує три способа "
"надіслати файл (фото, наклейки, аудіо, медіа тощо):"
#: ../../api/upload_file.rst:10
msgid ""
"If the file is already stored somewhere on the Telegram servers or file "
"is available by the URL, you don't need to reupload it."
msgstr ""
"Якщо файл уже зберігається десь на серверах Telegram або файл доступний "
"за URL-адресою, вам не потрібно його повторно завантажувати."
#: ../../api/upload_file.rst:13
#, fuzzy
msgid ""
"But if you need to upload a new file just use subclasses of `InputFile "
2023-07-02 15:12:42 +03:00
"<types/input_file.html>`__."
msgstr ""
"Але якщо вам потрібно завантажити новий файл, просто використовуйте "
"підкласи `InputFile <types/input_file.md>`__."
#: ../../api/upload_file.rst:15
#, fuzzy
msgid "Here are the three different available builtin types of input file:"
msgstr "Тут доступні три різні типи вхідних файлів:"
#: ../../api/upload_file.rst:17
msgid ""
":class:`aiogram.types.input_file.FSInputFile` - `uploading from file "
"system <#upload-from-file-system>`__"
msgstr ""
":class:`aiogram.types.input_file.FSInputFile` - `відвантажений з файлової"
" системи <#upload-from-file-system>`__"
#: ../../api/upload_file.rst:18
msgid ""
":class:`aiogram.types.input_file.BufferedInputFile` - `uploading from "
"buffer <#upload-from-buffer>`__"
msgstr ""
":class:`aiogram.types.input_file.BufferedInputFile` - `відвантажений з "
"буферу <#upload-from-buffer>`__"
#: ../../api/upload_file.rst:19
msgid ""
":class:`aiogram.types.input_file.URLInputFile` - `uploading from URL "
"<#upload-from-url>`__"
msgstr ""
":class:`aiogram.types.input_file.URLInputFile` - `відвантажений з URL "
"<#upload-from-url>`__"
#: ../../api/upload_file.rst:23
msgid "**Be respectful with Telegram**"
msgstr "**Поважайте Telegram**"
#: ../../api/upload_file.rst:25
#, fuzzy
msgid ""
"Instances of `InputFile` are reusable. That's mean you can create "
"instance of InputFile and sent this file multiple times but Telegram does"
" not recommend to do that and when you upload file once just save their "
"`file_id` and use it in next times."
msgstr ""
"Екземпляри `InputFile` можна використовувати повторно. Це означає, що ви "
"можете створити екземпляр InputFile і надіслати цей файл кілька разів, "
"але Telegram не рекомендує цього робити, і коли ви завантажуєте файл один"
" раз, просто збережіть його `file_id` і використовуйте його наступного "
"разу."
#: ../../api/upload_file.rst:31
msgid "Upload from file system"
msgstr "Відвантаження з файлової системи"
#: ../../api/upload_file.rst:33
msgid "By first step you will need to import InputFile wrapper:"
msgstr "Перш за все, вам потрібно буде імпортувати обгортку InputFile:"
#: ../../api/upload_file.rst:39
msgid "Then you can use it:"
msgstr "Тепер ви можете використовувати її:"
#: aiogram.types.input_file.BufferedInputFile.__init__:1
#: aiogram.types.input_file.FSInputFile.__init__:1 of
msgid "Represents object for uploading files from filesystem"
msgstr "Об’єкт для відвантаження файлів із файлової системи"
#: aiogram.types.input_file.BufferedInputFile.__init__
#: aiogram.types.input_file.FSInputFile.__init__ of
msgid "Parameters"
msgstr "Параметри"
#: aiogram.types.input_file.FSInputFile.__init__:3 of
msgid "Path to file"
msgstr "Шлях до файлу"
#: aiogram.types.input_file.FSInputFile.__init__:4 of
msgid ""
"Filename to be propagated to telegram. By default, will be parsed from "
"path"
msgstr ""
"Ім'я файлу, яке буде передано в telegram. За замовчуванням, буде взято зі"
" шляху"
#: aiogram.types.input_file.BufferedInputFile.__init__:5
#: aiogram.types.input_file.FSInputFile.__init__:6 of
msgid "Uploading chunk size"
msgstr "Розмір фрагмента відвантаження"
#: ../../api/upload_file.rst:52
msgid "Upload from buffer"
msgstr "Відвантаження з буферу"
#: ../../api/upload_file.rst:54
#, fuzzy
msgid ""
"Files can be also passed from buffer (For example you generate image "
"using `Pillow <https://pillow.readthedocs.io/en/stable/>`_ and you want "
"to send it to Telegram):"
msgstr ""
"Файли також можна передавати з буфера (наприклад, ви створюєте зображення"
" за допомогою `Pillow <https://pillow.readthedocs.io/en/stable/>`_ і "
"хочете надіслати його в Telegram):"
#: ../../api/upload_file.rst:58 ../../api/upload_file.rst:80
msgid "Import wrapper:"
msgstr "Імпорт обгортки:"
#: ../../api/upload_file.rst:64 ../../api/upload_file.rst:86
msgid "And then you can use it:"
msgstr "Тепер ви можете використовувати її:"
#: aiogram.types.input_file.BufferedInputFile.__init__:3 of
msgid "Bytes"
msgstr "Байти"
#: aiogram.types.input_file.BufferedInputFile.__init__:4 of
msgid "Filename to be propagated to telegram."
msgstr "Ім'я файлу, яке буде передано в telegram."
#: ../../api/upload_file.rst:74
msgid "Upload from url"
msgstr "Відвантаження з URL"
#: ../../api/upload_file.rst:76
msgid ""
"If you need to upload a file from another server, but the direct link is "
"bound to your server's IP, or you want to bypass native `upload limits "
"<https://core.telegram.org/bots/api#sending-files>`_ by URL, you can use "
":obj:`aiogram.types.input_file.URLInputFile`."
msgstr ""
"Якщо вам потрібно відвантажити файл з іншого сервера, але пряме посилання"
" прив’язано до IP-адреси вашого сервера, або ви хочете обійти власні "
"`обмеження на завантаження <https://core.telegram.org/bots/api#sending-"
"files> `_ за URL-адресою, ви можете використовувати "
":obj:`aiogram.types.input_file.URLInputFile`."