[spanish translation] - wip - creational patterns

This commit is contained in:
Daniel González Cerviño
2015-09-10 10:16:04 +02:00
parent ba14231163
commit 3dc7716869
11 changed files with 210 additions and 137 deletions

View File

@@ -4,20 +4,22 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "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"
"PO-Revision-Date: \n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/AbstractFactory/README.rst:2 #: ../../Creational/AbstractFactory/README.rst:2
msgid "`Abstract Factory`__" msgid "`Abstract Factory`__"
msgstr "" msgstr "`Factoria Abstracta`__"
#: ../../Creational/AbstractFactory/README.rst:5 #: ../../Creational/AbstractFactory/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Proposito"
#: ../../Creational/AbstractFactory/README.rst:7 #: ../../Creational/AbstractFactory/README.rst:7
msgid "" msgid ""
@@ -26,18 +28,23 @@ msgid ""
"interface. The client of the abstract factory does not care about how these " "interface. The client of the abstract factory does not care about how these "
"objects are created, he just knows how they go together." "objects are created, he just knows how they go together."
msgstr "" msgstr ""
"Para crear una serie de objetos relacionados o dependientes sin especificar "
"a que clase concreta pertenecen. Normalmente las clases creadas implementan "
"las mismas interfaces. El cliente de la factoría abstracta no necesita "
"preocupase por como estos objetos son creados, el solo sabe que tiene que "
"hacer con ellos."
#: ../../Creational/AbstractFactory/README.rst:13 #: ../../Creational/AbstractFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/AbstractFactory/README.rst:20 #: ../../Creational/AbstractFactory/README.rst:20
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../Creational/AbstractFactory/README.rst:22 #: ../../Creational/AbstractFactory/README.rst:22
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/AbstractFactory/README.rst:24 #: ../../Creational/AbstractFactory/README.rst:24
msgid "AbstractFactory.php" msgid "AbstractFactory.php"

View File

@@ -4,46 +4,57 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-10 10:12+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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: es\n"
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/Builder/README.rst:2 #: ../../Creational/Builder/README.rst:2
msgid "`Builder`__" msgid "`Builder`__"
msgstr "" msgstr "`Constructor`__"
#: ../../Creational/Builder/README.rst:5 #: ../../Creational/Builder/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Proposito"
#: ../../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."
#: ../../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 "
"interfaz podría ser una clase abstracta con métodos por defecto ( también "
"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 "
"también una herencia compleja en el árbol de constructores."
#: ../../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 "
"builder de PHPUnit por ejemplo."
#: ../../Creational/Builder/README.rst:19 #: ../../Creational/Builder/README.rst:19
msgid "Examples" msgid "Examples"
msgstr "" msgstr "Ejemplos"
#: ../../Creational/Builder/README.rst:21 #: ../../Creational/Builder/README.rst:21
msgid "PHPUnit: Mock Builder" msgid "PHPUnit: Mock Builder"
@@ -51,15 +62,15 @@ msgstr ""
#: ../../Creational/Builder/README.rst:24 #: ../../Creational/Builder/README.rst:24
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/Builder/README.rst:31 #: ../../Creational/Builder/README.rst:31
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../Creational/Builder/README.rst:33 #: ../../Creational/Builder/README.rst:33
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/Builder/README.rst:35 #: ../../Creational/Builder/README.rst:35
msgid "Director.php" msgid "Director.php"

View File

@@ -4,12 +4,14 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-10 10:02+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/FactoryMethod/README.rst:2 #: ../../Creational/FactoryMethod/README.rst:2
msgid "`Factory Method`__" msgid "`Factory Method`__"
@@ -51,7 +53,7 @@ msgstr ""
#: ../../Creational/FactoryMethod/README.rst:29 #: ../../Creational/FactoryMethod/README.rst:29
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/FactoryMethod/README.rst:31 #: ../../Creational/FactoryMethod/README.rst:31
msgid "FactoryMethod.php" msgid "FactoryMethod.php"

View File

@@ -4,12 +4,14 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-10 10:02+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/Multiton/README.rst:2 #: ../../Creational/Multiton/README.rst:2
msgid "Multiton" msgid "Multiton"
@@ -53,7 +55,7 @@ msgstr ""
#: ../../Creational/Multiton/README.rst:29 #: ../../Creational/Multiton/README.rst:29
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/Multiton/README.rst:31 #: ../../Creational/Multiton/README.rst:31
msgid "Multiton.php" msgid "Multiton.php"

View File

@@ -4,16 +4,18 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-10 10:03+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "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 #: ../../Creational/Pool/README.rst:2
msgid "`Pool`__" msgid "`Pool`__"
msgstr "" msgstr "`Pila`__"
#: ../../Creational/Pool/README.rst:4 #: ../../Creational/Pool/README.rst:4
msgid "" msgid ""
@@ -24,16 +26,27 @@ 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 "
"de objetos inicializados y los mantiene listos para usar el la \"pila\" en "
"lugar de crearlos y destruirlos bajo demanda. Un cliente puede pedirle a la "
"pila un objeto, realizar las operaciones necesarias sobre el. Cuando el "
"cliente ha terminado devuelve el objeto a la pila en lugar de destruirlo."
#: ../../Creational/Pool/README.rst:11 #: ../../Creational/Pool/README.rst:11
msgid "" msgid ""
"Object pooling can offer a significant performance boost in situations where " "Object pooling can offer a significant performance boost in situations where "
" the cost of initializing a class instance is high, the rate of " "the cost of initializing a class instance is high, the rate of instantiation "
"instantiation of a class is high, and the number of instances in use at any " "of a class is high, and the number of instances in use at any one time is "
"one time is low. The pooled object is obtained in predictable time when " "low. The pooled object is obtained in predictable time when creation of the "
"creation of the new objects (especially over network) may take variable " "new objects (especially over network) may take variable time."
"time."
msgstr "" 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 recuperase 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 #: ../../Creational/Pool/README.rst:18
msgid "" msgid ""
@@ -42,19 +55,19 @@ 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 "" msgstr "Sin embargo estos beneficios "
#: ../../Creational/Pool/README.rst:25 #: ../../Creational/Pool/README.rst:25
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/Pool/README.rst:32 #: ../../Creational/Pool/README.rst:32
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../Creational/Pool/README.rst:34 #: ../../Creational/Pool/README.rst:34
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/Pool/README.rst:36 #: ../../Creational/Pool/README.rst:36
msgid "Pool.php" msgid "Pool.php"

View File

@@ -4,65 +4,71 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-09 16:26+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/Prototype/README.rst:2 #: ../../Creational/Prototype/README.rst:2
msgid "`Prototype`__" msgid "`Prototype`__"
msgstr "" msgstr "`Prototype`__"
#: ../../Creational/Prototype/README.rst:5 #: ../../Creational/Prototype/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Proposito"
#: ../../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 estandar (new Foo()). En su "
"lugar crear una instancia y clonarla."
#: ../../Creational/Prototype/README.rst:11 #: ../../Creational/Prototype/README.rst:11
msgid "Examples" msgid "Examples"
msgstr "" msgstr "Ejemplos"
#: ../../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 "
"datos a través del ORM )."
#: ../../Creational/Prototype/README.rst:17 #: ../../Creational/Prototype/README.rst:17
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/Prototype/README.rst:24 #: ../../Creational/Prototype/README.rst:24
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../Creational/Prototype/README.rst:26 #: ../../Creational/Prototype/README.rst:26
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/Prototype/README.rst:28 #: ../../Creational/Prototype/README.rst:28
msgid "index.php" msgid "index.php"
msgstr "" msgstr "index.php"
#: ../../Creational/Prototype/README.rst:34 #: ../../Creational/Prototype/README.rst:34
msgid "BookPrototype.php" msgid "BookPrototype.php"
msgstr "" msgstr "BookPrototype.php"
#: ../../Creational/Prototype/README.rst:40 #: ../../Creational/Prototype/README.rst:40
msgid "BarBookPrototype.php" msgid "BarBookPrototype.php"
msgstr "" msgstr "BarBookPrototype.php"
#: ../../Creational/Prototype/README.rst:46 #: ../../Creational/Prototype/README.rst:46
msgid "FooBookPrototype.php" msgid "FooBookPrototype.php"
msgstr "" msgstr "FooBookPrototype.php"
#: ../../Creational/Prototype/README.rst:53 #: ../../Creational/Prototype/README.rst:53
msgid "Test" msgid "Test"
msgstr "" msgstr "Test"

View File

@@ -4,16 +4,17 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-08 17:17+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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: es\n"
#: ../../Creational/README.rst:2 #: ../../Creational/README.rst:2
msgid "`Creational`__" msgid "`Creational`__"
msgstr "" msgstr "`Creacionales`__"
#: ../../Creational/README.rst:4 #: ../../Creational/README.rst:4
msgid "" msgid ""
@@ -23,3 +24,9 @@ msgid ""
"design problems or added complexity to the design. Creational design " "design problems or added complexity to the design. Creational design "
"patterns solve this problem by somehow controlling this object creation." "patterns solve this problem by somehow controlling this object creation."
msgstr "" 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."

View File

@@ -6,10 +6,10 @@ msgstr ""
"POT-Creation-Date: 2015-05-29 12:18+0200\n" "POT-Creation-Date: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"
#: ../../Creational/SimpleFactory/README.rst:2 #: ../../Creational/SimpleFactory/README.rst:2
msgid "Simple Factory" msgid "Simple Factory"

View File

@@ -4,72 +4,81 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-08 17:34+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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: es\n"
"Language-Team: \n"
#: ../../Creational/Singleton/README.rst:2 #: ../../Creational/Singleton/README.rst:2
msgid "`Singleton`__" msgid "`Singleton`__"
msgstr "" msgstr "`Singleton`__"
#: ../../Creational/Singleton/README.rst:4 #: ../../Creational/Singleton/README.rst:4
msgid "" 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 "
"MANTENIBILIDAD USA INYECCIÓN DE DEPENDENCIAS**"
#: ../../Creational/Singleton/README.rst:8 #: ../../Creational/Singleton/README.rst:8
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Proposito"
#: ../../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 "
"encargarse de todas las llamadas."
#: ../../Creational/Singleton/README.rst:14 #: ../../Creational/Singleton/README.rst:14
msgid "Examples" msgid "Examples"
msgstr "" msgstr "Ejemplos"
#: ../../Creational/Singleton/README.rst:16 #: ../../Creational/Singleton/README.rst:16
msgid "DB Connector" msgid "DB Connector"
msgstr "" msgstr "Conexión a la base de datos"
#: ../../Creational/Singleton/README.rst:17 #: ../../Creational/Singleton/README.rst:17
msgid "" msgid ""
"Logger (may also be a Multiton if there are many log files for several " "Logger (may also be a Multiton if there are many log files for several "
"purposes)" "purposes)"
msgstr "" msgstr ""
"Logger ( también podría ser un Multiton si hay varios ficheros de log para "
"diferentes propósitos )"
#: ../../Creational/Singleton/README.rst:19 #: ../../Creational/Singleton/README.rst:19
msgid "" msgid "Lock file for the application (there is only one in the filesystem ...)"
"Lock file for the application (there is only one in the filesystem ...)"
msgstr "" msgstr ""
"Bloqueo de ficheros para la aplicación ( Solo hay uno en el sistema de "
"ficheros )"
#: ../../Creational/Singleton/README.rst:23 #: ../../Creational/Singleton/README.rst:23
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/Singleton/README.rst:30 #: ../../Creational/Singleton/README.rst:30
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../Creational/Singleton/README.rst:32 #: ../../Creational/Singleton/README.rst:32
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes ver este código en `GitHub`_"
#: ../../Creational/Singleton/README.rst:34 #: ../../Creational/Singleton/README.rst:34
msgid "Singleton.php" msgid "Singleton.php"
msgstr "" msgstr "Singleton.php"
#: ../../Creational/Singleton/README.rst:41 #: ../../Creational/Singleton/README.rst:41
msgid "Test" msgid "Test"
msgstr "" msgstr "Test"
#: ../../Creational/Singleton/README.rst:43 #: ../../Creational/Singleton/README.rst:43
msgid "Tests/SingletonTest.php" msgid "Tests/SingletonTest.php"
msgstr "" msgstr "Tests/SingletonTest.php"

View File

@@ -4,20 +4,22 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-08 17:47+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: ../../Creational/StaticFactory/README.rst:2 #: ../../Creational/StaticFactory/README.rst:2
msgid "Static Factory" msgid "Static Factory"
msgstr "" msgstr "Static Factory"
#: ../../Creational/StaticFactory/README.rst:5 #: ../../Creational/StaticFactory/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Proposito"
#: ../../Creational/StaticFactory/README.rst:7 #: ../../Creational/StaticFactory/README.rst:7
msgid "" msgid ""
@@ -27,49 +29,56 @@ 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 "
"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:14 #: ../../Creational/StaticFactory/README.rst:14
msgid "Examples" msgid "Examples"
msgstr "" msgstr "Ejemplos"
#: ../../Creational/StaticFactory/README.rst:16 #: ../../Creational/StaticFactory/README.rst:16
msgid "" msgid ""
"Zend Framework: ``Zend_Cache_Backend`` or ``_Frontend`` use a factory method " "Zend Framework: ``Zend_Cache_Backend`` or ``_Frontend`` use a factory method "
"create cache backends or frontends" "create cache backends or frontends"
msgstr "" msgstr ""
"Zend Framework: ``Zend_Cache_Backend`` or ``_Frontend`` usa un método "
"factoría para crear la cache de las aplicaciones."
#: ../../Creational/StaticFactory/README.rst:20 #: ../../Creational/StaticFactory/README.rst:20
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/StaticFactory/README.rst:27 #: ../../Creational/StaticFactory/README.rst:27
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../Creational/StaticFactory/README.rst:29 #: ../../Creational/StaticFactory/README.rst:29
msgid "You can also find these code on `GitHub`_" msgid "You can also find these code on `GitHub`_"
msgstr "" msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/StaticFactory/README.rst:31 #: ../../Creational/StaticFactory/README.rst:31
msgid "StaticFactory.php" msgid "StaticFactory.php"
msgstr "" msgstr "StaticFactory.php"
#: ../../Creational/StaticFactory/README.rst:37 #: ../../Creational/StaticFactory/README.rst:37
msgid "FormatterInterface.php" msgid "FormatterInterface.php"
msgstr "" msgstr "FormatterInterface.php"
#: ../../Creational/StaticFactory/README.rst:43 #: ../../Creational/StaticFactory/README.rst:43
msgid "FormatString.php" msgid "FormatString.php"
msgstr "" msgstr "FormatString.php"
#: ../../Creational/StaticFactory/README.rst:49 #: ../../Creational/StaticFactory/README.rst:49
msgid "FormatNumber.php" msgid "FormatNumber.php"
msgstr "" msgstr "FormatNumber.php"
#: ../../Creational/StaticFactory/README.rst:56 #: ../../Creational/StaticFactory/README.rst:56
msgid "Test" msgid "Test"
msgstr "" msgstr "Test"
#: ../../Creational/StaticFactory/README.rst:58 #: ../../Creational/StaticFactory/README.rst:58
msgid "Tests/StaticFactoryTest.php" msgid "Tests/StaticFactoryTest.php"
msgstr "" msgstr "Tests/StaticFactoryTest.php"

View File

@@ -4,12 +4,14 @@ 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: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2015-09-08 17:14+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Daniel González <daniel@desarrolla2.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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: es\n"
"Language-Team: \n"
#: ../../README.rst:5 #: ../../README.rst:5
msgid "DesignPatternsPHP" msgid "DesignPatternsPHP"
@@ -21,16 +23,19 @@ msgid ""
"implement them in PHP. Every pattern has a small list of examples (most of " "implement them in PHP. Every pattern has a small list of examples (most of "
"them from Zend Framework, Symfony2 or Doctrine2 as I'm most familiar with " "them from Zend Framework, Symfony2 or Doctrine2 as I'm most familiar with "
"this software)." "this software)."
msgstr "Esta es una colleción de los conocidos como `patrones de diseño`_ y algunos ejemplos de codigo sobre como " msgstr ""
" implementarlos en PHP. Cada patron tiene una pequeña lista de ejemplos ( la mayoría de " "Esto es un recopilatorio de los conocidos como `patrones de diseño`_ junto "
" ellos de Zend Framework, Symfony2 o Doctrine2 ya que estoy más familiarizado con ellos )" "con algunos ejemplos de código sobre como implementarlos en PHP. Cada patrón "
"tiene una pequeña lista de ejemplos ( la mayoría de ellos de Zend "
"Framework, Symfony2 o Doctrine2 ya que estoy más familiarizado con ellos )."
#: ../../README.rst:16 #: ../../README.rst:16
msgid "" msgid ""
"I think the problem with patterns is that often people do know them but " "I think the problem with patterns is that often people do know them but "
"don't know when to apply which." "don't know when to apply which."
msgstr "Yo creo que el problema con los patrones es que con frecuencia la gente los conoce, pero" msgstr ""
"no saben cuando aplicar cada uno" "El problema con los patrones es que la mayoría de la gente los conoce, pero "
"no saben cuando aplicarlos."
#: ../../README.rst:20 #: ../../README.rst:20
msgid "Patterns" msgid "Patterns"
@@ -39,11 +44,12 @@ msgstr "Patrones"
#: ../../README.rst:22 #: ../../README.rst:22
msgid "" msgid ""
"The patterns can be structured in roughly three different categories. Please " "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 " "click on **the title of every pattern's page** for a full explanation of the "
"the pattern on Wikipedia." "pattern on Wikipedia."
msgstr "Los patrones pueden agruparse en aproximadamente tres categorías diferentes. Por favor " msgstr ""
" pincha en **el título de cada pagina de patrón** para ver la explicación completa " "Los patrones pueden clasificarse en tres categorías diferentes. Por favor "
" del patron en la wikipedia." "pincha en **el título de cada pagina de patrón** para ver la explicación "
"completa del patrón en la Wikipedia."
#: ../../README.rst:35 #: ../../README.rst:35
msgid "Contribute" msgid "Contribute"
@@ -54,12 +60,13 @@ msgid ""
"Please feel free to fork and extend existing or add your own examples and " "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 " "send a pull request with your changes! To establish a consistent code "
"quality, please check your code using `PHP CodeSniffer`_ against `PSR2 " "quality, please check your code using `PHP CodeSniffer`_ against `PSR2 "
"standard`_ using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor " "standard`_ using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``."
".``." msgstr ""
msgstr "Por favor tomate la libertad de copiar y extender o añadir tus propios ejemplos y" "Por favor tomate la libertad de copiar, extender y añadir tus propios "
"enviar peticiones para añadir tus cambios al repositorio principal. Para establecer una calidad de código " "ejemplos y enviar una solicitud para añadir tus cambios al repositorio "
" consistente, por favor revisa que tu codigo usa `PHP CodeSniffer` con el `PSR2 standard`_ " "principal. Para establecer una calidad de código consistente revisa que tu "
"utilizando ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor " "código usa `PHP CodeSniffer` con el `PSR2 standard`_ utilizando ``./vendor/"
"bin/phpcs -p --standard=PSR2 --ignore=vendor "
#: ../../README.rst:44 #: ../../README.rst:44
msgid "License" msgid "License"