1
0
mirror of https://github.com/DesignPatternsPHP/DesignPatternsPHP.git synced 2025-05-01 04:09:38 +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:
Nicolás Marulanda P 2021-10-09 00:43:39 +02:00
parent 064ee4d652
commit 160366dbea
No known key found for this signature in database
GPG Key ID: 4A6112A9A83411CD
7 changed files with 55 additions and 60 deletions
locale/es/LC_MESSAGES/Structural
Adapter
Decorator
DependencyInjection
Facade
Flyweight
README.po
Registry

@ -1,16 +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: manueldose <metallica_462@hotmail.com>\n"
"PO-Revision-Date: 2021-10-09 00:17+0200\n"
"Last-Translator: Nicolás Marulanda P\n"
"Language: es\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: \n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Structural/Adapter/README.rst:2
msgid "`Adapter / Wrapper`__"
@ -28,8 +29,8 @@ msgid ""
"the original interface."
msgstr ""
"Para traducir una interfaz para una clase en una interfaz compatible. Un "
"adaptador permite que las clases que normalmente no podrían, trabajen juntas."
"Inicialmente no podrían debido a interfaces incompatibles al proporcionar su "
"adaptador permite que las clases que normalmente no podrían, trabajen juntas. "
"Inicialmente no podrían debido a interfaces incompatibles al proporcionar su "
"interfaz a los clientes durante el uso de la interfaz original."
#: ../../Structural/Adapter/README.rst:13
@ -38,7 +39,7 @@ msgstr "Ejemplos"
#: ../../Structural/Adapter/README.rst:15
msgid "DB Client libraries adapter"
msgstr "Adaptador de librerías DB Client"
msgstr "Adaptador de librerías DB Client"
#: ../../Structural/Adapter/README.rst:16
msgid ""

@ -1,16 +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: manueldose <metallica_462@hotmail.com>\n"
"PO-Revision-Date: 2021-10-09 00:19+0200\n"
"Last-Translator: Nicolás Marulanda P\n"
"Language: es\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: \n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Structural/Decorator/README.rst:2
msgid "`Decorator`__"
@ -33,8 +34,8 @@ msgid ""
"Web Service Layer: Decorators JSON and XML for a REST service (in this case,"
" only one of these should be allowed of course)"
msgstr ""
"Capa del Servicio Web: Decoradores JSON y XML para un servicio REST (en este caso,"
"solo se debe permitir uno de estos, por supuesto)"
"Capa del Servicio Web: Decoradores JSON y XML para un servicio REST (en este "
"caso, solo se debe permitir uno de estos, por supuesto)"
#: ../../Structural/Decorator/README.rst:17
msgid "UML Diagram"

@ -1,16 +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: manueldose <metallica_462@hotmail.com>\n"
"PO-Revision-Date: 2021-10-08 23:54+0200\n"
"Last-Translator: Nicolás Marulanda P\n"
"Language: es\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: \n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Structural/DependencyInjection/README.rst:2
msgid "`Dependency Injection`__"
@ -34,31 +35,14 @@ msgstr "Uso"
#: ../../Structural/DependencyInjection/README.rst:13
msgid ""
"Configuration gets injected and ``Connection`` will get all that it needs "
"from ``$config``. Without DI, the configuration would be created directly in"
" ``Connection``, which is not very good for testing and extending "
"``Connection``."
"``DatabaseConfiguration`` gets injected and ``DatabaseConnection`` will get all that "
"it needs from ``$config``. Without DI, the configuration would be created directly in "
"``DatabaseConnection``, which is not very good for testing and extending it."
msgstr ""
"``Configuration`` se inyecta y ``Connection`` obtendrá todo lo que 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 "
"``Connection``."
#: ../../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>`__."
"``DatabaseConfiguration`` se inyecta y ``DatabaseConnection`` obtendrá todo lo que "
"necesita de ``$config``. Sin Inyección de Dependencias, la configuración se crearía "
"directamente en ``DatabaseConnection``, lo que no es muy óptimo para testear y "
"extender."
#: ../../Structural/DependencyInjection/README.rst:26
msgid "Examples"
@ -83,7 +67,7 @@ msgid ""
msgstr ""
"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 "
"(es decir, enControladores)"
"(es decir, en Controladores)"
#: ../../Structural/DependencyInjection/README.rst:37
msgid "UML Diagram"

@ -22,8 +22,8 @@ msgstr "Propósito"
#: ../../Structural/Facade/README.rst:7
msgid ""
"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"
"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 "
"reduce coupling and follow the Law of Demeter."
msgstr ""
"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"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: manueldose <metallica_462@hotmail.com>\n"
"PO-Revision-Date: 2021-10-09 00:05+0200\n"
"Last-Translator: Nicolás Marulanda P\n"
"Language: es\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
"Language-Team: \n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Structural/Flyweight/README.rst:2
msgid "`Flyweight`__"
@ -37,7 +38,7 @@ msgid ""
msgstr ""
"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 "
"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 "
"cuando se necesite."
@ -56,4 +57,3 @@ msgstr "Puedes encontrar el código en `GitHub`_"
#: ../../Structural/Flyweight/README.rst:42
msgid "Test"
msgstr "Test"

@ -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: 2017-05-31 11:00+0200\n"
"Last-Translator: John J. GARCIA <salimoscon343@gmail.com>\n"
"PO-Revision-Date: 2021-10-09 00:15+0200\n"
"Last-Translator: Nicolás Marulanda P\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: es\n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Structural/README.rst:2
msgid "`Structural`__"
@ -21,5 +23,6 @@ msgid ""
" ease the design by identifying a simple way to realize relationships "
"between entities."
msgstr ""
"En Ingenieria de Software, los patrones de diseño estructurales son patrones que "
"facilitan el diseño mostrando una manera sencilla de realizar relaciones entre entidades"
"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."

@ -1,16 +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: manueldose <metallica_462@hotmail.com>\n"
"PO-Revision-Date: 2021-10-09 00:13+0200\n"
"Last-Translator: Nicolás Marulanda P\n"
"Language: es\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: \n"
"X-Generator: Poedit 2.0.5\n"
#: ../../Structural/Registry/README.rst:2
msgid "`Registry`__"
@ -24,11 +25,16 @@ msgstr "Propósito"
msgid ""
"To implement a central storage for objects often used throughout the "
"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 ""
"Implementar un almacenamiento central para los objetos que se utilizan con "
"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
msgid "Examples"