[pl translation] More/Delegation.

This commit is contained in:
Piotr Grabski-Gradzinski
2017-06-28 22:31:29 +02:00
parent 0bd05561c9
commit 19852fef50

View File

@@ -0,0 +1,88 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2015, Dominik Liebler and contributors
# This file is distributed under the same license as the DesignPatternsPHP
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Nikita Strelkov <nikita.strelkov@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: ../../More/Delegation/README.rst:2
msgid "`Delegation`__"
msgstr "Delegacja (`Delegation`__)"
#: ../../More/Delegation/README.rst:5
msgid "Purpose"
msgstr "Przeznaczenie"
#: ../../More/Delegation/README.rst:7
msgid ""
"Demonstrate the Delegator pattern, where an object, instead of performing"
" one of its stated tasks, delegates that task to an associated helper "
"object. In this case TeamLead professes to writeCode and Usage uses this,"
" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode "
"function. This inverts the responsibility so that Usage is unknowingly "
"executing writeBadCode."
msgstr ""
"Ideą wzorca projektowego Delegacji jest przekazanie zadania, które obiekt delegujący "
"powinien wykonać (ze względu na zdefiniowaną w klasie metodę) do innego powiązanego "
"obiektu, który to zadanie wykonuje. W tym przykładzie klasa TeamLead posiada metodę "
"writeCode(), która jest wykorzystywana w DelegationTest.php. Jednak realizacja tej metody "
"tak na prawdę odbywa się poprzez metodę writeBadCode() w klasie JuniorDeveloper - obiekt klasy "
"TeamLead wykonanie tej metody na obiekt klasy JuniorDeveloper. W ten sposób test nieświadomie "
"uruchamia metodę writeBadCode()."
#: ../../More/Delegation/README.rst:10
msgid "Examples"
msgstr "Przykłady"
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
"see it all tied together."
msgstr ""
"Sprawdź zawartość klas JuniorDeveloper.php, TeamLead.php oraz DelegationTest.php, "
"aby zapoznać się z ideą działania tego wzorca."
#: ../../More/Delegation/README.rst:15
msgid "UML Diagram"
msgstr "Diagram UML"
#: ../../More/Delegation/README.rst:22
msgid "Code"
msgstr "Kod"
#: ../../More/Delegation/README.rst:24
msgid "You can also find this code on `GitHub`_"
msgstr "Ten kod znajdziesz również na `GitHub`_."
#: ../../More/Delegation/README.rst:26
msgid "Usage.php"
msgstr "Usage.php"
#: ../../More/Delegation/README.rst:32
msgid "TeamLead.php"
msgstr "TeamLead.php"
#: ../../More/Delegation/README.rst:38
msgid "JuniorDeveloper.php"
msgstr "JuniorDeveloper.php"
#: ../../More/Delegation/README.rst:45
msgid "Test"
msgstr "Testy"
#: ../../More/Delegation/README.rst:47
msgid "Tests/DelegationTest.php"
msgstr "Tests/DelegationTest.php"