[creational] all

This commit is contained in:
thetechnicalchallenge
2021-03-13 17:22:30 +01:00
parent af40dd1ffd
commit 52281f6f50
12 changed files with 138 additions and 143 deletions

View File

@@ -4,7 +4,6 @@ msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-13 12:18+0200\n" "POT-Creation-Date: 2020-03-13 12:18+0200\n"
"PO-Revision-Date: 2020-03-13 17:14+0100\n"
"Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"

View File

@@ -18,7 +18,7 @@ msgstr "`Abstract Factory (Fabrique abstraite)`__"
#: ../../Creational/AbstractFactory/README.rst:5 #: ../../Creational/AbstractFactory/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "Objectif" msgstr "Rôle"
#: ../../Creational/AbstractFactory/README.rst:7 #: ../../Creational/AbstractFactory/README.rst:7
msgid "" 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. " "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. " "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, " "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 #: ../../Creational/AbstractFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"

View File

@@ -3,75 +3,72 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \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"
"PO-Revision-Date: 2015-09-11 11:42+0100\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"MIME-Version: 1.0\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" "Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Language: fr\n"
"Language: es\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.5.4\n"
#: ../../Creational/Builder/README.rst:2 #: ../../Creational/Builder/README.rst:2
msgid "`Builder`__" msgid "`Builder`__"
msgstr "`Constructor`__" msgstr "`Builder (Monteur)`__"
#: ../../Creational/Builder/README.rst:5 #: ../../Creational/Builder/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "Propósito" msgstr "Rôle"
#: ../../Creational/Builder/README.rst:7 #: ../../Creational/Builder/README.rst:7
msgid "Builder is an interface that build parts of a complex object." msgid "Builder is an interface that build parts of a complex object."
msgstr "" 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 #: ../../Creational/Builder/README.rst:9
msgid "" msgid ""
"Sometimes, if the builder has a better knowledge of what it builds, this " "Sometimes, if the builder has a better knowledge of what it builds, this "
"interface could be an abstract class with default methods (aka adapter)." "interface could be an abstract class with default methods (aka adapter)."
msgstr "" msgstr ""
"A veces, si el constructor conoce bien lo que está construyendo, esta " "Parfois, lorsque le builder \"sait\" plus précisément ce qu'il construit, cette "
"interfaz podría ser una clase abstracta con métodos por defecto (también " "interface pourrait être une classe abstraite avec des méthodes par défaut (alias adapter)."
"conocido como Adaptador)"
#: ../../Creational/Builder/README.rst:12 #: ../../Creational/Builder/README.rst:12
msgid "" msgid ""
"If you have a complex inheritance tree for objects, it is logical to have a " "If you have a complex inheritance tree for objects, it is logical to have a "
"complex inheritance tree for builders too." "complex inheritance tree for builders too."
msgstr "" msgstr ""
"Si tienes una herencia compleja de tu árbol de objetos, es lógico tener " "Si vous avez un arbre d'héritage complexe pour les objets, il est logique d'avoir "
"también una herencia compleja en el árbol de constructores." "un arbre d'héritage complexe pour les builders."
#: ../../Creational/Builder/README.rst:15 #: ../../Creational/Builder/README.rst:15
msgid "" msgid ""
"Note: Builders have often a fluent interface, see the mock builder of " "Note: Builders have often a fluent interface, see the mock builder of "
"PHPUnit for example." "PHPUnit for example."
msgstr "" msgstr ""
"Nota: Los constructores suelen tener una interfaz fluida, fíjate en el mock " "Note : Les builders ont souvent une désignation chaînée ou chaînage de méthodes (fluent interface), voir le "
"builder de PHPUnit por ejemplo." "Mock Builder de PHPUnit par exemple."
#: ../../Creational/Builder/README.rst:19 #: ../../Creational/Builder/README.rst:19
msgid "Examples" msgid "Examples"
msgstr "Ejemplos" msgstr "Exemples"
#: ../../Creational/Builder/README.rst:21 #: ../../Creational/Builder/README.rst:21
msgid "PHPUnit: Mock Builder" msgid "PHPUnit: Mock Builder"
msgstr "PHPUnit: Mock Builder" msgstr "PHPUnit: Mock Builder"
#: ../../Creational/Builder/README.rst:24 #: ../../Creational/AbstractFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"
msgstr "Diagrama UML" msgstr "Diagramme UML"
#: ../../Creational/Builder/README.rst:31 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" 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`_" 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" msgid "Test"
msgstr "Test" msgstr "Test"

View File

@@ -3,13 +3,12 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \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"
"PO-Revision-Date: 2015-09-15 17:15+0100\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"MIME-Version: 1.0\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" "Content-Transfer-Encoding: 8bit\n"
"Language: es\n" "Language: fr\n"
"Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.5.4\n"
@@ -19,15 +18,14 @@ msgstr "`Factory Method`__"
#: ../../Creational/FactoryMethod/README.rst:5 #: ../../Creational/FactoryMethod/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "Proposito" msgstr "Rôle"
#: ../../Creational/FactoryMethod/README.rst:7 #: ../../Creational/FactoryMethod/README.rst:7
msgid "" msgid ""
"The good point over the SimpleFactory is you can subclass it to implement " "The good point over the SimpleFactory is you can subclass it to implement "
"different ways to create objects" "different ways to create objects"
msgstr "" msgstr ""
"La principal ventaja de SimpleFactory es que puedes extender la clase para " ""
"implementar diferentes formas"
#: ../../Creational/FactoryMethod/README.rst:10 #: ../../Creational/FactoryMethod/README.rst:10
msgid "For simple case, this abstract class could be just an interface" 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 " "This pattern is a \"real\" Design Pattern because it achieves the "
"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." "Dependency Inversion principle a.k.a the \"D\" in SOLID principles."
msgstr "" 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 #: ../../Creational/FactoryMethod/README.rst:15
msgid "" msgid ""
"It means the FactoryMethod class depends on abstractions, not concrete " "It means the FactoryMethod class depends on abstractions, not concrete "
"classes. This is the real trick compared to SimpleFactory or StaticFactory." "classes. This is the real trick compared to SimpleFactory or StaticFactory."
msgstr "" msgstr ""
"Esto significa que la clase FactoryMethod depende de abstraciones, no de " "Cela signifie que FactoryMethod dépend d'abstractions et non de "
"clases concretas. Esto es el truco con respecto a SimpleFactory o " "classes concrètes. C'est son principal avantange par rapport à SimpleFactory ou "
"StaticFactory" "StaticFactory."
#: ../../Creational/FactoryMethod/README.rst:20 #: ../../Creational/AbstractFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"
msgstr "Diagrama UML" msgstr "Diagramme UML"
#: ../../Creational/FactoryMethod/README.rst:27 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" 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`_" 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" msgid "Test"
msgstr "Test" msgstr "Test"

View File

@@ -3,19 +3,18 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \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"
"PO-Revision-Date: 2015-09-10 10:03+0100\n" "MIME-Version: 1.0\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"MIME-Version: 1.0\n" "Language: fr\n"
"Language: es\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.5.4\n"
#: ../../Creational/Pool/README.rst:2 #: ../../Creational/Pool/README.rst:2
msgid "`Pool`__" msgid "`Pool`__"
msgstr "`Pila`__" msgstr "`Pool`__"
#: ../../Creational/Pool/README.rst:4 #: ../../Creational/Pool/README.rst:4
msgid "" msgid ""
@@ -26,11 +25,12 @@ msgid ""
"object. When the client has finished, it returns the object, which is a " "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." "specific type of factory object, to the pool rather than destroying it."
msgstr "" msgstr ""
"El **Patrón Pila** es un patrón de diseño creacional que utiliza un conjunto " "**Object pool pattern** utilise un ensemble d'objets initialisés et prêts à "
"de objetos inicializados y los mantiene listos para usar -la \"pila\"- en " "être utilisés - un \"pool\" - plutôt que de les allouer et de les détruire à la "
"lugar de crearlos y destruirlos bajo demanda. Un cliente puede pedirle a la " "demande. Un client du pool demandera un objet du pool et effectuera des opérations "
"pila un objeto y realizar las operaciones necesarias sobre él. Cuando el " "sur l'objet retourné. Lorsque le client a terminé, il renvoie l'objet, qui est "
"cliente ha terminado devuelve el objeto a la pila en lugar de destruirlo." "au pool plutôt que de le détruire."
#: ../../Creational/Pool/README.rst:11 #: ../../Creational/Pool/README.rst:11
msgid "" msgid ""
@@ -40,13 +40,11 @@ msgid ""
"low. The pooled object is obtained in predictable time when creation of the " "low. The pooled object is obtained in predictable time when creation of the "
"new objects (especially over network) may take variable time." "new objects (especially over network) may take variable time."
msgstr "" msgstr ""
"Mantener los objetos en una pila puede ofrecer mejoras significativas de " "La mise en commun d'objets peut offrir un gain de performance significatif dans les "
"rendimiento en aquellas situaciones donde el coste de inicializar las " "situations où le coût d'initialisation d'une instance de classe est élevé, le "
"instancias es alto, el volumen de veces que se instancia la clase es alto y " "taux d'instanciation d'une classe est élevé et le nombre d'instances utilisées à "
"el número de instancias que se mantienen en uso a la vez es bajo. El objeto " "un moment donné est faible. L'objet mis en commun est obtenu en un temps prévisible "
"puede recuperarse de la pila en una cantidad de tiempo predecible, cuando la " "alors que la création des nouveaux objets (notamment sur le réseau) peut prendre un temps variable."
"creación de nuevos objetos (especialmente cuando se realiza a través de una "
"red) puede variar."
#: ../../Creational/Pool/README.rst:18 #: ../../Creational/Pool/README.rst:18
msgid "" msgid ""
@@ -55,20 +53,25 @@ msgid ""
"and large graphic objects like fonts or bitmaps. In certain situations, " "and large graphic objects like fonts or bitmaps. In certain situations, "
"simple object pooling (that hold no external resources, but only occupy " "simple object pooling (that hold no external resources, but only occupy "
"memory) may not be efficient and could decrease performance." "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" msgid "UML Diagram"
msgstr "Diagrama UML" msgstr "Diagramme UML"
#: ../../Creational/Pool/README.rst:32 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" 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`_" 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" msgid "Test"
msgstr "" msgstr "Test"

View File

@@ -3,13 +3,12 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \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"
"PO-Revision-Date: 2015-09-09 16:26+0100\n"
"MIME-Version: 1.0\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" "Content-Transfer-Encoding: 8bit\n"
"Language: es\n" "Language: fr\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.5.4\n"
@@ -19,40 +18,39 @@ msgstr "`Prototype`__"
#: ../../Creational/Prototype/README.rst:5 #: ../../Creational/Prototype/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "Proposito" msgstr "Rôle"
#: ../../Creational/Prototype/README.rst:7 #: ../../Creational/Prototype/README.rst:7
msgid "" msgid ""
"To avoid the cost of creating objects the standard way (new Foo()) and " "To avoid the cost of creating objects the standard way (new Foo()) and "
"instead create a prototype and clone it." "instead create a prototype and clone it."
msgstr "" msgstr ""
"Evitar el cote de crear objetos de la forma estándar (new Foo()). En su " "Minimise le coût de création de nouveaux objets en clonant un objet prototype"
"lugar crear una instancia y clonarla."
#: ../../Creational/Prototype/README.rst:11 #: ../../Creational/Prototype/README.rst:11
msgid "Examples" msgid "Examples"
msgstr "Ejemplos" msgstr "Exemples"
#: ../../Creational/Prototype/README.rst:13 #: ../../Creational/Prototype/README.rst:13
msgid "" msgid ""
"Large amounts of data (e.g. create 1,000,000 rows in a database at once via " "Large amounts of data (e.g. create 1,000,000 rows in a database at once via "
"a ORM)." "a ORM)."
msgstr "" msgstr ""
"Grandes cantidades de datos (ej. crear 1.000.000 de registros en la base de " "Grandes quantis de données (par exemple, créer 1 000 000 de lignes dans une "
"datos a través del ORM)." "base de données en une seule fois via un ORM)."
#: ../../Creational/Prototype/README.rst:17 #: ../../Creational/AbstractFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"
msgstr "Diagrama UML" msgstr "Diagramme UML"
#: ../../Creational/Prototype/README.rst:24 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" 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`_" 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" msgid "Test"
msgstr "Test" msgstr "Test"

View File

@@ -3,50 +3,55 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \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"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"MIME-Version: 1.0\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" "Content-Transfer-Encoding: 8bit\n"
"Language: es\n" "Language: fr\n"
"Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/SimpleFactory/README.rst:2 #: ../../Creational/SimpleFactory/README.rst:2
msgid "Simple Factory" msgid "Simple Factory"
msgstr "" msgstr "Simple Factory (Fabrique simple)"
#: ../../Creational/SimpleFactory/README.rst:5 #: ../../Creational/SimpleFactory/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Rôle"
#: ../../Creational/SimpleFactory/README.rst:7 #: ../../Creational/SimpleFactory/README.rst:7
msgid "SimpleFactory is a simple factory pattern." msgid "SimpleFactory is a simple factory pattern."
msgstr "" msgstr "SimpleFactory est un modèle de factory simple."
#: ../../Creational/SimpleFactory/README.rst:9 #: ../../Creational/SimpleFactory/README.rst:9
msgid "" msgid ""
"It differs from the static factory because it is NOT static and as you know:" "It differs from the static factory because it is NOT static and as you know:"
" static => global => evil!" " static => global => evil!"
msgstr "" msgstr ""
"SimpleFactory diffère de StaticFactory car ne possède pas de méthodes statiques."
#: ../../Creational/SimpleFactory/README.rst:12 #: ../../Creational/SimpleFactory/README.rst:12
msgid "" msgid ""
"Therefore, you can have multiple factories, differently parametrized, you " "Therefore, you can have multiple factories, differently parametrized, you "
"can subclass it and you can mock-up it." "can subclass it and you can mock-up it."
msgstr "" 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" msgid "UML Diagram"
msgstr "" msgstr "Diagramme UML"
#: ../../Creational/SimpleFactory/README.rst:23 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" msgid "Code"
msgstr "" msgstr "Code"
#: ../../Creational/SimpleFactory/README.rst:25 #: ../../Creational/AbstractFactory/README.rst:22
msgid "You can also find this code on `GitHub`_" 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" msgid "Test"
msgstr "" msgstr "Test"

View File

@@ -3,15 +3,14 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \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"
"PO-Revision-Date: 2015-09-08 17:34+0100\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"MIME-Version: 1.0\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" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n" "Language: fr\n"
"Language: es\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/Singleton/README.rst:2 #: ../../Creational/Singleton/README.rst:2
msgid "`Singleton`__" msgid "`Singleton`__"
@@ -22,28 +21,27 @@ msgid ""
"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND " "**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND "
"MAINTAINABILITY USE DEPENDENCY INJECTION!**" "MAINTAINABILITY USE DEPENDENCY INJECTION!**"
msgstr "" msgstr ""
"**ESTO ES CONSIDERADO UN ANTI-PATRÓN. PARA MEJOR TESTEABILIDAD Y " "**SINGLETON EST CONSIDÉRÉ COMME UN ANTI-PATTERN ! POUR UNE MEILLEURE TESTABILI "
"MANTENIBILIDAD USA INYECCIÓN DE DEPENDENCIAS**" "ET MAINTENABILITÉ, UTILISEZ L'INJECTION DE DÉPENDANCES !**"
#: ../../Creational/Singleton/README.rst:8 #: ../../Creational/Singleton/README.rst:8
msgid "Purpose" msgid "Purpose"
msgstr "Proposito" msgstr "Rôle"
#: ../../Creational/Singleton/README.rst:10 #: ../../Creational/Singleton/README.rst:10
msgid "" msgid ""
"To have only one instance of this object in the application that will handle " "To have only one instance of this object in the application that will handle "
"all calls." "all calls."
msgstr "" msgstr ""
"Tener una única instancia de este objeto en la aplicación que pueda " "Limite l'instanciation d'une classe à une seule instance."
"encargarse de todas las llamadas."
#: ../../Creational/Singleton/README.rst:14 #: ../../Creational/Singleton/README.rst:14
msgid "Examples" msgid "Examples"
msgstr "Ejemplos" msgstr "Exemples"
#: ../../Creational/Singleton/README.rst:16 #: ../../Creational/Singleton/README.rst:16
msgid "DB Connector" msgid "DB Connector"
msgstr "Conexión a la base de datos" msgstr "Connexion à la base de données"
#: ../../Creational/Singleton/README.rst:17 #: ../../Creational/Singleton/README.rst:17
msgid "" msgid ""
@@ -53,22 +51,20 @@ msgstr ""
#: ../../Creational/Singleton/README.rst:19 #: ../../Creational/Singleton/README.rst:19
msgid "Lock file for the application (there is only one in the filesystem ...)" msgid "Lock file for the application (there is only one in the filesystem ...)"
msgstr "" msgstr "Fichier de verrouillage pour l'application (il n'y en a qu'un seul dans le système de fichiers ...)"
"Bloqueo de ficheros para la aplicación ( Solo hay uno en el sistema de "
"ficheros )"
#: ../../Creational/Singleton/README.rst:23 #: ../../Creational/AbstractFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"
msgstr "Diagrama UML" msgstr "Diagramme UML"
#: ../../Creational/Singleton/README.rst:30 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" 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`_" 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" msgid "Test"
msgstr "Test" msgstr "Test"

View File

@@ -3,13 +3,12 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \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"
"PO-Revision-Date: 2015-09-08 17:47+0100\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"MIME-Version: 1.0\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" "Content-Transfer-Encoding: 8bit\n"
"Language: es\n" "Language: fr\n"
"Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\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 " "method to create all types of objects it can create. It is usually named "
"``factory`` or ``build``." "``factory`` or ``build``."
msgstr "" msgstr ""
"Parecido a AbstractFactory, este patrón es usado para crear conjuntos de " "Similaire à l'AbstractFactory, ce pattern est utilisé pour créer des séries d'objets "
"objetos relacionados o dependientes. La diferencia entre este y la factoría " "liés ou dépendants. La difrence entre ce modèle et le modèle AbstractFactory "
"abstracta es que el patrón factoría estática usa un sólo método estático " "est que StaticFactory utilise une seule méthode statique pour créer tous les "
"para crear todos los tipos de objetos que puede crear. Este método " "types d'objets qu'il peut créer. "
"normalmente se llama ``factory`` or ``build``." "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" msgid "UML Diagram"
msgstr "Diagrama UML" msgstr "Diagramme UML"
#: ../../Creational/StaticFactory/README.rst:27 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" 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`_" 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" msgid "Test"
msgstr "Test" msgstr "Test"

View File

@@ -4,7 +4,6 @@ msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-13 12:18+0200\n" "POT-Creation-Date: 2020-03-13 12:18+0200\n"
"PO-Revision-Date: 2020-03-13 17:14+0100\n"
"Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"

View File

@@ -4,7 +4,6 @@ msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-13 12:18+0200\n" "POT-Creation-Date: 2020-03-13 12:18+0200\n"
"PO-Revision-Date: 2020-03-13 17:14+0100\n"
"Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"

View File

@@ -4,7 +4,6 @@ msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-13 12:18+0200\n" "POT-Creation-Date: 2020-03-13 12:18+0200\n"
"PO-Revision-Date: 2020-03-13 17:14+0100\n"
"Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n" "Last-Translator: TTC_ <thetechnicalchallenge@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"