mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Some checks failed
Tests / tests (macos-latest, 3.10) (push) Has been cancelled
Tests / tests (macos-latest, 3.11) (push) Has been cancelled
Tests / tests (macos-latest, 3.12) (push) Has been cancelled
Tests / tests (macos-latest, 3.13) (push) Has been cancelled
Tests / tests (macos-latest, 3.9) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.10) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.9) (push) Has been cancelled
Tests / tests (windows-latest, 3.10) (push) Has been cancelled
Tests / tests (windows-latest, 3.11) (push) Has been cancelled
Tests / tests (windows-latest, 3.12) (push) Has been cancelled
Tests / tests (windows-latest, 3.13) (push) Has been cancelled
Tests / tests (windows-latest, 3.9) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.9) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.9) (push) Has been cancelled
* Update translation files with new creation dates. This update includes newly added and corrected translation entries for various .po files in the Ukrainian locale. It ensures consistency with updated source files and aligns with the latest Telegram bot API changes. * Update Ukrainian documentation translation
182 lines
7.3 KiB
Text
182 lines
7.3 KiB
Text
# 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: 2025-03-08 02:28+0200\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.13.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 "
|
||
"<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
|
||
#, fuzzy
|
||
msgid "**Be respectful to Telegram**"
|
||
msgstr "**Поважайте Telegram**"
|
||
|
||
#: ../../api/upload_file.rst:25
|
||
#, fuzzy
|
||
msgid ""
|
||
"Instances of `InputFile` are reusable. That means you can create an "
|
||
"instance of InputFile and send it multiple times. However, Telegram does "
|
||
"not recommend doing this. Instead, once you upload a file, save its "
|
||
"`file_id` and reuse that later."
|
||
msgstr ""
|
||
"Екземпляри `InputFile` можна використовувати повторно. Це означає, що ви "
|
||
"можете створити екземпляр InputFile і надіслати цей файл кілька разів, "
|
||
"але Telegram не рекомендує цього робити, і коли ви завантажуєте файл один"
|
||
" раз, просто збережіть його `file_id` і використовуйте його наступного "
|
||
"разу."
|
||
|
||
#: ../../api/upload_file.rst:29
|
||
msgid "Upload from file system"
|
||
msgstr "Відвантаження з файлової системи"
|
||
|
||
#: ../../api/upload_file.rst:31
|
||
msgid "By first step you will need to import InputFile wrapper:"
|
||
msgstr "Перш за все, вам потрібно буде імпортувати обгортку InputFile:"
|
||
|
||
#: ../../api/upload_file.rst:37
|
||
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 "Об’єкт для відвантаження файлів із файлової системи"
|
||
|
||
#: ../../api/upload_file.rst
|
||
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:50
|
||
msgid "Upload from buffer"
|
||
msgstr "Відвантаження з буферу"
|
||
|
||
#: ../../api/upload_file.rst:52
|
||
#, 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:56 ../../api/upload_file.rst:78
|
||
msgid "Import wrapper:"
|
||
msgstr "Імпорт обгортки:"
|
||
|
||
#: ../../api/upload_file.rst:62 ../../api/upload_file.rst:84
|
||
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:72
|
||
msgid "Upload from url"
|
||
msgstr "Відвантаження з URL"
|
||
|
||
#: ../../api/upload_file.rst:74
|
||
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`."
|