diff --git a/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po new file mode 100644 index 0000000..7c7c7aa --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -0,0 +1,63 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:2 +msgid "`Chain Of Responsibilities`__" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:5 +msgid "Purpose:" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:7 +msgid "" +"To build a chain of objects to handle a call in sequential order. If one " +"object cannot handle a call, it delegates the call to the next in the chain " +"and so forth." +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:12 +msgid "Examples:" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:14 +msgid "" +"logging framework, where each chain element decides autonomously what to do " +"with a log message" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:16 +msgid "a Spam filter" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:17 +msgid "" +"Caching: first object is an instance of e.g. a Memcached Interface, if that " +"\"misses\" it delegates the call to the database interface" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:25 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:32 +msgid "Code" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:61 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Command/README.po b/locale/fr/LC_MESSAGES/Behavioral/Command/README.po new file mode 100644 index 0000000..c8b58c1 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Command/README.po @@ -0,0 +1,73 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/Command/README.rst:2 +msgid "`Command`__" +msgstr "" + +#: ../../Behavioral/Command/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Command/README.rst:7 +msgid "To encapsulate invocation and decoupling." +msgstr "" + +#: ../../Behavioral/Command/README.rst:9 +msgid "" +"We have an Invoker and a Receiver. This pattern uses a \"Command\" to " +"delegate the method call against the Receiver and presents the same method " +"\"execute\". Therefore, the Invoker just knows to call \"execute\" to " +"process the Command of the client. The Receiver is decoupled from the " +"Invoker." +msgstr "" + +#: ../../Behavioral/Command/README.rst:15 +msgid "" +"The second aspect of this pattern is the undo(), which undoes the method " +"execute(). Command can also be aggregated to combine more complex commands " +"with minimum copy-paste and relying on composition over inheritance." +msgstr "" + +#: ../../Behavioral/Command/README.rst:21 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Command/README.rst:23 +msgid "" +"A text editor : all events are Command which can be undone, stacked and " +"saved." +msgstr "" + +#: ../../Behavioral/Command/README.rst:27 +msgid "" +"big CLI tools use subcommands to distribute various tasks and pack them in " +"\"modules\", each of these can be implemented with the Command pattern (e.g." +" vagrant)" +msgstr "" + +#: ../../Behavioral/Command/README.rst:32 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Command/README.rst:39 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Command/README.rst:41 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Command/README.rst:68 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po new file mode 100644 index 0000000..709ea20 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po @@ -0,0 +1,61 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/Iterator/README.rst:2 +msgid "`Iterator`__" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:7 +msgid "To make an object iterable and to make it appear like a collection of objects." +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:11 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:13 +msgid "" +"to process a file line by line by just running over all lines (which have an" +" object representation) for a file (which of course is an object, too)" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:18 +msgid "Note" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:20 +msgid "" +"Standard PHP Library (SPL) defines an interface Iterator which is best " +"suited for this! Often you would want to implement the Countable interface " +"too, to allow ``count($object)`` on your iterable object" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:25 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:32 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Iterator/README.rst:61 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po new file mode 100644 index 0000000..4daedc5 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po @@ -0,0 +1,50 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/Mediator/README.rst:2 +msgid "`Mediator`__" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:7 +msgid "" +"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 "" + +#: ../../Behavioral/Mediator/README.rst:11 +msgid "" +"All components (called Colleague) are only coupled to the Mediator interface " +"and it is a good thing because in OOP, one good friend is better than many. " +"This is the key-feature of this pattern." +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:16 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:23 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:25 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Mediator/README.rst:64 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Memento/README.po b/locale/fr/LC_MESSAGES/Behavioral/Memento/README.po new file mode 100644 index 0000000..4cab022 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Memento/README.po @@ -0,0 +1,195 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2015, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 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 \n" +"Language-Team: LANGUAGE \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" + +#: ../../Behavioral/Memento/README.rst:2 +msgid "`Memento`__" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:5 +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 "" + +#: ../../Behavioral/Memento/README.rst:41 +msgid "The seed of a pseudorandom number generator" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:42 +msgid "The state in a finite state machine" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:43 +msgid "" +"Control for intermediate states of `ORM Model " +"`_ 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 this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Memento/README.rst:76 +msgid "Test" +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 \n" +#. "Language-Team: LANGUAGE \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 this 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 "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po new file mode 100644 index 0000000..4f3f529 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po @@ -0,0 +1,79 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/NullObject/README.rst:2 +msgid "`Null Object`__" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:7 +msgid "" +"NullObject is not a GoF design pattern but a schema which appears frequently" +" enough to be considered a pattern. It has the following benefits:" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:11 +msgid "Client code is simplified" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:12 +msgid "Reduces the chance of null pointer exceptions" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:13 +msgid "Fewer conditionals require less test cases" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:15 +msgid "" +"Methods that return an object or null should instead return an object or " +"``NullObject``. ``NullObject``\\ s simplify boilerplate code such as ``if " +"(!is_null($obj)) { $obj->callSomething(); }`` to just " +"``$obj->callSomething();`` by eliminating the conditional check in client " +"code." +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:22 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:24 +msgid "Null logger or null output to preserve a standard way of interaction between objects, even if the shouldn't do anything" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:26 +msgid "null handler in a Chain of Responsibilities pattern" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:27 +msgid "null command in a Command pattern" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:30 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:37 +msgid "Code" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:39 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/NullObject/README.rst:66 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po b/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po new file mode 100644 index 0000000..ec38f2c --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po @@ -0,0 +1,63 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/Observer/README.rst:2 +msgid "`Observer`__" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:7 +msgid "" +"To implement a publish/subscribe behaviour to an object, whenever a " +"\"Subject\" object changes its state, the attached \"Observers\" will be " +"notified. It is used to shorten the amount of coupled objects and uses loose" +" coupling instead." +msgstr "" + +#: ../../Behavioral/Observer/README.rst:13 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:15 +msgid "" +"a message queue system is observed to show the progress of a job in a GUI" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:19 +msgid "Note" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:21 +msgid "" +"PHP already defines two interfaces that can help to implement this pattern: " +"SplObserver and SplSubject." +msgstr "" + +#: ../../Behavioral/Observer/README.rst:25 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:32 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Observer/README.rst:49 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/README.po b/locale/fr/LC_MESSAGES/Behavioral/README.po new file mode 100644 index 0000000..93ebd7c --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/README.po @@ -0,0 +1,24 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/README.rst:2 +msgid "`Behavioral`__" +msgstr "" + +#: ../../Behavioral/README.rst:4 +msgid "" +"In software engineering, behavioral design patterns are design patterns that" +" identify common communication patterns between objects and realize these " +"patterns. By doing so, these patterns increase flexibility in carrying out " +"this communication." +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po b/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po new file mode 100644 index 0000000..4f3237e --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po @@ -0,0 +1,52 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/Specification/README.rst:2 +msgid "`Specification`__" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:7 +msgid "" +"Builds a clear specification of business rules, where objects can be checked" +" against. The composite specification class has one method called " +"``isSatisfiedBy`` that returns either true or false depending on whether the" +" given object satisfies the specification." +msgstr "" + +#: ../../Behavioral/Specification/README.rst:13 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:15 +msgid "`RulerZ `__" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:18 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:25 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:27 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Specification/README.rst:72 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/State/README.po b/locale/fr/LC_MESSAGES/Behavioral/State/README.po new file mode 100644 index 0000000..c18a2a8 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/State/README.po @@ -0,0 +1,43 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/State/README.rst:2 +msgid "`State`__" +msgstr "" + +#: ../../Behavioral/State/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/State/README.rst:7 +msgid "" +"Encapsulate varying behavior for the same routine based on an object's " +"state. This can be a cleaner way for an object to change its behavior at " +"runtime without resorting to large monolithic conditional statements." +msgstr "" + +#: ../../Behavioral/State/README.rst:12 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/State/README.rst:19 +msgid "Code" +msgstr "" + +#: ../../Behavioral/State/README.rst:21 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/State/README.rst:54 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po new file mode 100644 index 0000000..8060552 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po @@ -0,0 +1,72 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/Strategy/README.rst:2 +msgid "`Strategy`__" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:5 +msgid "Terminology:" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:7 +msgid "Context" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:8 +msgid "Strategy" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:9 +msgid "Concrete Strategy" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:12 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:14 +msgid "" +"To separate strategies and to enable fast switching between them. Also this " +"pattern is a good alternative to inheritance (instead of having an abstract " +"class that is extended)." +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:19 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:21 +msgid "sorting a list of objects, one strategy by date, the other by id" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:22 +msgid "" +"simplify unit testing: e.g. switching between file and in-memory storage" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:26 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:33 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:35 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Strategy/README.rst:62 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po new file mode 100644 index 0000000..3cca2b3 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -0,0 +1,67 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/TemplateMethod/README.rst:2 +msgid "`Template Method`__" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:7 +msgid "Template Method is a behavioral design pattern." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:9 +msgid "" +"Perhaps you have encountered it many times already. The idea is to let " +"subclasses of this abstract template \"finish\" the behavior of an " +"algorithm." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:13 +msgid "" +"A.k.a the \"Hollywood principle\": \"Don't call us, we call you.\" This " +"class is not called by subclasses but the inverse. How? With abstraction of " +"course." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:17 +msgid "" +"In other words, this is a skeleton of algorithm, well-suited for framework " +"libraries. The user has just to implement one method and the superclass do " +"the job." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:21 +msgid "" +"It is an easy way to decouple concrete classes and reduce copy-paste, that's" +" why you'll find it everywhere." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:25 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:32 +msgid "Code" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/TemplateMethod/README.rst:55 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po new file mode 100644 index 0000000..50f3b70 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po @@ -0,0 +1,51 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Behavioral/Visitor/README.rst:2 +msgid "`Visitor`__" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:7 +msgid "" +"The Visitor Pattern lets you outsource operations on objects to other " +"objects. The main reason to do this is to keep a separation of concerns. But" +" classes have to define a contract to allow visitors (the ``Role::accept`` " +"method in the example)." +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:12 +msgid "" +"The contract is an abstract class but you can have also a clean interface. " +"In that case, each Visitor has to choose itself which method to invoke on " +"the visitor." +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:17 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:24 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Behavioral/Visitor/README.rst:59 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po new file mode 100644 index 0000000..0e0c68a --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -0,0 +1,50 @@ +# +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-29 12:18+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Last-Translator: Daniel González \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../Creational/AbstractFactory/README.rst:2 +msgid "`Abstract Factory`__" +msgstr "`Factoría Abstracta`__" + +#: ../../Creational/AbstractFactory/README.rst:5 +msgid "Purpose" +msgstr "Proposito" + +#: ../../Creational/AbstractFactory/README.rst:7 +msgid "" +"To create series of related or dependent objects without specifying their " +"concrete classes. Usually the created classes all implement the same " +"interface. The client of the abstract factory does not care about how these " +"objects are created, he just knows how they go together." +msgstr "" +"Para crear una serie de objetos relacionados o dependientes sin especificar " +"a qué clase concreta pertenecen. Normalmente las clases creadas implementan " +"las mismas interfaces. El cliente de la factoría abstracta no necesita " +"preocuparse por cómo estos objetos son creados, él solo sabe qué tiene que " +"hacer con ellos." + +#: ../../Creational/AbstractFactory/README.rst:13 +msgid "UML Diagram" +msgstr "Diagrama UML" + +#: ../../Creational/AbstractFactory/README.rst:20 +msgid "Code" +msgstr "Código" + +#: ../../Creational/AbstractFactory/README.rst:22 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Creational/AbstractFactory/README.rst:85 +msgid "Test" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Builder/README.po b/locale/fr/LC_MESSAGES/Creational/Builder/README.po new file mode 100644 index 0000000..7d2f6ca --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/Builder/README.po @@ -0,0 +1,77 @@ +# +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-09-11 11:42+0100\n" +"Last-Translator: Daniel González \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Language: es\n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../Creational/Builder/README.rst:2 +msgid "`Builder`__" +msgstr "`Constructor`__" + +#: ../../Creational/Builder/README.rst:5 +msgid "Purpose" +msgstr "Propósito" + +#: ../../Creational/Builder/README.rst:7 +msgid "Builder is an interface that build parts of a complex object." +msgstr "" +"El constructor es una interfaz que construye parte de un objeto complejo." + +#: ../../Creational/Builder/README.rst:9 +msgid "" +"Sometimes, if the builder has a better knowledge of what it builds, this " +"interface could be an abstract class with default methods (aka adapter)." +msgstr "" +"A veces, si el constructor conoce bien lo que está construyendo, esta " +"interfaz podría ser una clase abstracta con métodos por defecto (también " +"conocido como Adaptador)" + +#: ../../Creational/Builder/README.rst:12 +msgid "" +"If you have a complex inheritance tree for objects, it is logical to have a " +"complex inheritance tree for builders too." +msgstr "" +"Si tienes una herencia compleja de tu árbol de objetos, es lógico tener " +"también una herencia compleja en el árbol de constructores." + +#: ../../Creational/Builder/README.rst:15 +msgid "" +"Note: Builders have often a fluent interface, see the mock builder of " +"PHPUnit for example." +msgstr "" +"Nota: Los constructores suelen tener una interfaz fluida, fíjate en el mock " +"builder de PHPUnit por ejemplo." + +#: ../../Creational/Builder/README.rst:19 +msgid "Examples" +msgstr "Ejemplos" + +#: ../../Creational/Builder/README.rst:21 +msgid "PHPUnit: Mock Builder" +msgstr "PHPUnit: Mock Builder" + +#: ../../Creational/Builder/README.rst:24 +msgid "UML Diagram" +msgstr "Diagrama UML" + +#: ../../Creational/Builder/README.rst:31 +msgid "Code" +msgstr "Código" + +#: ../../Creational/Builder/README.rst:33 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Creational/Builder/README.rst:96 +msgid "Test" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po new file mode 100644 index 0000000..9ff261a --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -0,0 +1,65 @@ +# +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-09-15 17:15+0100\n" +"Last-Translator: Daniel González \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../Creational/FactoryMethod/README.rst:2 +msgid "`Factory Method`__" +msgstr "`Factory Method`__" + +#: ../../Creational/FactoryMethod/README.rst:5 +msgid "Purpose" +msgstr "Proposito" + +#: ../../Creational/FactoryMethod/README.rst:7 +msgid "" +"The good point over the SimpleFactory is you can subclass it to implement " +"different ways to create objects" +msgstr "" +"La principal ventaja de SimpleFactory es que puedes extender la clase para " +"implementar diferentes formas" + +#: ../../Creational/FactoryMethod/README.rst:10 +msgid "For simple case, this abstract class could be just an interface" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:12 +msgid "" +"This pattern is a \"real\" Design Pattern because it achieves the " +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:15 +msgid "" +"It means the FactoryMethod class depends on abstractions, not concrete " +"classes. This is the real trick compared to SimpleFactory or StaticFactory." +msgstr "" +"Esto significa que la clase FactoryMethod depende de abstraciones, no de " +"clases concretas. Esto es el truco con respecto a SimpleFactory o " +"StaticFactory" + +#: ../../Creational/FactoryMethod/README.rst:20 +msgid "UML Diagram" +msgstr "Diagrama UML" + +#: ../../Creational/FactoryMethod/README.rst:27 +msgid "Code" +msgstr "Código" + +#: ../../Creational/FactoryMethod/README.rst:29 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Creational/FactoryMethod/README.rst:74 +msgid "Test" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Pool/README.po b/locale/fr/LC_MESSAGES/Creational/Pool/README.po new file mode 100644 index 0000000..db1ef6d --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/Pool/README.po @@ -0,0 +1,74 @@ +# +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-09-10 10:03+0100\n" +"Last-Translator: Daniel González \n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"MIME-Version: 1.0\n" +"Language: es\n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../Creational/Pool/README.rst:2 +msgid "`Pool`__" +msgstr "`Pila`__" + +#: ../../Creational/Pool/README.rst:4 +msgid "" +"The **object pool pattern** is a software creational design pattern that " +"uses a set of initialized objects kept ready to use – a \"pool\" – rather " +"than allocating and destroying them on demand. A client of the pool will " +"request an object from the pool and perform operations on the returned " +"object. When the client has finished, it returns the object, which is a " +"specific type of factory object, to the pool rather than destroying it." +msgstr "" +"El **Patrón Pila** es un patrón de diseño creacional que utiliza un conjunto " +"de objetos inicializados y los mantiene listos para usar -la \"pila\"- en " +"lugar de crearlos y destruirlos bajo demanda. Un cliente puede pedirle a la " +"pila un objeto y realizar las operaciones necesarias sobre él. Cuando el " +"cliente ha terminado devuelve el objeto a la pila en lugar de destruirlo." + +#: ../../Creational/Pool/README.rst:11 +msgid "" +"Object pooling can offer a significant performance boost in situations where " +"the cost of initializing a class instance is high, the rate of instantiation " +"of a class is high, and the number of instances in use at any one time is " +"low. The pooled object is obtained in predictable time when creation of the " +"new objects (especially over network) may take variable time." +msgstr "" +"Mantener los objetos en una pila puede ofrecer mejoras significativas de " +"rendimiento en aquellas situaciones donde el coste de inicializar las " +"instancias es alto, el volumen de veces que se instancia la clase es alto y " +"el número de instancias que se mantienen en uso a la vez es bajo. El objeto " +"puede recuperarse de la pila en una cantidad de tiempo predecible, cuando la " +"creación de nuevos objetos (especialmente cuando se realiza a través de una " +"red) puede variar." + +#: ../../Creational/Pool/README.rst:18 +msgid "" +"However these benefits are mostly true for objects that are expensive with " +"respect to time, such as database connections, socket connections, threads " +"and large graphic objects like fonts or bitmaps. In certain situations, " +"simple object pooling (that hold no external resources, but only occupy " +"memory) may not be efficient and could decrease performance." +msgstr "Sin embargo estos beneficios " + +#: ../../Creational/Pool/README.rst:25 +msgid "UML Diagram" +msgstr "Diagrama UML" + +#: ../../Creational/Pool/README.rst:32 +msgid "Code" +msgstr "Código" + +#: ../../Creational/Pool/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Creational/Pool/README.rst:55 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Creational/Prototype/README.po b/locale/fr/LC_MESSAGES/Creational/Prototype/README.po new file mode 100644 index 0000000..87f3561 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/Prototype/README.po @@ -0,0 +1,58 @@ +# +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-09-09 16:26+0100\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Last-Translator: Daniel González \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../Creational/Prototype/README.rst:2 +msgid "`Prototype`__" +msgstr "`Prototype`__" + +#: ../../Creational/Prototype/README.rst:5 +msgid "Purpose" +msgstr "Proposito" + +#: ../../Creational/Prototype/README.rst:7 +msgid "" +"To avoid the cost of creating objects the standard way (new Foo()) and " +"instead create a prototype and clone it." +msgstr "" +"Evitar el cote de crear objetos de la forma estándar (new Foo()). En su " +"lugar crear una instancia y clonarla." + +#: ../../Creational/Prototype/README.rst:11 +msgid "Examples" +msgstr "Ejemplos" + +#: ../../Creational/Prototype/README.rst:13 +msgid "" +"Large amounts of data (e.g. create 1,000,000 rows in a database at once via " +"a ORM)." +msgstr "" +"Grandes cantidades de datos (ej. crear 1.000.000 de registros en la base de " +"datos a través del ORM)." + +#: ../../Creational/Prototype/README.rst:17 +msgid "UML Diagram" +msgstr "Diagrama UML" + +#: ../../Creational/Prototype/README.rst:24 +msgid "Code" +msgstr "Código" + +#: ../../Creational/Prototype/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Creational/Prototype/README.rst:53 +msgid "Test" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/README.po b/locale/fr/LC_MESSAGES/Creational/README.po new file mode 100644 index 0000000..7a5db3c --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/README.po @@ -0,0 +1,32 @@ +# +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-09-08 17:17+0100\n" +"Last-Translator: Daniel González \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"Language: es\n" + +#: ../../Creational/README.rst:2 +msgid "`Creational`__" +msgstr "`Creacionales`__" + +#: ../../Creational/README.rst:4 +msgid "" +"In software engineering, creational design patterns are design patterns that " +"deal with object creation mechanisms, trying to create objects in a manner " +"suitable to the situation. The basic form of object creation could result in " +"design problems or added complexity to the design. Creational design " +"patterns solve this problem by somehow controlling this object creation." +msgstr "" +"En ingeniería del software, los patrones de diseño creacionales son patrones " +"que se encargan del los mecanismos de creación de los objetos, intentando " +"crear objetos de una manera adecuada a cada situación. La forma básica de " +"creación de objetos podría generar un problemas de diseño o añadir " +"complejidad al diseño. Los patrones de diseño creacionales resuelven este " +"problema controlando de alguna forma la creación de objetos." diff --git a/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po new file mode 100644 index 0000000..021178a --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -0,0 +1,52 @@ +# +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 \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" + +#: ../../Creational/SimpleFactory/README.rst:2 +msgid "Simple Factory" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:7 +msgid "SimpleFactory is a simple factory pattern." +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:9 +msgid "" +"It differs from the static factory because it is NOT static and as you know:" +" static => global => evil!" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:12 +msgid "" +"Therefore, you can have multiple factories, differently parametrized, you " +"can subclass it and you can mock-up it." +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:16 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:23 +msgid "Code" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:25 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Creational/SimpleFactory/README.rst:52 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Creational/Singleton/README.po b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po new file mode 100644 index 0000000..a2b75fa --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po @@ -0,0 +1,74 @@ +# +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-09-08 17:34+0100\n" +"Last-Translator: Daniel González \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"Language: es\n" +"Language-Team: \n" + +#: ../../Creational/Singleton/README.rst:2 +msgid "`Singleton`__" +msgstr "`Singleton`__" + +#: ../../Creational/Singleton/README.rst:4 +msgid "" +"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND " +"MAINTAINABILITY USE DEPENDENCY INJECTION!**" +msgstr "" +"**ESTO ES CONSIDERADO UN ANTI-PATRÓN. PARA MEJOR TESTEABILIDAD Y " +"MANTENIBILIDAD USA INYECCIÓN DE DEPENDENCIAS**" + +#: ../../Creational/Singleton/README.rst:8 +msgid "Purpose" +msgstr "Proposito" + +#: ../../Creational/Singleton/README.rst:10 +msgid "" +"To have only one instance of this object in the application that will handle " +"all calls." +msgstr "" +"Tener una única instancia de este objeto en la aplicación que pueda " +"encargarse de todas las llamadas." + +#: ../../Creational/Singleton/README.rst:14 +msgid "Examples" +msgstr "Ejemplos" + +#: ../../Creational/Singleton/README.rst:16 +msgid "DB Connector" +msgstr "Conexión a la base de datos" + +#: ../../Creational/Singleton/README.rst:17 +msgid "" +"Logger" +msgstr "" +"Logger" + +#: ../../Creational/Singleton/README.rst:19 +msgid "Lock file for the application (there is only one in the filesystem ...)" +msgstr "" +"Bloqueo de ficheros para la aplicación ( Solo hay uno en el sistema de " +"ficheros )" + +#: ../../Creational/Singleton/README.rst:23 +msgid "UML Diagram" +msgstr "Diagrama UML" + +#: ../../Creational/Singleton/README.rst:30 +msgid "Code" +msgstr "Código" + +#: ../../Creational/Singleton/README.rst:32 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar este código en `GitHub`_" + +#: ../../Creational/Singleton/README.rst:41 +msgid "Test" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po new file mode 100644 index 0000000..e1cc4ee --- /dev/null +++ b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po @@ -0,0 +1,52 @@ +# +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-09-08 17:47+0100\n" +"Last-Translator: Daniel González \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../Creational/StaticFactory/README.rst:2 +msgid "Static Factory" +msgstr "Static Factory" + +#: ../../Creational/StaticFactory/README.rst:5 +msgid "Purpose" +msgstr "Proposito" + +#: ../../Creational/StaticFactory/README.rst:7 +msgid "" +"Similar to the AbstractFactory, this pattern is used to create series of " +"related or dependent objects. The difference between this and the abstract " +"factory pattern is that the static factory pattern uses just one static " +"method to create all types of objects it can create. It is usually named " +"``factory`` or ``build``." +msgstr "" +"Parecido a AbstractFactory, este patrón es usado para crear conjuntos de " +"objetos relacionados o dependientes. La diferencia entre este y la factoría " +"abstracta es que el patrón factoría estática usa un sólo método estático " +"para crear todos los tipos de objetos que puede crear. Este método " +"normalmente se llama ``factory`` or ``build``." + +#: ../../Creational/StaticFactory/README.rst:20 +msgid "UML Diagram" +msgstr "Diagrama UML" + +#: ../../Creational/StaticFactory/README.rst:27 +msgid "Code" +msgstr "Código" + +#: ../../Creational/StaticFactory/README.rst:29 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Creational/StaticFactory/README.rst:56 +msgid "Test" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/More/EAV/README.po b/locale/fr/LC_MESSAGES/More/EAV/README.po new file mode 100644 index 0000000..f305f0a --- /dev/null +++ b/locale/fr/LC_MESSAGES/More/EAV/README.po @@ -0,0 +1,66 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2015, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 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 \n" +"Language-Team: LANGUAGE \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 Entity–attribute–value (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 Entity–attribute–value (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 this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../More/EAV/README.rst:102 +msgid "Test" +msgstr "" + diff --git a/locale/fr/LC_MESSAGES/More/README.po b/locale/fr/LC_MESSAGES/More/README.po new file mode 100644 index 0000000..c3585d8 --- /dev/null +++ b/locale/fr/LC_MESSAGES/More/README.po @@ -0,0 +1,16 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../More/README.rst:2 +msgid "More" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/More/Repository/README.po b/locale/fr/LC_MESSAGES/More/Repository/README.po new file mode 100644 index 0000000..91048c9 --- /dev/null +++ b/locale/fr/LC_MESSAGES/More/Repository/README.po @@ -0,0 +1,60 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../More/Repository/README.rst:2 +msgid "Repository" +msgstr "" + +#: ../../More/Repository/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../More/Repository/README.rst:7 +msgid "" +"Mediates between the domain and data mapping layers using a collection-like " +"interface for accessing domain objects. Repository encapsulates the set of " +"objects persisted in a data store and the operations performed over them, " +"providing a more object-oriented view of the persistence layer. Repository " +"also supports the objective of achieving a clean separation and one-way " +"dependency between the domain and data mapping layers." +msgstr "" + +#: ../../More/Repository/README.rst:16 +msgid "Examples" +msgstr "" + +#: ../../More/Repository/README.rst:18 +msgid "" +"Doctrine 2 ORM: there is Repository that mediates between Entity and DBAL " +"and contains methods to retrieve objects" +msgstr "" + +#: ../../More/Repository/README.rst:20 +msgid "Laravel Framework" +msgstr "" + +#: ../../More/Repository/README.rst:23 +msgid "UML Diagram" +msgstr "" + +#: ../../More/Repository/README.rst:30 +msgid "Code" +msgstr "" + +#: ../../More/Repository/README.rst:32 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../More/Repository/README.rst:59 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/More/ServiceLocator/README.po b/locale/fr/LC_MESSAGES/More/ServiceLocator/README.po new file mode 100644 index 0000000..ec1206e --- /dev/null +++ b/locale/fr/LC_MESSAGES/More/ServiceLocator/README.po @@ -0,0 +1,55 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../More/ServiceLocator/README.rst:2 +msgid "`Service Locator`__" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:7 +msgid "" +"To implement a loosely coupled architecture in order to get better testable," +" maintainable and extendable code. DI pattern and Service Locator pattern " +"are an implementation of the Inverse of Control pattern." +msgstr "" + +#: ../../More/ServiceLocator/README.rst:12 +msgid "Usage" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:14 +msgid "" +"With ``ServiceLocator`` you can register a service for a given interface. By" +" using the interface you can retrieve the service and use it in the classes " +"of the application without knowing its implementation. You can configure and" +" inject the Service Locator object on bootstrap." +msgstr "" + +#: ../../More/ServiceLocator/README.rst:27 +msgid "UML Diagram" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:34 +msgid "Code" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:36 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../More/ServiceLocator/README.rst:75 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/README.po b/locale/fr/LC_MESSAGES/README.po new file mode 100644 index 0000000..becfd06 --- /dev/null +++ b/locale/fr/LC_MESSAGES/README.po @@ -0,0 +1,118 @@ +# +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-09-08 17:14+0100\n" +"Last-Translator: TTC_ \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"Language: fr\n" +"Language-Team: \n" + +#: ../../README.rst:5 +msgid "DesignPatternsPHP" +msgstr "" + +#: ../../README.rst:11 +msgid "" +"This is a collection of known `design patterns`_ and some sample code how to " +"implement them in PHP. Every pattern has a small list of examples." +msgstr "" +"Voici une collection de `design patterns`_ connus et d'exemples de code pour " +"les implémenter en PHP. Chaque modèle est accompagné d'une petite liste d'exemples." + +#: ../../README.rst:16 +msgid "" +"I think the problem with patterns is that often people do know them but " +"don't know when to apply which." +msgstr "" +"Je pense que le problème avec les patterns est que souvent les gens les connaissent mais " +"ne savent pas quand les appliquer." + +#: ../../README.rst:20 +msgid "Patterns" +msgstr "Patrones" + +#: ../../README.rst:22 +msgid "" +"The patterns can be structured in roughly three different categories. Please " +"click on **the title of every pattern's page** for a full explanation of the " +"pattern on Wikipedia." +msgstr "" +"Les patterns peuvent être structurés en gros en trois catégories différentes. Veuillez " +"cliquer sur **le titre de la page de chaque pattern** pour une explication complète du " +"pattern sur Wikipedia." + +#: ../../README.rst:35 +msgid "Contribute" +msgstr "Contribuer" + +#: ../../README.rst:37 +msgid "" +"Please feel free to fork and extend existing or add your own examples and " +"send a pull request with your changes! To establish a consistent code " +"quality, please check your code using `PHP CodeSniffer`_ against `PSR2 " +"standard`_ using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``." +msgstr "" +"S'il vous plaît, n'hésitez pas à forker et étendre les exemples existants ou ajouter vos propres exemples et " +"envoyez une demande de modification avec vos changements ! Pour établir une qualité de code cohérente, " +"veuillez vérifier votre code en utilisant `PHP CodeSniffer`_ contre `PSR2 " +"standard`_ en utilisant ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``." + +#: ../../README.rst:44 +msgid "License" +msgstr "License" + +#: ../../README.rst:46 +msgid "(The MIT License)" +msgstr "(The MIT License)" + +#: ../../README.rst:48 +msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_" +msgstr "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_" + +#: ../../README.rst:50 +msgid "" +"Permission is hereby granted, free of charge, to any person obtaining a copy " +"of this software and associated documentation files (the 'Software'), to " +"deal in the Software without restriction, including without limitation the " +"rights to use, copy, modify, merge, publish, distribute, sublicense, and/or " +"sell copies of the Software, and to permit persons to whom the Software is " +"furnished to do so, subject to the following conditions:" +msgstr "" +"Permission is hereby granted, free of charge, to any person obtaining a copy " +"of this software and associated documentation files (the 'Software'), to " +"deal in the Software without restriction, including without limitation the " +"rights to use, copy, modify, merge, publish, distribute, sublicense, and/or " +"sell copies of the Software, and to permit persons to whom the Software is " +"furnished to do so, subject to the following conditions:" + +#: ../../README.rst:58 +msgid "" +"The above copyright notice and this permission notice shall be included in " +"all copies or substantial portions of the Software." +msgstr "" +"The above copyright notice and this permission notice shall be included in " +"all copies or substantial portions of the Software." + +#: ../../README.rst:61 +msgid "" +"THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR " +"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, " +"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE " +"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER " +"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING " +"FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS " +"IN THE SOFTWARE." +msgstr "" +"THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR " +"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, " +"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE " +"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER " +"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING " +"FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS " +"IN THE SOFTWARE." diff --git a/locale/fr/LC_MESSAGES/Structural/Adapter/README.po b/locale/fr/LC_MESSAGES/Structural/Adapter/README.po new file mode 100644 index 0000000..227fa2a --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Adapter/README.po @@ -0,0 +1,58 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/Adapter/README.rst:2 +msgid "`Adapter / Wrapper`__" +msgstr "" + +#: ../../Structural/Adapter/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Adapter/README.rst:7 +msgid "" +"To translate one interface for a class into a compatible interface. An " +"adapter allows classes to work together that normally could not because of " +"incompatible interfaces by providing its interface to clients while using " +"the original interface." +msgstr "" + +#: ../../Structural/Adapter/README.rst:13 +msgid "Examples" +msgstr "" + +#: ../../Structural/Adapter/README.rst:15 +msgid "DB Client libraries adapter" +msgstr "" + +#: ../../Structural/Adapter/README.rst:16 +msgid "" +"using multiple different webservices and adapters normalize data so that the" +" outcome is the same for all" +msgstr "" + +#: ../../Structural/Adapter/README.rst:20 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Adapter/README.rst:27 +msgid "Code" +msgstr "" + +#: ../../Structural/Adapter/README.rst:29 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Adapter/README.rst:62 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/Bridge/README.po b/locale/fr/LC_MESSAGES/Structural/Bridge/README.po new file mode 100644 index 0000000..7e8073a --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Bridge/README.po @@ -0,0 +1,42 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/Bridge/README.rst:2 +msgid "`Bridge`__" +msgstr "" + +#: ../../Structural/Bridge/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Bridge/README.rst:7 +msgid "" +"Decouple an abstraction from its implementation so that the two can vary " +"independently." +msgstr "" + +#: ../../Structural/Bridge/README.rst:17 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Bridge/README.rst:24 +msgid "Code" +msgstr "" + +#: ../../Structural/Bridge/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Bridge/README.rst:65 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/Composite/README.po b/locale/fr/LC_MESSAGES/Structural/Composite/README.po new file mode 100644 index 0000000..ac2fd6d --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Composite/README.po @@ -0,0 +1,52 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/Composite/README.rst:2 +msgid "`Composite`__" +msgstr "" + +#: ../../Structural/Composite/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Composite/README.rst:7 +msgid "" +"To treat a group of objects the same way as a single instance of the object." +msgstr "" + +#: ../../Structural/Composite/README.rst:11 +msgid "Examples" +msgstr "" + +#: ../../Structural/Composite/README.rst:13 +msgid "" +"a form class instance handles all its form elements like a single instance " +"of the form, when ``render()`` is called, it subsequently runs through all " +"its child elements and calls ``render()`` on them" +msgstr "" + +#: ../../Structural/Composite/README.rst:20 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Composite/README.rst:27 +msgid "Code" +msgstr "" + +#: ../../Structural/Composite/README.rst:29 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Composite/README.rst:56 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po b/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po new file mode 100644 index 0000000..7045650 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po @@ -0,0 +1,65 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/DataMapper/README.rst:2 +msgid "`Data Mapper`__" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:7 +msgid "" +"A Data Mapper, is a Data Access Layer that performs bidirectional transfer " +"of data between a persistent data store (often a relational database) and an" +" in memory data representation (the domain layer). The goal of the pattern " +"is to keep the in memory representation and the persistent data store " +"independent of each other and the data mapper itself. The layer is composed " +"of one or more mappers (or Data Access Objects), performing the data " +"transfer. Mapper implementations vary in scope. Generic mappers will handle " +"many different domain entity types, dedicated mappers will handle one or a " +"few." +msgstr "" + +#: ../../Structural/DataMapper/README.rst:17 +msgid "" +"The key point of this pattern is, unlike Active Record pattern, the data " +"model follows Single Responsibility Principle." +msgstr "" + +#: ../../Structural/DataMapper/README.rst:21 +msgid "Examples" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:23 +msgid "" +"DB Object Relational Mapper (ORM) : Doctrine2 uses DAO named as " +"\"EntityRepository\"" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:27 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:34 +msgid "Code" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:36 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/DataMapper/README.rst:51 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/Decorator/README.po b/locale/fr/LC_MESSAGES/Structural/Decorator/README.po new file mode 100644 index 0000000..96909fc --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Decorator/README.po @@ -0,0 +1,50 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/Decorator/README.rst:2 +msgid "`Decorator`__" +msgstr "" + +#: ../../Structural/Decorator/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Decorator/README.rst:7 +msgid "To dynamically add new functionality to class instances." +msgstr "" + +#: ../../Structural/Decorator/README.rst:10 +msgid "Examples" +msgstr "" + +#: ../../Structural/Decorator/README.rst:13 +msgid "" +"Web Service Layer: Decorators JSON and XML for a REST service (in this case," +" only one of these should be allowed of course)" +msgstr "" + +#: ../../Structural/Decorator/README.rst:17 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Decorator/README.rst:24 +msgid "Code" +msgstr "" + +#: ../../Structural/Decorator/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Decorator/README.rst:59 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po new file mode 100644 index 0000000..176b75c --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -0,0 +1,83 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/DependencyInjection/README.rst:2 +msgid "`Dependency Injection`__" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:7 +msgid "" +"To implement a loosely coupled architecture in order to get better testable," +" maintainable and extendable code." +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:11 +msgid "Usage" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:13 +msgid "" +"Configuration gets injected and ``Connection`` will get all that it needs " +"from ``$config``. Without DI, the configuration would be created directly in" +" ``Connection``, which is not very good for testing and extending " +"``Connection``." +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:18 +msgid "" +"Notice we are following Inversion of control principle in ``Connection`` by " +"asking ``$config`` to implement ``Parameters`` interface. This decouples our" +" components. We don't care where the source of information comes from, we " +"only care that ``$config`` has certain methods to retrieve that information." +" Read more about Inversion of control `here " +"`__." +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:26 +msgid "Examples" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:28 +msgid "" +"The Doctrine2 ORM uses dependency injection e.g. for configuration that is " +"injected into a ``Connection`` object. For testing purposes, one can easily " +"create a mock object of the configuration and inject that into the " +"``Connection`` object" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:32 +msgid "" +"many frameworks already have containers for DI that create " +"objects via a configuration array and inject them where needed (i.e. in " +"Controllers)" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:37 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:44 +msgid "Code" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:46 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/DependencyInjection/README.rst:73 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/Facade/README.po b/locale/fr/LC_MESSAGES/Structural/Facade/README.po new file mode 100644 index 0000000..f848d3c --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Facade/README.po @@ -0,0 +1,71 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/Facade/README.rst:2 +msgid "`Facade`__" +msgstr "" + +#: ../../Structural/Facade/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Facade/README.rst:7 +msgid "" +"The primary goal of a Facade Pattern is not to avoid you having to read the" +"manual of a complex API. It's only a side-effect. The first goal is to" +"reduce coupling and follow the Law of Demeter." +msgstr "" + +#: ../../Structural/Facade/README.rst:11 +msgid "" +"A Facade is meant to decouple a client and a sub-system by embedding many " +"(but sometimes just one) interface, and of course to reduce complexity." +msgstr "" + +#: ../../Structural/Facade/README.rst:15 +msgid "A facade does not forbid you the access to the sub-system" +msgstr "" + +#: ../../Structural/Facade/README.rst:16 +msgid "You can (you should) have multiple facades for one sub-system" +msgstr "" + +#: ../../Structural/Facade/README.rst:18 +msgid "" +"That's why a good facade has no ``new`` in it. If there are multiple " +"creations for each method, it is not a Facade, it's a Builder or a " +"[Abstract\\|Static\\|Simple] Factory [Method]." +msgstr "" + +#: ../../Structural/Facade/README.rst:22 +msgid "" +"The best facade has no ``new`` and a constructor with interface-type-hinted " +"parameters. If you need creation of new instances, use a Factory as " +"argument." +msgstr "" + +#: ../../Structural/Facade/README.rst:27 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Facade/README.rst:34 +msgid "Code" +msgstr "" + +#: ../../Structural/Facade/README.rst:36 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Facade/README.rst:57 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po new file mode 100644 index 0000000..cf41721 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po @@ -0,0 +1,54 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/FluentInterface/README.rst:2 +msgid "`Fluent Interface`__" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:7 +msgid "" +"To write code that is easy readable just like sentences in a natural " +"language (like English)." +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:11 +msgid "Examples" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:13 +msgid "Doctrine2's QueryBuilder works something like that example class below" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:15 +msgid "PHPUnit uses fluent interfaces to build mock objects" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:19 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:26 +msgid "Code" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:28 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/FluentInterface/README.rst:37 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/Flyweight/README.po b/locale/fr/LC_MESSAGES/Structural/Flyweight/README.po new file mode 100644 index 0000000..fb2bc3d --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Flyweight/README.po @@ -0,0 +1,53 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2015, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 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 \n" +"Language-Team: LANGUAGE \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 this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Flyweight/README.rst:42 +msgid "Test" +msgstr "" + diff --git a/locale/fr/LC_MESSAGES/Structural/Proxy/README.po b/locale/fr/LC_MESSAGES/Structural/Proxy/README.po new file mode 100644 index 0000000..7941261 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Proxy/README.po @@ -0,0 +1,51 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/Proxy/README.rst:2 +msgid "`Proxy`__" +msgstr "" + +#: ../../Structural/Proxy/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Proxy/README.rst:7 +msgid "To interface to anything that is expensive or impossible to duplicate." +msgstr "" + +#: ../../Structural/Proxy/README.rst:10 +msgid "Examples" +msgstr "" + +#: ../../Structural/Proxy/README.rst:12 +msgid "" +"Doctrine2 uses proxies to implement framework magic (e.g. lazy " +"initialization) in them, while the user still works with his own entity " +"classes and will never use nor touch the proxies" +msgstr "" + +#: ../../Structural/Proxy/README.rst:17 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Proxy/README.rst:24 +msgid "Code" +msgstr "" + +#: ../../Structural/Proxy/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Proxy/README.rst:41 +msgid "Test" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/Structural/README.po b/locale/fr/LC_MESSAGES/Structural/README.po new file mode 100644 index 0000000..6c53b7d --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/README.po @@ -0,0 +1,25 @@ +# +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: 2017-05-31 11:00+0200\n" +"Last-Translator: John J. GARCIA \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/README.rst:2 +msgid "`Structural`__" +msgstr "`Estructurales`__" + +#: ../../Structural/README.rst:4 +msgid "" +"In Software Engineering, Structural Design Patterns are Design Patterns that" +" ease the design by identifying a simple way to realize relationships " +"between entities." +msgstr "" +"En Ingenieria de Software, los patrones de diseño estructurales son patrones que " +"facilitan el diseño mostrando una manera sencilla de realizar relaciones entre entidades" diff --git a/locale/fr/LC_MESSAGES/Structural/Registry/README.po b/locale/fr/LC_MESSAGES/Structural/Registry/README.po new file mode 100644 index 0000000..878caf3 --- /dev/null +++ b/locale/fr/LC_MESSAGES/Structural/Registry/README.po @@ -0,0 +1,47 @@ +# +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 \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../Structural/Registry/README.rst:2 +msgid "`Registry`__" +msgstr "" + +#: ../../Structural/Registry/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Registry/README.rst:7 +msgid "" +"To implement a central storage for objects often used throughout the " +"application, is typically implemented using an abstract class with only " +"static methods (or using the Singleton pattern)" +msgstr "" + +#: ../../Structural/Registry/README.rst:12 +msgid "Examples" +msgstr "" + +#: ../../Structural/Registry/README.rst:20 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Registry/README.rst:27 +msgid "Code" +msgstr "" + +#: ../../Structural/Registry/README.rst:29 +msgid "You can also find this code on `GitHub`_" +msgstr "Puedes encontrar el código en `GitHub`_" + +#: ../../Structural/Registry/README.rst:38 +msgid "Test" +msgstr ""