mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-27 18:20:22 +02:00
Structural - Translation to spanish
- Page DependencyInjection and Facade was not correctly referencing the original text. - The original text and the translation of the Registry page are updated. - Minor fixes.
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
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-09 00:17+0200\n"
|
||||||
"Last-Translator: manueldose <metallica_462@hotmail.com>\n"
|
"Last-Translator: Nicolás Marulanda P\n"
|
||||||
"Language: es\n"
|
"Language: es\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-Team: \n"
|
||||||
|
"X-Generator: Poedit 2.0.5\n"
|
||||||
|
|
||||||
#: ../../Structural/Adapter/README.rst:2
|
#: ../../Structural/Adapter/README.rst:2
|
||||||
msgid "`Adapter / Wrapper`__"
|
msgid "`Adapter / Wrapper`__"
|
||||||
@@ -28,8 +29,8 @@ msgid ""
|
|||||||
"the original interface."
|
"the original interface."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Para traducir una interfaz para una clase en una interfaz compatible. Un "
|
"Para traducir una interfaz para una clase en una interfaz compatible. Un "
|
||||||
"adaptador permite que las clases que normalmente no podrían, trabajen juntas."
|
"adaptador permite que las clases que normalmente no podrían, trabajen juntas. "
|
||||||
"Inicialmente no podrían debido a interfaces incompatibles al proporcionar su "
|
"Inicialmente no podrían debido a interfaces incompatibles al proporcionar su "
|
||||||
"interfaz a los clientes durante el uso de la interfaz original."
|
"interfaz a los clientes durante el uso de la interfaz original."
|
||||||
|
|
||||||
#: ../../Structural/Adapter/README.rst:13
|
#: ../../Structural/Adapter/README.rst:13
|
||||||
@@ -38,7 +39,7 @@ msgstr "Ejemplos"
|
|||||||
|
|
||||||
#: ../../Structural/Adapter/README.rst:15
|
#: ../../Structural/Adapter/README.rst:15
|
||||||
msgid "DB Client libraries adapter"
|
msgid "DB Client libraries adapter"
|
||||||
msgstr "Adaptador de librerías DB Client"
|
msgstr "Adaptador de librerías DB Client"
|
||||||
|
|
||||||
#: ../../Structural/Adapter/README.rst:16
|
#: ../../Structural/Adapter/README.rst:16
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@@ -1,16 +1,17 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
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-09 00:19+0200\n"
|
||||||
"Last-Translator: manueldose <metallica_462@hotmail.com>\n"
|
"Last-Translator: Nicolás Marulanda P\n"
|
||||||
"Language: es\n"
|
"Language: es\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-Team: \n"
|
||||||
|
"X-Generator: Poedit 2.0.5\n"
|
||||||
|
|
||||||
#: ../../Structural/Decorator/README.rst:2
|
#: ../../Structural/Decorator/README.rst:2
|
||||||
msgid "`Decorator`__"
|
msgid "`Decorator`__"
|
||||||
@@ -33,8 +34,8 @@ msgid ""
|
|||||||
"Web Service Layer: Decorators JSON and XML for a REST service (in this case,"
|
"Web Service Layer: Decorators JSON and XML for a REST service (in this case,"
|
||||||
" only one of these should be allowed of course)"
|
" only one of these should be allowed of course)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Capa del Servicio Web: Decoradores JSON y XML para un servicio REST (en este caso,"
|
"Capa del Servicio Web: Decoradores JSON y XML para un servicio REST (en este "
|
||||||
"solo se debe permitir uno de estos, por supuesto)"
|
"caso, solo se debe permitir uno de estos, por supuesto)"
|
||||||
|
|
||||||
#: ../../Structural/Decorator/README.rst:17
|
#: ../../Structural/Decorator/README.rst:17
|
||||||
msgid "UML Diagram"
|
msgid "UML Diagram"
|
||||||
|
@@ -1,16 +1,17 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
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:54+0200\n"
|
||||||
"Last-Translator: manueldose <metallica_462@hotmail.com>\n"
|
"Last-Translator: Nicolás Marulanda P\n"
|
||||||
"Language: es\n"
|
"Language: es\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-Team: \n"
|
||||||
|
"X-Generator: Poedit 2.0.5\n"
|
||||||
|
|
||||||
#: ../../Structural/DependencyInjection/README.rst:2
|
#: ../../Structural/DependencyInjection/README.rst:2
|
||||||
msgid "`Dependency Injection`__"
|
msgid "`Dependency Injection`__"
|
||||||
@@ -34,31 +35,14 @@ msgstr "Uso"
|
|||||||
|
|
||||||
#: ../../Structural/DependencyInjection/README.rst:13
|
#: ../../Structural/DependencyInjection/README.rst:13
|
||||||
msgid ""
|
msgid ""
|
||||||
"Configuration gets injected and ``Connection`` will get all that it needs "
|
"``DatabaseConfiguration`` gets injected and ``DatabaseConnection`` will get all that "
|
||||||
"from ``$config``. Without DI, the configuration would be created directly in"
|
"it needs from ``$config``. Without DI, the configuration would be created directly in "
|
||||||
" ``Connection``, which is not very good for testing and extending "
|
"``DatabaseConnection``, which is not very good for testing and extending it."
|
||||||
"``Connection``."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"``Configuration`` se inyecta y ``Connection`` obtendrá todo lo que necesita "
|
"``DatabaseConfiguration`` se inyecta y ``DatabaseConnection`` obtendrá todo lo que "
|
||||||
"de ``$config``. Sin Inyección de Dependencias, la configuración se crearía "
|
"necesita de ``$config``. Sin Inyección de Dependencias, la configuración se crearía "
|
||||||
"directamente en ``Connection``, lo que no es muy óptimo para testear y extender "
|
"directamente en ``DatabaseConnection``, lo que no es muy óptimo para testear y "
|
||||||
"``Connection``."
|
"extender."
|
||||||
|
|
||||||
#: ../../Structural/DependencyInjection/README.rst:18
|
|
||||||
msgid ""
|
|
||||||
"Notice we are following Inversion of control principle in ``Connection`` by "
|
|
||||||
"asking ``$config`` to implement ``Parameters`` interface. This decouples our"
|
|
||||||
" components. We don't care where the source of information comes from, we "
|
|
||||||
"only care that ``$config`` has certain methods to retrieve that information."
|
|
||||||
" Read more about Inversion of control `here "
|
|
||||||
"<http://en.wikipedia.org/wiki/Inversion_of_control>`__."
|
|
||||||
msgstr ""
|
|
||||||
"Observe que estamos siguiendo el principio de inversión de control en` `Conexión`` "
|
|
||||||
"pidiendo a ``$ config`` que implemente la interfaz de ``Parámetros``. Esto desacopla "
|
|
||||||
"nuestros componentes. No nos importa de dónde viene la fuente de información, nosotros"
|
|
||||||
"solo nos importa que ``$ config`` tenga ciertos métodos para recuperar esa información."
|
|
||||||
"Leer más sobre Inversión de control `aquí "
|
|
||||||
"<https://es.wikipedia.org/wiki/Inversi%C3%B3n_de_control>`__."
|
|
||||||
|
|
||||||
#: ../../Structural/DependencyInjection/README.rst:26
|
#: ../../Structural/DependencyInjection/README.rst:26
|
||||||
msgid "Examples"
|
msgid "Examples"
|
||||||
@@ -83,7 +67,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"muchos frameworks ya tienen contenedores para inyección de dependencias que crean "
|
"muchos frameworks ya tienen contenedores para inyección de dependencias que crean "
|
||||||
"objetos a través de una matriz de configuración y los inyecta donde sea necesario "
|
"objetos a través de una matriz de configuración y los inyecta donde sea necesario "
|
||||||
"(es decir, enControladores)"
|
"(es decir, en Controladores)"
|
||||||
|
|
||||||
#: ../../Structural/DependencyInjection/README.rst:37
|
#: ../../Structural/DependencyInjection/README.rst:37
|
||||||
msgid "UML Diagram"
|
msgid "UML Diagram"
|
||||||
|
@@ -22,8 +22,8 @@ msgstr "Propósito"
|
|||||||
|
|
||||||
#: ../../Structural/Facade/README.rst:7
|
#: ../../Structural/Facade/README.rst:7
|
||||||
msgid ""
|
msgid ""
|
||||||
"The primary goal of a Facade Pattern is not to avoid you having to read the"
|
"The primary goal of a Facade Pattern is not to avoid you having to read the "
|
||||||
"manual of a complex API. It's only a side-effect. The first goal is to"
|
"manual of a complex API. It's only a side-effect. The first goal is to "
|
||||||
"reduce coupling and follow the Law of Demeter."
|
"reduce coupling and follow the Law of Demeter."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"El objetivo principal del Patrón Facade (o Patrón Fachada) no es evitar que "
|
"El objetivo principal del Patrón Facade (o Patrón Fachada) no es evitar que "
|
||||||
|
@@ -10,14 +10,15 @@ 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: 2016-06-03 23:59+0200\n"
|
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: 2021-10-09 00:05+0200\n"
|
||||||
"Last-Translator: manueldose <metallica_462@hotmail.com>\n"
|
"Last-Translator: Nicolás Marulanda P\n"
|
||||||
"Language: es\n"
|
"Language: es\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"
|
||||||
"Generated-By: Babel 2.3.4\n"
|
"Generated-By: Babel 2.3.4\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"X-Generator: Poedit 2.0.5\n"
|
||||||
|
|
||||||
#: ../../Structural/Flyweight/README.rst:2
|
#: ../../Structural/Flyweight/README.rst:2
|
||||||
msgid "`Flyweight`__"
|
msgid "`Flyweight`__"
|
||||||
@@ -37,7 +38,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Para minimizar el uso de la memoria, un Flyweight comparte tanta memoria como "
|
"Para minimizar el uso de la memoria, un Flyweight comparte tanta memoria como "
|
||||||
"sea posible con objetos similares. Es necesario cuando se utiliza una gran "
|
"sea posible con objetos similares. Es necesario cuando se utiliza una gran "
|
||||||
"cantidad de objetos que no difieren mucho en el estado. Una práctica común es"
|
"cantidad de objetos que no difieren mucho en el estado. Una práctica común es "
|
||||||
"mantener el estado en estructuras de datos externas y pasarlas al objeto flyweight "
|
"mantener el estado en estructuras de datos externas y pasarlas al objeto flyweight "
|
||||||
"cuando se necesite."
|
"cuando se necesite."
|
||||||
|
|
||||||
@@ -56,4 +57,3 @@ msgstr "Puedes encontrar el código en `GitHub`_"
|
|||||||
#: ../../Structural/Flyweight/README.rst:42
|
#: ../../Structural/Flyweight/README.rst:42
|
||||||
msgid "Test"
|
msgid "Test"
|
||||||
msgstr "Test"
|
msgstr "Test"
|
||||||
|
|
||||||
|
@@ -1,15 +1,17 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
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: 2017-05-31 11:00+0200\n"
|
"PO-Revision-Date: 2021-10-09 00:15+0200\n"
|
||||||
"Last-Translator: John J. GARCIA <salimoscon343@gmail.com>\n"
|
"Last-Translator: Nicolás Marulanda P\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \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"
|
||||||
|
"X-Generator: Poedit 2.0.5\n"
|
||||||
|
|
||||||
#: ../../Structural/README.rst:2
|
#: ../../Structural/README.rst:2
|
||||||
msgid "`Structural`__"
|
msgid "`Structural`__"
|
||||||
@@ -21,5 +23,6 @@ msgid ""
|
|||||||
" ease the design by identifying a simple way to realize relationships "
|
" ease the design by identifying a simple way to realize relationships "
|
||||||
"between entities."
|
"between entities."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"En Ingenieria de Software, los patrones de diseño estructurales son patrones que "
|
"En Ingeniería de Software, los patrones de diseño estructurales son patrones que "
|
||||||
"facilitan el diseño mostrando una manera sencilla de realizar relaciones entre entidades"
|
"facilitan el diseño mostrando una manera sencilla de realizar relaciones entre "
|
||||||
|
"entidades."
|
||||||
|
@@ -1,16 +1,17 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
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-09 00:13+0200\n"
|
||||||
"Last-Translator: manueldose <metallica_462@hotmail.com>\n"
|
"Last-Translator: Nicolás Marulanda P\n"
|
||||||
"Language: es\n"
|
"Language: es\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-Team: \n"
|
||||||
|
"X-Generator: Poedit 2.0.5\n"
|
||||||
|
|
||||||
#: ../../Structural/Registry/README.rst:2
|
#: ../../Structural/Registry/README.rst:2
|
||||||
msgid "`Registry`__"
|
msgid "`Registry`__"
|
||||||
@@ -24,11 +25,16 @@ msgstr "Propósito"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"To implement a central storage for objects often used throughout the "
|
"To implement a central storage for objects often used throughout the "
|
||||||
"application, is typically implemented using an abstract class with only "
|
"application, is typically implemented using an abstract class with only "
|
||||||
"static methods (or using the Singleton pattern)"
|
"static methods (or using the Singleton pattern). Remember that this "
|
||||||
|
"introduces global state, which should be avoided at all times! Instead "
|
||||||
|
"implement it using Dependency Injection!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Implementar un almacenamiento central para los objetos que se utilizan con "
|
"Implementar un almacenamiento central para los objetos que se utilizan con "
|
||||||
"frecuencia en toda la aplicación, normalmente se implementa utilizando una "
|
"frecuencia en toda la aplicación, normalmente se implementa utilizando una "
|
||||||
"clase abstracta con solo métodos estáticos (o usando el patrón Singleton)"
|
"clase abstracta con solo métodos estáticos (o usando el patrón Singleton). "
|
||||||
|
"¡Recuerde que esto introduce un estado global, que debe ser evitado en "
|
||||||
|
"todo momento. En su lugar, impleméntelo utilizando la Inyección de "
|
||||||
|
"Dependencia!"
|
||||||
|
|
||||||
#: ../../Structural/Registry/README.rst:12
|
#: ../../Structural/Registry/README.rst:12
|
||||||
msgid "Examples"
|
msgid "Examples"
|
||||||
|
Reference in New Issue
Block a user