Skip to content

Commit 15fa779

Browse files
committed
continue the translation of plugins.rst
1 parent ed5200d commit 15fa779

1 file changed

Lines changed: 22 additions & 25 deletions

File tree

docs/es/plugins.rst

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -150,26 +150,24 @@ shell actual.
150150

151151
.. warning::
152152

153-
virtualenvwrapper works under several shells with slightly
154-
different syntax (bash, sh, zsh, ksh). Take this portability into
155-
account when defining source hooks. Sticking to the simplest
156-
possible syntax usually avoids problems, but there may be cases
157-
where examining the ``SHELL`` environment variable to generate
158-
different syntax for each case is the only way to achieve the
159-
desired result.
153+
virtualenvwrapper funciona en varios shells con una sintaxis ligeramente
154+
diferente (bash, sh, zsh, ksh). Ten en cuenta esta portabilidad cuando
155+
definas ganchos incluídos (*sourced hooks*). Mantener la sintaxis lo más simple
156+
posible evitará problemas comunes, pero quizás haya casos donde
157+
examinar la varible de entorno ``SHELL`` y generar diferente sintaxis
158+
para cada caso sea la única manera de alcanzar el resultado desedo.
160159

161-
Registering Entry Points
162-
------------------------
160+
Registrar puntos de entrada
161+
---------------------------
163162

164-
The functions defined in the plugin need to be registered as *entry
165-
points* in order for virtualenvwrapper's hook loader to find them.
166-
Distribute_ entry points are configured in the ``setup.py`` for your
167-
package by mapping the entry point name to the function in the package
168-
that implements it.
163+
Las funciones definidas en el plugin necesitan ser registradas como *puntos de
164+
entrada* para que el cargador de ganchos de virtualenvwrapper los encuentre.
165+
Los puntos de entrada de Distribute_ se configuran en el ``setup.py`` de tu
166+
paquete coincidiendo el nombre del punto de entrada con la función en el paquete
167+
que lo implementa.
169168

170-
This partial copy of virtualenvwrapper's ``setup.py`` illustrates how
171-
the ``initialize()`` and ``initialize_source()`` entry points are
172-
configured.
169+
Una copia parcial del ``setup.py`` de virtualenvwrapper ilustra cómo los puntos
170+
de entrada ``initialize()`` y ``initialize_source()`` son configurados.
173171

174172
::
175173
@@ -201,15 +199,14 @@ configured.
201199
},
202200
)
203201

204-
The ``entry_points`` argument to ``setup()`` is a dictionary mapping
205-
the entry point *group names* to lists of entry point specifiers. A
206-
different group name is defined by virtualenvwrapper for each
207-
extension point (see :ref:`plugins-extension-points`).
202+
El argumento ``entry_points`` de ``setup()`` es un diccionario que mapea los
203+
*grupos de nombre* de puntos de entrada a listas de puntos de entrada
204+
específicos. Un nombre de grupo diferente es definido por virtualenvwrapper por
205+
cada punto de extensión (ver :ref:`plugins-extension-points`).
208206

209-
The entry point specifiers are strings with the syntax ``name =
210-
package.module:function``. By convention, the *name* of each entry
211-
point is the plugin name, but that is not required (the names are not
212-
used).
207+
Los identificadores de puntos de entrada son strings con la sintaxis ``name =
208+
package.module:function``. Por convención, el *nombre* de cada punto de entrada
209+
es el nombre del plugin, pero esto no es requerido (los nombres no son usados).
213210

214211
.. seealso::
215212

0 commit comments

Comments
 (0)