update all .po files

This commit is contained in:
shangguokan
2016-06-04 01:16:55 +02:00
parent 78fabf6cf3
commit 557ac019b1
48 changed files with 2024 additions and 442 deletions

View File

@@ -7,3 +7,4 @@ More
Delegation/README
ServiceLocator/README
Repository/README
EAV/README

View File

@@ -65,6 +65,7 @@ The patterns can be structured in roughly three different categories. Please cli
* [DependencyInjection](Structural/DependencyInjection) [:notebook:](http://en.wikipedia.org/wiki/Dependency_injection)
* [Facade](Structural/Facade) [:notebook:](http://en.wikipedia.org/wiki/Facade_pattern)
* [FluentInterface](Structural/FluentInterface) [:notebook:](http://en.wikipedia.org/wiki/Fluent_interface)
* [Flyweight](Structural/Flyweight) [:notebook:](https://en.wikipedia.org/wiki/Flyweight_pattern)
* [Proxy](Structural/Proxy) [:notebook:](http://en.wikipedia.org/wiki/Proxy_pattern)
* [Registry](Structural/Registry) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern)

View File

@@ -45,7 +45,7 @@ License
(The MIT License)
Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_
Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the

View File

@@ -1,5 +1,5 @@
`Flyweight`__
==========
=============
Purpose
-------

View File

@@ -12,5 +12,6 @@ entities.
* [DependencyInjection](DependencyInjection) [:notebook:](http://en.wikipedia.org/wiki/Dependency_injection)
* [Facade](Facade) [:notebook:](http://en.wikipedia.org/wiki/Facade_pattern)
* [FluentInterface](FluentInterface) [:notebook:](http://en.wikipedia.org/wiki/Fluent_interface)
* [Flyweight](Flyweight) [:notebook:](https://en.wikipedia.org/wiki/Flyweight_pattern)
* [Proxy](Proxy) [:notebook:](http://en.wikipedia.org/wiki/Proxy_pattern)
* [Registry](Registry) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern)

View File

@@ -16,6 +16,7 @@ relationships between entities.
DependencyInjection/README
Facade/README
FluentInterface/README
Flyweight/README
Proxy/README
Registry/README

View File

@@ -21,8 +21,8 @@ msgstr ""
#: ../../Behavioral/Mediator/README.rst:7
msgid ""
"This pattern provides an easy to decouple many components working together. "
"It is a good alternative over Observer IF you have a \"central "
"This pattern provides an easy way to decouple many components working "
"together. It is a good alternative to Observer IF you have a \"central "
"intelligence\", like a controller (but not in the sense of the MVC)."
msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: ../../Behavioral/Memento/README.rst:2
msgid "`Memento`__"
@@ -21,65 +28,97 @@ msgstr ""
#: ../../Behavioral/Memento/README.rst:7
msgid ""
"Provide the ability to restore an object to its previous state (undo via "
"rollback)."
"It provides the ability to restore an object to it's previous state (undo"
" via rollback) or to gain access to state of the object, without "
"revealing it's implementation (i.e., the object is not required to have a"
" functional for return the current state)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:10
#: ../../Behavioral/Memento/README.rst:12
msgid ""
"The memento pattern is implemented with three objects: the originator, a "
"caretaker and a memento. The originator is some object that has an internal "
"state. The caretaker is going to do something to the originator, but wants "
"to be able to undo the change. The caretaker first asks the originator for a"
" memento object. Then it does whatever operation (or sequence of operations)"
" it was going to do. To roll back to the state before the operations, it "
"returns the memento object to the originator. The memento object itself is "
"an opaque object (one which the caretaker cannot, or should not, change). "
"When using this pattern, care should be taken if the originator may change "
"other objects or resources - the memento pattern operates on a single "
"object."
"The memento pattern is implemented with three objects: the Originator, a "
"Caretaker and a Memento."
msgstr ""
#: ../../Behavioral/Memento/README.rst:23
#: ../../Behavioral/Memento/README.rst:15
msgid ""
"Memento an object that *contains a concrete unique snapshot of state* "
"of any object or resource: string, number, array, an instance of class "
"and so on. The uniqueness in this case does not imply the prohibition "
"existence of similar states in different snapshots. That means the state "
"can be extracted as the independent clone. Any object stored in the "
"Memento should be *a full copy of the original object rather than a "
"reference* to the original object. The Memento object is a \"opaque "
"object\" (the object that no one can or should change)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:24
msgid ""
"Originator it is an object that contains the *actual state of an "
"external object is strictly specified type*. Originator is able to create"
" a unique copy of this state and return it wrapped in a Memento. The "
"Originator does not know the history of changes. You can set a concrete "
"state to Originator from the outside, which will be considered as actual."
" The Originator must make sure that given state corresponds the allowed "
"type of object. Originator may (but not should) have any methods, but "
"they *they can't make changes to the saved object state*."
msgstr ""
#: ../../Behavioral/Memento/README.rst:33
msgid ""
"Caretaker *controls the states history*. He may make changes to an "
"object; take a decision to save the state of an external object in the "
"Originator; ask from the Originator snapshot of the current state; or set"
" the Originator state to equivalence with some snapshot from history."
msgstr ""
#: ../../Behavioral/Memento/README.rst:39
msgid "Examples"
msgstr ""
#: ../../Behavioral/Memento/README.rst:25
#: ../../Behavioral/Memento/README.rst:41
msgid "The seed of a pseudorandom number generator"
msgstr ""
#: ../../Behavioral/Memento/README.rst:26
#: ../../Behavioral/Memento/README.rst:42
msgid "The state in a finite state machine"
msgstr ""
#: ../../Behavioral/Memento/README.rst:29
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:36
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:38
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:40
msgid "Memento.php"
#: ../../Behavioral/Memento/README.rst:43
msgid ""
"Control for intermediate states of `ORM Model "
"<http://en.wikipedia.org/wiki/Object-relational_mapping>`_ before saving"
msgstr ""
#: ../../Behavioral/Memento/README.rst:46
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:53
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:55
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:57
msgid "Memento.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:63
msgid "Originator.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:52
#: ../../Behavioral/Memento/README.rst:69
msgid "Caretaker.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:59
#: ../../Behavioral/Memento/README.rst:76
msgid "Test"
msgstr ""
#: ../../Behavioral/Memento/README.rst:61
#: ../../Behavioral/Memento/README.rst:78
msgid "Tests/MementoTest.php"
msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\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`__"
@@ -19,14 +26,26 @@ msgstr ""
msgid "Purpose"
msgstr ""
#: ../../More/Delegation/README.rst:7 ../../More/Delegation/README.rst:12
msgid "..."
#: ../../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 ""
#: ../../More/Delegation/README.rst:10
msgid "Examples"
msgstr ""
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
"see it all tied together."
msgstr ""
#: ../../More/Delegation/README.rst:15
msgid "UML Diagram"
msgstr ""
@@ -58,3 +77,4 @@ msgstr ""
#: ../../More/Delegation/README.rst:47
msgid "Tests/DelegationTest.php"
msgstr ""

View File

@@ -0,0 +1,78 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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/EAV/README.rst:2
msgid "`Entity-Attribute-Value (EAV)`__"
msgstr ""
#: ../../More/EAV/README.rst:4
msgid ""
"The Entityattributevalue (EAV) pattern in order to implement EAV model "
"with PHP."
msgstr ""
#: ../../More/EAV/README.rst:7
msgid "Purpose"
msgstr ""
#: ../../More/EAV/README.rst:9
msgid ""
"The Entityattributevalue (EAV) model is a data model to describe "
"entities where the number of attributes (properties, parameters) that can"
" be used to describe them is potentially vast, but the number that will "
"actually apply to a given entity is relatively modest."
msgstr ""
#: ../../More/EAV/README.rst:15
msgid "Examples"
msgstr ""
#: ../../More/EAV/README.rst:17
msgid "Check full work example in `example.php`_ file."
msgstr ""
#: ../../More/EAV/README.rst:90
msgid "UML Diagram"
msgstr ""
#: ../../More/EAV/README.rst:97
msgid "Code"
msgstr ""
#: ../../More/EAV/README.rst:99
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../More/EAV/README.rst:102
msgid "Test"
msgstr ""
#: ../../More/EAV/README.rst:104
msgid "Tests/EntityTest.php"
msgstr ""
#: ../../More/EAV/README.rst:110
msgid "Tests/AttributeTest.php"
msgstr ""
#: ../../More/EAV/README.rst:116
msgid "Tests/ValueTest.php"
msgstr ""

View File

@@ -62,7 +62,7 @@ msgid "(The MIT License)"
msgstr ""
#: ../../README.rst:48
msgid "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
msgstr ""
#: ../../README.rst:50

View File

@@ -0,0 +1,69 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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"
#: ../../Structural/Flyweight/README.rst:2
msgid "`Flyweight`__"
msgstr ""
#: ../../Structural/Flyweight/README.rst:5
msgid "Purpose"
msgstr ""
#: ../../Structural/Flyweight/README.rst:7
msgid ""
"To minimise memory usage, a Flyweight shares as much as possible memory "
"with similar objects. It is needed when a large amount of objects is used"
" that don't differ much in state. A common practice is to hold state in "
"external data structures and pass them to the flyweight object when "
"needed."
msgstr ""
#: ../../Structural/Flyweight/README.rst:12
msgid "UML Diagram"
msgstr ""
#: ../../Structural/Flyweight/README.rst:19
msgid "Code"
msgstr ""
#: ../../Structural/Flyweight/README.rst:21
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Structural/Flyweight/README.rst:23
msgid "FlyweightInterface.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:29
msgid "CharacterFlyweight.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:35
msgid "FlyweightFactory.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:42
msgid "Test"
msgstr ""
#: ../../Structural/Flyweight/README.rst:44
msgid "Tests/FlyweightTest.php"
msgstr ""

View File

@@ -32,8 +32,8 @@ msgstr ""
#: ../../Structural/Registry/README.rst:14
msgid ""
"Zend Framework: ``Zend_Registry`` holds the application's logger object, "
"front controller etc."
"Zend Framework 1: ``Zend_Registry`` holds the application's logger "
"object, front controller etc."
msgstr ""
#: ../../Structural/Registry/README.rst:16

View File

@@ -23,9 +23,9 @@ msgstr "Zweck"
#: ../../Behavioral/Mediator/README.rst:7
msgid ""
"This pattern provides an easy to decouple many components working together. It is a good "
"alternative over Observer IF you have a \"central intelligence\", like a controller (but not in the "
"sense of the MVC)."
"This pattern provides an easy way to decouple many components working "
"together. It is a good alternative to Observer IF you have a \"central "
"intelligence\", like a controller (but not in the sense of the MVC)."
msgstr ""
"Dieses Muster bietet eine einfache Möglichkeit, viele, miteinander arbeitende Komponenten zu "
"entkoppeln. Es ist eine gute Alternative für das Observer-Pattern, wenn du eine „zentrale "

View File

@@ -1,100 +1,225 @@
# 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: 2016-04-03 12:52+0200\n"
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Language-Team: \n"
"X-Generator: Poedit 1.8.7\n"
"Generated-By: Babel 2.3.4\n"
#: ../../Behavioral/Memento/README.rst:2
msgid "`Memento`__"
msgstr "`Memento`__"
msgstr ""
#: ../../Behavioral/Memento/README.rst:5
msgid "Purpose"
msgstr "Zweck"
msgstr ""
#: ../../Behavioral/Memento/README.rst:7
msgid ""
"Provide the ability to restore an object to its previous state (undo via "
"rollback)."
"It provides the ability to restore an object to it's previous state (undo"
" via rollback) or to gain access to state of the object, without "
"revealing it's implementation (i.e., the object is not required to have a"
" functional for return the current state)."
msgstr ""
"Bietet die Möglichkeit, einen Objektzustand zu einem vorigen Zustand "
"zurückzusetzen (mit Hilfe eines Rollbacks)."
#: ../../Behavioral/Memento/README.rst:10
#: ../../Behavioral/Memento/README.rst:12
msgid ""
"The memento pattern is implemented with three objects: the originator, a "
"caretaker and a memento. The originator is some object that has an internal "
"state. The caretaker is going to do something to the originator, but wants to "
"be able to undo the change. The caretaker first asks the originator for a "
"memento object. Then it does whatever operation (or sequence of operations) it "
"was going to do. To roll back to the state before the operations, it returns "
"the memento object to the originator. The memento object itself is an opaque "
"object (one which the caretaker cannot, or should not, change). When using "
"this pattern, care should be taken if the originator may change other objects "
"or resources - the memento pattern operates on a single object."
"The memento pattern is implemented with three objects: the Originator, a "
"Caretaker and a Memento."
msgstr ""
"Das Memento-Muster wird mit Hilfe von drei Objekten implementiert: der "
"Originalton, ein Caretaker und das Memento. Der Originalton ist ein Objekt, "
"das einen internen State besitzt. Der Caretaker wird etwas mit dem Originalton "
"machen, aber möchte evtl. diese Änderung auch rückgängig machen wollen. Der "
"Caretaker fragt den Originalton zuerst nach dem Memento-Objekt. Dann wird die "
"angefragte Operation (oder Sequenz von Änderungen) ausgeführt. Um diese "
"Änderung zurückzurollen, wird das Memento-Objekt an den Originalton "
"zurückgegeben. Das Memento-Objekt selbst ist intransparent, so dass der "
"Caretaker selbstständig keine Änderungen am Objekt durchführen kann. Bei der "
"Implementierung dieses Musters ist darauf zu achten, dass der Originator auch "
"Seiteneffekte auslösen kann, das Pattern aber nur auf einem einzelnen Objekt "
"operiert."
#: ../../Behavioral/Memento/README.rst:23
#: ../../Behavioral/Memento/README.rst:15
msgid ""
"Memento an object that *contains a concrete unique snapshot of state* "
"of any object or resource: string, number, array, an instance of class "
"and so on. The uniqueness in this case does not imply the prohibition "
"existence of similar states in different snapshots. That means the state "
"can be extracted as the independent clone. Any object stored in the "
"Memento should be *a full copy of the original object rather than a "
"reference* to the original object. The Memento object is a \"opaque "
"object\" (the object that no one can or should change)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:24
msgid ""
"Originator it is an object that contains the *actual state of an "
"external object is strictly specified type*. Originator is able to create"
" a unique copy of this state and return it wrapped in a Memento. The "
"Originator does not know the history of changes. You can set a concrete "
"state to Originator from the outside, which will be considered as actual."
" The Originator must make sure that given state corresponds the allowed "
"type of object. Originator may (but not should) have any methods, but "
"they *they can't make changes to the saved object state*."
msgstr ""
#: ../../Behavioral/Memento/README.rst:33
msgid ""
"Caretaker *controls the states history*. He may make changes to an "
"object; take a decision to save the state of an external object in the "
"Originator; ask from the Originator snapshot of the current state; or set"
" the Originator state to equivalence with some snapshot from history."
msgstr ""
#: ../../Behavioral/Memento/README.rst:39
msgid "Examples"
msgstr "Beispiele"
msgstr ""
#: ../../Behavioral/Memento/README.rst:25
#: ../../Behavioral/Memento/README.rst:41
msgid "The seed of a pseudorandom number generator"
msgstr "Das seeden eines Pseudozufallszahlengenerators"
msgstr ""
#: ../../Behavioral/Memento/README.rst:26
#: ../../Behavioral/Memento/README.rst:42
msgid "The state in a finite state machine"
msgstr "Der State in einer FSM (Finite State Machine)"
msgstr ""
#: ../../Behavioral/Memento/README.rst:29
msgid "UML Diagram"
msgstr "UML-Diagramm"
#: ../../Behavioral/Memento/README.rst:36
msgid "Code"
msgstr "Code"
#: ../../Behavioral/Memento/README.rst:38
msgid "You can also find these code on `GitHub`_"
msgstr "Du findest den Code hierzu auf `GitHub`_"
#: ../../Behavioral/Memento/README.rst:40
msgid "Memento.php"
msgstr "Memento.php"
#: ../../Behavioral/Memento/README.rst:43
msgid ""
"Control for intermediate states of `ORM Model "
"<http://en.wikipedia.org/wiki/Object-relational_mapping>`_ before saving"
msgstr ""
#: ../../Behavioral/Memento/README.rst:46
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:53
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:55
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:57
msgid "Memento.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:63
msgid "Originator.php"
msgstr "Originator.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:52
#: ../../Behavioral/Memento/README.rst:69
msgid "Caretaker.php"
msgstr "Caretaker.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:59
#: ../../Behavioral/Memento/README.rst:76
msgid "Test"
msgstr "Test"
msgstr ""
#: ../../Behavioral/Memento/README.rst:61
#: ../../Behavioral/Memento/README.rst:78
msgid "Tests/MementoTest.php"
msgstr "Tests/MementoTest.php"
msgstr ""
#. #
#. 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: 2016-04-03 12:52+0200\n"
#. "Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
#. "MIME-Version: 1.0\n"
#. "Content-Type: text/plain; charset=UTF-8\n"
#. "Content-Transfer-Encoding: 8bit\n"
#. "Language: de\n"
#. "Language-Team: \n"
#. "X-Generator: Poedit 1.8.7\n"
#.
#. #: ../../Behavioral/Memento/README.rst:2
#. msgid "`Memento`__"
#. msgstr "`Memento`__"
#.
#. #: ../../Behavioral/Memento/README.rst:5
#. msgid "Purpose"
#. msgstr "Zweck"
#.
#. #: ../../Behavioral/Memento/README.rst:7
#. msgid ""
#. "Provide the ability to restore an object to its previous state (undo via "
#. "rollback)."
#. msgstr ""
#. "Bietet die Möglichkeit, einen Objektzustand zu einem vorigen Zustand "
#. "zurückzusetzen (mit Hilfe eines Rollbacks)."
#.
#. #: ../../Behavioral/Memento/README.rst:10
#. msgid ""
#. "The memento pattern is implemented with three objects: the originator, a "
#. "caretaker and a memento. The originator is some object that has an internal "
#. "state. The caretaker is going to do something to the originator, but wants to "
#. "be able to undo the change. The caretaker first asks the originator for a "
#. "memento object. Then it does whatever operation (or sequence of operations) it "
#. "was going to do. To roll back to the state before the operations, it returns "
#. "the memento object to the originator. The memento object itself is an opaque "
#. "object (one which the caretaker cannot, or should not, change). When using "
#. "this pattern, care should be taken if the originator may change other objects "
#. "or resources - the memento pattern operates on a single object."
#. msgstr ""
#. "Das Memento-Muster wird mit Hilfe von drei Objekten implementiert: der "
#. "Originalton, ein Caretaker und das Memento. Der Originalton ist ein Objekt, "
#. "das einen internen State besitzt. Der Caretaker wird etwas mit dem Originalton "
#. "machen, aber möchte evtl. diese Änderung auch rückgängig machen wollen. Der "
#. "Caretaker fragt den Originalton zuerst nach dem Memento-Objekt. Dann wird die "
#. "angefragte Operation (oder Sequenz von Änderungen) ausgeführt. Um diese "
#. "Änderung zurückzurollen, wird das Memento-Objekt an den Originalton "
#. "zurückgegeben. Das Memento-Objekt selbst ist intransparent, so dass der "
#. "Caretaker selbstständig keine Änderungen am Objekt durchführen kann. Bei der "
#. "Implementierung dieses Musters ist darauf zu achten, dass der Originator auch "
#. "Seiteneffekte auslösen kann, das Pattern aber nur auf einem einzelnen Objekt "
#. "operiert."
#.
#. #: ../../Behavioral/Memento/README.rst:23
#. msgid "Examples"
#. msgstr "Beispiele"
#.
#. #: ../../Behavioral/Memento/README.rst:25
#. msgid "The seed of a pseudorandom number generator"
#. msgstr "Das seeden eines Pseudozufallszahlengenerators"
#.
#. #: ../../Behavioral/Memento/README.rst:26
#. msgid "The state in a finite state machine"
#. msgstr "Der State in einer FSM (Finite State Machine)"
#.
#. #: ../../Behavioral/Memento/README.rst:29
#. msgid "UML Diagram"
#. msgstr "UML-Diagramm"
#.
#. #: ../../Behavioral/Memento/README.rst:36
#. msgid "Code"
#. msgstr "Code"
#.
#. #: ../../Behavioral/Memento/README.rst:38
#. msgid "You can also find these code on `GitHub`_"
#. msgstr "Du findest den Code hierzu auf `GitHub`_"
#.
#. #: ../../Behavioral/Memento/README.rst:40
#. msgid "Memento.php"
#. msgstr "Memento.php"
#.
#. #: ../../Behavioral/Memento/README.rst:46
#. msgid "Originator.php"
#. msgstr "Originator.php"
#.
#. #: ../../Behavioral/Memento/README.rst:52
#. msgid "Caretaker.php"
#. msgstr "Caretaker.php"
#.
#. #: ../../Behavioral/Memento/README.rst:59
#. msgid "Test"
#. msgstr "Test"
#.
#. #: ../../Behavioral/Memento/README.rst:61
#. msgid "Tests/MementoTest.php"
#. msgstr "Tests/MementoTest.php"

View File

@@ -1,62 +1,80 @@
# 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: 2016-04-04 08:05+0200\n"
"Last-Translator: Dominik Liebler <liebler.dominik@gmail.com>\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Language-Team: \n"
"X-Generator: Poedit 1.8.7.1\n"
"Generated-By: Babel 2.3.4\n"
#: ../../More/Delegation/README.rst:2
msgid "`Delegation`__"
msgstr "`Delegation`__"
msgstr ""
#: ../../More/Delegation/README.rst:5
msgid "Purpose"
msgstr "Zweck"
msgstr ""
#: ../../More/Delegation/README.rst:7 ../../More/Delegation/README.rst:12
msgid "..."
msgstr "..."
#: ../../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 ""
#: ../../More/Delegation/README.rst:10
msgid "Examples"
msgstr "Beispiele"
msgstr ""
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
"see it all tied together."
msgstr ""
#: ../../More/Delegation/README.rst:15
msgid "UML Diagram"
msgstr "UML Diagramm"
msgstr ""
#: ../../More/Delegation/README.rst:22
msgid "Code"
msgstr "Code"
msgstr ""
#: ../../More/Delegation/README.rst:24
msgid "You can also find these code on `GitHub`_"
msgstr "Du findest den Code auch auf `GitHub`_"
msgstr ""
#: ../../More/Delegation/README.rst:26
msgid "Usage.php"
msgstr "Usage.php"
msgstr ""
#: ../../More/Delegation/README.rst:32
msgid "TeamLead.php"
msgstr "TeamLead.php"
msgstr ""
#: ../../More/Delegation/README.rst:38
msgid "JuniorDeveloper.php"
msgstr "JuniorDeveloper.php"
msgstr ""
#: ../../More/Delegation/README.rst:45
msgid "Test"
msgstr "Теst"
msgstr ""
#: ../../More/Delegation/README.rst:47
msgid "Tests/DelegationTest.php"
msgstr "Tests/DelegationTest.php"
msgstr ""

View File

@@ -0,0 +1,78 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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/EAV/README.rst:2
msgid "`Entity-Attribute-Value (EAV)`__"
msgstr ""
#: ../../More/EAV/README.rst:4
msgid ""
"The Entityattributevalue (EAV) pattern in order to implement EAV model "
"with PHP."
msgstr ""
#: ../../More/EAV/README.rst:7
msgid "Purpose"
msgstr ""
#: ../../More/EAV/README.rst:9
msgid ""
"The Entityattributevalue (EAV) model is a data model to describe "
"entities where the number of attributes (properties, parameters) that can"
" be used to describe them is potentially vast, but the number that will "
"actually apply to a given entity is relatively modest."
msgstr ""
#: ../../More/EAV/README.rst:15
msgid "Examples"
msgstr ""
#: ../../More/EAV/README.rst:17
msgid "Check full work example in `example.php`_ file."
msgstr ""
#: ../../More/EAV/README.rst:90
msgid "UML Diagram"
msgstr ""
#: ../../More/EAV/README.rst:97
msgid "Code"
msgstr ""
#: ../../More/EAV/README.rst:99
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../More/EAV/README.rst:102
msgid "Test"
msgstr ""
#: ../../More/EAV/README.rst:104
msgid "Tests/EntityTest.php"
msgstr ""
#: ../../More/EAV/README.rst:110
msgid "Tests/AttributeTest.php"
msgstr ""
#: ../../More/EAV/README.rst:116
msgid "Tests/ValueTest.php"
msgstr ""

View File

@@ -67,8 +67,8 @@ msgid "(The MIT License)"
msgstr "(The MIT License)"
#: ../../README.rst:48
msgid "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
#: ../../README.rst:50
msgid ""

View File

@@ -0,0 +1,69 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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"
#: ../../Structural/Flyweight/README.rst:2
msgid "`Flyweight`__"
msgstr ""
#: ../../Structural/Flyweight/README.rst:5
msgid "Purpose"
msgstr ""
#: ../../Structural/Flyweight/README.rst:7
msgid ""
"To minimise memory usage, a Flyweight shares as much as possible memory "
"with similar objects. It is needed when a large amount of objects is used"
" that don't differ much in state. A common practice is to hold state in "
"external data structures and pass them to the flyweight object when "
"needed."
msgstr ""
#: ../../Structural/Flyweight/README.rst:12
msgid "UML Diagram"
msgstr ""
#: ../../Structural/Flyweight/README.rst:19
msgid "Code"
msgstr ""
#: ../../Structural/Flyweight/README.rst:21
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Structural/Flyweight/README.rst:23
msgid "FlyweightInterface.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:29
msgid "CharacterFlyweight.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:35
msgid "FlyweightFactory.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:42
msgid "Test"
msgstr ""
#: ../../Structural/Flyweight/README.rst:44
msgid "Tests/FlyweightTest.php"
msgstr ""

View File

@@ -38,10 +38,10 @@ msgstr "Beispiele"
#: ../../Structural/Registry/README.rst:14
msgid ""
"Zend Framework: ``Zend_Registry`` holds the application's logger object, "
"front controller etc."
"Zend Framework 1: ``Zend_Registry`` holds the application's logger "
"object, front controller etc."
msgstr ""
"Zend Framework: ``Zend_Registry`` hält die zentralen Objekte der "
"Zend Framework 1: ``Zend_Registry`` hält die zentralen Objekte der "
"Anwendung: z.B. Logger oder Front Controller"
#: ../../Structural/Registry/README.rst:16

View File

@@ -21,8 +21,8 @@ msgstr ""
#: ../../Behavioral/Mediator/README.rst:7
msgid ""
"This pattern provides an easy to decouple many components working together. "
"It is a good alternative over Observer IF you have a \"central "
"This pattern provides an easy way to decouple many components working "
"together. It is a good alternative to Observer IF you have a \"central "
"intelligence\", like a controller (but not in the sense of the MVC)."
msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: ../../Behavioral/Memento/README.rst:2
msgid "`Memento`__"
@@ -21,65 +28,184 @@ msgstr ""
#: ../../Behavioral/Memento/README.rst:7
msgid ""
"Provide the ability to restore an object to its previous state (undo via "
"rollback)."
"It provides the ability to restore an object to it's previous state (undo"
" via rollback) or to gain access to state of the object, without "
"revealing it's implementation (i.e., the object is not required to have a"
" functional for return the current state)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:10
#: ../../Behavioral/Memento/README.rst:12
msgid ""
"The memento pattern is implemented with three objects: the originator, a "
"caretaker and a memento. The originator is some object that has an internal "
"state. The caretaker is going to do something to the originator, but wants "
"to be able to undo the change. The caretaker first asks the originator for a"
" memento object. Then it does whatever operation (or sequence of operations)"
" it was going to do. To roll back to the state before the operations, it "
"returns the memento object to the originator. The memento object itself is "
"an opaque object (one which the caretaker cannot, or should not, change). "
"When using this pattern, care should be taken if the originator may change "
"other objects or resources - the memento pattern operates on a single "
"object."
"The memento pattern is implemented with three objects: the Originator, a "
"Caretaker and a Memento."
msgstr ""
#: ../../Behavioral/Memento/README.rst:23
#: ../../Behavioral/Memento/README.rst:15
msgid ""
"Memento an object that *contains a concrete unique snapshot of state* "
"of any object or resource: string, number, array, an instance of class "
"and so on. The uniqueness in this case does not imply the prohibition "
"existence of similar states in different snapshots. That means the state "
"can be extracted as the independent clone. Any object stored in the "
"Memento should be *a full copy of the original object rather than a "
"reference* to the original object. The Memento object is a \"opaque "
"object\" (the object that no one can or should change)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:24
msgid ""
"Originator it is an object that contains the *actual state of an "
"external object is strictly specified type*. Originator is able to create"
" a unique copy of this state and return it wrapped in a Memento. The "
"Originator does not know the history of changes. You can set a concrete "
"state to Originator from the outside, which will be considered as actual."
" The Originator must make sure that given state corresponds the allowed "
"type of object. Originator may (but not should) have any methods, but "
"they *they can't make changes to the saved object state*."
msgstr ""
#: ../../Behavioral/Memento/README.rst:33
msgid ""
"Caretaker *controls the states history*. He may make changes to an "
"object; take a decision to save the state of an external object in the "
"Originator; ask from the Originator snapshot of the current state; or set"
" the Originator state to equivalence with some snapshot from history."
msgstr ""
#: ../../Behavioral/Memento/README.rst:39
msgid "Examples"
msgstr ""
#: ../../Behavioral/Memento/README.rst:25
#: ../../Behavioral/Memento/README.rst:41
msgid "The seed of a pseudorandom number generator"
msgstr ""
#: ../../Behavioral/Memento/README.rst:26
#: ../../Behavioral/Memento/README.rst:42
msgid "The state in a finite state machine"
msgstr ""
#: ../../Behavioral/Memento/README.rst:29
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:36
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:38
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:40
msgid "Memento.php"
#: ../../Behavioral/Memento/README.rst:43
msgid ""
"Control for intermediate states of `ORM Model "
"<http://en.wikipedia.org/wiki/Object-relational_mapping>`_ before saving"
msgstr ""
#: ../../Behavioral/Memento/README.rst:46
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:53
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:55
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:57
msgid "Memento.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:63
msgid "Originator.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:52
#: ../../Behavioral/Memento/README.rst:69
msgid "Caretaker.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:59
#: ../../Behavioral/Memento/README.rst:76
msgid "Test"
msgstr ""
#: ../../Behavioral/Memento/README.rst:61
#: ../../Behavioral/Memento/README.rst:78
msgid "Tests/MementoTest.php"
msgstr ""
#. #
#. 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: YEAR-MO-DA HO:MI+ZONE\n"
#. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
#.
#. #: ../../Behavioral/Memento/README.rst:2
#. msgid "`Memento`__"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:5
#. msgid "Purpose"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:7
#. msgid ""
#. "Provide the ability to restore an object to its previous state (undo via "
#. "rollback)."
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:10
#. msgid ""
#. "The memento pattern is implemented with three objects: the originator, a "
#. "caretaker and a memento. The originator is some object that has an internal "
#. "state. The caretaker is going to do something to the originator, but wants "
#. "to be able to undo the change. The caretaker first asks the originator for a"
#. " memento object. Then it does whatever operation (or sequence of operations)"
#. " it was going to do. To roll back to the state before the operations, it "
#. "returns the memento object to the originator. The memento object itself is "
#. "an opaque object (one which the caretaker cannot, or should not, change). "
#. "When using this pattern, care should be taken if the originator may change "
#. "other objects or resources - the memento pattern operates on a single "
#. "object."
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:23
#. msgid "Examples"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:25
#. msgid "The seed of a pseudorandom number generator"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:26
#. msgid "The state in a finite state machine"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:29
#. msgid "UML Diagram"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:36
#. msgid "Code"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:38
#. msgid "You can also find these code on `GitHub`_"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:40
#. msgid "Memento.php"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:46
#. msgid "Originator.php"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:52
#. msgid "Caretaker.php"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:59
#. msgid "Test"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:61
#. msgid "Tests/MementoTest.php"
#. msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\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`__"
@@ -19,14 +26,26 @@ msgstr ""
msgid "Purpose"
msgstr ""
#: ../../More/Delegation/README.rst:7 ../../More/Delegation/README.rst:12
msgid "..."
#: ../../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 ""
#: ../../More/Delegation/README.rst:10
msgid "Examples"
msgstr ""
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
"see it all tied together."
msgstr ""
#: ../../More/Delegation/README.rst:15
msgid "UML Diagram"
msgstr ""
@@ -58,3 +77,4 @@ msgstr ""
#: ../../More/Delegation/README.rst:47
msgid "Tests/DelegationTest.php"
msgstr ""

View File

@@ -0,0 +1,78 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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/EAV/README.rst:2
msgid "`Entity-Attribute-Value (EAV)`__"
msgstr ""
#: ../../More/EAV/README.rst:4
msgid ""
"The Entityattributevalue (EAV) pattern in order to implement EAV model "
"with PHP."
msgstr ""
#: ../../More/EAV/README.rst:7
msgid "Purpose"
msgstr ""
#: ../../More/EAV/README.rst:9
msgid ""
"The Entityattributevalue (EAV) model is a data model to describe "
"entities where the number of attributes (properties, parameters) that can"
" be used to describe them is potentially vast, but the number that will "
"actually apply to a given entity is relatively modest."
msgstr ""
#: ../../More/EAV/README.rst:15
msgid "Examples"
msgstr ""
#: ../../More/EAV/README.rst:17
msgid "Check full work example in `example.php`_ file."
msgstr ""
#: ../../More/EAV/README.rst:90
msgid "UML Diagram"
msgstr ""
#: ../../More/EAV/README.rst:97
msgid "Code"
msgstr ""
#: ../../More/EAV/README.rst:99
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../More/EAV/README.rst:102
msgid "Test"
msgstr ""
#: ../../More/EAV/README.rst:104
msgid "Tests/EntityTest.php"
msgstr ""
#: ../../More/EAV/README.rst:110
msgid "Tests/AttributeTest.php"
msgstr ""
#: ../../More/EAV/README.rst:116
msgid "Tests/ValueTest.php"
msgstr ""

View File

@@ -77,8 +77,8 @@ msgid "(The MIT License)"
msgstr "(La licencia MIT)"
#: ../../README.rst:48
msgid "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
#: ../../README.rst:50
msgid ""

View File

@@ -0,0 +1,69 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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"
#: ../../Structural/Flyweight/README.rst:2
msgid "`Flyweight`__"
msgstr ""
#: ../../Structural/Flyweight/README.rst:5
msgid "Purpose"
msgstr ""
#: ../../Structural/Flyweight/README.rst:7
msgid ""
"To minimise memory usage, a Flyweight shares as much as possible memory "
"with similar objects. It is needed when a large amount of objects is used"
" that don't differ much in state. A common practice is to hold state in "
"external data structures and pass them to the flyweight object when "
"needed."
msgstr ""
#: ../../Structural/Flyweight/README.rst:12
msgid "UML Diagram"
msgstr ""
#: ../../Structural/Flyweight/README.rst:19
msgid "Code"
msgstr ""
#: ../../Structural/Flyweight/README.rst:21
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Structural/Flyweight/README.rst:23
msgid "FlyweightInterface.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:29
msgid "CharacterFlyweight.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:35
msgid "FlyweightFactory.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:42
msgid "Test"
msgstr ""
#: ../../Structural/Flyweight/README.rst:44
msgid "Tests/FlyweightTest.php"
msgstr ""

View File

@@ -32,8 +32,8 @@ msgstr ""
#: ../../Structural/Registry/README.rst:14
msgid ""
"Zend Framework: ``Zend_Registry`` holds the application's logger object, "
"front controller etc."
"Zend Framework 1: ``Zend_Registry`` holds the application's logger "
"object, front controller etc."
msgstr ""
#: ../../Structural/Registry/README.rst:16

View File

@@ -21,8 +21,8 @@ msgstr ""
#: ../../Behavioral/Mediator/README.rst:7
msgid ""
"This pattern provides an easy to decouple many components working together. "
"It is a good alternative over Observer IF you have a \"central "
"This pattern provides an easy way to decouple many components working "
"together. It is a good alternative to Observer IF you have a \"central "
"intelligence\", like a controller (but not in the sense of the MVC)."
msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: ../../Behavioral/Memento/README.rst:2
msgid "`Memento`__"
@@ -21,65 +28,184 @@ msgstr ""
#: ../../Behavioral/Memento/README.rst:7
msgid ""
"Provide the ability to restore an object to its previous state (undo via "
"rollback)."
"It provides the ability to restore an object to it's previous state (undo"
" via rollback) or to gain access to state of the object, without "
"revealing it's implementation (i.e., the object is not required to have a"
" functional for return the current state)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:10
#: ../../Behavioral/Memento/README.rst:12
msgid ""
"The memento pattern is implemented with three objects: the originator, a "
"caretaker and a memento. The originator is some object that has an internal "
"state. The caretaker is going to do something to the originator, but wants "
"to be able to undo the change. The caretaker first asks the originator for a"
" memento object. Then it does whatever operation (or sequence of operations)"
" it was going to do. To roll back to the state before the operations, it "
"returns the memento object to the originator. The memento object itself is "
"an opaque object (one which the caretaker cannot, or should not, change). "
"When using this pattern, care should be taken if the originator may change "
"other objects or resources - the memento pattern operates on a single "
"object."
"The memento pattern is implemented with three objects: the Originator, a "
"Caretaker and a Memento."
msgstr ""
#: ../../Behavioral/Memento/README.rst:23
#: ../../Behavioral/Memento/README.rst:15
msgid ""
"Memento an object that *contains a concrete unique snapshot of state* "
"of any object or resource: string, number, array, an instance of class "
"and so on. The uniqueness in this case does not imply the prohibition "
"existence of similar states in different snapshots. That means the state "
"can be extracted as the independent clone. Any object stored in the "
"Memento should be *a full copy of the original object rather than a "
"reference* to the original object. The Memento object is a \"opaque "
"object\" (the object that no one can or should change)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:24
msgid ""
"Originator it is an object that contains the *actual state of an "
"external object is strictly specified type*. Originator is able to create"
" a unique copy of this state and return it wrapped in a Memento. The "
"Originator does not know the history of changes. You can set a concrete "
"state to Originator from the outside, which will be considered as actual."
" The Originator must make sure that given state corresponds the allowed "
"type of object. Originator may (but not should) have any methods, but "
"they *they can't make changes to the saved object state*."
msgstr ""
#: ../../Behavioral/Memento/README.rst:33
msgid ""
"Caretaker *controls the states history*. He may make changes to an "
"object; take a decision to save the state of an external object in the "
"Originator; ask from the Originator snapshot of the current state; or set"
" the Originator state to equivalence with some snapshot from history."
msgstr ""
#: ../../Behavioral/Memento/README.rst:39
msgid "Examples"
msgstr ""
#: ../../Behavioral/Memento/README.rst:25
#: ../../Behavioral/Memento/README.rst:41
msgid "The seed of a pseudorandom number generator"
msgstr ""
#: ../../Behavioral/Memento/README.rst:26
#: ../../Behavioral/Memento/README.rst:42
msgid "The state in a finite state machine"
msgstr ""
#: ../../Behavioral/Memento/README.rst:29
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:36
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:38
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:40
msgid "Memento.php"
#: ../../Behavioral/Memento/README.rst:43
msgid ""
"Control for intermediate states of `ORM Model "
"<http://en.wikipedia.org/wiki/Object-relational_mapping>`_ before saving"
msgstr ""
#: ../../Behavioral/Memento/README.rst:46
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:53
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:55
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:57
msgid "Memento.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:63
msgid "Originator.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:52
#: ../../Behavioral/Memento/README.rst:69
msgid "Caretaker.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:59
#: ../../Behavioral/Memento/README.rst:76
msgid "Test"
msgstr ""
#: ../../Behavioral/Memento/README.rst:61
#: ../../Behavioral/Memento/README.rst:78
msgid "Tests/MementoTest.php"
msgstr ""
#. #
#. 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: YEAR-MO-DA HO:MI+ZONE\n"
#. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
#.
#. #: ../../Behavioral/Memento/README.rst:2
#. msgid "`Memento`__"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:5
#. msgid "Purpose"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:7
#. msgid ""
#. "Provide the ability to restore an object to its previous state (undo via "
#. "rollback)."
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:10
#. msgid ""
#. "The memento pattern is implemented with three objects: the originator, a "
#. "caretaker and a memento. The originator is some object that has an internal "
#. "state. The caretaker is going to do something to the originator, but wants "
#. "to be able to undo the change. The caretaker first asks the originator for a"
#. " memento object. Then it does whatever operation (or sequence of operations)"
#. " it was going to do. To roll back to the state before the operations, it "
#. "returns the memento object to the originator. The memento object itself is "
#. "an opaque object (one which the caretaker cannot, or should not, change). "
#. "When using this pattern, care should be taken if the originator may change "
#. "other objects or resources - the memento pattern operates on a single "
#. "object."
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:23
#. msgid "Examples"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:25
#. msgid "The seed of a pseudorandom number generator"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:26
#. msgid "The state in a finite state machine"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:29
#. msgid "UML Diagram"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:36
#. msgid "Code"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:38
#. msgid "You can also find these code on `GitHub`_"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:40
#. msgid "Memento.php"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:46
#. msgid "Originator.php"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:52
#. msgid "Caretaker.php"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:59
#. msgid "Test"
#. msgstr ""
#.
#. #: ../../Behavioral/Memento/README.rst:61
#. msgid "Tests/MementoTest.php"
#. msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\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`__"
@@ -19,17 +26,29 @@ msgstr ""
msgid "Purpose"
msgstr ""
#: ../../More/Delegation/README.rst:7 ../../More/Delegation/README.rst:12
msgid "..."
#: ../../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 ""
#: ../../More/Delegation/README.rst:10
msgid "Examples"
msgstr ""
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
"see it all tied together."
msgstr ""
#: ../../More/Delegation/README.rst:15
msgid "UML Diagram"
msgstr "Diagrama UML"
msgstr ""
#: ../../More/Delegation/README.rst:22
msgid "Code"
@@ -58,3 +77,4 @@ msgstr ""
#: ../../More/Delegation/README.rst:47
msgid "Tests/DelegationTest.php"
msgstr ""

View File

@@ -0,0 +1,78 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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/EAV/README.rst:2
msgid "`Entity-Attribute-Value (EAV)`__"
msgstr ""
#: ../../More/EAV/README.rst:4
msgid ""
"The Entityattributevalue (EAV) pattern in order to implement EAV model "
"with PHP."
msgstr ""
#: ../../More/EAV/README.rst:7
msgid "Purpose"
msgstr ""
#: ../../More/EAV/README.rst:9
msgid ""
"The Entityattributevalue (EAV) model is a data model to describe "
"entities where the number of attributes (properties, parameters) that can"
" be used to describe them is potentially vast, but the number that will "
"actually apply to a given entity is relatively modest."
msgstr ""
#: ../../More/EAV/README.rst:15
msgid "Examples"
msgstr ""
#: ../../More/EAV/README.rst:17
msgid "Check full work example in `example.php`_ file."
msgstr ""
#: ../../More/EAV/README.rst:90
msgid "UML Diagram"
msgstr ""
#: ../../More/EAV/README.rst:97
msgid "Code"
msgstr ""
#: ../../More/EAV/README.rst:99
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../More/EAV/README.rst:102
msgid "Test"
msgstr ""
#: ../../More/EAV/README.rst:104
msgid "Tests/EntityTest.php"
msgstr ""
#: ../../More/EAV/README.rst:110
msgid "Tests/AttributeTest.php"
msgstr ""
#: ../../More/EAV/README.rst:116
msgid "Tests/ValueTest.php"
msgstr ""

View File

@@ -78,8 +78,8 @@ msgid "(The MIT License)"
msgstr "(The MIT License)"
#: ../../README.rst:48
msgid "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
#: ../../README.rst:50
msgid ""

View File

@@ -0,0 +1,69 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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"
#: ../../Structural/Flyweight/README.rst:2
msgid "`Flyweight`__"
msgstr ""
#: ../../Structural/Flyweight/README.rst:5
msgid "Purpose"
msgstr ""
#: ../../Structural/Flyweight/README.rst:7
msgid ""
"To minimise memory usage, a Flyweight shares as much as possible memory "
"with similar objects. It is needed when a large amount of objects is used"
" that don't differ much in state. A common practice is to hold state in "
"external data structures and pass them to the flyweight object when "
"needed."
msgstr ""
#: ../../Structural/Flyweight/README.rst:12
msgid "UML Diagram"
msgstr ""
#: ../../Structural/Flyweight/README.rst:19
msgid "Code"
msgstr ""
#: ../../Structural/Flyweight/README.rst:21
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Structural/Flyweight/README.rst:23
msgid "FlyweightInterface.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:29
msgid "CharacterFlyweight.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:35
msgid "FlyweightFactory.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:42
msgid "Test"
msgstr ""
#: ../../Structural/Flyweight/README.rst:44
msgid "Tests/FlyweightTest.php"
msgstr ""

View File

@@ -32,8 +32,8 @@ msgstr ""
#: ../../Structural/Registry/README.rst:14
msgid ""
"Zend Framework: ``Zend_Registry`` holds the application's logger object, "
"front controller etc."
"Zend Framework 1: ``Zend_Registry`` holds the application's logger "
"object, front controller etc."
msgstr ""
#: ../../Structural/Registry/README.rst:16

View File

@@ -23,9 +23,9 @@ msgstr "Назначение"
#: ../../Behavioral/Mediator/README.rst:7
msgid ""
"This pattern provides an easy to decouple many components working together. "
"It is a good alternative over Observer IF you have a \"central intelligence"
"\", like a controller (but not in the sense of the MVC)."
"This pattern provides an easy way to decouple many components working "
"together. It is a good alternative to Observer IF you have a \"central "
"intelligence\", like a controller (but not in the sense of the MVC)."
msgstr ""
"Этот паттерн позволяет снизить связность множества компонентов, работающих "
"совместно. Объектам больше нет нужды вызывать друг друга напрямую. Это "

View File

@@ -1,115 +1,241 @@
# 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: 2015-05-30 01:42+0300\n"
"Last-Translator: Eugene Glotov <kivagant@gmail.com>\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"Generated-By: Babel 2.3.4\n"
#: ../../Behavioral/Memento/README.rst:2
msgid "`Memento`__"
msgstr "`Хранитель`__"
msgstr ""
#: ../../Behavioral/Memento/README.rst:5
msgid "Purpose"
msgstr "Назначение"
msgstr ""
#: ../../Behavioral/Memento/README.rst:7
msgid ""
"Provide the ability to restore an object to its previous state (undo via "
"rollback)."
"It provides the ability to restore an object to it's previous state (undo"
" via rollback) or to gain access to state of the object, without "
"revealing it's implementation (i.e., the object is not required to have a"
" functional for return the current state)."
msgstr ""
"Предоставляет возможность восстановить объект в его предыдущем состоянии или "
"получить доступ к состоянию объекта, не раскрывая его реализацию (т.е. сам "
"объект не обязан иметь функционал возврата текущего состояния)."
#: ../../Behavioral/Memento/README.rst:10
#: ../../Behavioral/Memento/README.rst:12
msgid ""
"The memento pattern is implemented with three objects: the originator, a "
"caretaker and a memento. The originator is some object that has an internal "
"state. The caretaker is going to do something to the originator, but wants "
"to be able to undo the change. The caretaker first asks the originator for a"
" memento object. Then it does whatever operation (or sequence of operations)"
" it was going to do. To roll back to the state before the operations, it "
"returns the memento object to the originator. The memento object itself is "
"an opaque object (one which the caretaker cannot, or should not, change). "
"When using this pattern, care should be taken if the originator may change "
"other objects or resources - the memento pattern operates on a single "
"object."
"The memento pattern is implemented with three objects: the Originator, a "
"Caretaker and a Memento."
msgstr ""
"Паттерн «Хранитель» реализуется тремя объектами: Создатель, Опекун и "
"Хранитель.\n"
"\n"
"Хранитель — объект, который *хранит конкретный уникальный слепок состояния* "
"любого объекта или ресурса: строка, число, массив, экземпляр класса и так "
"далее. Уникальность в данном случае подразумевает не запрет существования "
"одинаковых состояний в слепках, а то, что состояние можно извлечь в виде "
"независимого клона. Это значит, объект, сохраняемый в Хранитель, должен *быть "
"полной копией исходного объекта а не ссылкой* на исходный объект. Сам объект "
"Хранитель является «непрозрачным объектом» (тот, который никто не может и не "
"должен изменять).\n"
"\n"
"Создатель — это объект, который *содержит в себе актуальное состояние внешнего "
"объекта строго заданного типа* и умеет создать уникальную копию этого "
"состояния, возвращая её обёрнутую в Хранитель. Создатель не знает истории "
"изменений. Создателю можно принудительно установить конкретное состояние "
"извне, которое будет считаться актуальным. Создатель должен позаботиться, "
"чтобы это состояние соответствовало типу объекта, с которым ему разрешено "
"работать. Создатель может (но не обязан) иметь любые методы, но они *не могут "
"менять сохранённое состояние объекта*.\n"
"\n"
"Опекун *управляет историей слепков состояний*. Он может вносить изменения в "
"объект, принимать решение о сохранении состояния внешнего объекта в Создателе, "
"требовать от Создателя слепок текущего состояния, или привести состояние "
"Создателя в соответствие состоянию какого-то слепка из истории."
#: ../../Behavioral/Memento/README.rst:23
#: ../../Behavioral/Memento/README.rst:15
msgid ""
"Memento an object that *contains a concrete unique snapshot of state* "
"of any object or resource: string, number, array, an instance of class "
"and so on. The uniqueness in this case does not imply the prohibition "
"existence of similar states in different snapshots. That means the state "
"can be extracted as the independent clone. Any object stored in the "
"Memento should be *a full copy of the original object rather than a "
"reference* to the original object. The Memento object is a \"opaque "
"object\" (the object that no one can or should change)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:24
msgid ""
"Originator it is an object that contains the *actual state of an "
"external object is strictly specified type*. Originator is able to create"
" a unique copy of this state and return it wrapped in a Memento. The "
"Originator does not know the history of changes. You can set a concrete "
"state to Originator from the outside, which will be considered as actual."
" The Originator must make sure that given state corresponds the allowed "
"type of object. Originator may (but not should) have any methods, but "
"they *they can't make changes to the saved object state*."
msgstr ""
#: ../../Behavioral/Memento/README.rst:33
msgid ""
"Caretaker *controls the states history*. He may make changes to an "
"object; take a decision to save the state of an external object in the "
"Originator; ask from the Originator snapshot of the current state; or set"
" the Originator state to equivalence with some snapshot from history."
msgstr ""
#: ../../Behavioral/Memento/README.rst:39
msgid "Examples"
msgstr "Примеры"
msgstr ""
#: ../../Behavioral/Memento/README.rst:25
#: ../../Behavioral/Memento/README.rst:41
msgid "The seed of a pseudorandom number generator"
msgstr ""
"`Семя <http://en.wikipedia.org/wiki/Random_seed>`_ псевдослучайного генератора "
"чисел."
#: ../../Behavioral/Memento/README.rst:26
#: ../../Behavioral/Memento/README.rst:42
msgid "The state in a finite state machine"
msgstr "Состояние конечного автомата"
msgstr ""
#: ../../Behavioral/Memento/README.rst:29
msgid "UML Diagram"
msgstr "UML Диаграмма"
#: ../../Behavioral/Memento/README.rst:36
msgid "Code"
msgstr "Код"
#: ../../Behavioral/Memento/README.rst:38
msgid "You can also find these code on `GitHub`_"
msgstr "Вы можете найти этот код на `GitHub`_"
#: ../../Behavioral/Memento/README.rst:40
msgid "Memento.php"
msgstr "Memento.php"
#: ../../Behavioral/Memento/README.rst:43
msgid ""
"Control for intermediate states of `ORM Model "
"<http://en.wikipedia.org/wiki/Object-relational_mapping>`_ before saving"
msgstr ""
#: ../../Behavioral/Memento/README.rst:46
msgid "UML Diagram"
msgstr ""
#: ../../Behavioral/Memento/README.rst:53
msgid "Code"
msgstr ""
#: ../../Behavioral/Memento/README.rst:55
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Behavioral/Memento/README.rst:57
msgid "Memento.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:63
msgid "Originator.php"
msgstr "Originator.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:52
#: ../../Behavioral/Memento/README.rst:69
msgid "Caretaker.php"
msgstr "Caretaker.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:59
#: ../../Behavioral/Memento/README.rst:76
msgid "Test"
msgstr "Тест"
msgstr ""
#: ../../Behavioral/Memento/README.rst:61
#: ../../Behavioral/Memento/README.rst:78
msgid "Tests/MementoTest.php"
msgstr "Tests/MementoTest.php"
msgstr ""
#. #
#. 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-30 01:42+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/Memento/README.rst:2
#. msgid "`Memento`__"
#. msgstr "`Хранитель`__"
#.
#. #: ../../Behavioral/Memento/README.rst:5
#. msgid "Purpose"
#. msgstr "Назначение"
#.
#. #: ../../Behavioral/Memento/README.rst:7
#. msgid ""
#. "Provide the ability to restore an object to its previous state (undo via "
#. "rollback)."
#. msgstr ""
#. "Предоставляет возможность восстановить объект в его предыдущем состоянии или "
#. "получить доступ к состоянию объекта, не раскрывая его реализацию (т.е. сам "
#. "объект не обязан иметь функционал возврата текущего состояния)."
#.
#. #: ../../Behavioral/Memento/README.rst:10
#. msgid ""
#. "The memento pattern is implemented with three objects: the originator, a "
#. "caretaker and a memento. The originator is some object that has an internal "
#. "state. The caretaker is going to do something to the originator, but wants "
#. "to be able to undo the change. The caretaker first asks the originator for a"
#. " memento object. Then it does whatever operation (or sequence of operations)"
#. " it was going to do. To roll back to the state before the operations, it "
#. "returns the memento object to the originator. The memento object itself is "
#. "an opaque object (one which the caretaker cannot, or should not, change). "
#. "When using this pattern, care should be taken if the originator may change "
#. "other objects or resources - the memento pattern operates on a single "
#. "object."
#. msgstr ""
#. "Паттерн «Хранитель» реализуется тремя объектами: Создатель, Опекун и "
#. "Хранитель.\n"
#. "\n"
#. "Хранитель — объект, который *хранит конкретный уникальный слепок состояния* "
#. "любого объекта или ресурса: строка, число, массив, экземпляр класса и так "
#. "далее. Уникальность в данном случае подразумевает не запрет существования "
#. "одинаковых состояний в слепках, а то, что состояние можно извлечь в виде "
#. "независимого клона. Это значит, объект, сохраняемый в Хранитель, должен *быть "
#. "полной копией исходного объекта а не ссылкой* на исходный объект. Сам объект "
#. "Хранитель является «непрозрачным объектом» (тот, который никто не может и не "
#. "должен изменять).\n"
#. "\n"
#. "Создатель — это объект, который *содержит в себе актуальное состояние внешнего "
#. "объекта строго заданного типа* и умеет создать уникальную копию этого "
#. "состояния, возвращая её обёрнутую в Хранитель. Создатель не знает истории "
#. "изменений. Создателю можно принудительно установить конкретное состояние "
#. "извне, которое будет считаться актуальным. Создатель должен позаботиться, "
#. "чтобы это состояние соответствовало типу объекта, с которым ему разрешено "
#. "работать. Создатель может (но не обязан) иметь любые методы, но они *не могут "
#. "менять сохранённое состояние объекта*.\n"
#. "\n"
#. "Опекун *управляет историей слепков состояний*. Он может вносить изменения в "
#. "объект, принимать решение о сохранении состояния внешнего объекта в Создателе, "
#. "требовать от Создателя слепок текущего состояния, или привести состояние "
#. "Создателя в соответствие состоянию какого-то слепка из истории."
#.
#. #: ../../Behavioral/Memento/README.rst:23
#. msgid "Examples"
#. msgstr "Примеры"
#.
#. #: ../../Behavioral/Memento/README.rst:25
#. msgid "The seed of a pseudorandom number generator"
#. msgstr ""
#. "`Семя <http://en.wikipedia.org/wiki/Random_seed>`_ псевдослучайного генератора "
#. "чисел."
#.
#. #: ../../Behavioral/Memento/README.rst:26
#. msgid "The state in a finite state machine"
#. msgstr "Состояние конечного автомата"
#.
#. #: ../../Behavioral/Memento/README.rst:29
#. msgid "UML Diagram"
#. msgstr "UML Диаграмма"
#.
#. #: ../../Behavioral/Memento/README.rst:36
#. msgid "Code"
#. msgstr "Код"
#.
#. #: ../../Behavioral/Memento/README.rst:38
#. msgid "You can also find these code on `GitHub`_"
#. msgstr "Вы можете найти этот код на `GitHub`_"
#.
#. #: ../../Behavioral/Memento/README.rst:40
#. msgid "Memento.php"
#. msgstr "Memento.php"
#.
#. #: ../../Behavioral/Memento/README.rst:46
#. msgid "Originator.php"
#. msgstr "Originator.php"
#.
#. #: ../../Behavioral/Memento/README.rst:52
#. msgid "Caretaker.php"
#. msgstr "Caretaker.php"
#.
#. #: ../../Behavioral/Memento/README.rst:59
#. msgid "Test"
#. msgstr "Тест"
#.
#. #: ../../Behavioral/Memento/README.rst:61
#. msgid "Tests/MementoTest.php"
#. msgstr "Tests/MementoTest.php"

View File

@@ -1,60 +1,142 @@
# 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: 2015-05-30 04:46+0300\n"
"Last-Translator: Eugene Glotov <kivagant@gmail.com>\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"Generated-By: Babel 2.3.4\n"
#: ../../More/Delegation/README.rst:2
msgid "`Delegation`__"
msgstr "`Делегирование <https://ru.wikipedia.org/wiki/Шаблон_делегирования>`_ (`Delegation`__)"
msgstr ""
#: ../../More/Delegation/README.rst:5
msgid "Purpose"
msgstr "Назначение"
msgstr ""
#: ../../More/Delegation/README.rst:7 ../../More/Delegation/README.rst:12
msgid "..."
msgstr "Основной шаблон проектирования, в котором объект внешне выражает некоторое поведение, но в реальности передаёт ответственность за выполнение этого поведения связанному объекту. Шаблон делегирования является фундаментальной абстракцией, на основе которой реализованы другие шаблоны - композиция (также называемая агрегацией), примеси (mixins) и аспекты (aspects). (c) wiki"
#: ../../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 ""
#: ../../More/Delegation/README.rst:10
msgid "Examples"
msgstr "Примеры"
msgstr ""
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
"see it all tied together."
msgstr ""
#: ../../More/Delegation/README.rst:15
msgid "UML Diagram"
msgstr "UML Диаграмма"
msgstr ""
#: ../../More/Delegation/README.rst:22
msgid "Code"
msgstr "Код"
msgstr ""
#: ../../More/Delegation/README.rst:24
msgid "You can also find these code on `GitHub`_"
msgstr "Вы можете найти этот код на `GitHub`_"
msgstr ""
#: ../../More/Delegation/README.rst:26
msgid "Usage.php"
msgstr "Usage.php"
msgstr ""
#: ../../More/Delegation/README.rst:32
msgid "TeamLead.php"
msgstr "TeamLead.php"
msgstr ""
#: ../../More/Delegation/README.rst:38
msgid "JuniorDeveloper.php"
msgstr "JuniorDeveloper.php"
msgstr ""
#: ../../More/Delegation/README.rst:45
msgid "Test"
msgstr "Тест"
msgstr ""
#: ../../More/Delegation/README.rst:47
msgid "Tests/DelegationTest.php"
msgstr "Tests/DelegationTest.php"
msgstr ""
#. #
#. 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-30 04:46+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"
#.
#. #: ../../More/Delegation/README.rst:2
#. msgid "`Delegation`__"
#. msgstr "`Делегирование <https://ru.wikipedia.org/wiki/Шаблон_делегирования>`_ (`Delegation`__)"
#.
#. #: ../../More/Delegation/README.rst:5
#. msgid "Purpose"
#. msgstr "Назначение"
#.
#. #: ../../More/Delegation/README.rst:7 ../../More/Delegation/README.rst:12
#. msgid "..."
#. msgstr "Основной шаблон проектирования, в котором объект внешне выражает некоторое поведение, но в реальности передаёт ответственность за выполнение этого поведения связанному объекту. Шаблон делегирования является фундаментальной абстракцией, на основе которой реализованы другие шаблоны - композиция (также называемая агрегацией), примеси (mixins) и аспекты (aspects). (c) wiki"
#.
#. #: ../../More/Delegation/README.rst:10
#. msgid "Examples"
#. msgstr "Примеры"
#.
#. #: ../../More/Delegation/README.rst:15
#. msgid "UML Diagram"
#. msgstr "UML Диаграмма"
#.
#. #: ../../More/Delegation/README.rst:22
#. msgid "Code"
#. msgstr "Код"
#.
#. #: ../../More/Delegation/README.rst:24
#. msgid "You can also find these code on `GitHub`_"
#. msgstr "Вы можете найти этот код на `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 "Тест"
#.
#. #: ../../More/Delegation/README.rst:47
#. msgid "Tests/DelegationTest.php"
#. msgstr "Tests/DelegationTest.php"

View File

@@ -0,0 +1,78 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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/EAV/README.rst:2
msgid "`Entity-Attribute-Value (EAV)`__"
msgstr ""
#: ../../More/EAV/README.rst:4
msgid ""
"The Entityattributevalue (EAV) pattern in order to implement EAV model "
"with PHP."
msgstr ""
#: ../../More/EAV/README.rst:7
msgid "Purpose"
msgstr ""
#: ../../More/EAV/README.rst:9
msgid ""
"The Entityattributevalue (EAV) model is a data model to describe "
"entities where the number of attributes (properties, parameters) that can"
" be used to describe them is potentially vast, but the number that will "
"actually apply to a given entity is relatively modest."
msgstr ""
#: ../../More/EAV/README.rst:15
msgid "Examples"
msgstr ""
#: ../../More/EAV/README.rst:17
msgid "Check full work example in `example.php`_ file."
msgstr ""
#: ../../More/EAV/README.rst:90
msgid "UML Diagram"
msgstr ""
#: ../../More/EAV/README.rst:97
msgid "Code"
msgstr ""
#: ../../More/EAV/README.rst:99
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../More/EAV/README.rst:102
msgid "Test"
msgstr ""
#: ../../More/EAV/README.rst:104
msgid "Tests/EntityTest.php"
msgstr ""
#: ../../More/EAV/README.rst:110
msgid "Tests/AttributeTest.php"
msgstr ""
#: ../../More/EAV/README.rst:116
msgid "Tests/ValueTest.php"
msgstr ""

View File

@@ -76,8 +76,8 @@ msgid "(The MIT License)"
msgstr "(The MIT License)"
#: ../../README.rst:48
msgid "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
#: ../../README.rst:50
msgid ""

View File

@@ -0,0 +1,69 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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"
#: ../../Structural/Flyweight/README.rst:2
msgid "`Flyweight`__"
msgstr ""
#: ../../Structural/Flyweight/README.rst:5
msgid "Purpose"
msgstr ""
#: ../../Structural/Flyweight/README.rst:7
msgid ""
"To minimise memory usage, a Flyweight shares as much as possible memory "
"with similar objects. It is needed when a large amount of objects is used"
" that don't differ much in state. A common practice is to hold state in "
"external data structures and pass them to the flyweight object when "
"needed."
msgstr ""
#: ../../Structural/Flyweight/README.rst:12
msgid "UML Diagram"
msgstr ""
#: ../../Structural/Flyweight/README.rst:19
msgid "Code"
msgstr ""
#: ../../Structural/Flyweight/README.rst:21
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Structural/Flyweight/README.rst:23
msgid "FlyweightInterface.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:29
msgid "CharacterFlyweight.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:35
msgid "FlyweightFactory.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:42
msgid "Test"
msgstr ""
#: ../../Structural/Flyweight/README.rst:44
msgid "Tests/FlyweightTest.php"
msgstr ""

View File

@@ -35,10 +35,10 @@ msgstr "Примеры"
#: ../../Structural/Registry/README.rst:14
msgid ""
"Zend Framework: ``Zend_Registry`` holds the application's logger object, "
"front controller etc."
"Zend Framework 1: ``Zend_Registry`` holds the application's logger "
"object, front controller etc."
msgstr ""
"Zend Framework: ``Zend_Registry`` содержит объект журналирования "
"Zend Framework 1: ``Zend_Registry`` содержит объект журналирования "
"приложения (логгер), фронт-контроллер и т.д."
#: ../../Structural/Registry/README.rst:16

View File

@@ -21,8 +21,8 @@ msgstr ""
#: ../../Behavioral/Mediator/README.rst:7
msgid ""
"This pattern provides an easy to decouple many components working together. "
"It is a good alternative over Observer IF you have a \"central "
"This pattern provides an easy way to decouple many components working "
"together. It is a good alternative to Observer IF you have a \"central "
"intelligence\", like a controller (but not in the sense of the MVC)."
msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: ../../Behavioral/Memento/README.rst:2
msgid "`Memento`__"
@@ -19,6 +26,52 @@ msgstr ""
msgid "Purpose"
msgstr ""
#: ../../Behavioral/Memento/README.rst:7
msgid ""
"It provides the ability to restore an object to it's previous state (undo"
" via rollback) or to gain access to state of the object, without "
"revealing it's implementation (i.e., the object is not required to have a"
" functional for return the current state)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:12
msgid ""
"The memento pattern is implemented with three objects: the Originator, a "
"Caretaker and a Memento."
msgstr ""
#: ../../Behavioral/Memento/README.rst:15
msgid ""
"Memento an object that *contains a concrete unique snapshot of state* "
"of any object or resource: string, number, array, an instance of class "
"and so on. The uniqueness in this case does not imply the prohibition "
"existence of similar states in different snapshots. That means the state "
"can be extracted as the independent clone. Any object stored in the "
"Memento should be *a full copy of the original object rather than a "
"reference* to the original object. The Memento object is a \"opaque "
"object\" (the object that no one can or should change)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:24
msgid ""
"Originator it is an object that contains the *actual state of an "
"external object is strictly specified type*. Originator is able to create"
" a unique copy of this state and return it wrapped in a Memento. The "
"Originator does not know the history of changes. You can set a concrete "
"state to Originator from the outside, which will be considered as actual."
" The Originator must make sure that given state corresponds the allowed "
"type of object. Originator may (but not should) have any methods, but "
"they *they can't make changes to the saved object state*."
msgstr ""
#: ../../Behavioral/Memento/README.rst:33
msgid ""
"Caretaker *controls the states history*. He may make changes to an "
"object; take a decision to save the state of an external object in the "
"Originator; ask from the Originator snapshot of the current state; or set"
" the Originator state to equivalence with some snapshot from history."
msgstr ""
#: ../../Behavioral/Memento/README.rst:39
msgid "Examples"
msgstr ""
@@ -31,6 +84,12 @@ msgstr ""
msgid "The state in a finite state machine"
msgstr ""
#: ../../Behavioral/Memento/README.rst:43
msgid ""
"Control for intermediate states of `ORM Model "
"<http://en.wikipedia.org/wiki/Object-relational_mapping>`_ before saving"
msgstr ""
#: ../../Behavioral/Memento/README.rst:46
msgid "UML Diagram"
msgstr ""
@@ -63,73 +122,3 @@ msgstr ""
msgid "Tests/MementoTest.php"
msgstr ""
#: ../../Behavioral/Memento/README.rst:7
msgid ""
"It provides the ability to restore an object to it's previous state (undo "
"via rollback) or to gain access to state of the object, without revealing "
"it's implementation (i.e., the object is not required to have a functional "
"for return the current state)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:12
msgid ""
"The memento pattern is implemented with three objects: the Originator, a "
"Caretaker and a Memento."
msgstr ""
#: ../../Behavioral/Memento/README.rst:15
msgid ""
"Memento an object that *contains a concrete unique snapshot of state* of "
"any object or resource: string, number, array, an instance of class and so "
"on. The uniqueness in this case does not imply the prohibition existence of "
"similar states in different snapshots. That means the state can be extracted"
" as the independent clone. Any object stored in the Memento should be *a "
"full copy of the original object rather than a reference* to the original "
"object. The Memento object is a \"opaque object\" (the object that no one "
"can or should change)."
msgstr ""
#: ../../Behavioral/Memento/README.rst:24
msgid ""
"Originator it is an object that contains the *actual state of an external "
"object is strictly specified type*. Originator is able to create a unique "
"copy of this state and return it wrapped in a Memento. The Originator does "
"not know the history of changes. You can set a concrete state to Originator "
"from the outside, which will be considered as actual. The Originator must "
"make sure that given state corresponds the allowed type of object. "
"Originator may (but not should) have any methods, but they *they can't make "
"changes to the saved object state*."
msgstr ""
#: ../../Behavioral/Memento/README.rst:33
msgid ""
"Caretaker *controls the states history*. He may make changes to an object; "
"take a decision to save the state of an external object in the Originator; "
"ask from the Originator snapshot of the current state; or set the Originator"
" state to equivalence with some snapshot from history."
msgstr ""
#: ../../Behavioral/Memento/README.rst:43
msgid ""
"Control for intermediate states of `ORM Model <http://en.wikipedia.org/wiki"
"/Object-relational_mapping>`_ before saving"
msgstr ""
#~ msgid ""
#~ "Provide the ability to restore an object to its previous state (undo via "
#~ "rollback)."
#~ msgstr ""
#~ msgid ""
#~ "The memento pattern is implemented with three objects: the originator, a "
#~ "caretaker and a memento. The originator is some object that has an internal "
#~ "state. The caretaker is going to do something to the originator, but wants "
#~ "to be able to undo the change. The caretaker first asks the originator for a"
#~ " memento object. Then it does whatever operation (or sequence of operations)"
#~ " it was going to do. To roll back to the state before the operations, it "
#~ "returns the memento object to the originator. The memento object itself is "
#~ "an opaque object (one which the caretaker cannot, or should not, change). "
#~ "When using this pattern, care should be taken if the originator may change "
#~ "other objects or resources - the memento pattern operates on a single "
#~ "object."
#~ msgstr ""

View File

@@ -1,15 +1,22 @@
# 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: 2015-05-29 12:18+0200\n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\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`__"
@@ -19,10 +26,26 @@ msgstr ""
msgid "Purpose"
msgstr ""
#: ../../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 ""
#: ../../More/Delegation/README.rst:10
msgid "Examples"
msgstr ""
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
"see it all tied together."
msgstr ""
#: ../../More/Delegation/README.rst:15
msgid "UML Diagram"
msgstr ""
@@ -55,21 +78,3 @@ msgstr ""
msgid "Tests/DelegationTest.php"
msgstr ""
#: ../../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 ""
#: ../../More/Delegation/README.rst:12
msgid ""
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to see "
"it all tied together."
msgstr ""
#~ msgid "..."
#~ msgstr ""

View File

@@ -0,0 +1,78 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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/EAV/README.rst:2
msgid "`Entity-Attribute-Value (EAV)`__"
msgstr ""
#: ../../More/EAV/README.rst:4
msgid ""
"The Entityattributevalue (EAV) pattern in order to implement EAV model "
"with PHP."
msgstr ""
#: ../../More/EAV/README.rst:7
msgid "Purpose"
msgstr ""
#: ../../More/EAV/README.rst:9
msgid ""
"The Entityattributevalue (EAV) model is a data model to describe "
"entities where the number of attributes (properties, parameters) that can"
" be used to describe them is potentially vast, but the number that will "
"actually apply to a given entity is relatively modest."
msgstr ""
#: ../../More/EAV/README.rst:15
msgid "Examples"
msgstr ""
#: ../../More/EAV/README.rst:17
msgid "Check full work example in `example.php`_ file."
msgstr ""
#: ../../More/EAV/README.rst:90
msgid "UML Diagram"
msgstr ""
#: ../../More/EAV/README.rst:97
msgid "Code"
msgstr ""
#: ../../More/EAV/README.rst:99
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../More/EAV/README.rst:102
msgid "Test"
msgstr ""
#: ../../More/EAV/README.rst:104
msgid "Tests/EntityTest.php"
msgstr ""
#: ../../More/EAV/README.rst:110
msgid "Tests/AttributeTest.php"
msgstr ""
#: ../../More/EAV/README.rst:116
msgid "Tests/ValueTest.php"
msgstr ""

View File

@@ -71,8 +71,8 @@ msgid "(The MIT License)"
msgstr "MIT 授权协议"
#: ../../README.rst:48
msgid "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2014 `Dominik Liebler`_ 和 `贡献者`_"
msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
msgstr "Copyright (c) 2011 - 2016 `Dominik Liebler`_ 和 `贡献者`_"
#: ../../README.rst:50
msgid ""

View File

@@ -0,0 +1,69 @@
# 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: FULL NAME <EMAIL@ADDRESS>\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"
#: ../../Structural/Flyweight/README.rst:2
msgid "`Flyweight`__"
msgstr ""
#: ../../Structural/Flyweight/README.rst:5
msgid "Purpose"
msgstr ""
#: ../../Structural/Flyweight/README.rst:7
msgid ""
"To minimise memory usage, a Flyweight shares as much as possible memory "
"with similar objects. It is needed when a large amount of objects is used"
" that don't differ much in state. A common practice is to hold state in "
"external data structures and pass them to the flyweight object when "
"needed."
msgstr ""
#: ../../Structural/Flyweight/README.rst:12
msgid "UML Diagram"
msgstr ""
#: ../../Structural/Flyweight/README.rst:19
msgid "Code"
msgstr ""
#: ../../Structural/Flyweight/README.rst:21
msgid "You can also find these code on `GitHub`_"
msgstr ""
#: ../../Structural/Flyweight/README.rst:23
msgid "FlyweightInterface.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:29
msgid "CharacterFlyweight.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:35
msgid "FlyweightFactory.php"
msgstr ""
#: ../../Structural/Flyweight/README.rst:42
msgid "Test"
msgstr ""
#: ../../Structural/Flyweight/README.rst:44
msgid "Tests/FlyweightTest.php"
msgstr ""

View File

@@ -66,8 +66,8 @@ msgstr ""
#: ../../Structural/Registry/README.rst:14
msgid ""
"Zend Framework 1: ``Zend_Registry`` holds the application's logger object, "
"front controller etc."
"Zend Framework 1: ``Zend_Registry`` holds the application's logger "
"object, front controller etc."
msgstr ""
"Zend Framework 1: ``Zend_Registry`` 持有应用的logger对象前端控制器等。"