8000 Traduccion library/email.message by psicobloc · Pull Request #1076 · python/python-docs-es · GitHub
[go: up one dir, main page]

Skip to content

Traduccion library/email.message #1076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 19, 2021
Prev Previous commit
Next Next commit
Progreso 86%
  • Loading branch information
psicobloc committed Oct 24, 2020
commit 47b8893247fd79d3650afa32e4e03f5312440975
41 changes: 38 additions & 3 deletions library/email.message.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
"PO-Revision-Date: 2020-10-13 11:06-0500\n"
"PO-Revision-Date: 2020-10-23 20:36-0500\n"
"Language-Team: python-doc-es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -685,14 +685,13 @@ msgstr "Se agregó la palabra clave ``replace``."
# El header *optional* especifica una alternativa a :mailheader:`Content-Type`.
# ?
#: ../Doc/library/email.message.rst:389
#, fuzzy
msgid ""
"Remove the given parameter completely from the :mailheader:`Content-Type` "
"header. The header will be re-written in place without the parameter or its "
"value. Optional *header* specifies an alternative to :mailheader:`Content-"
"Type`."
msgstr ""
"Elimina el parámetro dado completamente del *header* :mailheader:`Content-"
"Elimina completamente el parámetro dado del *header* :mailheader:`Content-"
"Type`. El *header* será reescrito en su lugar, sin el parámetro o su valor. "
"El header *optional* especifica una alternativa a :mailheader:`Content-Type`."

Expand All @@ -705,6 +704,12 @@ msgid ""
"the header is missing, then *failobj* is returned. The returned string will "
"always be unquoted as per :func:`email.utils.unquote`."
msgstr ""
"Retorna el valor del parpametro ``filename`` del *header* :mailheader:"
"`Content-Disposition` del mensaje. Si el *header* no tiene un parámetro "
"``filename``, este método recae a buscar el parámetro ``name`` en el "
"*header* :mailheader:`Content-Type`. Si ninguno se encuentra o falta el "
"*header*, se retorna *failobj*. La cadena retornada siempre estará sin "
"comillas según :func:`email.utils.unquote`."

# "as per" traducido como "según" ?
#: ../Doc/library/email.message.rst:411
Expand All @@ -727,6 +732,10 @@ msgid ""
"necessary. A :exc:`~email.errors.HeaderParseError` is raised if the message "
"object has no :mailheader:`Content-Type` header."
msgstr ""
"Establece el parámetro ``boundary`` del *header* :mailheader:`Content-Type` "
"como *boundary*. :meth:`set_boundary` siempre que sea necesario pondrá "
"comillas a *boundary*. Si el objeto mensaje no tiene *header* :mailheader:"
"`Content-Type` se lanza :exc:`~email.errors.HeaderParseError`."

#: ../Doc/library/email.message.rst:424
msgid ""
Expand All @@ -735,6 +744,11 @@ msgid ""
"via :meth:`add_header`, because :meth:`set_boundary` preserves the order of "
"the :mailheader:`Content-Type` header in the list of headers."
msgstr ""
"Note que usar este método es sutilmente diferente a borrar el *header* :"
"mailheader:`Content-Type` antiguo y agregar uno nuevo con el nuevo "
"*boundary* utilizando :meth:`add_header`, porque :meth:`set_boundary` "
"preserva el orden del *header* :mailheader:`Content-Type` en la lista de "
"encabezados."

#: ../Doc/library/email.message.rst:433
msgid ""
Expand Down Expand Up @@ -764,6 +778,11 @@ msgid ""
"``charset`` parameter, or is not of the :mimetype:`text` main MIME type, "
"then that item in the returned list will be *failobj*."
msgstr ""
"Cada elemento de la lista será una cadena que tendrá el valor del parámetro "
"``charset`` en el *header* :mailheader:`Content-Type` para la subparte "
"representada. Si la subparte no tiene *header* :mailheader:`Content-Type`, "
"no tiene parámetro ``charset``, o no es del tipo MIME principal :mimetype:"
"`text`, entonces ese elemento en la lista retornada será *failobj*."

#: ../Doc/library/email.message.rst:453
msgid ""
Expand Down Expand Up @@ -802,13 +821,20 @@ msgstr ""
"Los siguientes métodos se refieren a interrogar y manipular el contenido "
"(*payload*) del mensaje."

# no encontré en la memoria otra traducción de all-purpose, me pareció bien multipropósito, podría ser también "universal", o "para todo propósito"?
#: ../Doc/library/email.message.rst:477
#, fuzzy
msgid ""
"The :meth:`walk` method is an all-purpose generator which can be used to "
"iterate over all the parts and subparts of a message object tree, in depth-"
"first traversal order. You will typically use :meth:`walk` as the iterator "
"in a ``for`` loop; each iteration returns the next subpart."
msgstr ""
"El método :meth:`walk` es un generador multipropósito que puede usarse para "
"iterar sobre todas las partes y subpartes del árbol de un objeto mensaje, "
"ordenando el recorrido en profundidad primero. Típicamente se usaría :meth:"
"`walk` como el iterador en un ciclo ``for``; cada iteración retornará la "
"siguiente subparte."

#: ../Doc/library/email.message.rst:482
msgid ""
Expand All @@ -825,6 +851,10 @@ msgid ""
"may return ``False``. We can see this in our example by making use of the "
"``_structure`` debug helper function:"
msgstr ""
"``walk`` itera sobre las subpartes de cualquier parte donde :meth:"
"`is_multipart` retorna ``True``, aun si ``msg.get_content_maintype() == "
"'multipart'`` pueda retornar ``False``. Podemos ver esto en nuestro ejemplo "
"al hacer uso de la función auxiliar de depuración ``_structure``:"

#: ../Doc/library/email.message.rst:531
msgid ""
Expand Down Expand Up @@ -881,6 +911,11 @@ msgid ""
"it when looking for candidate matches. Otherwise consider only the first "
"(default root) part of the ``multipart/related``."
msgstr ""
"Cuando se encuentra una ``multipart/related``, verifica el parámetro "
"``start`` y si se encuentra una parte con un :mailheader:`Content-ID` que "
"coincida, considera solamente a ésta cuando se busca coincidencias "
"candidatas. De otra forma considera sólo la primera parte (predeterminado "
"*root*) de la ``multipart/related``."

#: ../Doc/library/email.message.rst:557
msgid ""
Expand Down
0