Skip to content

Commit 8887a56

Browse files
author
Dominik Liebler
committed
translated all behavioral patterns
1 parent a6c69b8 commit 8887a56

File tree

38 files changed

+2923
-2
lines changed

38 files changed

+2923
-2
lines changed

locale/de/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgstr ""
55
"Report-Msgid-Bugs-To: \n"
66
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
77
"PO-Revision-Date: 2016-03-28 19:48+0200\n"
8-
"Last-Translator: Eugene Glotov <kivagant@gmail.com>\n"
8+
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"

locale/de/LC_MESSAGES/Behavioral/Command/README.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgstr ""
55
"Report-Msgid-Bugs-To: \n"
66
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
77
"PO-Revision-Date: 2016-03-28 19:56+0200\n"
8-
"Last-Translator: Eugene Glotov <kivagant@gmail.com>\n"
8+
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
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: 2016-03-29 05:44+0200\n"
8+
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"Language: de\n"
13+
"Language-Team: \n"
14+
"X-Generator: Poedit 1.8.7\n"
15+
16+
#: ../../Behavioral/Iterator/README.rst:2
17+
msgid "`Iterator`__"
18+
msgstr "`Итератор <https://ru.wikipedia.org/wiki/Итератор_(шаблон_проектирования)>`_ (`Iterator`__)"
19+
20+
#: ../../Behavioral/Iterator/README.rst:5
21+
msgid "Purpose"
22+
msgstr "Zweck"
23+
24+
#: ../../Behavioral/Iterator/README.rst:7
25+
msgid "To make an object iterable and to make it appear like a collection of objects."
26+
msgstr ""
27+
28+
#: ../../Behavioral/Iterator/README.rst:11
29+
msgid "Examples"
30+
msgstr "Beispiele"
31+
32+
#: ../../Behavioral/Iterator/README.rst:13
33+
msgid ""
34+
"to process a file line by line by just running over all lines (which have an object "
35+
"representation) for a file (which of course is an object, too)"
36+
msgstr ""
37+
38+
#: ../../Behavioral/Iterator/README.rst:18
39+
msgid "Note"
40+
msgstr "Hinweis"
41+
42+
#: ../../Behavioral/Iterator/README.rst:20
43+
msgid ""
44+
"Standard PHP Library (SPL) defines an interface Iterator which is best suited for this! Often you "
45+
"would want to implement the Countable interface too, to allow ``count($object)`` on your iterable "
46+
"object"
47+
msgstr ""
48+
49+
#: ../../Behavioral/Iterator/README.rst:25
50+
msgid "UML Diagram"
51+
msgstr "UML Diagramm"
52+
53+
#: ../../Behavioral/Iterator/README.rst:32
54+
msgid "Code"
55+
msgstr "Code"
56+
57+
#: ../../Behavioral/Iterator/README.rst:34
58+
msgid "You can also find these code on `GitHub`_"
59+
msgstr "Du kannst den Code auch auf `GitHub` einsehen_"
60+
61+
#: ../../Behavioral/Iterator/README.rst:36
62+
msgid "Book.php"
63+
msgstr "Book.php"
64+
65+
#: ../../Behavioral/Iterator/README.rst:42
66+
msgid "BookList.php"
67+
msgstr "BookList.php"
68+
69+
#: ../../Behavioral/Iterator/README.rst:48
70+
msgid "BookListIterator.php"
71+
msgstr "BookListIterator.php"
72+
73+
#: ../../Behavioral/Iterator/README.rst:54
74+
msgid "BookListReverseIterator.php"
75+
msgstr "BookListReverseIterator.php"
76+
77+
#: ../../Behavioral/Iterator/README.rst:61
78+
msgid "Test"
79+
msgstr "Теst"
80+
81+
#: ../../Behavioral/Iterator/README.rst:63
82+
msgid "Tests/IteratorTest.php"
83+
msgstr "Tests/IteratorTest.php"
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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: 2016-04-03 12:46+0200\n"
8+
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"Language: de\n"
13+
"Language-Team: \n"
14+
"X-Generator: Poedit 1.8.7\n"
15+
16+
#: ../../Behavioral/Mediator/README.rst:2
17+
msgid "`Mediator`__"
18+
msgstr "`Mediator`__"
19+
20+
#: ../../Behavioral/Mediator/README.rst:5
21+
msgid "Purpose"
22+
msgstr "Zweck"
23+
24+
#: ../../Behavioral/Mediator/README.rst:7
25+
msgid ""
26+
"This pattern provides an easy to decouple many components working together. It is a good "
27+
"alternative over Observer IF you have a \"central intelligence\", like a controller (but not in the "
28+
"sense of the MVC)."
29+
msgstr ""
30+
"Dieses Muster bietet eine einfache Möglichkeit, viele, miteinander arbeitende Komponenten zu "
31+
"entkoppeln. Es ist eine gute Alternative für das Observer-Pattern, wenn du eine „zentrale "
32+
"Intelligenz“ wie z.B. einen Controller (nicht im MVC-Sinne) in deiner Architektur hast."
33+
34+
#: ../../Behavioral/Mediator/README.rst:11
35+
msgid ""
36+
"All components (called Colleague) are only coupled to the MediatorInterface and it is a good thing "
37+
"because in OOP, one good friend is better than many. This is the key-feature of this pattern."
38+
msgstr ""
39+
"Alle Komponenten (genannt Kollegen) sind nur abhängig vom MediatorInterface und das ist gut so, "
40+
"denn in der Objektorientierten Programmierung ist ein guter Freund besser als viele. Das ist das "
41+
"beste Feature bei diesem Muster."
42+
43+
#: ../../Behavioral/Mediator/README.rst:16
44+
msgid "UML Diagram"
45+
msgstr "UML-Diagramm"
46+
47+
#: ../../Behavioral/Mediator/README.rst:23
48+
msgid "Code"
49+
msgstr "Code"
50+
51+
#: ../../Behavioral/Mediator/README.rst:25
52+
msgid "You can also find these code on `GitHub`_"
53+
msgstr "Du findest den Code hierzu auf `GitHub`_"
54+
55+
#: ../../Behavioral/Mediator/README.rst:27
56+
msgid "MediatorInterface.php"
57+
msgstr "MediatorInterface.php"
58+
59+
#: ../../Behavioral/Mediator/README.rst:33
60+
msgid "Mediator.php"
61+
msgstr "Mediator.php"
62+
63+
#: ../../Behavioral/Mediator/README.rst:39
64+
msgid "Colleague.php"
65+
msgstr "Colleague.php"
66+
67+
#: ../../Behavioral/Mediator/README.rst:45
68+
msgid "Subsystem/Client.php"
69+
msgstr "Subsystem/Client.php"
70+
71+
#: ../../Behavioral/Mediator/README.rst:51
72+
msgid "Subsystem/Database.php"
73+
msgstr "Subsystem/Database.php"
74+
75+
#: ../../Behavioral/Mediator/README.rst:57
76+
msgid "Subsystem/Server.php"
77+
msgstr "Subsystem/Server.php"
78+
79+
#: ../../Behavioral/Mediator/README.rst:64
80+
msgid "Test"
81+
msgstr "Test"
82+
83+
#: ../../Behavioral/Mediator/README.rst:66
84+
msgid "Tests/MediatorTest.php"
85+
msgstr "Tests/MediatorTest.php"
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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: 2016-04-03 12:52+0200\n"
8+
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"Language: de\n"
13+
"Language-Team: \n"
14+
"X-Generator: Poedit 1.8.7\n"
15+
16+
#: ../../Behavioral/Memento/README.rst:2
17+
msgid "`Memento`__"
18+
msgstr "`Memento`__"
19+
20+
#: ../../Behavioral/Memento/README.rst:5
21+
msgid "Purpose"
22+
msgstr "Zweck"
23+
24+
#: ../../Behavioral/Memento/README.rst:7
25+
msgid ""
26+
"Provide the ability to restore an object to its previous state (undo via "
27+
"rollback)."
28+
msgstr ""
29+
"Bietet die Möglichkeit, einen Objektzustand zu einem vorigen Zustand "
30+
"zurückzusetzen (mit Hilfe eines Rollbacks)."
31+
32+
#: ../../Behavioral/Memento/README.rst:10
33+
msgid ""
34+
"The memento pattern is implemented with three objects: the originator, a "
35+
"caretaker and a memento. The originator is some object that has an internal "
36+
"state. The caretaker is going to do something to the originator, but wants to "
37+
"be able to undo the change. The caretaker first asks the originator for a "
38+
"memento object. Then it does whatever operation (or sequence of operations) it "
39+
"was going to do. To roll back to the state before the operations, it returns "
40+
"the memento object to the originator. The memento object itself is an opaque "
41+
"object (one which the caretaker cannot, or should not, change). When using "
42+
"this pattern, care should be taken if the originator may change other objects "
43+
"or resources - the memento pattern operates on a single object."
44+
msgstr ""
45+
"Das Memento-Muster wird mit Hilfe von drei Objekten implementiert: der "
46+
"Originalton, ein Caretaker und das Memento. Der Originalton ist ein Objekt, "
47+
"das einen internen State besitzt. Der Caretaker wird etwas mit dem Originalton "
48+
"machen, aber möchte evtl. diese Änderung auch rückgängig machen wollen. Der "
49+
"Caretaker fragt den Originalton zuerst nach dem Memento-Objekt. Dann wird die "
50+
"angefragte Operation (oder Sequenz von Änderungen) ausgeführt. Um diese "
51+
"Änderung zurückzurollen, wird das Memento-Objekt an den Originalton "
52+
"zurückgegeben. Das Memento-Objekt selbst ist intransparent, so dass der "
53+
"Caretaker selbstständig keine Änderungen am Objekt durchführen kann. Bei der "
54+
"Implementierung dieses Musters ist darauf zu achten, dass der Originator auch "
55+
"Seiteneffekte auslösen kann, das Pattern aber nur auf einem einzelnen Objekt "
56+
"operiert."
57+
58+
#: ../../Behavioral/Memento/README.rst:23
59+
msgid "Examples"
60+
msgstr "Beispiele"
61+
62+
#: ../../Behavioral/Memento/README.rst:25
63+
msgid "The seed of a pseudorandom number generator"
64+
msgstr "Das seeden eines Pseudozufallszahlengenerators"
65+
66+
#: ../../Behavioral/Memento/README.rst:26
67+
msgid "The state in a finite state machine"
68+
msgstr "Der State in einer FSM (Finite State Machine)"
69+
70+
#: ../../Behavioral/Memento/README.rst:29
71+
msgid "UML Diagram"
72+
msgstr "UML-Diagramm"
73+
74+
#: ../../Behavioral/Memento/README.rst:36
75+
msgid "Code"
76+
msgstr "Code"
77+
78+
#: ../../Behavioral/Memento/README.rst:38
79+
msgid "You can also find these code on `GitHub`_"
80+
msgstr "Du findest den Code hierzu auf `GitHub`_"
81+
82+
#: ../../Behavioral/Memento/README.rst:40
83+
msgid "Memento.php"
84+
msgstr "Memento.php"
85+
86+
#: ../../Behavioral/Memento/README.rst:46
87+
msgid "Originator.php"
88+
msgstr "Originator.php"
89+
90+
#: ../../Behavioral/Memento/README.rst:52
91+
msgid "Caretaker.php"
92+
msgstr "Caretaker.php"
93+
94+
#: ../../Behavioral/Memento/README.rst:59
95+
msgid "Test"
96+
msgstr "Test"
97+
98+
#: ../../Behavioral/Memento/README.rst:61
99+
msgid "Tests/MementoTest.php"
100+
msgstr "Tests/MementoTest.php"
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
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: 2016-04-03 12:58+0200\n"
8+
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"Language: de\n"
13+
"Language-Team: \n"
14+
"X-Generator: Poedit 1.8.7\n"
15+
16+
#: ../../Behavioral/NullObject/README.rst:2
17+
msgid "`Null Object`__"
18+
msgstr "`Null Object`__"
19+
20+
#: ../../Behavioral/NullObject/README.rst:5
21+
msgid "Purpose"
22+
msgstr "Zweck"
23+
24+
#: ../../Behavioral/NullObject/README.rst:7
25+
msgid ""
26+
"NullObject is not a GoF design pattern but a schema which appears frequently enough to be considered a "
27+
"pattern. It has the following benefits:"
28+
msgstr ""
29+
"NullObject ist keines der Gang-Of-Four Design Patterns aber ein Muster, dass immer wieder häufig auftritt "
30+
"und deswegen erwähnt werden sollte. Es hat folgende Vorzüge:"
31+
32+
#: ../../Behavioral/NullObject/README.rst:11
33+
msgid "Client code is simplified"
34+
msgstr "Client Code wird vereinfacht"
35+
36+
#: ../../Behavioral/NullObject/README.rst:12
37+
msgid "Reduces the chance of null pointer exceptions"
38+
msgstr "Verringert die Möglichkeit einer Nullpoint-Exception"
39+
40+
#: ../../Behavioral/NullObject/README.rst:13
41+
msgid "Fewer conditionals require less test cases"
42+
msgstr "Weniger Ausnahmefälle bedingen weniger Testfälle"
43+
44+
#: ../../Behavioral/NullObject/README.rst:15
45+
msgid ""
46+
"Methods that return an object or null should instead return an object or ``NullObject``. ``NullObject``\\ "
47+
"s simplify boilerplate code such as ``if (!is_null($obj)) { $obj->callSomething(); }`` to just ``$obj-"
48+
">callSomething();`` by eliminating the conditional check in client code."
49+
msgstr ""
50+
"Methoden, die ein Objekt oder Null zurückgeben, sollten stattdessen ein Objekt oder ``NullObject`` "
51+
"zurückgeben. ``NullObject``s vereinfachen Boilerplate-code wie z.B. ``if (!is_null($obj)) { $obj-"
52+
">callSomething(); }`` zu ``$obj->callSomething();``, indem sie die konditionale Prüfung im Clientcode "
53+
"entfernen."
54+
55+
#: ../../Behavioral/NullObject/README.rst:22
56+
msgid "Examples"
57+
msgstr "Beispiele"
58+
59+
#: ../../Behavioral/NullObject/README.rst:24
60+
msgid "Symfony2: null logger of profiler"
61+
msgstr "Symfony2: Null Logger im Profiler"
62+
63+
#: ../../Behavioral/NullObject/README.rst:25
64+
msgid "Symfony2: null output in Symfony/Console"
65+
msgstr "Symfony 2: Null-Output in Symfony/Console"
66+
67+
#: ../../Behavioral/NullObject/README.rst:26
68+
msgid "null handler in a Chain of Responsibilities pattern"
69+
msgstr "Nullhandler in einem Chain Of Responsibilities Pattern "
70+
71+
#: ../../Behavioral/NullObject/README.rst:27
72+
msgid "null command in a Command pattern"
73+
msgstr "Null Command in einem Command-Pattern"
74+
75+
#: ../../Behavioral/NullObject/README.rst:30
76+
msgid "UML Diagram"
77+
msgstr "UML-Diagramm"
78+
79+
#: ../../Behavioral/NullObject/README.rst:37
80+
msgid "Code"
81+
msgstr "Code"
82+
83+
#: ../../Behavioral/NullObject/README.rst:39
84+
msgid "You can also find these code on `GitHub`_"
85+
msgstr "Du findest den Code hierzu auf `GitHub`_"
86+
87+
#: ../../Behavioral/NullObject/README.rst:41
88+
msgid "Service.php"
89+
msgstr "Service.php"
90+
91+
#: ../../Behavioral/NullObject/README.rst:47
92+
msgid "LoggerInterface.php"
93+
msgstr "LoggerInterface.php"
94+
95+
#: ../../Behavioral/NullObject/README.rst:53
96+
msgid "PrintLogger.php"
97+
msgstr "PrintLogger.php"
98+
99+
#: ../../Behavioral/NullObject/README.rst:59
100+
msgid "NullLogger.php"
101+
msgstr "NullLogger.php"
102+
103+
#: ../../Behavioral/NullObject/README.rst:66
104+
msgid "Test"
105+
msgstr "Test"
106+
107+
#: ../../Behavioral/NullObject/README.rst:68
108+
msgid "Tests/LoggerTest.php"
109+
msgstr "Tests/LoggerTest.php"

0 commit comments

Comments
 (0)