Skip to content

Commit dd08b1d

Browse files
jdgc14mmmarcos
andauthored
Traducido archivo library/urllib.request (#2292)
Closes #1981 --------- Co-authored-by: Marcos Medrano <marcosmedrano0@gmail.com>
1 parent 5cbc0e7 commit dd08b1d

File tree

2 files changed

+25
-14
lines changed

2 files changed

+25
-14
lines changed

dictionaries/library_urllib.request.txt renamed to dictionaries/library_urllib_request.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ permanently
3939
redirect
4040
addinfourl
4141
is
42+
disponibilidad

library/urllib.request.po

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
14-
"PO-Revision-Date: 2021-08-26 23:42+0800\n"
14+
"PO-Revision-Date: 2023-02-19 10:39-0500\n"
1515
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
16-
"Language: es\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.10.3\n"
23+
"X-Generator: Poedit 3.0.1\n"
2324

2425
#: ../Doc/library/urllib.request.rst:2
2526
msgid ":mod:`urllib.request` --- Extensible library for opening URLs"
@@ -47,15 +48,19 @@ msgstr ""
4748
"Se recomienda el `paquete Requests <https://requests.readthedocs.io/en/"
4849
"master/>`_ para una interfaz de cliente HTTP de mayor nivel."
4950

51+
#, fuzzy
5052
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
51-
msgstr ""
53+
msgstr ":ref:`Disponibilidad <availability>`: no Emscripten, no WASI."
5254

5355
#: ../Doc/library/cpython/Doc/includes/wasm-notavail.rst:5
5456
msgid ""
5557
"This module does not work or is not available on WebAssembly platforms "
5658
"``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for "
5759
"more information."
5860
msgstr ""
61+
"Este módulo no funciona o no está disponible en las plataformas WebAssembly "
62+
"``wasm32-emscripten`` y ``wasm32-wasi``. Consulte :ref:`wasm-availability` "
63+
"para obtener más información."
5964

6065
#: ../Doc/library/urllib.request.rst:26
6166
msgid "The :mod:`urllib.request` module defines the following functions:"
@@ -84,7 +89,7 @@ msgid ""
8489
"urllib.request module uses HTTP/1.1 and includes ``Connection:close`` header "
8590
"in its HTTP requests."
8691
msgstr ""
87-
"El módulo urllib.request usa HTTP/1.1 e incluye el encabezado ``Connection:"
92+
"el módulo urllib.request usa HTTP/1.1 e incluye el encabezado ``Connection:"
8893
"close`` en sus peticiones HTTP."
8994

9095
#: ../Doc/library/urllib.request.rst:41
@@ -434,7 +439,6 @@ msgstr ""
434439
"codificada a bytes antes de ser usada como el parámetro *data*."
435440

436441
#: ../Doc/library/urllib.request.rst:213
437-
#, fuzzy
438442
msgid ""
439443
"*headers* should be a dictionary, and will be treated as if :meth:"
440444
"`add_header` was called with each key and value as arguments. This is often "
@@ -454,7 +458,8 @@ msgstr ""
454458
"diferencia de los scripts. Por ejemplo, Mozilla Firefox puede identificarse "
455459
"a sí mismo como ``\"Mozilla/5.0 (X11; U; Linux i686) Gecko/20071127 "
456460
"Firefox/2.0.0.11\"``, mientras el agente de usuario predeterminado de :mod:"
457-
"`urllib` es ``\"Python-urllib/2.6\"`` (en Python 2.6)."
461+
"`urllib` es ``\"Python-urllib/2.6\"`` (en Python 2.6). Todas las claves de "
462+
"los encabezados se envían en camel case."
458463

459464
#: ../Doc/library/urllib.request.rst:224
460465
msgid ""
@@ -926,7 +931,6 @@ msgid "get_method now looks at the value of :attr:`Request.method`."
926931
msgstr "get_method ahora mira el valor de :attr:`Request.method`."
927932

928933
#: ../Doc/library/urllib.request.rst:545
929-
#, fuzzy
930934
msgid ""
931935
"Add another header to the request. Headers are currently ignored by all "
932936
"handlers except HTTP handlers, where they are added to the list of headers "
@@ -945,7 +949,8 @@ msgstr ""
945949
"colisione. Actualmente, esto no es una pérdida de funcionalidad HTTP, ya que "
946950
"todos los encabezados que tienen sentido cuando son usados más de una vez "
947951
"tienen una manera (específica de encabezado) de ganar la misma funcionalidad "
948-
"usando sólo un encabezado."
952+
"usando sólo un encabezado. Tenga en cuenta que los encabezados agregados con "
953+
"este método también se agregan a las solicitudes redirigidas."
949954

950955
#: ../Doc/library/urllib.request.rst:557
951956
msgid "Add a header that will not be added to a redirected request."
@@ -1264,6 +1269,12 @@ msgid ""
12641269
"URLError`, unless a truly exceptional thing happens (for example, :exc:"
12651270
"`MemoryError` should not be mapped to :exc:`URLError`)."
12661271
msgstr ""
1272+
"Este método, si se implementa, será llamado por el :class:`OpenerDirector` "
1273+
"padre. Debería devolver un objeto tipo archivo como se describe en el valor "
1274+
"de retorno del método :meth:`~OpenerDirector.open` de la clase :class:"
1275+
"`OpenerDirector`, o ``None``. Debería levantar :exc:`~urllib.error."
1276+
"URLError`, a menos que suceda algo verdaderamente excepcional (por ejemplo, :"
1277+
"exc:`MemoryError` no debe asignarse a :exc:`URLError`)."
12671278

12681279
#: ../Doc/library/urllib.request.rst:748
12691280
msgid "This method will be called before any protocol-specific open method."
@@ -1490,24 +1501,24 @@ msgstr ""
14901501
"other'."
14911502

14921503
#: ../Doc/library/urllib.request.rst:881
1493-
#, fuzzy
14941504
msgid ""
14951505
"The same as :meth:`http_error_301`, but called for the 'temporary redirect' "
14961506
"response. It does not allow changing the request method from ``POST`` to "
14971507
"``GET``."
14981508
msgstr ""
14991509
"Lo mismo que :meth:`http_error_301`, pero invocado para la respuesta "
1500-
"'temporary redirect'."
1510+
"'redirección temporal'. No permite cambiar el método de solicitud de "
1511+
"``POST`` a ``GET``."
15011512

15021513
#: ../Doc/library/urllib.request.rst:888
1503-
#, fuzzy
15041514
msgid ""
15051515
"The same as :meth:`http_error_301`, but called for the 'permanent redirect' "
15061516
"response. It does not allow changing the request method from ``POST`` to "
15071517
"``GET``."
15081518
msgstr ""
15091519
"Lo mismo que :meth:`http_error_301`, pero invocado para la respuesta "
1510-
"'temporary redirect'."
1520+
"'redirección permanente'. No permite cambiar el método de solicitud de "
1521+
"``POST`` a ``GET``."
15111522

15121523
#: ../Doc/library/urllib.request.rst:898
15131524
msgid "HTTPCookieProcessor Objects"
@@ -1934,7 +1945,6 @@ msgstr ""
19341945
"envvar:`http_proxy` para obtener la URL del proxy HTTP."
19351946

19361947
#: ../Doc/library/urllib.request.rst:1282
1937-
#, fuzzy
19381948
msgid ""
19391949
"This example replaces the default :class:`ProxyHandler` with one that uses "
19401950
"programmatically supplied proxy URLs, and adds proxy authorization support "

0 commit comments

Comments
 (0)