mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-01-18 05:58:16 +01:00
Merge pull request #446 from jdhmtl/437-spanish-translation-error
Add missing Spanish translations
This commit is contained in:
commit
9401af5739
@ -18,14 +18,14 @@ msgstr "`Factoría Abstracta`__"
|
||||
|
||||
#: ../../Creational/AbstractFactory/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr "Proposito"
|
||||
msgstr "Propósito"
|
||||
|
||||
#: ../../Creational/AbstractFactory/README.rst:7
|
||||
msgid ""
|
||||
"To create series of related or dependent objects without specifying their "
|
||||
"concrete classes. Usually the created classes all implement the same "
|
||||
"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, it just knows how they go together."
|
||||
msgstr ""
|
||||
"Para crear una serie de objetos relacionados o dependientes sin especificar "
|
||||
"a qué clase concreta pertenecen. Normalmente las clases creadas implementan "
|
||||
|
@ -19,25 +19,30 @@ msgstr "`Factory Method`__"
|
||||
|
||||
#: ../../Creational/FactoryMethod/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr "Proposito"
|
||||
msgstr "Propósito"
|
||||
|
||||
#: ../../Creational/FactoryMethod/README.rst:7
|
||||
msgid ""
|
||||
"The good point over the SimpleFactory is you can subclass it to implement "
|
||||
"different ways to create objects"
|
||||
"different ways to create objects."
|
||||
msgstr ""
|
||||
"La principal ventaja de SimpleFactory es que puedes extender la clase para "
|
||||
"implementar diferentes formas"
|
||||
"implementar diferentes formas."
|
||||
|
||||
#: ../../Creational/FactoryMethod/README.rst:10
|
||||
msgid "For simple case, this abstract class could be just an interface"
|
||||
msgid "For simple cases, this abstract class could be just an interface."
|
||||
msgstr ""
|
||||
"Para casos simples, esta clase abstracta podría ser simplemente una "
|
||||
"interfaz."
|
||||
|
||||
#: ../../Creational/FactoryMethod/README.rst:12
|
||||
msgid ""
|
||||
"This pattern is a \"real\" Design Pattern because it achieves the "
|
||||
"Dependency Inversion principle a.k.a the \"D\" in SOLID principles."
|
||||
msgstr ""
|
||||
"Este es un patrón \"real\" de diseño porque realiza el Principio de "
|
||||
"Inversión de Dependencia, también conocido como la \"D\" de los principios S."
|
||||
"O.L.I.D."
|
||||
|
||||
#: ../../Creational/FactoryMethod/README.rst:15
|
||||
msgid ""
|
||||
|
@ -18,6 +18,10 @@ msgid "`Pool`__"
|
||||
msgstr "`Pila`__"
|
||||
|
||||
#: ../../Creational/Pool/README.rst:4
|
||||
msgid "Purpose"
|
||||
msgstr "Propósito"
|
||||
|
||||
#: ../../Creational/Pool/README.rst:7
|
||||
msgid ""
|
||||
"The **object pool pattern** is a software creational design pattern that "
|
||||
"uses a set of initialized objects kept ready to use – a \"pool\" – rather "
|
||||
@ -32,7 +36,7 @@ msgstr ""
|
||||
"pila un objeto y realizar las operaciones necesarias sobre él. Cuando el "
|
||||
"cliente ha terminado devuelve el objeto a la pila en lugar de destruirlo."
|
||||
|
||||
#: ../../Creational/Pool/README.rst:11
|
||||
#: ../../Creational/Pool/README.rst:14
|
||||
msgid ""
|
||||
"Object pooling can offer a significant performance boost in situations where "
|
||||
"the cost of initializing a class instance is high, the rate of instantiation "
|
||||
@ -48,14 +52,20 @@ msgstr ""
|
||||
"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:21
|
||||
msgid ""
|
||||
"However these benefits are mostly true for objects that are expensive with "
|
||||
"respect to time, such as database connections, socket connections, threads "
|
||||
"and large graphic objects like fonts or bitmaps. In certain situations, "
|
||||
"simple object pooling (that hold no external resources, but only occupy "
|
||||
"memory) may not be efficient and could decrease performance."
|
||||
msgstr "Sin embargo estos beneficios "
|
||||
msgstr ""
|
||||
"Sin embargo, estos beneficios son en su mayoría ciertos para objetos que son "
|
||||
"costosos con respecto al tiempo, como las conexiones de base de datos, "
|
||||
"conexiones de socket, hilos y objetos gráficos grandes como fuentes o mapas "
|
||||
"de bits. En algunas situaciones, una pila simple de objetos (que no "
|
||||
"contienen recursos externos, sino solamente ocupan memoria) puede no ser "
|
||||
"eficiente y puede ocasionar una disminución de rendimiento."
|
||||
|
||||
#: ../../Creational/Pool/README.rst:25
|
||||
msgid "UML Diagram"
|
||||
|
@ -15,11 +15,11 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:2
|
||||
msgid "`Prototype`__"
|
||||
msgstr "`Prototype`__"
|
||||
msgstr "`Prototipo`__"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr "Proposito"
|
||||
msgstr "Propósito"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:7
|
||||
msgid ""
|
||||
|
@ -11,42 +11,45 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: es\n"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:2
|
||||
#: ../../Creational/SimpleFactory/README.rst:1
|
||||
msgid "Simple Factory"
|
||||
msgstr ""
|
||||
msgstr "Factoría Simple"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:5
|
||||
#: ../../Creational/SimpleFactory/README.rst:4
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Propósito"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:7
|
||||
msgid "SimpleFactory is a simple factory pattern."
|
||||
msgstr ""
|
||||
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 and as you know:"
|
||||
" static => global => evil!"
|
||||
"It differs from the static factory because it is not static."
|
||||
msgstr ""
|
||||
"Difere de la factoría estática porque no es estática."
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:12
|
||||
#: ../../Creational/SimpleFactory/README.rst:10
|
||||
msgid ""
|
||||
"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 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:16
|
||||
#: ../../Creational/SimpleFactory/README.rst:13
|
||||
msgid "UML Diagram"
|
||||
msgstr ""
|
||||
msgstr "Diagrama UML"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:20
|
||||
msgid "Code"
|
||||
msgstr "Código"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:23
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:25
|
||||
msgid "You can also find this code on `GitHub`_"
|
||||
msgstr "Puedes encontrar el código en `GitHub`_"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:52
|
||||
#: ../../Creational/SimpleFactory/README.rst:47
|
||||
msgid "Test"
|
||||
msgstr ""
|
||||
msgstr "Test"
|
||||
|
@ -27,7 +27,7 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:8
|
||||
msgid "Purpose"
|
||||
msgstr "Proposito"
|
||||
msgstr "Propósito"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:10
|
||||
msgid ""
|
||||
|
@ -15,11 +15,11 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/StaticFactory/README.rst:2
|
||||
msgid "Static Factory"
|
||||
msgstr "Static Factory"
|
||||
msgstr "Factoría Estática"
|
||||
|
||||
#: ../../Creational/StaticFactory/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr "Proposito"
|
||||
msgstr "Propósito"
|
||||
|
||||
#: ../../Creational/StaticFactory/README.rst:7
|
||||
msgid ""
|
||||
@ -29,7 +29,7 @@ msgid ""
|
||||
"method to create all types of objects it can create. It is usually named "
|
||||
"``factory`` or ``build``."
|
||||
msgstr ""
|
||||
"Parecido a AbstractFactory, 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 "
|
||||
"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 "
|
||||
|
@ -26,7 +26,7 @@ msgid ""
|
||||
"To create series of related or dependent objects without specifying their "
|
||||
"concrete classes. Usually the created classes all implement the same "
|
||||
"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, it just knows how they go together."
|
||||
msgstr ""
|
||||
"Crear series de objetos relacionados o dependientes sin especificar su "
|
||||
"clase concreta. Usualmente todas clases creadas implementan la misma "
|
||||
|
Loading…
x
Reference in New Issue
Block a user