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

180 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"
"POT-Creation-Date: 2022-10-03 01:03+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"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.2.2\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
msgid ""
"But if you need to upload new file just use subclasses of `InputFile "
"<types/input_file.md>`__."
msgstr ""
"Але якщо вам потрібно завантажити новий файл, просто використовуйте "
"підкласи `InputFile <types/input_file.md>`__."
#: ../../api/upload_file.rst:15
msgid "Here is available three different 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
msgid ""
"Instances of `InputFile` is reusable. That's mean you can create "
"instance of InputFile and sent this file multiple times but Telegram is "
"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
msgid ""
"Files can be also passed from buffer (For example you generate image "
"using `Pillow <https://pillow.readthedocs.io/en/stable/>`_ and the "
"want's to sent it to the 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`."