From 5b043b4f5f25d75fd3fabe65046a76660e776600 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 11:26:19 +0100 Subject: [PATCH 01/11] locale/fr folder creation and locale/fr/README.po translation --- .../ChainOfResponsibilities/README.po | 63 ++++++ .../LC_MESSAGES/Behavioral/Command/README.po | 73 +++++++ .../LC_MESSAGES/Behavioral/Iterator/README.po | 61 ++++++ .../LC_MESSAGES/Behavioral/Mediator/README.po | 50 +++++ .../LC_MESSAGES/Behavioral/Memento/README.po | 195 ++++++++++++++++++ .../Behavioral/NullObject/README.po | 79 +++++++ .../LC_MESSAGES/Behavioral/Observer/README.po | 63 ++++++ locale/fr/LC_MESSAGES/Behavioral/README.po | 24 +++ .../Behavioral/Specification/README.po | 52 +++++ .../fr/LC_MESSAGES/Behavioral/State/README.po | 43 ++++ .../LC_MESSAGES/Behavioral/Strategy/README.po | 72 +++++++ .../Behavioral/TemplateMethod/README.po | 67 ++++++ .../LC_MESSAGES/Behavioral/Visitor/README.po | 51 +++++ .../Creational/AbstractFactory/README.po | 50 +++++ .../LC_MESSAGES/Creational/Builder/README.po | 77 +++++++ .../Creational/FactoryMethod/README.po | 65 ++++++ .../fr/LC_MESSAGES/Creational/Pool/README.po | 74 +++++++ .../Creational/Prototype/README.po | 58 ++++++ locale/fr/LC_MESSAGES/Creational/README.po | 32 +++ .../Creational/SimpleFactory/README.po | 52 +++++ .../Creational/Singleton/README.po | 74 +++++++ .../Creational/StaticFactory/README.po | 52 +++++ locale/fr/LC_MESSAGES/More/EAV/README.po | 66 ++++++ locale/fr/LC_MESSAGES/More/README.po | 16 ++ .../fr/LC_MESSAGES/More/Repository/README.po | 60 ++++++ .../LC_MESSAGES/More/ServiceLocator/README.po | 55 +++++ locale/fr/LC_MESSAGES/README.po | 118 +++++++++++ .../LC_MESSAGES/Structural/Adapter/README.po | 58 ++++++ .../LC_MESSAGES/Structural/Bridge/README.po | 42 ++++ .../Structural/Composite/README.po | 52 +++++ .../Structural/DataMapper/README.po | 65 ++++++ .../Structural/Decorator/README.po | 50 +++++ .../Structural/DependencyInjection/README.po | 83 ++++++++ .../LC_MESSAGES/Structural/Facade/README.po | 71 +++++++ .../Structural/FluentInterface/README.po | 54 +++++ .../Structural/Flyweight/README.po | 53 +++++ .../fr/LC_MESSAGES/Structural/Proxy/README.po | 51 +++++ locale/fr/LC_MESSAGES/Structural/README.po | 25 +++ .../LC_MESSAGES/Structural/Registry/README.po | 47 +++++ 39 files changed, 2393 insertions(+) create mode 100644 locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Command/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Memento/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Observer/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Specification/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/State/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po create mode 100644 locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/Builder/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/Pool/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/Prototype/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/Singleton/README.po create mode 100644 locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po create mode 100644 locale/fr/LC_MESSAGES/More/EAV/README.po create mode 100644 locale/fr/LC_MESSAGES/More/README.po create mode 100644 locale/fr/LC_MESSAGES/More/Repository/README.po create mode 100644 locale/fr/LC_MESSAGES/More/ServiceLocator/README.po create mode 100644 locale/fr/LC_MESSAGES/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Adapter/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Bridge/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Composite/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/DataMapper/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Decorator/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Facade/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Flyweight/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Proxy/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/README.po create mode 100644 locale/fr/LC_MESSAGES/Structural/Registry/README.po 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 "" From bde8c9deda12308233e4edb3f65953136b67d265 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 11:35:58 +0100 Subject: [PATCH 02/11] [Structural] README.po --- locale/fr/LC_MESSAGES/README.po | 4 ++-- locale/fr/LC_MESSAGES/Structural/README.po | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/locale/fr/LC_MESSAGES/README.po b/locale/fr/LC_MESSAGES/README.po index becfd06..142a174 100644 --- a/locale/fr/LC_MESSAGES/README.po +++ b/locale/fr/LC_MESSAGES/README.po @@ -3,8 +3,8 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" +"PO-Revision-Date: 2020-03-13 17:14+0100\n" "Last-Translator: TTC_ \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/locale/fr/LC_MESSAGES/Structural/README.po b/locale/fr/LC_MESSAGES/Structural/README.po index 6c53b7d..e101d5b 100644 --- a/locale/fr/LC_MESSAGES/Structural/README.po +++ b/locale/fr/LC_MESSAGES/Structural/README.po @@ -3,9 +3,9 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" +"PO-Revision-Date: 2020-03-13 17:14+0100\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -13,7 +13,7 @@ msgstr "" #: ../../Structural/README.rst:2 msgid "`Structural`__" -msgstr "`Estructurales`__" +msgstr "`Structuraux`__" #: ../../Structural/README.rst:4 msgid "" @@ -21,5 +21,6 @@ msgid "" " 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" +"En génie logiciel, les patrons de conception structurels sont des patrons de conception qui" +" facilitent la conception en identifiant une manière simple de réaliser des relations " +"entre les entités." From b8a70330fa5c6b5ad0100cdc8979770447d0694c Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 11:47:41 +0100 Subject: [PATCH 03/11] [Creational] README.po --- locale/fr/LC_MESSAGES/Creational/README.po | 24 +++++++++++----------- locale/fr/LC_MESSAGES/Structural/README.po | 4 +++- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/locale/fr/LC_MESSAGES/Creational/README.po b/locale/fr/LC_MESSAGES/Creational/README.po index 7a5db3c..85476db 100644 --- a/locale/fr/LC_MESSAGES/Creational/README.po +++ b/locale/fr/LC_MESSAGES/Creational/README.po @@ -3,18 +3,19 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" +"PO-Revision-Date: 2020-03-13 17:14+0100\n" +"Last-Translator: TTC_ \n" +"Language-Team: \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: fr\n" +"Language-Team: \n" #: ../../Creational/README.rst:2 msgid "`Creational`__" -msgstr "`Creacionales`__" +msgstr "`Créateurs`__" #: ../../Creational/README.rst:4 msgid "" @@ -24,9 +25,8 @@ msgid "" "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." +"En ingénierie logicielle, les patrons de conception créateurs sont des patrons de conception qui " +"traitent des mécanismes de création d'objets, en essayant de créer des objets d'une manière " +"adaptée à la situation. La forme de base de la création d'objets pourrait entraîner des problèmes " +"de conception ou ajouter de la complexité à la conception. Les patrons de conception créationnels " +"résolvent cette problématique en contrôlant d'une manière ou d'une autre cette création d'objets." diff --git a/locale/fr/LC_MESSAGES/Structural/README.po b/locale/fr/LC_MESSAGES/Structural/README.po index e101d5b..6d9c1a3 100644 --- a/locale/fr/LC_MESSAGES/Structural/README.po +++ b/locale/fr/LC_MESSAGES/Structural/README.po @@ -10,6 +10,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Language-Team: \n" #: ../../Structural/README.rst:2 msgid "`Structural`__" @@ -21,6 +23,6 @@ msgid "" " ease the design by identifying a simple way to realize relationships " "between entities." msgstr "" -"En génie logiciel, les patrons de conception structurels sont des patrons de conception qui" +"En ingénierie logicielle, les patrons de conception structurels sont des patrons de conception qui" " facilitent la conception en identifiant une manière simple de réaliser des relations " "entre les entités." From af9ef4216902252a5bf608f17bc10d69e7916253 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 11:49:41 +0100 Subject: [PATCH 04/11] [Creational] README.po --- locale/fr/LC_MESSAGES/Structural/README.po | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/locale/fr/LC_MESSAGES/Structural/README.po b/locale/fr/LC_MESSAGES/Structural/README.po index 6d9c1a3..4c2c73a 100644 --- a/locale/fr/LC_MESSAGES/Structural/README.po +++ b/locale/fr/LC_MESSAGES/Structural/README.po @@ -23,6 +23,5 @@ msgid "" " ease the design by identifying a simple way to realize relationships " "between entities." msgstr "" -"En ingénierie logicielle, les patrons de conception structurels sont des patrons de conception qui" -" facilitent la conception en identifiant une manière simple de réaliser des relations " -"entre les entités." +"En ingénierie logicielle, les patrons de conception structurels facilitent la conception " +"en identifiant une manière simple de réaliser des relations entre les entités." From 8be0c46fc6f9da94b211e6bdd699609a2b40d4c9 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 11:53:47 +0100 Subject: [PATCH 05/11] [Behavioral] README.po --- locale/fr/LC_MESSAGES/Behavioral/README.po | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/locale/fr/LC_MESSAGES/Behavioral/README.po b/locale/fr/LC_MESSAGES/Behavioral/README.po index 93ebd7c..8393edc 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/README.po @@ -3,17 +3,19 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" +"PO-Revision-Date: 2020-03-13 17:14+0100\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Language-Team: \n" #: ../../Behavioral/README.rst:2 msgid "`Behavioral`__" -msgstr "" +msgstr "Comportementaux" #: ../../Behavioral/README.rst:4 msgid "" @@ -22,3 +24,6 @@ msgid "" "patterns. By doing so, these patterns increase flexibility in carrying out " "this communication." msgstr "" +"En ingénierie logicielle, les patrons de conception comportementaux identifient " +"les modèles de communication communs entre les objets et réalisent ces modèles. " +"Ce faisant, ces patrons augmentent la flexibilité dans la réalisation de cette communication." From 2a3fa7642fbb26607c874c6d67cb701f2aaf2787 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 11:58:28 +0100 Subject: [PATCH 06/11] [More] README.po --- locale/fr/LC_MESSAGES/More/README.po | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/locale/fr/LC_MESSAGES/More/README.po b/locale/fr/LC_MESSAGES/More/README.po index c3585d8..c770840 100644 --- a/locale/fr/LC_MESSAGES/More/README.po +++ b/locale/fr/LC_MESSAGES/More/README.po @@ -3,14 +3,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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" +"PO-Revision-Date: 2020-03-13 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" #: ../../More/README.rst:2 msgid "More" -msgstr "" +msgstr "En savoir plus" From f137201bcea1569584a5b2d4bce77bf80ab7d84d Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 12:00:47 +0100 Subject: [PATCH 07/11] README.md add fr translation link --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 500df1c..f780724 100644 --- a/README.md +++ b/README.md @@ -112,4 +112,5 @@ The patterns can be structured in roughly three different categories. Please cli | es | Spanish | [Docs :notebook:](https://designpatternsphp.readthedocs.io/es/latest/README.html) | | es_MX | Spanish-Mexican | [Docs :notebook:](https://designpatternsphp.readthedocs.io/es_MX/latest/README.html) | | tr | Turkish | [Docs :notebook:](https://designpatternsphp.readthedocs.io/tr/latest/README.html) | -| bg | Bulgarian | [Docs :notebook:](https://designpatternsphp.readthedocs.io/bg/latest/README.html) | \ No newline at end of file +| bg | Bulgarian | [Docs :notebook:](https://designpatternsphp.readthedocs.io/bg/latest/README.html) | +| fr | French | [Docs :notebook:](https://designpatternsphp.readthedocs.io/fr/latest/README.html) | \ No newline at end of file From af40dd1ffd4415c4faaff8e341ad866f539c251c Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 13:01:25 +0100 Subject: [PATCH 08/11] [Creational|AbstractFactory] README.po --- .../Creational/AbstractFactory/README.po | 25 +++++++++---------- locale/fr/LC_MESSAGES/Creational/README.po | 11 ++++---- locale/fr/LC_MESSAGES/README.po | 16 ++++++------ locale/fr/LC_MESSAGES/Structural/README.po | 2 +- 4 files changed, 26 insertions(+), 28 deletions(-) diff --git a/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po index 0e0c68a..7264744 100644 --- a/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -3,22 +3,22 @@ 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: 2020-03-13 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: fr\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" "X-Generator: Poedit 1.5.4\n" #: ../../Creational/AbstractFactory/README.rst:2 msgid "`Abstract Factory`__" -msgstr "`Factoría Abstracta`__" +msgstr "`Abstract Factory (Fabrique abstraite)`__" #: ../../Creational/AbstractFactory/README.rst:5 msgid "Purpose" -msgstr "Proposito" +msgstr "Objectif" #: ../../Creational/AbstractFactory/README.rst:7 msgid "" @@ -27,23 +27,22 @@ msgid "" "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." +"Créer des séries d'objets liés ou dépendants sans spécifier leurs classes concrètes. " +"Généralement, les classes créées implémentent toutes la même interface. " +"Le client de Abstract Factory ne se soucie pas de la façon dont ces objets sont créés, " +"il sait juste comment ils se combinent." #: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "Diagrama UML" +msgstr "Diagramme UML" #: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "Código" +msgstr "Code" #: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/README.po b/locale/fr/LC_MESSAGES/Creational/README.po index 85476db..16b04ee 100644 --- a/locale/fr/LC_MESSAGES/Creational/README.po +++ b/locale/fr/LC_MESSAGES/Creational/README.po @@ -4,7 +4,6 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-03-13 12:18+0200\n" -"PO-Revision-Date: 2020-03-13 17:14+0100\n" "Last-Translator: TTC_ \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -25,8 +24,8 @@ msgid "" "design problems or added complexity to the design. Creational design " "patterns solve this problem by somehow controlling this object creation." msgstr "" -"En ingénierie logicielle, les patrons de conception créateurs sont des patrons de conception qui " -"traitent des mécanismes de création d'objets, en essayant de créer des objets d'une manière " -"adaptée à la situation. La forme de base de la création d'objets pourrait entraîner des problèmes " -"de conception ou ajouter de la complexité à la conception. Les patrons de conception créationnels " -"résolvent cette problématique en contrôlant d'une manière ou d'une autre cette création d'objets." +"En ingénierie logicielle, les patrons de conception créateurs traitent des mécanismes de " +"création d'objets d'une manière adaptée à la situation. La forme de base de la création " +"d'objets pourrait entraîner des problèmes de conception ou ajouter de la complexité à " +"la conception. Les patrons de conception créateurs résolvent cette problématique en " +"contrôlant d'une manière ou d'une autre cette création d'objets." diff --git a/locale/fr/LC_MESSAGES/README.po b/locale/fr/LC_MESSAGES/README.po index 142a174..68d5bc6 100644 --- a/locale/fr/LC_MESSAGES/README.po +++ b/locale/fr/LC_MESSAGES/README.po @@ -30,8 +30,8 @@ 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." +"Je pense que le problème avec les patrons de conception provient du fait que souvent les gens les connaissent mais " +"ne savent pas quand les implémenter." #: ../../README.rst:20 msgid "Patterns" @@ -43,9 +43,9 @@ msgid "" "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." +"Les patrons de conception peuvent être structurés en trois catégories différentes. Veuillez " +"cliquer sur **le titre de la page de chaque patron** pour une explication complète " +"sur Wikipedia." #: ../../README.rst:35 msgid "Contribute" @@ -58,9 +58,9 @@ msgid "" "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 " +"N'hésitez pas à forker et enrichir les exemples existants ou bien ajouter vos propres exemples et " +"créer une pull request avec vos changements ! Pour établir une qualité de code cohérente, " +"veuillez vérifier votre code en utilisant `PHP CodeSniffer`_ avec `PSR2 " "standard`_ en utilisant ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``." #: ../../README.rst:44 diff --git a/locale/fr/LC_MESSAGES/Structural/README.po b/locale/fr/LC_MESSAGES/Structural/README.po index 4c2c73a..5c16122 100644 --- a/locale/fr/LC_MESSAGES/Structural/README.po +++ b/locale/fr/LC_MESSAGES/Structural/README.po @@ -23,5 +23,5 @@ msgid "" " ease the design by identifying a simple way to realize relationships " "between entities." msgstr "" -"En ingénierie logicielle, les patrons de conception structurels facilitent la conception " +"En ingénierie logicielle, les patrons de conception structuraux facilitent la conception " "en identifiant une manière simple de réaliser des relations entre les entités." From 52281f6f50f504b3ced9cc3a840695e2eaf4de38 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 17:22:30 +0100 Subject: [PATCH 09/11] [creational] all --- locale/fr/LC_MESSAGES/Behavioral/README.po | 1 - .../Creational/AbstractFactory/README.po | 4 +- .../LC_MESSAGES/Creational/Builder/README.po | 43 +++++++------- .../Creational/FactoryMethod/README.po | 35 ++++++------ .../fr/LC_MESSAGES/Creational/Pool/README.po | 57 ++++++++++--------- .../Creational/Prototype/README.po | 32 +++++------ .../Creational/SimpleFactory/README.po | 35 +++++++----- .../Creational/Singleton/README.po | 40 ++++++------- .../Creational/StaticFactory/README.po | 31 +++++----- locale/fr/LC_MESSAGES/More/README.po | 1 - locale/fr/LC_MESSAGES/README.po | 1 - locale/fr/LC_MESSAGES/Structural/README.po | 1 - 12 files changed, 138 insertions(+), 143 deletions(-) diff --git a/locale/fr/LC_MESSAGES/Behavioral/README.po b/locale/fr/LC_MESSAGES/Behavioral/README.po index 8393edc..77a7ac4 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/README.po @@ -4,7 +4,6 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-03-13 12:18+0200\n" -"PO-Revision-Date: 2020-03-13 17:14+0100\n" "Last-Translator: TTC_ \n" "Language-Team: \n" "MIME-Version: 1.0\n" diff --git a/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po index 7264744..aa1eaf0 100644 --- a/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -18,7 +18,7 @@ msgstr "`Abstract Factory (Fabrique abstraite)`__" #: ../../Creational/AbstractFactory/README.rst:5 msgid "Purpose" -msgstr "Objectif" +msgstr "Rôle" #: ../../Creational/AbstractFactory/README.rst:7 msgid "" @@ -30,7 +30,7 @@ msgstr "" "Créer des séries d'objets liés ou dépendants sans spécifier leurs classes concrètes. " "Généralement, les classes créées implémentent toutes la même interface. " "Le client de Abstract Factory ne se soucie pas de la façon dont ces objets sont créés, " -"il sait juste comment ils se combinent." +"il sait juste comment ils fonctionnent ensemble." #: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" diff --git a/locale/fr/LC_MESSAGES/Creational/Builder/README.po b/locale/fr/LC_MESSAGES/Creational/Builder/README.po index 7d2f6ca..38c31eb 100644 --- a/locale/fr/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Builder/README.po @@ -3,75 +3,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: 2015-09-11 11:42+0100\n" -"Last-Translator: Daniel González \n" +"POT-Creation-Date: 2020-03-13 12:18+0200\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: fr\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" "X-Generator: Poedit 1.5.4\n" #: ../../Creational/Builder/README.rst:2 msgid "`Builder`__" -msgstr "`Constructor`__" +msgstr "`Builder (Monteur)`__" #: ../../Creational/Builder/README.rst:5 msgid "Purpose" -msgstr "Propósito" +msgstr "Rôle" #: ../../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." +"Un builder est une interface permettant de construire certaines parties d'un objet complexe." #: ../../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)" +"Parfois, lorsque le builder \"sait\" plus précisément ce qu'il construit, cette " +"interface pourrait être une classe abstraite avec des méthodes par défaut (alias adapter)." #: ../../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." +"Si vous avez un arbre d'héritage complexe pour les objets, il est logique d'avoir " +"un arbre d'héritage complexe pour les builders." #: ../../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." +"Note : Les builders ont souvent une désignation chaînée ou chaînage de méthodes (fluent interface), voir le " +"Mock Builder de PHPUnit par exemple." #: ../../Creational/Builder/README.rst:19 msgid "Examples" -msgstr "Ejemplos" +msgstr "Exemples" #: ../../Creational/Builder/README.rst:21 msgid "PHPUnit: Mock Builder" msgstr "PHPUnit: Mock Builder" -#: ../../Creational/Builder/README.rst:24 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "Diagrama UML" +msgstr "Diagramme UML" -#: ../../Creational/Builder/README.rst:31 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "Código" +msgstr "Code" -#: ../../Creational/Builder/README.rst:33 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/Builder/README.rst:96 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po index 9ff261a..bfaf7eb 100644 --- a/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -3,13 +3,12 @@ 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" +"POT-Creation-Date: 2020-03-13 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" +"Language: fr\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" "X-Generator: Poedit 1.5.4\n" @@ -19,15 +18,14 @@ msgstr "`Factory Method`__" #: ../../Creational/FactoryMethod/README.rst:5 msgid "Purpose" -msgstr "Proposito" +msgstr "Rôle" #: ../../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" @@ -38,28 +36,31 @@ msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " "Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" +"Ce modèle est un \"vrai\" patron de conception car il applique le principe " +"d'inversion des dépendances (Dependency Inversion principle) alias " +"\"D\" dans SOLID (voir principes SOLID)." #: ../../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" +"Cela signifie que FactoryMethod dépend d'abstractions et non de " +"classes concrètes. C'est son principal avantange par rapport à SimpleFactory ou " +"StaticFactory." -#: ../../Creational/FactoryMethod/README.rst:20 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "Diagrama UML" +msgstr "Diagramme UML" -#: ../../Creational/FactoryMethod/README.rst:27 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "Código" +msgstr "Code" -#: ../../Creational/FactoryMethod/README.rst:29 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/FactoryMethod/README.rst:74 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Pool/README.po b/locale/fr/LC_MESSAGES/Creational/Pool/README.po index db1ef6d..527acb7 100644 --- a/locale/fr/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Pool/README.po @@ -3,19 +3,18 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" +"MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"MIME-Version: 1.0\n" -"Language: es\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" "X-Generator: Poedit 1.5.4\n" #: ../../Creational/Pool/README.rst:2 msgid "`Pool`__" -msgstr "`Pila`__" +msgstr "`Pool`__" #: ../../Creational/Pool/README.rst:4 msgid "" @@ -26,11 +25,12 @@ msgid "" "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." +"**Object pool pattern** utilise un ensemble d'objets initialisés et prêts à " +"être utilisés - un \"pool\" - plutôt que de les allouer et de les détruire à la " +"demande. Un client du pool demandera un objet du pool et effectuera des opérations " +"sur l'objet retourné. Lorsque le client a terminé, il renvoie l'objet, qui est " +"au pool plutôt que de le détruire." + #: ../../Creational/Pool/README.rst:11 msgid "" @@ -40,13 +40,11 @@ msgid "" "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." +"La mise en commun d'objets peut offrir un gain de performance significatif dans les " +"situations où le coût d'initialisation d'une instance de classe est élevé, le " +"taux d'instanciation d'une classe est élevé et le nombre d'instances utilisées à " +"un moment donné est faible. L'objet mis en commun est obtenu en un temps prévisible " +"alors que la création des nouveaux objets (notamment sur le réseau) peut prendre un temps variable." #: ../../Creational/Pool/README.rst:18 msgid "" @@ -55,20 +53,25 @@ msgid "" "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 " +msgstr "Toutefois, ces avantages s'appliquent surtout aux objets qui sont coûteux " +"en temps, tels que les connexions aux bases de données, les connexions aux sockets, " +"les threads et les gros objets graphiques comme les polices ou les bitmaps. " +"Dans certaines situations, la mise en commun d'objets simples (qui ne détiennent " +"aucune ressource externe, mais occupent seulement la mémoire) peut ne pas être efficace " +"et pourrait diminuer les performances." -#: ../../Creational/Pool/README.rst:25 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "Diagrama UML" +msgstr "Diagramme UML" -#: ../../Creational/Pool/README.rst:32 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "Código" +msgstr "Code" -#: ../../Creational/Pool/README.rst:34 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/Pool/README.rst:55 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Prototype/README.po b/locale/fr/LC_MESSAGES/Creational/Prototype/README.po index 87f3561..1664ccb 100644 --- a/locale/fr/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Prototype/README.po @@ -3,13 +3,12 @@ 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" +"POT-Creation-Date: 2020-03-13 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: fr\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" "X-Generator: Poedit 1.5.4\n" @@ -19,40 +18,39 @@ msgstr "`Prototype`__" #: ../../Creational/Prototype/README.rst:5 msgid "Purpose" -msgstr "Proposito" +msgstr "Rôle" #: ../../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." +"Minimise le coût de création de nouveaux objets en clonant un objet prototype" #: ../../Creational/Prototype/README.rst:11 msgid "Examples" -msgstr "Ejemplos" +msgstr "Exemples" #: ../../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)." +"Grandes quantités de données (par exemple, créer 1 000 000 de lignes dans une " +"base de données en une seule fois via un ORM)." -#: ../../Creational/Prototype/README.rst:17 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "Diagrama UML" +msgstr "Diagramme UML" -#: ../../Creational/Prototype/README.rst:24 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "Código" +msgstr "Code" -#: ../../Creational/Prototype/README.rst:26 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/Prototype/README.rst:53 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po index 021178a..ac46790 100644 --- a/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -3,50 +3,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" +"POT-Creation-Date: 2020-03-13 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" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Creational/SimpleFactory/README.rst:2 msgid "Simple Factory" -msgstr "" +msgstr "Simple Factory (Fabrique simple)" #: ../../Creational/SimpleFactory/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Creational/SimpleFactory/README.rst:7 msgid "SimpleFactory is a simple factory pattern." -msgstr "" +msgstr "SimpleFactory est un modèle de factory simple." #: ../../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 "" +"SimpleFactory diffère de StaticFactory car ne possède pas de méthodes statiques." #: ../../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 "" +"Par conséquent, vous pouvez avoir plusieurs factory paramétrées différemment, vous " +"pouvez les dériver et vous pouvez les mocker. " +"SimpleFactory doit toujours être préférée à StaticFactory !" -#: ../../Creational/SimpleFactory/README.rst:16 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Creational/SimpleFactory/README.rst:23 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Creational/SimpleFactory/README.rst:25 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/SimpleFactory/README.rst:52 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Singleton/README.po b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po index a2b75fa..219658e 100644 --- a/locale/fr/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po @@ -3,15 +3,14 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\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: fr\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Creational/Singleton/README.rst:2 msgid "`Singleton`__" @@ -22,28 +21,27 @@ 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**" +"**SINGLETON EST CONSIDÉRÉ COMME UN ANTI-PATTERN ! POUR UNE MEILLEURE TESTABILITÉ " +"ET MAINTENABILITÉ, UTILISEZ L'INJECTION DE DÉPENDANCES !**" #: ../../Creational/Singleton/README.rst:8 msgid "Purpose" -msgstr "Proposito" +msgstr "Rôle" #: ../../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." +"Limite l'instanciation d'une classe à une seule instance." #: ../../Creational/Singleton/README.rst:14 msgid "Examples" -msgstr "Ejemplos" +msgstr "Exemples" #: ../../Creational/Singleton/README.rst:16 msgid "DB Connector" -msgstr "Conexión a la base de datos" +msgstr "Connexion à la base de données" #: ../../Creational/Singleton/README.rst:17 msgid "" @@ -53,22 +51,20 @@ msgstr "" #: ../../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 )" +msgstr "Fichier de verrouillage pour l'application (il n'y en a qu'un seul dans le système de fichiers ...)" -#: ../../Creational/Singleton/README.rst:23 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "Diagrama UML" +msgstr "Diagramme UML" -#: ../../Creational/Singleton/README.rst:30 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "Código" +msgstr "Code" -#: ../../Creational/Singleton/README.rst:32 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar este código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/Singleton/README.rst:41 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po index e1cc4ee..3f2c1b9 100644 --- a/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po @@ -3,13 +3,12 @@ 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" +"POT-Creation-Date: 2020-03-13 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" +"Language: fr\n" +"Last-Translator: TTC_ \n" "Language-Team: \n" "X-Generator: Poedit 1.5.4\n" @@ -29,24 +28,24 @@ msgid "" "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``." +"Similaire à l'AbstractFactory, ce pattern est utilisé pour créer des séries d'objets " +"liés ou dépendants. La différence entre ce modèle et le modèle AbstractFactory " +"est que StaticFactory utilise une seule méthode statique pour créer tous les " +"types d'objets qu'il peut créer. " + "Cette méthode est généralement nommée ``factory`` ou ``build``." -#: ../../Creational/StaticFactory/README.rst:20 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "Diagrama UML" +msgstr "Diagramme UML" -#: ../../Creational/StaticFactory/README.rst:27 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "Código" +msgstr "Code" -#: ../../Creational/StaticFactory/README.rst:29 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/StaticFactory/README.rst:56 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/More/README.po b/locale/fr/LC_MESSAGES/More/README.po index c770840..93f84c6 100644 --- a/locale/fr/LC_MESSAGES/More/README.po +++ b/locale/fr/LC_MESSAGES/More/README.po @@ -4,7 +4,6 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-03-13 12:18+0200\n" -"PO-Revision-Date: 2020-03-13 17:14+0100\n" "Last-Translator: TTC_ \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/locale/fr/LC_MESSAGES/README.po b/locale/fr/LC_MESSAGES/README.po index 68d5bc6..2726099 100644 --- a/locale/fr/LC_MESSAGES/README.po +++ b/locale/fr/LC_MESSAGES/README.po @@ -4,7 +4,6 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-03-13 12:18+0200\n" -"PO-Revision-Date: 2020-03-13 17:14+0100\n" "Last-Translator: TTC_ \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/locale/fr/LC_MESSAGES/Structural/README.po b/locale/fr/LC_MESSAGES/Structural/README.po index 5c16122..17cb07f 100644 --- a/locale/fr/LC_MESSAGES/Structural/README.po +++ b/locale/fr/LC_MESSAGES/Structural/README.po @@ -4,7 +4,6 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-03-13 12:18+0200\n" -"PO-Revision-Date: 2020-03-13 17:14+0100\n" "Last-Translator: TTC_ \n" "Language-Team: \n" "MIME-Version: 1.0\n" From 6205158c34dbb080c2a4e394b3101df9a449fbb3 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sat, 13 Mar 2021 23:00:46 +0100 Subject: [PATCH 10/11] Translation completed - need general verification --- .../ChainOfResponsibilities/README.po | 36 ++-- .../LC_MESSAGES/Behavioral/Command/README.po | 47 ++++-- .../LC_MESSAGES/Behavioral/Iterator/README.po | 41 +++-- .../LC_MESSAGES/Behavioral/Mediator/README.po | 31 ++-- .../LC_MESSAGES/Behavioral/Memento/README.po | 155 +++++------------- .../Behavioral/NullObject/README.po | 49 +++--- .../LC_MESSAGES/Behavioral/Observer/README.po | 38 +++-- .../Behavioral/Specification/README.po | 33 ++-- .../fr/LC_MESSAGES/Behavioral/State/README.po | 32 ++-- .../LC_MESSAGES/Behavioral/Strategy/README.po | 45 ++--- .../Behavioral/TemplateMethod/README.po | 41 +++-- .../LC_MESSAGES/Behavioral/Visitor/README.po | 36 ++-- .../LC_MESSAGES/Creational/Builder/README.po | 11 +- .../Creational/FactoryMethod/README.po | 15 +- .../fr/LC_MESSAGES/Creational/Pool/README.po | 8 +- .../Creational/Prototype/README.po | 8 +- .../Creational/SimpleFactory/README.po | 12 +- .../Creational/Singleton/README.po | 8 +- .../Creational/StaticFactory/README.po | 12 +- .../LC_MESSAGES/Structural/Adapter/README.po | 38 +++-- .../LC_MESSAGES/Structural/Bridge/README.po | 31 ++-- .../Structural/Composite/README.po | 35 ++-- .../Structural/DataMapper/README.po | 42 +++-- .../Structural/Decorator/README.po | 33 ++-- .../Structural/DependencyInjection/README.po | 59 +++---- .../LC_MESSAGES/Structural/Facade/README.po | 44 +++-- .../Structural/FluentInterface/README.po | 37 +++-- .../Structural/Flyweight/README.po | 43 +++-- .../fr/LC_MESSAGES/Structural/Proxy/README.po | 36 ++-- .../LC_MESSAGES/Structural/Registry/README.po | 38 +++-- 30 files changed, 578 insertions(+), 516 deletions(-) diff --git a/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index 7c7c7aa..c92d9b3 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -3,13 +3,14 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/ChainOfResponsibilities/README.rst:2 msgid "`Chain Of Responsibilities`__" @@ -25,39 +26,46 @@ msgid "" "object cannot handle a call, it delegates the call to the next in the chain " "and so forth." msgstr "" +"Construire une chaîne d'objets pour traiter un appel dans un ordre séquentiel. " +"Si un objet ne peut pas traiter un appel, il délègue l'appel au suivant dans " +"la chaîne et ainsi de suite." #: ../../Behavioral/ChainOfResponsibilities/README.rst:12 msgid "Examples:" -msgstr "" +msgstr "Exemples" #: ../../Behavioral/ChainOfResponsibilities/README.rst:14 msgid "" "logging framework, where each chain element decides autonomously what to do " "with a log message" msgstr "" +"Logging Framework, dans lequel chaque élément de la chaîne décide lui-même " +"de ce qu'il faut faire avec un message de journalisation." #: ../../Behavioral/ChainOfResponsibilities/README.rst:16 msgid "a Spam filter" -msgstr "" +msgstr "filtre anti-spam" #: ../../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 "" +"Mise en cache : le premier objet est une instance d'une interface Memcached, " +"par exemple, et s'il \"manque\", il délègue l'appel à l'interface de base de données." -#: ../../Behavioral/ChainOfResponsibilities/README.rst:25 +#: ../../Behavioral/ChainOfResponsibilities/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:32 +#: ../../Behavioral/ChainOfResponsibilities/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:34 +#: ../../Behavioral/ChainOfResponsibilities/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:61 +#: ../../Behavioral/ChainOfResponsibilities/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Command/README.po b/locale/fr/LC_MESSAGES/Behavioral/Command/README.po index c8b58c1..69e10ad 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Command/README.po @@ -3,25 +3,26 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Command/README.rst:2 msgid "`Command`__" -msgstr "" +msgstr "`Command (Commande)`__" #: ../../Behavioral/Command/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Command/README.rst:7 msgid "To encapsulate invocation and decoupling." -msgstr "" +msgstr "Encapsuler l'invocation et le découplage." #: ../../Behavioral/Command/README.rst:9 msgid "" @@ -31,6 +32,11 @@ msgid "" "process the Command of the client. The Receiver is decoupled from the " "Invoker." msgstr "" +"Nous avons un invoker (exécuteur) et un récepteur (receveur). Ce modèle " +"utilise une \"commande\" pour déléguer l'exécution d'une méthode à un récepteur " +"et fournir une méthode \"exécuter\" unifiée. De cette façon, l'exécuteur ne connaît " +"que la méthode \"execute\" pour exécuter la commande. Le récepteur est donc " +"découplé de l'appelant." #: ../../Behavioral/Command/README.rst:15 msgid "" @@ -38,16 +44,22 @@ msgid "" "execute(). Command can also be aggregated to combine more complex commands " "with minimum copy-paste and relying on composition over inheritance." msgstr "" +"Le deuxième aspect de ce modèle est la méthode undo(), qui permet d'annuler " +"l'exécution de la méthode execute(). Les commandes peuvent également être " +"agrégées pour créer des commandes complexes avec une surcharge minimale et " +"par composition (plutôt que par héritage)." #: ../../Behavioral/Command/README.rst:21 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Behavioral/Command/README.rst:23 msgid "" "A text editor : all events are Command which can be undone, stacked and " "saved." msgstr "" +"Un éditeur de texte : tous les événements sont des commandes qui peuvent " +"être annulées, empilées et enregistrées." #: ../../Behavioral/Command/README.rst:27 msgid "" @@ -55,19 +67,22 @@ msgid "" "\"modules\", each of these can be implemented with the Command pattern (e.g." " vagrant)" msgstr "" +"Les outils complexes de la console sont composés de sous-commandes afin de mieux " +"modulariser les tâches. Chacune de ces commandes peut être implémentée comme " +"un modèle de commande (par exemple vagrant)." -#: ../../Behavioral/Command/README.rst:32 +#: ../../Behavioral/Command/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Command/README.rst:39 +#: ../../Behavioral/Command/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Command/README.rst:41 +#: ../../Behavioral/Command/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Command/README.rst:68 +#: ../../Behavioral/Command/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po index 709ea20..2b4d19b 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po @@ -3,39 +3,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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Iterator/README.rst:2 msgid "`Iterator`__" -msgstr "" +msgstr "`Iterator`__" #: ../../Behavioral/Iterator/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Iterator/README.rst:7 msgid "To make an object iterable and to make it appear like a collection of objects." -msgstr "" +msgstr "Rendre un objet itérable et le faire apparaître comme une collection d'objets." #: ../../Behavioral/Iterator/README.rst:11 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../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 "" +"Pour traiter un fichier ligne par ligne en parcourant simplement toutes les " +"lignes (qui ont une représentation objet) d'un fichier (qui est bien sûr un objet aussi)" #: ../../Behavioral/Iterator/README.rst:18 msgid "Note" -msgstr "" +msgstr "Note" #: ../../Behavioral/Iterator/README.rst:20 msgid "" @@ -43,19 +46,23 @@ msgid "" "suited for this! Often you would want to implement the Countable interface " "too, to allow ``count($object)`` on your iterable object" msgstr "" +"La bibliothèque standard de PHP (SPL) définit une interface Iterator qui est " +"la mieux adaptée pour cela ! Souvent vous voudrez implémenter l'interface " +"Countable aussi, pour permettre count($object) sur votre objet itérable." -#: ../../Behavioral/Iterator/README.rst:25 +#: ../../Behavioral/Iterator/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Iterator/README.rst:32 +#: ../../Behavioral/Iterator/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Iterator/README.rst:34 +#: ../../Behavioral/Iterator/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Iterator/README.rst:61 +#: ../../Behavioral/Iterator/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" + diff --git a/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po index 4daedc5..67e72df 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po @@ -3,13 +3,14 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Mediator/README.rst:2 msgid "`Mediator`__" @@ -25,6 +26,9 @@ msgid "" "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 "" +"Ce pattern fournit un moyen facile de découpler de nombreux composants " +"travaillant ensemble. C'est une bonne alternative à Observer SI vous " +"avez une \"intelligence centrale\", comme un contrôleur (mais pas au sens du MVC)." #: ../../Behavioral/Mediator/README.rst:11 msgid "" @@ -32,19 +36,22 @@ msgid "" "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 "" +"Tous les composants (appelés Colleague) sont uniquement couplés à l'interface du " +"Médiateur et c'est une bonne chose car en POO, un bon ami vaut mieux que plusieurs. " +"C'est la caractéristique clé de ce modèle." -#: ../../Behavioral/Mediator/README.rst:16 +#: ../../Behavioral/Mediator/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Mediator/README.rst:23 +#: ../../Behavioral/Mediator/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Mediator/README.rst:25 +#: ../../Behavioral/Mediator/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Mediator/README.rst:64 +#: ../../Behavioral/Mediator/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Memento/README.po b/locale/fr/LC_MESSAGES/Behavioral/Memento/README.po index 4cab022..e70ec0b 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Memento/README.po @@ -1,30 +1,24 @@ -# 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\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" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Memento/README.rst:2 msgid "`Memento`__" -msgstr "" +msgstr "`Memento`__" #: ../../Behavioral/Memento/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Memento/README.rst:7 msgid "" @@ -33,12 +27,16 @@ msgid "" "revealing it's implementation (i.e., the object is not required to have a" " functional for return the current state)." msgstr "" +"Il permet de rétablir l'état précédent d'un objet (annulation par retour en arrière) " +"ou d'accéder à l'état de l'objet, sans révéler son implémentation " +"(c'est-à-dire que l'objet n'est pas obligé d'avoir une fonction pour retourner l'état actuel)." #: ../../Behavioral/Memento/README.rst:12 msgid "" "The memento pattern is implemented with three objects: the Originator, a " "Caretaker and a Memento." msgstr "" +"Le pattern Memento est mis en œuvre avec trois objets : Originator, Caretaker et un Memento." #: ../../Behavioral/Memento/README.rst:15 msgid "" @@ -51,6 +49,13 @@ msgid "" "reference* to the original object. The Memento object is a \"opaque " "object\" (the object that no one can or should change)." msgstr "" +"Memento - Objet contenant *un instantané concret et unique de l'état* de " +"tout objet ou ressource : chaîne de caractères, nombre, tableau, instance de classe, etc. " +"L'unicité dans ce cas n'implique pas l'interdiction de l'existence d'états similaires dans " +"différents instantanés. Cela signifie que l'état peut être extrait en tant que clone indépendant. " +"Tout objet stocké dans le Memento doit être une copie complète de l'objet original plutôt qu'une " +"référence à l'objet original. L'objet Mémento est un \"objet opaque\" " +"(l'objet que personne ne peut ou ne doit modifier)." #: ../../Behavioral/Memento/README.rst:24 msgid "" @@ -63,6 +68,12 @@ msgid "" "type of object. Originator may (but not should) have any methods, but " "they *they can't make changes to the saved object state*." msgstr "" +"Originator - Objet contenant l'état réel d'un objet externe de type strictement spécifié. " +"L'Originator est capable de créer une copie unique de cet état et de la renvoyer enveloppée " +"dans un Memento. L'Originator ne connaît pas l'historique des changements. Vous pouvez définir " +"un état concret pour l'Originator depuis l'extérieur, qui sera considéré comme réel. " +"L'Originator doit s'assurer que l'état donné correspond au type d'objet autorisé. L'Originator peut " +"(mais ne doit pas) avoir des méthodes, mais elles ne peuvent pas modifier l'état de l'objet sauvegardé." #: ../../Behavioral/Memento/README.rst:33 msgid "" @@ -71,125 +82,43 @@ msgid "" "Originator; ask from the Originator snapshot of the current state; or set" " the Originator state to equivalence with some snapshot from history." msgstr "" +"Caretaker - Objet contrôlant l'historique des états. Il peut apporter des " +"modifications à un objet, prendre la décision de sauvegarder l'état d'un objet " +"externe dans l'Originator, demander à l'Originator un instantané de l'état actuel, " +"ou mettre l'état de l'Originator en équivalence avec un instantané de l'histoire." #: ../../Behavioral/Memento/README.rst:39 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Behavioral/Memento/README.rst:41 msgid "The seed of a pseudorandom number generator" -msgstr "" +msgstr "La source d'un générateur de nombres pseudo-aléatoires" #: ../../Behavioral/Memento/README.rst:42 msgid "The state in a finite state machine" -msgstr "" +msgstr "L'état dans une machine à états finis" #: ../../Behavioral/Memento/README.rst:43 msgid "" "Control for intermediate states of `ORM Model " "`_ before saving" msgstr "" +"Contrôle des états intermédiaires du `modèle ORM " +"` avant la sauvegarde" -#: ../../Behavioral/Memento/README.rst:46 +#: ../../Behavioral/Memento/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Memento/README.rst:53 +#: ../../Behavioral/Memento/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Memento/README.rst:55 +#: ../../Behavioral/Memento/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Memento/README.rst:76 +#: ../../Behavioral/Memento/README.rst:85 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 "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po index 4f3f529..3619399 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po @@ -3,39 +3,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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/NullObject/README.rst:2 msgid "`Null Object`__" -msgstr "" +msgstr "`Null Object`__" #: ../../Behavioral/NullObject/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../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 "" +"NullObject n'est pas un patron de conception du GoF mais un schéma qui apparaît " +"suffisamment fréquemment pour être considéré comme un patron. Il présente les avantages suivants :" #: ../../Behavioral/NullObject/README.rst:11 msgid "Client code is simplified" -msgstr "" +msgstr "Le code client est simplifié" #: ../../Behavioral/NullObject/README.rst:12 msgid "Reduces the chance of null pointer exceptions" -msgstr "" +msgstr "Réduit le risque d'exceptions de pointeur ``null``" #: ../../Behavioral/NullObject/README.rst:13 msgid "Fewer conditionals require less test cases" -msgstr "" +msgstr "Moins de conditions exigent moins de cas de test" #: ../../Behavioral/NullObject/README.rst:15 msgid "" @@ -45,35 +48,39 @@ msgid "" "``$obj->callSomething();`` by eliminating the conditional check in client " "code." msgstr "" +"Les méthodes renvoyant un objet ou null devraient plutôt renvoyer un objet ou " +"``NullObject``. Les ``NullObjects`` simplifient le code passe-partout tel que " +"``if (!is_null($obj)) { $obj->callSomething() ; }`` en le remplaçant par ``$obj->callSomething() ; ``" +"en éliminant la vérification conditionnelle dans le code client." #: ../../Behavioral/NullObject/README.rst:22 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../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 "" +msgstr "null logger ou null output pour préserver un mode d'interaction standard entre les objets, même s'ils ne devraient rien faire." #: ../../Behavioral/NullObject/README.rst:26 msgid "null handler in a Chain of Responsibilities pattern" -msgstr "" +msgstr "null handler dans un modèle de chaîne de responsabilités" #: ../../Behavioral/NullObject/README.rst:27 msgid "null command in a Command pattern" -msgstr "" +msgstr "Null command dans un patron Command" -#: ../../Behavioral/NullObject/README.rst:30 +#: ../../Behavioral/NullObject/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/NullObject/README.rst:37 +#: ../../Behavioral/NullObject/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/NullObject/README.rst:39 +#: ../../Behavioral/NullObject/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/NullObject/README.rst:66 +#: ../../Behavioral/NullObject/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po b/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po index ec38f2c..1530ef8 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Observer/README.rst:2 msgid "`Observer`__" -msgstr "" +msgstr "`Observer`__" #: ../../Behavioral/Observer/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Observer/README.rst:7 msgid "" @@ -26,38 +27,43 @@ msgid "" "notified. It is used to shorten the amount of coupled objects and uses loose" " coupling instead." msgstr "" +"Implémenter un comportement de publication/abonnement à un objet, chaque fois qu'un " +"objet \"Sujet\" change d'état, les \"Observateurs\" attachés seront notifiés. Il est " +"utilisé pour réduire le nombre d'objets couplés et utilise plutôt un couplage souple." #: ../../Behavioral/Observer/README.rst:13 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Behavioral/Observer/README.rst:15 msgid "" "a message queue system is observed to show the progress of a job in a GUI" msgstr "" +"un système de file d'attente de messages est observé pour montrer la progression d'un travail dans une interface graphique." #: ../../Behavioral/Observer/README.rst:19 msgid "Note" -msgstr "" +msgstr "Note" #: ../../Behavioral/Observer/README.rst:21 msgid "" "PHP already defines two interfaces that can help to implement this pattern: " "SplObserver and SplSubject." msgstr "" +"PHP définit déjà deux interfaces qui peuvent aider à implémenter ce modèle : SplObserver et SplSubject." -#: ../../Behavioral/Observer/README.rst:25 +#: ../../Behavioral/Observer/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Observer/README.rst:32 +#: ../../Behavioral/Observer/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Observer/README.rst:34 +#: ../../Behavioral/Observer/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Observer/README.rst:49 +#: ../../Behavioral/Observer/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po b/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po index 4f3237e..d403fd2 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Specification/README.rst:2 msgid "`Specification`__" -msgstr "" +msgstr "`Specification`__" #: ../../Behavioral/Specification/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Specification/README.rst:7 msgid "" @@ -30,23 +31,27 @@ msgstr "" #: ../../Behavioral/Specification/README.rst:13 msgid "Examples" msgstr "" +"Construire une spécification claire des règles de gestion, à laquelle les objets peuvent être comparés. " +"La classe de spécification composite possède une méthode appelée ``isSatisfiedBy`` qui renvoie soit vrai " +"soit faux selon que l'objet soit conforme ou non aux règles de gestion." #: ../../Behavioral/Specification/README.rst:15 msgid "`RulerZ `__" msgstr "" -#: ../../Behavioral/Specification/README.rst:18 +#: ../../Behavioral/Specification/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Specification/README.rst:25 +#: ../../Behavioral/Specification/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Specification/README.rst:27 +#: ../../Behavioral/Specification/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Specification/README.rst:72 +#: ../../Behavioral/Specification/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" + diff --git a/locale/fr/LC_MESSAGES/Behavioral/State/README.po b/locale/fr/LC_MESSAGES/Behavioral/State/README.po index c18a2a8..5a4b4b6 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/State/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/State/README.rst:2 msgid "`State`__" -msgstr "" +msgstr "`State`__" #: ../../Behavioral/State/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/State/README.rst:7 msgid "" @@ -25,19 +26,22 @@ msgid "" "state. This can be a cleaner way for an object to change its behavior at " "runtime without resorting to large monolithic conditional statements." msgstr "" +"Encapsule des comportements différents pour la même routine en fonction de l'état de " +"l'objet. Cela peut être un moyen plus propre pour un objet de changer son comportement " +"au moment de l'exécution sans avoir recours à de grandes déclarations conditionnelles monolithiques." -#: ../../Behavioral/State/README.rst:12 +#: ../../Behavioral/State/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/State/README.rst:19 +#: ../../Behavioral/State/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/State/README.rst:21 +#: ../../Behavioral/State/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/State/README.rst:54 +#: ../../Behavioral/State/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po index 8060552..9401f28 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po @@ -3,37 +3,38 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Strategy/README.rst:2 msgid "`Strategy`__" -msgstr "" +msgstr "`Strategy`__" #: ../../Behavioral/Strategy/README.rst:5 msgid "Terminology:" -msgstr "" +msgstr "Terminologie" #: ../../Behavioral/Strategy/README.rst:7 msgid "Context" -msgstr "" +msgstr "Context (Contexte)" #: ../../Behavioral/Strategy/README.rst:8 msgid "Strategy" -msgstr "" +msgstr "Strategy (Stratégie)" #: ../../Behavioral/Strategy/README.rst:9 msgid "Concrete Strategy" -msgstr "" +msgstr "Concrete Strategy (Stratégie concrète)" #: ../../Behavioral/Strategy/README.rst:12 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Strategy/README.rst:14 msgid "" @@ -41,32 +42,36 @@ msgid "" "pattern is a good alternative to inheritance (instead of having an abstract " "class that is extended)." msgstr "" +"Pour séparer les stratégies et permettre un passage rapide de l'une à l'autre. " +"Ce modèle est également une bonne alternative à l'héritage " +"(au lieu d'avoir une classe abstraite qui est dérivée)." #: ../../Behavioral/Strategy/README.rst:19 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Behavioral/Strategy/README.rst:21 msgid "sorting a list of objects, one strategy by date, the other by id" -msgstr "" +msgstr "Trier une liste d'objets, une stratégie par date, l'autre par identifiant" #: ../../Behavioral/Strategy/README.rst:22 msgid "" "simplify unit testing: e.g. switching between file and in-memory storage" msgstr "" +"Simplifier les tests unitaires : par exemple, passer du stockage en fichier au stockage en RAM" -#: ../../Behavioral/Strategy/README.rst:26 +#: ../../Behavioral/Strategy/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Strategy/README.rst:33 +#: ../../Behavioral/Strategy/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Strategy/README.rst:35 +#: ../../Behavioral/Strategy/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Strategy/README.rst:62 +#: ../../Behavioral/Strategy/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po index 3cca2b3..f7d40f6 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -3,25 +3,26 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/TemplateMethod/README.rst:2 msgid "`Template Method`__" -msgstr "" +msgstr "`Template Method`__" #: ../../Behavioral/TemplateMethod/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/TemplateMethod/README.rst:7 msgid "Template Method is a behavioral design pattern." -msgstr "" +msgstr "Template Method est un patron de conception comportemental." #: ../../Behavioral/TemplateMethod/README.rst:9 msgid "" @@ -29,6 +30,9 @@ msgid "" "subclasses of this abstract template \"finish\" the behavior of an " "algorithm." msgstr "" +"Vous l'avez peut-être déjà rencontré à plusieurs reprises. L'idée est de " +"laisser les classes dérivées de ce template abstrait \"finaliser\" le " +"comportement d'un algorithme." #: ../../Behavioral/TemplateMethod/README.rst:13 msgid "" @@ -36,6 +40,9 @@ msgid "" "class is not called by subclasses but the inverse. How? With abstraction of " "course." msgstr "" +"Par exemple, le \"Hollywood principle\" : \"Ne nous appelez pas, nous vous appelons.\" " +"Cette classe n'est pas appelée par la classe dérivée, mais au contraire. Cela se fait " +"par le biais d'une abstraction." #: ../../Behavioral/TemplateMethod/README.rst:17 msgid "" @@ -43,25 +50,29 @@ msgid "" "libraries. The user has just to implement one method and the superclass do " "the job." msgstr "" +"En d'autres termes, il s'agit d'un squelette d'algorithme, bien adapté aux librairies " +"de frameworks. L'utilisateur n'a qu'à implémenter une méthode et la classe parente fait le travail." #: ../../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 "" +"C'est un moyen facile de découpler les classes concrètes et de réduire le copier-coller, " +"c'est pourquoi vous le trouverez partout." -#: ../../Behavioral/TemplateMethod/README.rst:25 +#: ../../Behavioral/TemplateMethod/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/TemplateMethod/README.rst:32 +#: ../../Behavioral/TemplateMethod/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/TemplateMethod/README.rst:34 +#: ../../Behavioral/TemplateMethod/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/TemplateMethod/README.rst:55 +#: ../../Behavioral/TemplateMethod/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po index 50f3b70..31c3938 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Visitor/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Behavioral/Visitor/README.rst:2 msgid "`Visitor`__" -msgstr "" +msgstr "`Visitor`__" #: ../../Behavioral/Visitor/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Visitor/README.rst:7 msgid "" @@ -26,6 +27,10 @@ msgid "" " classes have to define a contract to allow visitors (the ``Role::accept`` " "method in the example)." msgstr "" +"Le pattern Visitor vous permet de sous-traiter des opérations sur des objets à " +"d'autres objets. La principale raison de faire cela est de maintenir une séparation " +"des préoccupations. Mais les classes doivent définir un contrat pour autoriser " +"les visiteurs (la méthode ``Role::accept`` dans l'exemple)." #: ../../Behavioral/Visitor/README.rst:12 msgid "" @@ -33,19 +38,22 @@ msgid "" "In that case, each Visitor has to choose itself which method to invoke on " "the visitor." msgstr "" +"Le contrat est une classe abstraite mais vous pouvez aussi avoir une interface " +"propre. Dans ce cas, chaque visiteur doit choisir lui-même la méthode à invoquer " +"sur le visiteur." -#: ../../Behavioral/Visitor/README.rst:17 +#: ../../Behavioral/Visitor/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Behavioral/Visitor/README.rst:24 +#: ../../Behavioral/Visitor/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Behavioral/Visitor/README.rst:26 +#: ../../Behavioral/Visitor/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Behavioral/Visitor/README.rst:59 +#: ../../Behavioral/Visitor/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Builder/README.po b/locale/fr/LC_MESSAGES/Creational/Builder/README.po index 38c31eb..0c7a4a2 100644 --- a/locale/fr/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Builder/README.po @@ -22,8 +22,7 @@ msgstr "Rôle" #: ../../Creational/Builder/README.rst:7 msgid "Builder is an interface that build parts of a complex object." -msgstr "" -"Un builder est une interface permettant de construire certaines parties d'un objet complexe." +msgstr "Un builder est une interface permettant de construire certaines parties d'un objet complexe." #: ../../Creational/Builder/README.rst:9 msgid "" @@ -57,18 +56,18 @@ msgstr "Exemples" msgid "PHPUnit: Mock Builder" msgstr "PHPUnit: Mock Builder" -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Creational/Builder/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Creational/Builder/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Creational/Builder/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Creational/Builder/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po index bfaf7eb..6d5ec42 100644 --- a/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/fr/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -25,11 +25,12 @@ msgid "" "The good point over the SimpleFactory is you can subclass it to implement " "different ways to create objects" msgstr "" -"" +"L'avantage de FactoryMethod sur SimpleFactory est que le factory " +"peut être dérivée afin de mettre oeuvres différentes façons de créer un objet." #: ../../Creational/FactoryMethod/README.rst:10 msgid "For simple case, this abstract class could be just an interface" -msgstr "" +msgstr "Pour les cas simples, cette classe abstraite peut être une simple interface." #: ../../Creational/FactoryMethod/README.rst:12 msgid "" @@ -46,21 +47,21 @@ msgid "" "classes. This is the real trick compared to SimpleFactory or StaticFactory." msgstr "" "Cela signifie que FactoryMethod dépend d'abstractions et non de " -"classes concrètes. C'est son principal avantange par rapport à SimpleFactory ou " +"classes concrètes. C'est son principal avantage par rapport à SimpleFactory ou " "StaticFactory." -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Creational/FactoryMethod/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Creational/FactoryMethod/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Creational/FactoryMethod/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Creational/FactoryMethod/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Pool/README.po b/locale/fr/LC_MESSAGES/Creational/Pool/README.po index 527acb7..e521823 100644 --- a/locale/fr/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Pool/README.po @@ -60,18 +60,18 @@ msgstr "Toutefois, ces avantages s'appliquent surtout aux objets qui sont coûte "aucune ressource externe, mais occupent seulement la mémoire) peut ne pas être efficace " "et pourrait diminuer les performances." -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Creational/Pool/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Creational/Pool/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Creational/Pool/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Creational/Pool/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Prototype/README.po b/locale/fr/LC_MESSAGES/Creational/Prototype/README.po index 1664ccb..d08c910 100644 --- a/locale/fr/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Prototype/README.po @@ -39,18 +39,18 @@ msgstr "" "Grandes quantités de données (par exemple, créer 1 000 000 de lignes dans une " "base de données en une seule fois via un ORM)." -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Creational/Prototype/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Creational/Prototype/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Creational/Prototype/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Creational/Prototype/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po index ac46790..ea40a6b 100644 --- a/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -22,7 +22,7 @@ msgstr "Rôle" #: ../../Creational/SimpleFactory/README.rst:7 msgid "SimpleFactory is a simple factory pattern." -msgstr "SimpleFactory est un modèle de factory simple." +msgstr "SimpleFactory est un pattern Factory simple." #: ../../Creational/SimpleFactory/README.rst:9 msgid "" @@ -36,22 +36,22 @@ msgid "" "Therefore, you can have multiple factories, differently parametrized, you " "can subclass it and you can mock-up it." msgstr "" -"Par conséquent, vous pouvez avoir plusieurs factory paramétrées différemment, vous " +"Par conséquent, vous pouvez avoir plusieurs factory paramétrés différemment, vous " "pouvez les dériver et vous pouvez les mocker. " "SimpleFactory doit toujours être préférée à StaticFactory !" -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Creational/SimpleFactory/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Creational/SimpleFactory/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Creational/SimpleFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Creational/SimpleFactory/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/Singleton/README.po b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po index 219658e..6dbcea0 100644 --- a/locale/fr/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po @@ -53,18 +53,18 @@ msgstr "" msgid "Lock file for the application (there is only one in the filesystem ...)" msgstr "Fichier de verrouillage pour l'application (il n'y en a qu'un seul dans le système de fichiers ...)" -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Creational/Singleton/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Creational/Singleton/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Creational/Singleton/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Creational/Singleton/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po index 3f2c1b9..67af8e8 100644 --- a/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po @@ -28,24 +28,24 @@ msgid "" "method to create all types of objects it can create. It is usually named " "``factory`` or ``build``." msgstr "" -"Similaire à l'AbstractFactory, ce pattern est utilisé pour créer des séries d'objets " +"Similaire à AbstractFactory, ce pattern est utilisé pour créer des séries d'objets " "liés ou dépendants. La différence entre ce modèle et le modèle AbstractFactory " "est que StaticFactory utilise une seule méthode statique pour créer tous les " "types d'objets qu'il peut créer. " - "Cette méthode est généralement nommée ``factory`` ou ``build``." +"Cette méthode est généralement nommée ``factory`` ou ``build``." -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Creational/StaticFactory/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Creational/StaticFactory/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Creational/StaticFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Creational/StaticFactory/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Adapter/README.po b/locale/fr/LC_MESSAGES/Structural/Adapter/README.po index 227fa2a..af0bd8b 100644 --- a/locale/fr/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Adapter/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Adapter/README.rst:2 msgid "`Adapter / Wrapper`__" -msgstr "" +msgstr "`Adapter / Wrapper`__" #: ../../Structural/Adapter/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Adapter/README.rst:7 msgid "" @@ -26,10 +27,13 @@ msgid "" "incompatible interfaces by providing its interface to clients while using " "the original interface." msgstr "" +"Adapter permet de convertir l'interface d'une classe en une autre interface attendue. " +"Il fait fonctionner ensemble des classes qui n'auraient pas pu fonctionner sans lui, à cause d'une " +"incompatibilité d'interfaces" #: ../../Structural/Adapter/README.rst:13 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Structural/Adapter/README.rst:15 msgid "DB Client libraries adapter" @@ -40,19 +44,21 @@ msgid "" "using multiple different webservices and adapters normalize data so that the" " outcome is the same for all" msgstr "" +"Lors de l'utilisation de plusieurs services Web, les adaptateurs permettent de " +"normaliser les données afin que le résultat soit le même pour tous." + +#: ../../Structural/Adapter/README.rst:13 +msgid "UML Diagram" +msgstr "Diagramme UML" #: ../../Structural/Adapter/README.rst:20 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Adapter/README.rst:27 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Adapter/README.rst:29 +#: ../../Structural/Adapter/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Adapter/README.rst:62 +#: ../../Structural/Adapter/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Bridge/README.po b/locale/fr/LC_MESSAGES/Structural/Bridge/README.po index 7e8073a..2740596 100644 --- a/locale/fr/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Bridge/README.po @@ -3,40 +3,41 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Bridge/README.rst:2 msgid "`Bridge`__" -msgstr "" +msgstr "`Bridge (Pont)`__" #: ../../Structural/Bridge/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Bridge/README.rst:7 msgid "" "Decouple an abstraction from its implementation so that the two can vary " "independently." -msgstr "" +msgstr "Découpler une abstraction de son implémentation afin que les deux puissent varier indépendamment." -#: ../../Structural/Bridge/README.rst:17 +#: ../../Structural/Bridge/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/Bridge/README.rst:24 +#: ../../Structural/Bridge/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Bridge/README.rst:26 +#: ../../Structural/Bridge/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Bridge/README.rst:65 +#: ../../Structural/Bridge/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" \ No newline at end of file diff --git a/locale/fr/LC_MESSAGES/Structural/Composite/README.po b/locale/fr/LC_MESSAGES/Structural/Composite/README.po index ac2fd6d..fd79773 100644 --- a/locale/fr/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Composite/README.po @@ -3,30 +3,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: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Composite/README.rst:2 msgid "`Composite`__" -msgstr "" +msgstr "`Composite`__" #: ../../Structural/Composite/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Composite/README.rst:7 msgid "" "To treat a group of objects the same way as a single instance of the object." msgstr "" +"Traiter un groupe d'objets de la même manière qu'une seule instance d'un objet." #: ../../Structural/Composite/README.rst:11 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Structural/Composite/README.rst:13 msgid "" @@ -34,19 +36,22 @@ msgid "" "of the form, when ``render()`` is called, it subsequently runs through all " "its child elements and calls ``render()`` on them" msgstr "" +"Une instance de classe de formulaire traitant tous ses éléments de formulaire " +"comme une seule instance du formulaire. Lorsque ``render()`` est appelé, il passe " +"ensuite par tous ses éléments enfants et appelle ``render()`` sur eux." -#: ../../Structural/Composite/README.rst:20 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/Composite/README.rst:27 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Composite/README.rst:29 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Composite/README.rst:56 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po b/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po index 7045650..d99ac5e 100644 --- a/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/DataMapper/README.rst:2 msgid "`Data Mapper`__" -msgstr "" +msgstr "Data Mapper" #: ../../Structural/DataMapper/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/DataMapper/README.rst:7 msgid "" @@ -31,35 +32,46 @@ msgid "" "many different domain entity types, dedicated mappers will handle one or a " "few." msgstr "" +"Un Data Mapper est une couche d'accès aux données qui effectue un transfert bidirectionnel " +"de données entre un stockage de données permanent (souvent une base de données relationnelle) et " +"une représentation de données en mémoire (la couche de domaine). L'objectif de ce modèle est de " +"faire en sorte que la représentation en mémoire et le stock de données permanent soient indépendants " +"l'un de l'autre et du Data Mapper lui-même. La couche est composée d'un ou plusieurs mappeurs " +"(ou objets d'accès aux données), qui effectuent le transfert de données. Les mappeurs génériques " +"traiteront de nombreux types d'entités de domaine différents, les mappeurs spécialisés " +"n'en traiteront qu'un ou quelques-uns." #: ../../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 "" +"Le point clé de ce modèle est que, contrairement au modèle [Active Record](https://en.wikipedia.org/wiki/Active_record_pattern), " +"le modèle de données suit le principe de responsabilité unique." #: ../../Structural/DataMapper/README.rst:21 msgid "Examples" -msgstr "" +msgstr "Examples" #: ../../Structural/DataMapper/README.rst:23 msgid "" "DB Object Relational Mapper (ORM) : Doctrine2 uses DAO named as " "\"EntityRepository\"" msgstr "" +"DB Object Relational Mapper (ORM) : Doctrine2 utilise un DAO nommé \"EntityRepository\"." -#: ../../Structural/DataMapper/README.rst:27 +#: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/DataMapper/README.rst:34 +#: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/DataMapper/README.rst:36 +#: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/DataMapper/README.rst:51 +#: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Decorator/README.po b/locale/fr/LC_MESSAGES/Structural/Decorator/README.po index 96909fc..9878ddf 100644 --- a/locale/fr/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Decorator/README.po @@ -3,25 +3,26 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Decorator/README.rst:2 msgid "`Decorator`__" -msgstr "" +msgstr "`Decorator (Décorateur)`__" #: ../../Structural/Decorator/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Decorator/README.rst:7 msgid "To dynamically add new functionality to class instances." -msgstr "" +msgstr "Ajoute dynamiquement de nouvelles fonctionnalités aux instances de classe." #: ../../Structural/Decorator/README.rst:10 msgid "Examples" @@ -32,19 +33,21 @@ 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 "" +"Couche de service web : Décorateurs JSON et XML pour un service REST " +"(dans ce cas, un seul d'entre eux doit être autorisé bien sûr)" -#: ../../Structural/Decorator/README.rst:17 +#: ../../Structural/Decorator/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/Decorator/README.rst:24 +#: ../../Structural/Decorator/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Decorator/README.rst:26 +#: ../../Structural/Decorator/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Decorator/README.rst:59 +#: ../../Structural/Decorator/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po index 176b75c..0c9bf2a 100644 --- a/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -3,27 +3,30 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/DependencyInjection/README.rst:2 msgid "`Dependency Injection`__" -msgstr "" +msgstr "Dependency Injection (Injection de dépendance)" #: ../../Structural/DependencyInjection/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/DependencyInjection/README.rst:7 msgid "" "To implement a loosely coupled architecture in order to get better testable," " maintainable and extendable code." msgstr "" +"Implémenter une architecture faiblement couplée afin d'obtenir une meilleur " +"testabilité, maintenabilité et extensibilité du code." #: ../../Structural/DependencyInjection/README.rst:11 msgid "Usage" @@ -31,25 +34,18 @@ 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 " -"`__." +"``DatabaseConfiguration`` gets injected and ``DatabaseConnection`` will get all that it " +"needs from ``$config``. Without DI, the configuration would be created " +"directly in ``DatabaseConnection``, which is not very good for testing and " +"extending it." msgstr "" +"``DatabaseConfiguration`` est injectée et ``DatabaseConnection`` obtiendra tout ce dont " +"elle a besoin à partir de ``$config``. Sans DI, la configuration serait créée directement " +"dans ``DatabaseConnection``, ce qui n'est pas très bon pour les tests et les extensions." #: ../../Structural/DependencyInjection/README.rst:26 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Structural/DependencyInjection/README.rst:28 msgid "" @@ -58,6 +54,9 @@ msgid "" "create a mock object of the configuration and inject that into the " "``Connection`` object" msgstr "" +"L'ORM Doctrine2 utilise l'injection de dépendances, par exemple pour la configuration " +"qui est injectée dans un objet ``Connection``. À des fins de test, on peut facilement " +"créer un objet fantaisie de la configuration et l'injecter dans l'objet ``Connection``." #: ../../Structural/DependencyInjection/README.rst:32 msgid "" @@ -65,19 +64,21 @@ msgid "" "objects via a configuration array and inject them where needed (i.e. in " "Controllers)" msgstr "" +"De nombreux frameworks disposent déjà de conteneurs pour DI qui créent des objets via un " +"tableau de configuration et les injectent là où c'est nécessaire (c'est-à-dire dans les contrôleurs)." -#: ../../Structural/DependencyInjection/README.rst:37 +#: ../../Structural/DependencyInjection/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/DependencyInjection/README.rst:44 +#: ../../Structural/DependencyInjection/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/DependencyInjection/README.rst:46 +#: ../../Structural/DependencyInjection/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/DependencyInjection/README.rst:73 +#: ../../Structural/DependencyInjection/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Facade/README.po b/locale/fr/LC_MESSAGES/Structural/Facade/README.po index f848d3c..3b8efe2 100644 --- a/locale/fr/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Facade/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Facade/README.rst:2 msgid "`Facade`__" -msgstr "" +msgstr "`Facade`__" #: ../../Structural/Facade/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Facade/README.rst:7 msgid "" @@ -25,20 +26,25 @@ msgid "" "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 "" +"L'objectif premier d'un modèle de façade n'est pas de vous éviter de devoir lire " +"le manuel d'une API complexe. Ce n'est qu'un effet secondaire. Le premier objectif " +"est de réduire le couplage et de suivre la loi de Déméter." #: ../../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 "" +"Une façade est destinée à découpler un client et un système secondaire en intégrant " +"plusieurs (ou parfois une seule) interfaces, et bien sûr à réduire la complexité." #: ../../Structural/Facade/README.rst:15 msgid "A facade does not forbid you the access to the sub-system" -msgstr "" +msgstr "Une façade ne vous interdit pas l'accès au sous-système." #: ../../Structural/Facade/README.rst:16 msgid "You can (you should) have multiple facades for one sub-system" -msgstr "" +msgstr "Vous pouvez (vous devriez) avoir plusieurs façades pour un seul sous-système." #: ../../Structural/Facade/README.rst:18 msgid "" @@ -46,6 +52,9 @@ msgid "" "creations for each method, it is not a Facade, it's a Builder or a " "[Abstract\\|Static\\|Simple] Factory [Method]." msgstr "" +"C'est pourquoi une bonne façade n'a pas de ``new``. S'il y a plusieurs créations " +"pour chaque méthode, ce n'est pas une façade, c'est un constructeur ou une [méthode] " +"d'usine [abstraite|statique|simple]." #: ../../Structural/Facade/README.rst:22 msgid "" @@ -53,19 +62,22 @@ msgid "" "parameters. If you need creation of new instances, use a Factory as " "argument." msgstr "" +"La meilleure façade n'a pas de ``new`` et un constructeur avec des paramètres indiquant " +"le type d'interface. Si vous avez besoin de créer de nouvelles instances, utilisez un " +"Factory comme argument." -#: ../../Structural/Facade/README.rst:27 +#: ../../Structural/Facade/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/Facade/README.rst:34 +#: ../../Structural/Facade/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Facade/README.rst:36 +#: ../../Structural/Facade/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Facade/README.rst:57 +#: ../../Structural/Facade/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po index cf41721..cdd01ae 100644 --- a/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po @@ -3,52 +3,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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/FluentInterface/README.rst:2 msgid "`Fluent Interface`__" -msgstr "" +msgstr "`Fluent Interface (Désignation chaînée)`__" #: ../../Structural/FluentInterface/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/FluentInterface/README.rst:7 msgid "" "To write code that is easy readable just like sentences in a natural " "language (like English)." msgstr "" +"Écrire du code qui soit facilement lisible, tout comme les phrases d'une " +"langue naturelle (comme l'anglais)." #: ../../Structural/FluentInterface/README.rst:11 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Structural/FluentInterface/README.rst:13 msgid "Doctrine2's QueryBuilder works something like that example class below" -msgstr "" +msgstr "Le QueryBuilder de Doctrine2 fonctionne comme la classe d'exemple ci-dessous." #: ../../Structural/FluentInterface/README.rst:15 msgid "PHPUnit uses fluent interfaces to build mock objects" -msgstr "" +msgstr "PHPUnit utilise Fluent Interface pour construire des mocks." -#: ../../Structural/FluentInterface/README.rst:19 +#: ../../Structural/FluentInterface/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/FluentInterface/README.rst:26 +#: ../../Structural/FluentInterface/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/FluentInterface/README.rst:28 +#: ../../Structural/FluentInterface/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/FluentInterface/README.rst:37 +#: ../../Structural/FluentInterface/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Flyweight/README.po b/locale/fr/LC_MESSAGES/Structural/Flyweight/README.po index fb2bc3d..4a8a161 100644 --- a/locale/fr/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Flyweight/README.po @@ -1,30 +1,24 @@ -# 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\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" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Flyweight/README.rst:2 msgid "`Flyweight`__" -msgstr "" +msgstr "`Flyweight`__" #: ../../Structural/Flyweight/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Flyweight/README.rst:7 msgid "" @@ -34,20 +28,25 @@ msgid "" "external data structures and pass them to the flyweight object when " "needed." msgstr "" +"Pour minimiser l'utilisation de la mémoire, un Flyweight partage autant que possible " +"la mémoire avec des objets similaires. Cela est nécessaire lorsqu'on utilise un grand " +"nombre d'objets dont l'état ne diffère pas beaucoup. Une pratique courante consiste à " +"conserver l'état dans des structures de données externes et à les transmettre à l'objet " +"Flyweight en cas de besoin." -#: ../../Structural/Flyweight/README.rst:12 +#: ../../Structural/Flyweight/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/Flyweight/README.rst:19 +#: ../../Structural/Flyweight/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Flyweight/README.rst:21 +#: ../../Structural/Flyweight/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Flyweight/README.rst:42 +#: ../../Structural/Flyweight/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Proxy/README.po b/locale/fr/LC_MESSAGES/Structural/Proxy/README.po index 7941261..bd3bfae 100644 --- a/locale/fr/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Proxy/README.po @@ -3,29 +3,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: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Proxy/README.rst:2 msgid "`Proxy`__" -msgstr "" +msgstr "`Proxy`__" #: ../../Structural/Proxy/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Proxy/README.rst:7 msgid "To interface to anything that is expensive or impossible to duplicate." msgstr "" +"Créer une interface pour interagir avec toute classe qu'il est difficile " +"ou impossible d'utiliser dans sa forme originale." #: ../../Structural/Proxy/README.rst:10 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Structural/Proxy/README.rst:12 msgid "" @@ -33,19 +36,22 @@ msgid "" "initialization) in them, while the user still works with his own entity " "classes and will never use nor touch the proxies" msgstr "" +"Doctrine2 utilise des proxies pour y implémenter la magie du framework " +"(e.g. lazy initialization), tandis que l'utilisateur travaille toujours avec " +"ses propres entités et n'utilisera ni ne touchera jamais les proxies" -#: ../../Structural/Proxy/README.rst:17 +#: ../../Structural/Proxy/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/Proxy/README.rst:24 +#: ../../Structural/Proxy/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Proxy/README.rst:26 +#: ../../Structural/Proxy/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Proxy/README.rst:41 +#: ../../Structural/Proxy/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Registry/README.po b/locale/fr/LC_MESSAGES/Structural/Registry/README.po index 878caf3..2349a55 100644 --- a/locale/fr/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Registry/README.po @@ -3,21 +3,22 @@ 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../Structural/Registry/README.rst:2 msgid "`Registry`__" -msgstr "" +msgstr "`Registry`__" #: ../../Structural/Registry/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Structural/Registry/README.rst:7 msgid "" @@ -25,23 +26,24 @@ msgid "" "application, is typically implemented using an abstract class with only " "static methods (or using the Singleton pattern)" msgstr "" +"Mettre en œuvre un stockage central pour les objets souvent utilisés dans " +"l'application, on utilise généralement une classe abstraite avec uniquement " +"des méthodes statiques (ou en utilisant le modèle Singleton). N'oubliez pas " +"que cela introduit un état global, ce qui doit être évité à tout moment ! " +"Implémentez-le plutôt en utilisant l'injection de dépendances !" -#: ../../Structural/Registry/README.rst:12 -msgid "Examples" -msgstr "" - -#: ../../Structural/Registry/README.rst:20 +#: ../../Structural/Proxy/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../Structural/Registry/README.rst:27 +#: ../../Structural/Proxy/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../Structural/Registry/README.rst:29 +#: ../../Structural/Proxy/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Structural/Registry/README.rst:38 +#: ../../Structural/Proxy/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" From 2ca254665d8feb72b91187567d3b1ad7894ac289 Mon Sep 17 00:00:00 2001 From: thetechnicalchallenge Date: Sun, 14 Mar 2021 10:16:44 +0100 Subject: [PATCH 11/11] Final review --- .../ChainOfResponsibilities/README.po | 10 ++-- .../LC_MESSAGES/Behavioral/Command/README.po | 10 ++-- .../LC_MESSAGES/Behavioral/Iterator/README.po | 4 +- .../LC_MESSAGES/Behavioral/Mediator/README.po | 4 +- .../Behavioral/NullObject/README.po | 6 +-- .../LC_MESSAGES/Behavioral/Observer/README.po | 2 +- .../Behavioral/Specification/README.po | 10 ++-- .../LC_MESSAGES/Behavioral/Strategy/README.po | 6 +-- .../Creational/AbstractFactory/README.po | 2 +- .../LC_MESSAGES/Creational/Builder/README.po | 2 +- .../fr/LC_MESSAGES/Creational/Pool/README.po | 3 +- .../Creational/SimpleFactory/README.po | 2 +- .../Creational/Singleton/README.po | 2 +- .../Creational/StaticFactory/README.po | 2 +- locale/fr/LC_MESSAGES/More/EAV/README.po | 45 +++++++++-------- .../fr/LC_MESSAGES/More/Repository/README.po | 34 ++++++++----- .../LC_MESSAGES/More/ServiceLocator/README.po | 49 ++++++++++++++----- locale/fr/LC_MESSAGES/README.po | 6 +-- .../LC_MESSAGES/Structural/Bridge/README.po | 5 +- .../Structural/Composite/README.po | 10 ++-- .../Structural/DataMapper/README.po | 12 ++--- .../Structural/Decorator/README.po | 4 +- .../Structural/DependencyInjection/README.po | 12 ++--- .../LC_MESSAGES/Structural/Facade/README.po | 2 +- .../Structural/FluentInterface/README.po | 2 +- 25 files changed, 141 insertions(+), 105 deletions(-) diff --git a/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index c92d9b3..4750ab9 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -14,11 +14,11 @@ msgstr "" #: ../../Behavioral/ChainOfResponsibilities/README.rst:2 msgid "`Chain Of Responsibilities`__" -msgstr "" +msgstr "`Chain Of Responsibilities`__" #: ../../Behavioral/ChainOfResponsibilities/README.rst:5 msgid "Purpose:" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/ChainOfResponsibilities/README.rst:7 msgid "" @@ -44,15 +44,15 @@ msgstr "" #: ../../Behavioral/ChainOfResponsibilities/README.rst:16 msgid "a Spam filter" -msgstr "filtre anti-spam" +msgstr "Filtre anti-spam" #: ../../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 "" -"Mise en cache : le premier objet est une instance d'une interface Memcached, " -"par exemple, et s'il \"manque\", il délègue l'appel à l'interface de base de données." +"Mise en cache : le premier objet est, par exemple, une instance d'une interface Memcached, " +"s'il \"manque\", il délègue l'appel à l'interface de base de données." #: ../../Behavioral/ChainOfResponsibilities/README.rst:13 msgid "UML Diagram" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Command/README.po b/locale/fr/LC_MESSAGES/Behavioral/Command/README.po index 69e10ad..6300553 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Command/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Behavioral/Command/README.rst:2 msgid "`Command`__" -msgstr "`Command (Commande)`__" +msgstr "`Command`__" #: ../../Behavioral/Command/README.rst:5 msgid "Purpose" @@ -32,9 +32,9 @@ msgid "" "process the Command of the client. The Receiver is decoupled from the " "Invoker." msgstr "" -"Nous avons un invoker (exécuteur) et un récepteur (receveur). Ce modèle " +"Nous avons un Invoker (exécuteur) et un Receiver (récepteur). Ce modèle " "utilise une \"commande\" pour déléguer l'exécution d'une méthode à un récepteur " -"et fournir une méthode \"exécuter\" unifiée. De cette façon, l'exécuteur ne connaît " +"et fournir une méthode \"execute\" unifiée. De cette façon, l'exécuteur ne connaît " "que la méthode \"execute\" pour exécuter la commande. Le récepteur est donc " "découplé de l'appelant." @@ -44,8 +44,8 @@ msgid "" "execute(). Command can also be aggregated to combine more complex commands " "with minimum copy-paste and relying on composition over inheritance." msgstr "" -"Le deuxième aspect de ce modèle est la méthode undo(), qui permet d'annuler " -"l'exécution de la méthode execute(). Les commandes peuvent également être " +"Le deuxième aspect de ce modèle est la méthode ``undo()``, qui permet d'annuler " +"l'exécution de la méthode ``execute()``. Les commandes peuvent également être " "agrégées pour créer des commandes complexes avec une surcharge minimale et " "par composition (plutôt que par héritage)." diff --git a/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po index 2b4d19b..91c3389 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Iterator/README.po @@ -33,8 +33,8 @@ 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 "" -"Pour traiter un fichier ligne par ligne en parcourant simplement toutes les " -"lignes (qui ont une représentation objet) d'un fichier (qui est bien sûr un objet aussi)" +"Si un fichier et chacune de ses lignes sont représentées sous form d'objet, " +"Iterator permet de parcourir le fichier." #: ../../Behavioral/Iterator/README.rst:18 msgid "Note" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po index 67e72df..769b950 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Mediator/README.po @@ -14,11 +14,11 @@ msgstr "" #: ../../Behavioral/Mediator/README.rst:2 msgid "`Mediator`__" -msgstr "" +msgstr "`Mediator`__" #: ../../Behavioral/Mediator/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../Behavioral/Mediator/README.rst:7 msgid "" diff --git a/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po index 3619399..64e0d1f 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/NullObject/README.po @@ -58,12 +58,12 @@ msgid "Examples" msgstr "Exemples" #: ../../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 "null logger ou null output pour préserver un mode d'interaction standard entre les objets, même s'ils ne devraient rien faire." +msgid "null logger or null output to preserve a standard way of interaction between objects, even if the shouldn't do anything" +msgstr "Null logger ou null output pour préserver un mode d'interaction standard entre les objets, même s'ils ne devraient rien faire." #: ../../Behavioral/NullObject/README.rst:26 msgid "null handler in a Chain of Responsibilities pattern" -msgstr "null handler dans un modèle de chaîne de responsabilités" +msgstr "Null handler dans un modèle de chaîne de responsabilités" #: ../../Behavioral/NullObject/README.rst:27 msgid "null command in a Command pattern" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po b/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po index 1530ef8..271a24a 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Observer/README.po @@ -39,7 +39,7 @@ msgstr "Exemples" msgid "" "a message queue system is observed to show the progress of a job in a GUI" msgstr "" -"un système de file d'attente de messages est observé pour montrer la progression d'un travail dans une interface graphique." +"Un système de file d'attente de messages est observé pour montrer la progression d'un travail dans une interface graphique." #: ../../Behavioral/Observer/README.rst:19 msgid "Note" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po b/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po index d403fd2..e215b9f 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Specification/README.po @@ -27,17 +27,17 @@ msgid "" "``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 "" "Construire une spécification claire des règles de gestion, à laquelle les objets peuvent être comparés. " "La classe de spécification composite possède une méthode appelée ``isSatisfiedBy`` qui renvoie soit vrai " "soit faux selon que l'objet soit conforme ou non aux règles de gestion." +#: ../../Behavioral/Specification/README.rst:13 +msgid "Examples" +msgstr "Exemples" + #: ../../Behavioral/Specification/README.rst:15 msgid "`RulerZ `__" -msgstr "" +msgstr "`RulerZ `__" #: ../../Behavioral/Specification/README.rst:13 msgid "UML Diagram" diff --git a/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po index 9401f28..b8b4616 100644 --- a/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/fr/LC_MESSAGES/Behavioral/Strategy/README.po @@ -22,15 +22,15 @@ msgstr "Terminologie" #: ../../Behavioral/Strategy/README.rst:7 msgid "Context" -msgstr "Context (Contexte)" +msgstr "Context" #: ../../Behavioral/Strategy/README.rst:8 msgid "Strategy" -msgstr "Strategy (Stratégie)" +msgstr "Strategy" #: ../../Behavioral/Strategy/README.rst:9 msgid "Concrete Strategy" -msgstr "Concrete Strategy (Stratégie concrète)" +msgstr "Concrete Strategy" #: ../../Behavioral/Strategy/README.rst:12 msgid "Purpose" diff --git a/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po index aa1eaf0..0db2a9d 100644 --- a/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Creational/AbstractFactory/README.rst:2 msgid "`Abstract Factory`__" -msgstr "`Abstract Factory (Fabrique abstraite)`__" +msgstr "`Abstract Factory`__" #: ../../Creational/AbstractFactory/README.rst:5 msgid "Purpose" diff --git a/locale/fr/LC_MESSAGES/Creational/Builder/README.po b/locale/fr/LC_MESSAGES/Creational/Builder/README.po index 0c7a4a2..a99d2f4 100644 --- a/locale/fr/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Builder/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Creational/Builder/README.rst:2 msgid "`Builder`__" -msgstr "`Builder (Monteur)`__" +msgstr "`Builder`__" #: ../../Creational/Builder/README.rst:5 msgid "Purpose" diff --git a/locale/fr/LC_MESSAGES/Creational/Pool/README.po b/locale/fr/LC_MESSAGES/Creational/Pool/README.po index e521823..d501d38 100644 --- a/locale/fr/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Pool/README.po @@ -53,7 +53,8 @@ msgid "" "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 "Toutefois, ces avantages s'appliquent surtout aux objets qui sont coûteux " +msgstr "" +"Toutefois, ces avantages s'appliquent surtout aux objets qui sont coûteux " "en temps, tels que les connexions aux bases de données, les connexions aux sockets, " "les threads et les gros objets graphiques comme les polices ou les bitmaps. " "Dans certaines situations, la mise en commun d'objets simples (qui ne détiennent " diff --git a/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po index ea40a6b..bd22a19 100644 --- a/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Creational/SimpleFactory/README.rst:2 msgid "Simple Factory" -msgstr "Simple Factory (Fabrique simple)" +msgstr "Simple Factory" #: ../../Creational/SimpleFactory/README.rst:5 msgid "Purpose" diff --git a/locale/fr/LC_MESSAGES/Creational/Singleton/README.po b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po index 6dbcea0..cc92887 100644 --- a/locale/fr/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/fr/LC_MESSAGES/Creational/Singleton/README.po @@ -51,7 +51,7 @@ msgstr "" #: ../../Creational/Singleton/README.rst:19 msgid "Lock file for the application (there is only one in the filesystem ...)" -msgstr "Fichier de verrouillage pour l'application (il n'y en a qu'un seul dans le système de fichiers ...)" +msgstr "Fichier de verrouillage pour l'application (il n'y en a qu'un seul dans le système de fichiers...)" #: ../../Creational/Singleton/README.rst:13 msgid "UML Diagram" diff --git a/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po index 67af8e8..1b5745b 100644 --- a/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/fr/LC_MESSAGES/Creational/StaticFactory/README.po @@ -18,7 +18,7 @@ msgstr "Static Factory" #: ../../Creational/StaticFactory/README.rst:5 msgid "Purpose" -msgstr "Proposito" +msgstr "Rôle" #: ../../Creational/StaticFactory/README.rst:7 msgid "" diff --git a/locale/fr/LC_MESSAGES/More/EAV/README.po b/locale/fr/LC_MESSAGES/More/EAV/README.po index f305f0a..fb05d4b 100644 --- a/locale/fr/LC_MESSAGES/More/EAV/README.po +++ b/locale/fr/LC_MESSAGES/More/EAV/README.po @@ -1,36 +1,31 @@ -# 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" +"POT-Creation-Date: 2020-03-13 12:18+0200\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" +"Language: fr\n" +"Last-Translator: TTC_ \n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.4\n" #: ../../More/EAV/README.rst:2 msgid "`Entity-Attribute-Value (EAV)`__" -msgstr "" +msgstr "`Entity-Attribute-Value (EAV)`__" #: ../../More/EAV/README.rst:4 msgid "" "The Entity–attribute–value (EAV) pattern in order to implement EAV model " "with PHP." msgstr "" +"Le pattern Entité-attribut-valeur (EAV) afin d'implémenter le modèle EAV avec PHP." #: ../../More/EAV/README.rst:7 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../More/EAV/README.rst:9 msgid "" @@ -39,28 +34,32 @@ msgid "" " be used to describe them is potentially vast, but the number that will " "actually apply to a given entity is relatively modest." msgstr "" +"Le modèle Entité-attribut-valeur (EAV) est un modèle de données permettant " +"de décrire des entités pour lesquelles le nombre d'attributs (propriétés, paramètres) " +"pouvant être utilisés pour les décrire est potentiellement vaste, mais le nombre qui " +"s'appliquera réellement à une entité donnée est relativement modeste." #: ../../More/EAV/README.rst:15 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../More/EAV/README.rst:17 msgid "Check full work example in `example.php`_ file." msgstr "" -#: ../../More/EAV/README.rst:90 +#: ../../More/EAV/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../More/EAV/README.rst:97 +#: ../../More/EAV/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../More/EAV/README.rst:99 +#: ../../More/EAV/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../More/EAV/README.rst:102 +#: ../../More/EAV/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/More/Repository/README.po b/locale/fr/LC_MESSAGES/More/Repository/README.po index 91048c9..57da008 100644 --- a/locale/fr/LC_MESSAGES/More/Repository/README.po +++ b/locale/fr/LC_MESSAGES/More/Repository/README.po @@ -12,12 +12,12 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: ../../More/Repository/README.rst:2 -msgid "Repository" -msgstr "" +msgid "`Repository`__" +msgstr "`Repository`__" #: ../../More/Repository/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" #: ../../More/Repository/README.rst:7 msgid "" @@ -28,33 +28,41 @@ msgid "" "also supports the objective of achieving a clean separation and one-way " "dependency between the domain and data mapping layers." msgstr "" +"Assure la médiation entre les couches de domaine et de mappage de données en " +"utilisant une interface de type collection pour accéder aux objets de domaine. " +"Repository encapsule l'ensemble des objets persistés dans un stockage de données " +"et les opérations effectuées sur eux, fournissant une vue orientée objet de la " +"couche de persistance. Repository permet également de réaliser une séparation nette " +"et une dépendance unidirectionnelle entre les couches de domaine et de mappage de données." #: ../../More/Repository/README.rst:16 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../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 "" +"Doctrine 2 ORM : Le Repository sert de médiateur entre Entity et DBAL et " +"contient des méthodes pour récupérer les objets." #: ../../More/Repository/README.rst:20 msgid "Laravel Framework" -msgstr "" +msgstr "Laravel Framework" -#: ../../More/Repository/README.rst:23 +#: ../../More/Repository/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../More/Repository/README.rst:30 +#: ../../More/Repository/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../More/Repository/README.rst:32 +#: ../../More/Repository/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../More/Repository/README.rst:59 +#: ../../More/Repository/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/More/ServiceLocator/README.po b/locale/fr/LC_MESSAGES/More/ServiceLocator/README.po index ec1206e..905ee0f 100644 --- a/locale/fr/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/fr/LC_MESSAGES/More/ServiceLocator/README.po @@ -13,22 +13,45 @@ msgstr "" #: ../../More/ServiceLocator/README.rst:2 msgid "`Service Locator`__" +msgstr "`Service Locator`__" + +#: ../../More/ServiceLocator/README.rst:4 +msgid "**THIS IS CONSIDERED TO BE AN ANTI-PATTERN!**" +msgstr "**CECI EST CONSIDÉRÉ COMME UN ANTI-PATTERN !**" + +#: ../../More/ServiceLocator/README.rst:4 +msgid "" +"Service Locator is considered for some people an anti-pattern. " +"It violates the Dependency Inversion principle. Service Locator " +"hides class' dependencies instead of exposing them as you would " +"do using the Dependency Injection. In case of changes of those " +"dependencies you risk to break the functionality of classes which " +"are using them, making your system difficult to maintain." msgstr "" +"Le Service Locator est considéré par certains comme un anti-pattern. " +"Il viole le principe d'inversion des dépendances. Le Service Locator " +"cache les dépendances des classes au lieu de les exposer comme vous le " +"feriez en utilisant l'injection de dépendances. En cas de modification " +"de ces dépendances, vous risquez de casser la fonctionnalité des classes " +"qui les utilisent, ce qui rend votre système difficile à maintenir." #: ../../More/ServiceLocator/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Rôle" -#: ../../More/ServiceLocator/README.rst:7 +#: ../../More/ServiceLocator/README.rst:9 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 "" +"Mettre en œuvre une architecture faiblement couplée afin d'obtenir un code " +"plus facile à tester, à maintenir et à étendre. Le modèle DI et le modèle " +"Service Locator sont une mise en œuvre du modèle Inverse of Control." #: ../../More/ServiceLocator/README.rst:12 msgid "Usage" -msgstr "" +msgstr "Rôle" #: ../../More/ServiceLocator/README.rst:14 msgid "" @@ -37,19 +60,23 @@ msgid "" "of the application without knowing its implementation. You can configure and" " inject the Service Locator object on bootstrap." msgstr "" +"Avec ServiceLocator, vous pouvez enregistrer un service pour une interface donnée. " +"En utilisant l'interface, vous pouvez récupérer le service et l'utiliser dans les " +"classes de l'application sans connaître son implémentation. Vous pouvez configurer " +"et injecter l'objet Service Locator au démarrage." -#: ../../More/ServiceLocator/README.rst:27 +#: ../../More/ServiceLocator/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagramme UML" -#: ../../More/ServiceLocator/README.rst:34 +#: ../../More/ServiceLocator/README.rst:20 msgid "Code" -msgstr "" +msgstr "Code" -#: ../../More/ServiceLocator/README.rst:36 +#: ../../More/ServiceLocator/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" +msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../More/ServiceLocator/README.rst:75 +#: ../../More/ServiceLocator/README.rst:85 msgid "Test" -msgstr "" +msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/README.po b/locale/fr/LC_MESSAGES/README.po index 2726099..235378a 100644 --- a/locale/fr/LC_MESSAGES/README.po +++ b/locale/fr/LC_MESSAGES/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../README.rst:5 msgid "DesignPatternsPHP" -msgstr "" +msgstr "Patrons de conception PHP" #: ../../README.rst:11 msgid "" @@ -29,12 +29,12 @@ 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 patrons de conception provient du fait que souvent les gens les connaissent mais " +"Je pense que le problème avec les patrons de conception provient du fait que, si souvent les gens les connaissent, ils " "ne savent pas quand les implémenter." #: ../../README.rst:20 msgid "Patterns" -msgstr "Patrones" +msgstr "Patterns" #: ../../README.rst:22 msgid "" diff --git a/locale/fr/LC_MESSAGES/Structural/Bridge/README.po b/locale/fr/LC_MESSAGES/Structural/Bridge/README.po index 2740596..b55ca82 100644 --- a/locale/fr/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Bridge/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Structural/Bridge/README.rst:2 msgid "`Bridge`__" -msgstr "`Bridge (Pont)`__" +msgstr "`Bridge`__" #: ../../Structural/Bridge/README.rst:5 msgid "Purpose" @@ -24,7 +24,8 @@ msgstr "Rôle" msgid "" "Decouple an abstraction from its implementation so that the two can vary " "independently." -msgstr "Découpler une abstraction de son implémentation afin que les deux puissent varier indépendamment." +msgstr "" +"Découpler une abstraction de son implémentation afin que les deux puissent varier indépendamment." #: ../../Structural/Bridge/README.rst:13 msgid "UML Diagram" diff --git a/locale/fr/LC_MESSAGES/Structural/Composite/README.po b/locale/fr/LC_MESSAGES/Structural/Composite/README.po index fd79773..5c59970 100644 --- a/locale/fr/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Composite/README.po @@ -24,7 +24,7 @@ msgstr "Rôle" msgid "" "To treat a group of objects the same way as a single instance of the object." msgstr "" -"Traiter un groupe d'objets de la même manière qu'une seule instance d'un objet." +"Traiter un groupe d'objets de la même manière qu'une seule instance." #: ../../Structural/Composite/README.rst:11 msgid "Examples" @@ -40,18 +40,18 @@ msgstr "" "comme une seule instance du formulaire. Lorsque ``render()`` est appelé, il passe " "ensuite par tous ses éléments enfants et appelle ``render()`` sur eux." -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Structural/Composite/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Structural/Composite/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Structural/Composite/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Structural/Composite/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po b/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po index d99ac5e..70dc6f5 100644 --- a/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/fr/LC_MESSAGES/Structural/DataMapper/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Structural/DataMapper/README.rst:2 msgid "`Data Mapper`__" -msgstr "Data Mapper" +msgstr "`Data Mapper`__" #: ../../Structural/DataMapper/README.rst:5 msgid "Purpose" @@ -46,7 +46,7 @@ msgid "" "The key point of this pattern is, unlike Active Record pattern, the data " "model follows Single Responsibility Principle." msgstr "" -"Le point clé de ce modèle est que, contrairement au modèle [Active Record](https://en.wikipedia.org/wiki/Active_record_pattern), " +"Le point clé de ce modèle est que, contrairement au pattern [Active Record](https://en.wikipedia.org/wiki/Active_record_pattern), " "le modèle de données suit le principe de responsabilité unique." #: ../../Structural/DataMapper/README.rst:21 @@ -60,18 +60,18 @@ msgid "" msgstr "" "DB Object Relational Mapper (ORM) : Doctrine2 utilise un DAO nommé \"EntityRepository\"." -#: ../../Creational/AbstractFactory/README.rst:13 +#: ../../Structural/DataMapper/README.rst:13 msgid "UML Diagram" msgstr "Diagramme UML" -#: ../../Creational/AbstractFactory/README.rst:20 +#: ../../Structural/DataMapper/README.rst:20 msgid "Code" msgstr "Code" -#: ../../Creational/AbstractFactory/README.rst:22 +#: ../../Structural/DataMapper/README.rst:22 msgid "You can also find this code on `GitHub`_" msgstr "Vous pouvez également trouver ce code sur `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:85 +#: ../../Structural/DataMapper/README.rst:85 msgid "Test" msgstr "Test" diff --git a/locale/fr/LC_MESSAGES/Structural/Decorator/README.po b/locale/fr/LC_MESSAGES/Structural/Decorator/README.po index 9878ddf..822dcb7 100644 --- a/locale/fr/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Decorator/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Structural/Decorator/README.rst:2 msgid "`Decorator`__" -msgstr "`Decorator (Décorateur)`__" +msgstr "`Decorator`__" #: ../../Structural/Decorator/README.rst:5 msgid "Purpose" @@ -26,7 +26,7 @@ msgstr "Ajoute dynamiquement de nouvelles fonctionnalités aux instances de clas #: ../../Structural/Decorator/README.rst:10 msgid "Examples" -msgstr "" +msgstr "Exemples" #: ../../Structural/Decorator/README.rst:13 msgid "" diff --git a/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po index 0c9bf2a..ea62aba 100644 --- a/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/fr/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Structural/DependencyInjection/README.rst:2 msgid "`Dependency Injection`__" -msgstr "Dependency Injection (Injection de dépendance)" +msgstr "`Dependency Injection`__" #: ../../Structural/DependencyInjection/README.rst:5 msgid "Purpose" @@ -30,7 +30,7 @@ msgstr "" #: ../../Structural/DependencyInjection/README.rst:11 msgid "Usage" -msgstr "" +msgstr "Usage" #: ../../Structural/DependencyInjection/README.rst:13 msgid "" @@ -39,9 +39,9 @@ msgid "" "directly in ``DatabaseConnection``, which is not very good for testing and " "extending it." msgstr "" -"``DatabaseConfiguration`` est injectée et ``DatabaseConnection`` obtiendra tout ce dont " +"``DatabaseConfiguration`` est injectée et ``DatabaseConnexion`` obtiendra tout ce dont " "elle a besoin à partir de ``$config``. Sans DI, la configuration serait créée directement " -"dans ``DatabaseConnection``, ce qui n'est pas très bon pour les tests et les extensions." +"dans ``DatabaseConnexion``, ce qui n'est pas très bon pour les tests et les extensions." #: ../../Structural/DependencyInjection/README.rst:26 msgid "Examples" @@ -55,8 +55,8 @@ msgid "" "``Connection`` object" msgstr "" "L'ORM Doctrine2 utilise l'injection de dépendances, par exemple pour la configuration " -"qui est injectée dans un objet ``Connection``. À des fins de test, on peut facilement " -"créer un objet fantaisie de la configuration et l'injecter dans l'objet ``Connection``." +"qui est injectée dans un objet ``Connexion``. À des fins de test, on peut facilement " +"créer un objet fantaisie de la configuration et l'injecter dans l'objet ``Connexion``." #: ../../Structural/DependencyInjection/README.rst:32 msgid "" diff --git a/locale/fr/LC_MESSAGES/Structural/Facade/README.po b/locale/fr/LC_MESSAGES/Structural/Facade/README.po index 3b8efe2..ec2730c 100644 --- a/locale/fr/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/fr/LC_MESSAGES/Structural/Facade/README.po @@ -53,7 +53,7 @@ msgid "" "[Abstract\\|Static\\|Simple] Factory [Method]." msgstr "" "C'est pourquoi une bonne façade n'a pas de ``new``. S'il y a plusieurs créations " -"pour chaque méthode, ce n'est pas une façade, c'est un constructeur ou une [méthode] " +"pour chaque méthode, ce n'est pas une façade, c'est un Builder ou une [méthode] " "d'usine [abstraite|statique|simple]." #: ../../Structural/Facade/README.rst:22 diff --git a/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po index cdd01ae..2785a11 100644 --- a/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/fr/LC_MESSAGES/Structural/FluentInterface/README.po @@ -14,7 +14,7 @@ msgstr "" #: ../../Structural/FluentInterface/README.rst:2 msgid "`Fluent Interface`__" -msgstr "`Fluent Interface (Désignation chaînée)`__" +msgstr "`Fluent Interface`__" #: ../../Structural/FluentInterface/README.rst:5 msgid "Purpose"