# SOME DESCRIPTIVE TITLE. # Copyright (C) 2025, kolo # This file is distributed under the same license as the Argenta package. # FIRST AUTHOR , 2025. # msgid "" msgstr "" "Project-Id-Version: Argenta \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-12-04 20:39+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: en\n" "Language-Team: en \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.17.0\n" #: ../../root/quickstart.rst:4 msgid "Быстрый старт" msgstr "Quick Start" #: ../../root/quickstart.rst:6 msgid "" "В этом руководстве мы рассмотрим два примера создания CLI-приложения с " "помощью Argenta:" msgstr "" "In this guide, we will look at two examples of creating a CLI application" " with Argenta:" #: ../../root/quickstart.rst:8 msgid "" "**Простой пример**: минимальное приложение для быстрого знакомства с " "основными компонентами." msgstr "" "**Simple example**: a minimal application for quick introduction to the " "main components." #: ../../root/quickstart.rst:9 msgid "" "**Более сложный пример**: полнофункциональное приложение «Менеджер задач»" " с внедрением зависимостей и бизнес-логикой." msgstr "" "**More complex example**: a full-featured \"Task Manager\" application " "with dependency injection and business logic." #: ../../root/quickstart.rst:12 msgid "Простой пример" msgstr "Simple Example" #: ../../root/quickstart.rst:14 ../../root/quickstart.rst:74 msgid "**Установка**" msgstr "**Installation**" #: ../../root/quickstart.rst:20 msgid "" "Этот пример демонстрирует абсолютный минимум, необходимый для создания и " "запуска приложения. Вы можете скопировать этот код, запустить его и сразу" " увидеть результат." msgstr "" "This example demonstrates the absolute minimum required to create and run" " an application. You can copy this code, run it, and immediately see the " "result." #: ../../root/quickstart.rst:26 msgid "**Запуск**" msgstr "**Running**" #: ../../root/quickstart.rst:28 msgid "Сохраните код в файл (например, ``main.py``) и запустите:" msgstr "Save the code to a file (for example, ``main.py``) and run:" #: ../../root/quickstart.rst:34 ../../root/quickstart.rst:112 msgid "**Результат**" msgstr "**Result**" #: ../../root/quickstart.rst:36 msgid "Simple App Example" msgstr "Simple App Example" #: ../../root/quickstart.rst:42 msgid "Промежуточный пример: Калькулятор с флагами" msgstr "Intermediate Example: Calculator with Flags" #: ../../root/quickstart.rst:44 msgid "" "Прежде чем перейти к сложному примеру с DI, рассмотрим промежуточный " "вариант — калькулятор, который использует флаги для управления " "поведением." msgstr "" "Before moving to a complex example with DI, let's consider an " "intermediate option — a calculator that uses flags to control behavior." #: ../../root/quickstart.rst:50 msgid "**Запуск:**" msgstr "**Running:**" #: ../../root/quickstart.rst:52 msgid "Сохраните код в файл ``calculator.py`` и запустите:" msgstr "Save the code to a file ``calculator.py`` and run:" #: ../../root/quickstart.rst:58 msgid "**Использование:**" msgstr "**Usage:**" #: ../../root/quickstart.rst:65 msgid "" "Этот пример показывает, как работать с флагами без использования DI. " "Теперь перейдём к более сложному примеру." msgstr "" "This example shows how to work with flags without using DI. Now let's " "move on to a more complex example." #: ../../root/quickstart.rst:70 msgid "Сложный пример: Менеджер задач с DI" msgstr "Complex Example: Task Manager with DI" #: ../../root/quickstart.rst:72 msgid "" "В этом руководстве мы создадим полнофункциональное CLI-приложение " "«Менеджер задач», которое продемонстрирует работу с внедрением " "зависимостей." msgstr "" "In this guide, we will create a full-featured CLI application \"Task " "Manager\" that will demonstrate working with dependency injection." #: ../../root/quickstart.rst:80 msgid "**Определение моделей данных и репозитория**" msgstr "**Defining Data Models and Repository**" #: ../../root/quickstart.rst:82 msgid "Сначала определим модели данных для задачи и репозиторий для их хранения." msgstr "First, let's define data models for tasks and a repository to store them." #: ../../root/quickstart.rst:88 msgid "**Создание провайдера для DI**" msgstr "**Creating a Provider for DI**" #: ../../root/quickstart.rst:90 msgid "" "Чтобы Argenta могла внедрять ``TaskRepository`` в наши обработчики, мы " "создадим провайдер для ``dishka``." msgstr "" "To allow Argenta to inject ``TaskRepository`` into our handlers, we will " "create a provider for ``dishka``." #: ../../root/quickstart.rst:96 msgid "**Создание обработчиков команд**" msgstr "**Creating Command Handlers**" #: ../../root/quickstart.rst:98 msgid "" "Теперь создадим обработчики для команд ``add-task`` и ``list-tasks``. " "Обратите внимание, как мы используем флаги и внедряем ``TaskRepository``." msgstr "" "Now let's create handlers for the ``add-task`` and ``list-tasks`` " "commands. Notice how we use flags and inject ``TaskRepository``." #: ../../root/quickstart.rst:104 msgid "**Сборка и запуск приложения**" msgstr "**Building and Running the Application**" #: ../../root/quickstart.rst:106 msgid "" "Наконец, соберем все вместе: создадим экземпляр ``App``, подключим роутер" " и провайдер, а затем запустим приложение." msgstr "" "Finally, let's put it all together: create an ``App`` instance, connect " "the router and provider, and then run the application." #: ../../root/quickstart.rst:114 msgid "" "Теперь вы можете запустить ``main.py`` и взаимодействовать с вашим новым " "CLI-приложением." msgstr "Now you can run ``main.py`` and interact with your new CLI application." #: ../../root/quickstart.rst:116 msgid "Task Manager Example" msgstr "Task Manager Example"