|
| 1 | +# |
| 2 | +msgid "" |
| 3 | +msgstr "" |
| 4 | +"Project-Id-Version: DesignPatternsPHP 1.0\n" |
| 5 | +"Report-Msgid-Bugs-To: \n" |
| 6 | +"POT-Creation-Date: 2015-05-29 12:18+0200\n" |
| 7 | +"PO-Revision-Date: 2015-05-29 21:16+0300\n" |
| 8 | +" Last-Translator: Piotr Grabski-Gradzinski <[email protected]>\n" |
| 9 | +"MIME-Version: 1.0\n" |
| 10 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 11 | +"Content-Transfer-Encoding: 8bit\n" |
| 12 | +"Language: pl\n" |
| 13 | + |
| 14 | +#: ../../Behavioral/Command/README.rst:2 |
| 15 | +msgid "`Command`__" |
| 16 | +msgstr "`Polecenie <https://pl.wikipedia.org/wiki/Polecenie_(wzorzec_projektowy)>`_ (`Command`__)" |
| 17 | + |
| 18 | +#: ../../Behavioral/Command/README.rst:5 |
| 19 | +msgid "Purpose" |
| 20 | +msgstr "Przeznaczenie" |
| 21 | + |
| 22 | +#: ../../Behavioral/Command/README.rst:7 |
| 23 | +msgid "To encapsulate invocation and decoupling." |
| 24 | +msgstr "Pozwala wydzielić wykonanie określonej czynności w postaci obiektu." |
| 25 | + |
| 26 | +#: ../../Behavioral/Command/README.rst:9 |
| 27 | +msgid "" |
| 28 | +"We have an Invoker and a Receiver. This pattern uses a \"Command\" to " |
| 29 | +"delegate the method call against the Receiver and presents the same method " |
| 30 | +"\"execute\". Therefore, the Invoker just knows to call \"execute\" to " |
| 31 | +"process the Command of the client. The Receiver is decoupled from the " |
| 32 | +"Invoker." |
| 33 | +msgstr "" |
| 34 | +"Wprowadzamy trzy obiekty: Nadawcę (ang. `Invoker`), Odbiorcę (ang. `Receiver`) i Polecenie (ang. `Command`). " |
| 35 | +"Używamy obiektu Polecenia do wykonywania działań na odbiorcy. Dodatkowo wprowadzamy w obiekcie Polecenia " |
| 36 | +"metodę `execute()`. Dzięki temu Nadawca wywołuje zawsze tą samą metodę niezależnie od Polecenia, aby " |
| 37 | +"przetworzyć żądanie klienta. Nadawca i Odbiorca nie są ze sobą połączeni." |
| 38 | + |
| 39 | +#: ../../Behavioral/Command/README.rst:15 |
| 40 | +msgid "" |
| 41 | +"The second aspect of this pattern is the undo(), which undoes the method " |
| 42 | +"execute(). Command can also be aggregated to combine more complex commands " |
| 43 | +"with minimum copy-paste and relying on composition over inheritance." |
| 44 | +msgstr "" |
| 45 | +"Drugi aspektem tego wzorca jest metoda `undo()`, która pozwala cofnąć wywołanie metody `execute()`. " |
| 46 | +"Polecenie może agregować inne Polecenia, aby wykonywać bardziej złożone operacje. Dzięki temu minimalizujemy " |
| 47 | +"kopiowanie kodu z innych klas i opieramy się bardziej na kompozycji niż dziedziczeniu. " |
| 48 | + |
| 49 | +#: ../../Behavioral/Command/README.rst:21 |
| 50 | +msgid "Examples" |
| 51 | +msgstr "Przykłady" |
| 52 | + |
| 53 | +#: ../../Behavioral/Command/README.rst:23 |
| 54 | +msgid "" |
| 55 | +"A text editor : all events are Command which can be undone, stacked and " |
| 56 | +"saved." |
| 57 | +msgstr "" |
| 58 | +"Edytor tekstu: wszystkie zdarzenia (ang. `events`) są Poleceniami, które można cofnąć `undo()`, odłożyć na stosie " |
| 59 | +"i zapisać." |
| 60 | + |
| 61 | +#: ../../Behavioral/Command/README.rst:25 |
| 62 | +msgid "" |
| 63 | +"Symfony2: SF2 Commands that can be run from the CLI are built with just the " |
| 64 | +"Command pattern in mind" |
| 65 | +msgstr "" |
| 66 | +"Symfony2: Polecenie w Symfony2, które można uruchomić z poziomu konsoli (CLI - ang. `Command Line Interface`) zostały oparte na wzorcu projektowym Polecenie." |
| 67 | + |
| 68 | +#: ../../Behavioral/Command/README.rst:27 |
| 69 | +msgid "" |
| 70 | +"big CLI tools use subcommands to distribute various tasks and pack them in " |
| 71 | +"\"modules\", each of these can be implemented with the Command pattern (e.g." |
| 72 | +" vagrant)" |
| 73 | +msgstr "" |
| 74 | +"Rozbudowane narzędzia CLI używają Podpoleceń do rozdzielenia różnych zadań " |
| 75 | +"i pozwalają na łączenie ich w moduły. Każdy taki moduł może zostać zaimplementowany przy pomocy wzorca Polecenie (np. Vagrant)." |
| 76 | + |
| 77 | +#: ../../Behavioral/Command/README.rst:32 |
| 78 | +msgid "UML Diagram" |
| 79 | +msgstr "Diagram UML" |
| 80 | + |
| 81 | +#: ../../Behavioral/Command/README.rst:39 |
| 82 | +msgid "Code" |
| 83 | +msgstr "Kod" |
| 84 | + |
| 85 | +#: ../../Behavioral/Command/README.rst:41 |
| 86 | +msgid "You can also find this code on `GitHub`_" |
| 87 | +msgstr "Ten kod znajdziesz również na `GitHub`_." |
| 88 | + |
| 89 | +#: ../../Behavioral/Command/README.rst:43 |
| 90 | +msgid "CommandInterface.php" |
| 91 | +msgstr "CommandInterface.php" |
| 92 | + |
| 93 | +#: ../../Behavioral/Command/README.rst:49 |
| 94 | +msgid "HelloCommand.php" |
| 95 | +msgstr "HelloCommand.php" |
| 96 | + |
| 97 | +#: ../../Behavioral/Command/README.rst:55 |
| 98 | +msgid "Receiver.php" |
| 99 | +msgstr "Receiver.php" |
| 100 | + |
| 101 | +#: ../../Behavioral/Command/README.rst:61 |
| 102 | +msgid "Invoker.php" |
| 103 | +msgstr "Invoker.php" |
| 104 | + |
| 105 | +#: ../../Behavioral/Command/README.rst:68 |
| 106 | +msgid "Test" |
| 107 | +msgstr "Testy" |
| 108 | + |
| 109 | +#: ../../Behavioral/Command/README.rst:70 |
| 110 | +msgid "Tests/CommandTest.php" |
| 111 | +msgstr "Tests/CommandTest.php" |
0 commit comments