1
0
mirror of https://github.com/DesignPatternsPHP/DesignPatternsPHP.git synced 2025-07-25 17:21:19 +02:00

[spanish translation] - wip - creational patterns

This commit is contained in:
Daniel González Cerviño
2015-09-15 18:03:36 +02:00
parent 3dc7716869
commit ac7cca74cd
4 changed files with 60 additions and 50 deletions
locale/es/LC_MESSAGES/Creational
AbstractFactory
Builder
FactoryMethod
Multiton

@@ -48,48 +48,48 @@ msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/AbstractFactory/README.rst:24 #: ../../Creational/AbstractFactory/README.rst:24
msgid "AbstractFactory.php" msgid "AbstractFactory.php"
msgstr "" msgstr "AbstractFactory.php"
#: ../../Creational/AbstractFactory/README.rst:30 #: ../../Creational/AbstractFactory/README.rst:30
msgid "JsonFactory.php" msgid "JsonFactory.php"
msgstr "" msgstr "JsonFactory.php"
#: ../../Creational/AbstractFactory/README.rst:36 #: ../../Creational/AbstractFactory/README.rst:36
msgid "HtmlFactory.php" msgid "HtmlFactory.php"
msgstr "" msgstr "HtmlFactory.php"
#: ../../Creational/AbstractFactory/README.rst:42 #: ../../Creational/AbstractFactory/README.rst:42
msgid "MediaInterface.php" msgid "MediaInterface.php"
msgstr "" msgstr "MediaInterface.php"
#: ../../Creational/AbstractFactory/README.rst:48 #: ../../Creational/AbstractFactory/README.rst:48
msgid "Picture.php" msgid "Picture.php"
msgstr "" msgstr "Picture.php"
#: ../../Creational/AbstractFactory/README.rst:54 #: ../../Creational/AbstractFactory/README.rst:54
msgid "Text.php" msgid "Text.php"
msgstr "" msgstr "Text.php"
#: ../../Creational/AbstractFactory/README.rst:60 #: ../../Creational/AbstractFactory/README.rst:60
msgid "Json/Picture.php" msgid "Json/Picture.php"
msgstr "" msgstr "Json/Picture.php"
#: ../../Creational/AbstractFactory/README.rst:66 #: ../../Creational/AbstractFactory/README.rst:66
msgid "Json/Text.php" msgid "Json/Text.php"
msgstr "" msgstr "Json/Text.php"
#: ../../Creational/AbstractFactory/README.rst:72 #: ../../Creational/AbstractFactory/README.rst:72
msgid "Html/Picture.php" msgid "Html/Picture.php"
msgstr "" msgstr "Html/Picture.php"
#: ../../Creational/AbstractFactory/README.rst:78 #: ../../Creational/AbstractFactory/README.rst:78
msgid "Html/Text.php" msgid "Html/Text.php"
msgstr "" msgstr "Html/Text.php"
#: ../../Creational/AbstractFactory/README.rst:85 #: ../../Creational/AbstractFactory/README.rst:85
msgid "Test" msgid "Test"
msgstr "" msgstr "Test"
#: ../../Creational/AbstractFactory/README.rst:87 #: ../../Creational/AbstractFactory/README.rst:87
msgid "Tests/AbstractFactoryTest.php" msgid "Tests/AbstractFactoryTest.php"
msgstr "" msgstr "Tests/AbstractFactoryTest.php"

@@ -4,7 +4,7 @@ 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: 2015-09-10 10:12+0100\n" "PO-Revision-Date: 2015-09-11 11:42+0100\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\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"
@@ -20,7 +20,7 @@ msgstr "`Constructor`__"
#: ../../Creational/Builder/README.rst:5 #: ../../Creational/Builder/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "Proposito" msgstr "Propósito"
#: ../../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."
@@ -58,7 +58,7 @@ msgstr "Ejemplos"
#: ../../Creational/Builder/README.rst:21 #: ../../Creational/Builder/README.rst:21
msgid "PHPUnit: Mock Builder" msgid "PHPUnit: Mock Builder"
msgstr "" msgstr "PHPUnit: Mock Builder"
#: ../../Creational/Builder/README.rst:24 #: ../../Creational/Builder/README.rst:24
msgid "UML Diagram" msgid "UML Diagram"
@@ -74,48 +74,48 @@ msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/Builder/README.rst:35 #: ../../Creational/Builder/README.rst:35
msgid "Director.php" msgid "Director.php"
msgstr "" msgstr "Director.php"
#: ../../Creational/Builder/README.rst:41 #: ../../Creational/Builder/README.rst:41
msgid "BuilderInterface.php" msgid "BuilderInterface.php"
msgstr "" msgstr "BuilderInterface.php"
#: ../../Creational/Builder/README.rst:47 #: ../../Creational/Builder/README.rst:47
msgid "BikeBuilder.php" msgid "BikeBuilder.php"
msgstr "" msgstr "BikeBuilder.php"
#: ../../Creational/Builder/README.rst:53 #: ../../Creational/Builder/README.rst:53
msgid "CarBuilder.php" msgid "CarBuilder.php"
msgstr "" msgstr "CarBuilder.php"
#: ../../Creational/Builder/README.rst:59 #: ../../Creational/Builder/README.rst:59
msgid "Parts/Vehicle.php" msgid "Parts/Vehicle.php"
msgstr "" msgstr "Parts/Vehicle.php"
#: ../../Creational/Builder/README.rst:65 #: ../../Creational/Builder/README.rst:65
msgid "Parts/Bike.php" msgid "Parts/Bike.php"
msgstr "" msgstr "Parts/Bike.php"
#: ../../Creational/Builder/README.rst:71 #: ../../Creational/Builder/README.rst:71
msgid "Parts/Car.php" msgid "Parts/Car.php"
msgstr "" msgstr "Parts/Car.php"
#: ../../Creational/Builder/README.rst:77 #: ../../Creational/Builder/README.rst:77
msgid "Parts/Engine.php" msgid "Parts/Engine.php"
msgstr "" msgstr "Parts/Engine.php"
#: ../../Creational/Builder/README.rst:83 #: ../../Creational/Builder/README.rst:83
msgid "Parts/Wheel.php" msgid "Parts/Wheel.php"
msgstr "" msgstr "Parts/Wheel.php"
#: ../../Creational/Builder/README.rst:89 #: ../../Creational/Builder/README.rst:89
msgid "Parts/Door.php" msgid "Parts/Door.php"
msgstr "" msgstr "Parts/Door.php"
#: ../../Creational/Builder/README.rst:96 #: ../../Creational/Builder/README.rst:96
msgid "Test" msgid "Test"
msgstr "" msgstr "Test"
#: ../../Creational/Builder/README.rst:98 #: ../../Creational/Builder/README.rst:98
msgid "Tests/DirectorTest.php" msgid "Tests/DirectorTest.php"
msgstr "" msgstr "Tests/DirectorTest.php"

@@ -4,7 +4,7 @@ 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: 2015-09-10 10:02+0100\n" "PO-Revision-Date: 2015-09-15 17:15+0100\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\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"
@@ -15,17 +15,19 @@ msgstr ""
#: ../../Creational/FactoryMethod/README.rst:2 #: ../../Creational/FactoryMethod/README.rst:2
msgid "`Factory Method`__" msgid "`Factory Method`__"
msgstr "" msgstr "`Factory Method`__"
#: ../../Creational/FactoryMethod/README.rst:5 #: ../../Creational/FactoryMethod/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Proposito"
#: ../../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"
@@ -42,14 +44,17 @@ 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 "
"clases concretas. Esto es el truco con respecto a SimpleFactory o "
"StaticFactory"
#: ../../Creational/FactoryMethod/README.rst:20 #: ../../Creational/FactoryMethod/README.rst:20
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/FactoryMethod/README.rst:27 #: ../../Creational/FactoryMethod/README.rst:27
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../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`_"
@@ -57,36 +62,36 @@ msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/FactoryMethod/README.rst:31 #: ../../Creational/FactoryMethod/README.rst:31
msgid "FactoryMethod.php" msgid "FactoryMethod.php"
msgstr "" msgstr "FactoryMethod.php"
#: ../../Creational/FactoryMethod/README.rst:37 #: ../../Creational/FactoryMethod/README.rst:37
msgid "ItalianFactory.php" msgid "ItalianFactory.php"
msgstr "" msgstr "ItalianFactory.php"
#: ../../Creational/FactoryMethod/README.rst:43 #: ../../Creational/FactoryMethod/README.rst:43
msgid "GermanFactory.php" msgid "GermanFactory.php"
msgstr "" msgstr "GermanFactory.php"
#: ../../Creational/FactoryMethod/README.rst:49 #: ../../Creational/FactoryMethod/README.rst:49
msgid "VehicleInterface.php" msgid "VehicleInterface.php"
msgstr "" msgstr "VehicleInterface.php"
#: ../../Creational/FactoryMethod/README.rst:55 #: ../../Creational/FactoryMethod/README.rst:55
msgid "Porsche.php" msgid "Porsche.php"
msgstr "" msgstr "Porsche.php"
#: ../../Creational/FactoryMethod/README.rst:61 #: ../../Creational/FactoryMethod/README.rst:61
msgid "Bicycle.php" msgid "Bicycle.php"
msgstr "" msgstr "Bicycle.php"
#: ../../Creational/FactoryMethod/README.rst:67 #: ../../Creational/FactoryMethod/README.rst:67
msgid "Ferrari.php" msgid "Ferrari.php"
msgstr "" msgstr "Ferrari.php"
#: ../../Creational/FactoryMethod/README.rst:74 #: ../../Creational/FactoryMethod/README.rst:74
msgid "Test" msgid "Test"
msgstr "" msgstr "Test"
#: ../../Creational/FactoryMethod/README.rst:76 #: ../../Creational/FactoryMethod/README.rst:76
msgid "Tests/FactoryMethodTest.php" msgid "Tests/FactoryMethodTest.php"
msgstr "" msgstr "Tests/FactoryMethodTest.php"

@@ -4,7 +4,7 @@ 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: 2015-09-10 10:02+0100\n" "PO-Revision-Date: 2015-09-11 11:31+0100\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\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"
@@ -15,43 +15,48 @@ msgstr ""
#: ../../Creational/Multiton/README.rst:2 #: ../../Creational/Multiton/README.rst:2
msgid "Multiton" msgid "Multiton"
msgstr "" msgstr "Multiton"
#: ../../Creational/Multiton/README.rst:4 #: ../../Creational/Multiton/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/Multiton/README.rst:8 #: ../../Creational/Multiton/README.rst:8
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Propósito"
#: ../../Creational/Multiton/README.rst:10 #: ../../Creational/Multiton/README.rst:10
msgid "" msgid ""
"To have only a list of named instances that are used, like a singleton but " "To have only a list of named instances that are used, like a singleton but "
"with n instances." "with n instances."
msgstr "" msgstr ""
"Tener una única lista de los nombres de las instancias que has usando, como "
"en el singleton pero con varias instancias."
#: ../../Creational/Multiton/README.rst:14 #: ../../Creational/Multiton/README.rst:14
msgid "Examples" msgid "Examples"
msgstr "" msgstr "Ejemplos"
#: ../../Creational/Multiton/README.rst:16 #: ../../Creational/Multiton/README.rst:16
msgid "2 DB Connectors, e.g. one for MySQL, the other for SQLite" msgid "2 DB Connectors, e.g. one for MySQL, the other for SQLite"
msgstr "" msgstr "2 Conectores de base de datos, Ej. uno para MySQL el otro para SQLite."
#: ../../Creational/Multiton/README.rst:17 #: ../../Creational/Multiton/README.rst:17
msgid "multiple Loggers (one for debug messages, one for errors)" msgid "multiple Loggers (one for debug messages, one for errors)"
msgstr "" msgstr ""
"Múltiples sistemas de log ( no para mensajes de debug, uno para errores )."
#: ../../Creational/Multiton/README.rst:20 #: ../../Creational/Multiton/README.rst:20
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Creational/Multiton/README.rst:27 #: ../../Creational/Multiton/README.rst:27
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../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`_"
@@ -59,8 +64,8 @@ msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Creational/Multiton/README.rst:31 #: ../../Creational/Multiton/README.rst:31
msgid "Multiton.php" msgid "Multiton.php"
msgstr "" msgstr "Multiton.php"
#: ../../Creational/Multiton/README.rst:38 #: ../../Creational/Multiton/README.rst:38
msgid "Test" msgid "Test"
msgstr "" msgstr "Test"