1
0
mirror of https://github.com/DesignPatternsPHP/DesignPatternsPHP.git synced 2025-05-06 14:35:34 +02:00

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
No known key found for this signature in database
GPG Key ID: 4A6112A9A83411CD
3 changed files with 24 additions and 25 deletions
locale/es/LC_MESSAGES/Creational
FactoryMethod
SimpleFactory
StaticFactory

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

@ -1,15 +1,17 @@
#
#
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 <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2021-10-08 23:23+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: Nicolás Marulanda P\n"
"Language-Team: \n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Creational/SimpleFactory/README.rst:1
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
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 ""
"Difiere de la factoría estática porque no es estática."
#: ../../Creational/SimpleFactory/README.rst:10
msgid ""
"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."
"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 "
"diferente, se pueden crear subclases y se pueden generar imitaciones "
"(mock) de ellas. ¡Siempre se debe preferir esta a una Fábrica Estática!"
#: ../../Creational/SimpleFactory/README.rst:13
msgid "UML Diagram"

@ -4,14 +4,14 @@ 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 <daniel@desarrolla2.com>\n"
"PO-Revision-Date: 2021-10-09 00:30+0200\n"
"Last-Translator: Nicolás Marulanda P\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"
"X-Generator: Poedit 2.0.5\n"
#: ../../Creational/StaticFactory/README.rst:2
msgid "Static Factory"
@ -31,9 +31,9 @@ msgid ""
msgstr ""
"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 "
"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``."
"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`` o ``build``."
#: ../../Creational/StaticFactory/README.rst:20
msgid "UML Diagram"