2019-08-17 22:50:15 +02:00
..
2019-08-17 22:50:15 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
msgid ""
msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: 2015-05-29 21:16+0300\n"
"Last-Translator: Eugene Glotov <kivagant@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"

#: ../../Behavioral/Command/README.rst:2
msgid "`Command`__"
msgstr "`Команда <https://ru.wikipedia.org/wiki/Команда_(шаблон_проектирования)>`_ (`Command`__)"

#: ../../Behavioral/Command/README.rst:5
msgid "Purpose"
msgstr "Назначение"

#: ../../Behavioral/Command/README.rst:7
msgid "To encapsulate invocation and decoupling."
msgstr "Инкапсулировать действие и его параметры"

#: ../../Behavioral/Command/README.rst:9
msgid ""
"We have an Invoker and a Receiver. This pattern uses a \"Command\" to "
"delegate the method call against the Receiver and presents the same method "
"\"execute\". Therefore, the Invoker just knows to call \"execute\" to "
"process the Command of the client. The Receiver is decoupled from the "
"Invoker."
msgstr ""
"Допустим, у нас есть объекты Invoker (Командир) и Receiver (Исполнитель). "
"Этот паттерн использует реализацию интерфейса «Команда», чтобы вызвать "
"некий метод Исполнителя используя для этого известный Командиру метод "
"«execute()». Командир просто знает, что нужно вызвать метод “execute()”, "
"для обработки команды клиента, не разбираясь в деталях реализации "
"Исполнителя. Исполнитель отделен от Командира."

#: ../../Behavioral/Command/README.rst:15
msgid ""
"The second aspect of this pattern is the undo(), which undoes the method "
"execute(). Command can also be aggregated to combine more complex commands "
"with minimum copy-paste and relying on composition over inheritance."
msgstr ""
"Вторым аспектом этого паттерна является метод undo(), который отменяет "
"действие, выполняемое методом execute(). Команды также могут быть "
"объединены в более общие команды с минимальным копированием-вставкой и "
"полагаясь на композицию поверх наследования."

#: ../../Behavioral/Command/README.rst:21
msgid "Examples"
msgstr "Примеры"

#: ../../Behavioral/Command/README.rst:23
msgid ""
"A text editor : all events are Command which can be undone, stacked and "
"saved."
msgstr ""
"текстовый редактор: все события являются Командами, которые могут быть "
"отменены, выстроены в определённую последовательность и сохранены."

#: ../../Behavioral/Command/README.rst:27
msgid ""
"big CLI tools use subcommands to distribute various tasks and pack them in "
"\"modules\", each of these can be implemented with the Command pattern (e.g."
" vagrant)"
msgstr ""
"большие утилиты для командной строки (например, Vagrant) используют "
"вложенные команды для разделения различных задач и упаковки их в «модули», "
"каждый из которых может быть реализован с помощью паттерна «Команда»."

#: ../../Behavioral/Command/README.rst:32
msgid "UML Diagram"
msgstr "Диаграмма UML"

#: ../../Behavioral/Command/README.rst:39
msgid "Code"
msgstr "Код"

#: ../../Behavioral/Command/README.rst:41
msgid "You can also find this code on `GitHub`_"
msgstr "Вы также можете найти этот код на `GitHub`_"

#: ../../Behavioral/Command/README.rst:68
msgid "Test"
msgstr "Тест"