Creational - Translation to spanish

- Page SimpleFactory was not correctly referencing the original text.
- Minor fixes.
This commit is contained in:
Nicolás Marulanda P
2021-10-09 00:40:42 +02:00
parent cf2d67ca18
commit 064ee4d652
3 changed files with 24 additions and 25 deletions

View File

@@ -4,14 +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: 2015-09-15 17:15+0100\n" "PO-Revision-Date: 2021-10-08 22:57+0200\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n" "Last-Translator: Nicolás Marulanda P\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: es\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 2.0.5\n"
#: ../../Creational/FactoryMethod/README.rst:2 #: ../../Creational/FactoryMethod/README.rst:2
msgid "`Factory Method`__" msgid "`Factory Method`__"
@@ -49,9 +49,9 @@ 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 " "Esto significa que la clase FactoryMethod depende de abstracciones, no de "
"clases concretas. Esto es el truco con respecto a SimpleFactory o " "clases concretas. Esto es el truco con respecto a SimpleFactory o "
"StaticFactory" "StaticFactory."
#: ../../Creational/FactoryMethod/README.rst:20 #: ../../Creational/FactoryMethod/README.rst:20
msgid "UML Diagram" msgid "UML Diagram"

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: 2021-10-08 23:23+0200\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: es\n"
"Last-Translator: Nicolás Marulanda P\n"
"Language-Team: \n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Creational/SimpleFactory/README.rst:1 #: ../../Creational/SimpleFactory/README.rst:1
msgid "Simple Factory" msgid "Simple Factory"
@@ -25,18 +27,15 @@ msgstr "La Factoría Simple es un patrón de factoría simple."
#: ../../Creational/SimpleFactory/README.rst:9 #: ../../Creational/SimpleFactory/README.rst:9
msgid "" msgid ""
"It differs from the static factory because it is not static." "It differs from the static factory because it is not static. "
"Therefore, you can have multiple factories, differently parameterized, "
"you can subclass it and you can mock it. It always should be preferred "
"over a static factory!"
msgstr "" msgstr ""
"Difiere de la factoría estática porque no es estática." "Se diferencia de la fábrica estática porque no es estática. Por lo "
"tanto, se pueden tener varias factorías parametrizadas de forma "
#: ../../Creational/SimpleFactory/README.rst:10 "diferente, se pueden crear subclases y se pueden generar imitaciones "
msgid "" "(mock) de ellas. ¡Siempre se debe preferir esta a una Fábrica Estática!"
"Therefore, you can have multiple factories, differently parametrized, you "
"can subclass it and you can mock it."
msgstr ""
"Por lo tanto, se pueden tener varias factorías parametrizadas de forma "
"diferente, se pueden crear subclases y se pueden generar imitaciones (mock) de "
"ellas."
#: ../../Creational/SimpleFactory/README.rst:13 #: ../../Creational/SimpleFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"

View File

@@ -4,14 +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: 2015-09-08 17:47+0100\n" "PO-Revision-Date: 2021-10-09 00:30+0200\n"
"Last-Translator: Daniel González <daniel@desarrolla2.com>\n" "Last-Translator: Nicolás Marulanda P\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: es\n"
"Language-Team: \n" "Language-Team: \n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 2.0.5\n"
#: ../../Creational/StaticFactory/README.rst:2 #: ../../Creational/StaticFactory/README.rst:2
msgid "Static Factory" msgid "Static Factory"
@@ -31,9 +31,9 @@ msgid ""
msgstr "" msgstr ""
"Parecido a la factoría abstracta, este patrón es usado para crear conjuntos de " "Parecido a la factoría abstracta, este patrón es usado para crear conjuntos de "
"objetos relacionados o dependientes. La diferencia entre este y la factoría " "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 " "abstracta es que el patrón factoría estática usa un sólo método estático para "
"para crear todos los tipos de objetos que puede crear. Este método " "crear todos los tipos de objetos que puede crear. Este método normalmente se "
"normalmente se llama ``factory`` or ``build``." "llama ``factory`` o ``build``."
#: ../../Creational/StaticFactory/README.rst:20 #: ../../Creational/StaticFactory/README.rst:20
msgid "UML Diagram" msgid "UML Diagram"