Skip to content

Commit 9123b37

Browse files
rtobarcmaureir
authored andcommitted
Traduce library/pkgutil.po (#1359)
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
1 parent 7f42fdc commit 9123b37

File tree

2 files changed

+37
-9
lines changed

2 files changed

+37
-9
lines changed

dictionaries/library_pkgutil.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Pyramid

library/pkgutil.po

+36-9
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@
66
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#, fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version: Python 3.8\n"
1312
"Report-Msgid-Bugs-To: \n"
1413
"POT-Creation-Date: 2021-03-19 11:16+0100\n"
15-
"PO-Revision-Date: 2020-10-08 22:10+0200\n"
16-
"Last-Translator: Andreu Vallbona Plazas <avallbona@gmail.com>\n"
14+
"PO-Revision-Date: 2021-08-24 09:57+0800\n"
15+
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
1716
"Language-Team: python-doc-es\n"
1817
"MIME-Version: 1.0\n"
1918
"Content-Type: text/plain; charset=utf-8\n"
2019
"Content-Transfer-Encoding: 8bit\n"
2120
"Generated-By: Babel 2.8.0\n"
21+
"Language: es\n"
22+
"X-Generator: Poedit 2.4.2\n"
2223

2324
#: ../Doc/library/pkgutil.rst:2
2425
msgid ":mod:`pkgutil` --- Package extension utility"
@@ -144,7 +145,6 @@ msgstr ""
144145
"mod:`importlib`."
145146

146147
#: ../Doc/library/pkgutil.rst:71
147-
#, fuzzy
148148
msgid ""
149149
":term:`Loader <loader>` that wraps Python's \"classic\" import algorithm."
150150
msgstr ""
@@ -198,7 +198,7 @@ msgid ""
198198
"path_hooks` is necessary."
199199
msgstr ""
200200
"La caché (o parte de ella) puede ser borrada manualmente si el escaneo de :"
201-
"data:`sys.path_hooks` es necesario. "
201+
"data:`sys.path_hooks` es necesario."
202202

203203
#: ../Doc/library/pkgutil.rst:111
204204
msgid "Get a :term:`loader` object for *module_or_name*."
@@ -370,29 +370,37 @@ msgstr ""
370370

371371
#: ../Doc/library/pkgutil.rst:234
372372
msgid "Resolve a name to an object."
373-
msgstr ""
373+
msgstr "Resuelve un nombre a un objeto."
374374

375375
#: ../Doc/library/pkgutil.rst:236
376376
msgid ""
377377
"This functionality is used in numerous places in the standard library (see :"
378378
"issue:`12915`) - and equivalent functionality is also in widely used third-"
379379
"party packages such as setuptools, Django and Pyramid."
380380
msgstr ""
381+
"Esta funcionalidad es usada en numerosos lugares en la librería estándar "
382+
"(ver :issue:`12915`) - y existe funcionalidad equivalente también en "
383+
"librerías de terceros ampliamente usadas, tales como setuptools, Django y "
384+
"Pyramid."
381385

382386
#: ../Doc/library/pkgutil.rst:240
383387
msgid ""
384388
"It is expected that *name* will be a string in one of the following formats, "
385389
"where W is shorthand for a valid Python identifier and dot stands for a "
386390
"literal period in these pseudo-regexes:"
387391
msgstr ""
392+
"Se espera que *name* sea una cadena de caracteres en uno de los siguientes "
393+
"formatos, donde W representa un identificador de Python válido, y un punto "
394+
"representa literalmente un punto en las siguientes pseudo-expresiones "
395+
"regulares:"
388396

389397
#: ../Doc/library/pkgutil.rst:244
390398
msgid "``W(.W)*``"
391-
msgstr ""
399+
msgstr "``W(.W)*``"
392400

393401
#: ../Doc/library/pkgutil.rst:245
394402
msgid "``W(.W)*:(W(.W)*)?``"
395-
msgstr ""
403+
msgstr "``W(.W)*:(W(.W)*)?``"
396404

397405
#: ../Doc/library/pkgutil.rst:247
398406
msgid ""
@@ -403,6 +411,12 @@ msgid ""
403411
"inferred by inspection, repeated attempts to import must be done with this "
404412
"form."
405413
msgstr ""
414+
"La primera forma existe sólo para mantener compatibilidad con versiones "
415+
"anteriores. Asume que parte del nombre con puntos es un paquete, y el resto "
416+
"es un objeto en algún lugar dentro de ese paquete, posiblemente anidado "
417+
"dentro de otros objetos. Dado que el lugar donde el paquete termina y la "
418+
"jerarquía de objetos comienza no puede ser inferida por inspección, con esta "
419+
"forma se debe realizar repetidos intentos de importación."
406420

407421
#: ../Doc/library/pkgutil.rst:254
408422
msgid ""
@@ -412,23 +426,36 @@ msgid ""
412426
"hierarchy within that package. Only one import is needed in this form. If it "
413427
"ends with the colon, then a module object is returned."
414428
msgstr ""
429+
"En la segunda forma, el usuario hace claro el punto de división al proveer "
430+
"un signo de dos puntos: el nombre con puntos a la izquierda de los dos "
431+
"puntos es el paquete a ser importado, y el nombre con puntos a la derecha es "
432+
"la jerarquía de nombres dentro de ese paquete. Sólo una importación se "
433+
"necesaria con esta forma. Si termina con dos puntos, entonces se retorna un "
434+
"objeto módulo."
415435

416436
#: ../Doc/library/pkgutil.rst:260
417437
msgid ""
418438
"The function will return an object (which might be a module), or raise one "
419439
"of the following exceptions:"
420440
msgstr ""
441+
"La función retornará un objeto (el cual puede ser un módulo), o lanzará una "
442+
"de las siguientes excepciones:"
421443

422444
#: ../Doc/library/pkgutil.rst:263
423445
msgid ":exc:`ValueError` -- if *name* isn't in a recognised format."
424-
msgstr ""
446+
msgstr ":exc:`ValueError` -- si *name* no tiene un formato reconocido."
425447

426448
#: ../Doc/library/pkgutil.rst:265
427449
msgid ":exc:`ImportError` -- if an import failed when it shouldn't have."
428450
msgstr ""
451+
":exc:`ImportError` -- si una importación falló cuando no lo debería haber "
452+
"hecho."
429453

430454
#: ../Doc/library/pkgutil.rst:267
431455
msgid ""
432456
":exc:`AttributeError` -- If a failure occurred when traversing the object "
433457
"hierarchy within the imported package to get to the desired object."
434458
msgstr ""
459+
":exc:`AttributeError` -- Si un fallo ocurrió mientras se atravesaba la "
460+
"jerarquía de objetos dentro del paquete importado para obtener el objeto "
461+
"deseado."

0 commit comments

Comments
 (0)