Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ukrainian documentation should be updated #1127

Draft
wants to merge 3 commits into
base: dev-3.x
Choose a base branch
from

Conversation

melomansky
Copy link
Contributor

@melomansky melomansky commented Feb 13, 2023

Description

update ua docs: contributing.po & flags.po

Type of change

  • Documentation (typos, code examples or any documentation update)

How has this been tested?

Test Configuration

  • Operating system: e.g. Ubuntu 20.04.2 LTS
    -Python version: e.g. 3.10.1

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works as expected
  • New and existing unit tests pass locally with my changes
  • My changes generate no new warnings or errors
  • My changes are compatible with minimum requirements of the project
  • I have made corresponding changes to the documentation

@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Feb 13, 2023
@github-actions
Copy link

github-actions bot commented Feb 13, 2023

🌽 Changelog is not needed.

This PR does not require a changelog because skip news label is present.

@JrooTJunior JrooTJunior marked this pull request as draft February 13, 2023 10:00
@JrooTJunior JrooTJunior added the skip news Pull request can be merged without describing changes label Feb 13, 2023
@melomansky
Copy link
Contributor Author

melomansky commented Feb 15, 2023

Who can accidentally come to this pull request, I wanted to say those who are engaged in translating documentation into Ukrainian, for now, take a break, I will translate documentation 🙃

@melomansky melomansky changed the title update ua docs: contributing.po & flags.po Ukrainian documentation should be updated Feb 15, 2023
Copy link
Member

@JrooTJunior JrooTJunior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тексти перечитав не повністю, будуть додаткові коментарі.


#: aiogram.utils.callback_answer.CallbackAnswer.answered:1 of
msgid "Indicates that request is already answered by middleware"
msgstr ""
msgstr "Вказує, що мідлварь вже відповідає на запит"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msgstr "Вказує, що мідлварь вже відповідає на запит"
msgstr "Вказує, що мідлвар вже відповідає на запит"


#: aiogram.utils.callback_answer.CallbackAnswer.__init__:3 of
msgid "this request is already answered by middleware"
msgstr ""
msgstr "на цей запит уже відповідає мідлварь"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msgstr "на цей запит уже відповідає мідлварь"
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 ""
"Внутрішній мідлварь для обробників запитів зворотного виклику, "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Внутрішній мідлварь для обробників запитів зворотного виклику, "
"Внутрішній мідлвар для обробників запитів зворотного виклику, "


#: ../../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 ""
"Для використання достатньо зареєструвати внутрішній мідлварь "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Для використання достатньо зареєструвати внутрішній мідлварь "
"Для використання достатньо зареєструвати внутрішній мідлвар "


#: ../../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 ""
"Перш ніж вносити будь-які зміни в код фреймворку, необхідно вилку "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

вилку?
що?
якийсь поганий автоматизований переклад


#: ../../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 ""
"Можна створити віртуальне середовище в каталозі з використанням"
":code:`venv` модуля (він повинен бути попередньо встановлений"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
":code:`venv` модуля (він повинен бути попередньо встановлений"
"модуля :code:`venv` (він повинен бути попередньо встановлений"

@@ -91,6 +105,9 @@ msgid ""
"To check it worked, use described command, it should show the :code:`pip`"
" location inside the isolated environment"
msgstr ""
"Щоб перевірити, чи спрацювало, скористайтеся описаною командою, "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Щоб перевірити, чи спрацювало, скористайтеся описаною командою, "
"Щоб перевірити чи це спрацювало скористайтеся описаною командою, "

Comment on lines +138 to +139
"Після активації середовища встановіть `aiogram` з джерел та їх "
"залежностей:"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Після активації середовища встановіть `aiogram` з джерел та їх "
"залежностей:"
"Після активації віртуального оточення встановіть `aiogram` з вихідного коду зі всіма залежностями:"


#: ../../contributing.rst:82
msgid ""
"It will install :code:`aiogram` in editable mode into your virtual "
"environment and all dependencies."
msgstr ""
":code:`aiogram` буде встановлено в режимі редагування у "
"ваше віртуальне середовище та всі залежності."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"ваше віртуальне середовище та всі залежності."
"ваше віртуальне оточення та всі залежності."

Comment on lines +172 to +174
"Зауважте, що цей проект має чорний формат, тому ви повинні "
"дотримуватися цього стилю коду, також переконайтеся, що ви "
"робите це правильно, давайте переформатуємо код автоматично:"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Зауважте, що цей проект має чорний формат, тому ви повинні "
"дотримуватися цього стилю коду, також переконайтеся, що ви "
"робите це правильно, давайте переформатуємо код автоматично:"
"Зверніть увагу, що цей проект використовує стиль коду Black, тому ви повинні "
"дотримуватися цього стилю, також ви можете переконатись що ви "
"робите це правильно, або виправити стиль коду автоматично:"

@melomansky
Copy link
Contributor Author

можеш з'єднувати, я поки що не буду займатися цим

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issue or PR for stable 3.x version skip news Pull request can be merged without describing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants