From 160366dbea6502e0a6cb24614ee5ef3971155deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Marulanda=20P?= Date: Sat, 9 Oct 2021 00:43:39 +0200 Subject: [PATCH] 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. --- .../LC_MESSAGES/Structural/Adapter/README.po | 15 +++---- .../Structural/Decorator/README.po | 13 +++--- .../Structural/DependencyInjection/README.po | 42 ++++++------------- .../LC_MESSAGES/Structural/Facade/README.po | 4 +- .../Structural/Flyweight/README.po | 10 ++--- locale/es/LC_MESSAGES/Structural/README.po | 13 +++--- .../LC_MESSAGES/Structural/Registry/README.po | 18 +++++--- 7 files changed, 55 insertions(+), 60 deletions(-) diff --git a/locale/es/LC_MESSAGES/Structural/Adapter/README.po b/locale/es/LC_MESSAGES/Structural/Adapter/README.po index 096e7bd..90d30f0 100644 --- a/locale/es/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/es/LC_MESSAGES/Structural/Adapter/README.po @@ -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 \n" +"PO-Revision-Date: 2021-10-09 00:17+0200\n" +"Last-Translator: Nicolás Marulanda P\n" "Language: es\n" -"Language-Team: LANGUAGE \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 "" diff --git a/locale/es/LC_MESSAGES/Structural/Decorator/README.po b/locale/es/LC_MESSAGES/Structural/Decorator/README.po index ff018db..671b049 100644 --- a/locale/es/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/es/LC_MESSAGES/Structural/Decorator/README.po @@ -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 \n" +"PO-Revision-Date: 2021-10-09 00:19+0200\n" +"Last-Translator: Nicolás Marulanda P\n" "Language: es\n" -"Language-Team: LANGUAGE \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" diff --git a/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po index 6897128..18772f1 100644 --- a/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -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 \n" +"PO-Revision-Date: 2021-10-08 23:54+0200\n" +"Last-Translator: Nicolás Marulanda P\n" "Language: es\n" -"Language-Team: LANGUAGE \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 " -"`__." -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í " -"`__." +"``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" diff --git a/locale/es/LC_MESSAGES/Structural/Facade/README.po b/locale/es/LC_MESSAGES/Structural/Facade/README.po index 98b3f01..0e5fd43 100644 --- a/locale/es/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/es/LC_MESSAGES/Structural/Facade/README.po @@ -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 " diff --git a/locale/es/LC_MESSAGES/Structural/Flyweight/README.po b/locale/es/LC_MESSAGES/Structural/Flyweight/README.po index 8c13cdb..52158b3 100644 --- a/locale/es/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/es/LC_MESSAGES/Structural/Flyweight/README.po @@ -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 \n" +"PO-Revision-Date: 2021-10-09 00:05+0200\n" +"Last-Translator: Nicolás Marulanda P\n" "Language: es\n" -"Language-Team: LANGUAGE \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" - diff --git a/locale/es/LC_MESSAGES/Structural/README.po b/locale/es/LC_MESSAGES/Structural/README.po index 6c53b7d..eb370ae 100644 --- a/locale/es/LC_MESSAGES/Structural/README.po +++ b/locale/es/LC_MESSAGES/Structural/README.po @@ -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 \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." diff --git a/locale/es/LC_MESSAGES/Structural/Registry/README.po b/locale/es/LC_MESSAGES/Structural/Registry/README.po index 3fd3e7d..f4402f5 100644 --- a/locale/es/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/es/LC_MESSAGES/Structural/Registry/README.po @@ -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 \n" +"PO-Revision-Date: 2021-10-09 00:13+0200\n" +"Last-Translator: Nicolás Marulanda P\n" "Language: es\n" -"Language-Team: LANGUAGE \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"