Skip to content

Commit 5cd9445

Browse files
committed
Partial commit (smtplib)
1 parent bd065c9 commit 5cd9445

2 files changed

Lines changed: 74 additions & 28 deletions

File tree

.overrides/translation-memory.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ Términos y bigramas
135135
slicing
136136
segmentación ``datamodel.po``
137137

138+
statement
139+
sentencia ``smtplib.po``
140+
138141
static type checker
139142
Validador estático de tipos
140143
Notas: mantener la mayúscula, usar validación cuando se refiera a la acción y no al agente.

library/smtplib.po

Lines changed: 71 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
14-
"PO-Revision-Date: 2020-09-16 17:59+0200\n"
14+
"PO-Revision-Date: 2020-10-01 23:21+0200\n"
1515
"Language-Team: python-doc-es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
@@ -98,6 +98,8 @@ msgid ""
9898
"Raises an :ref:`auditing event <auditing>` ``smtplib.send`` with arguments "
9999
"``self``, ``data``."
100100
msgstr ""
101+
"Genera un :ref:`auditing event <auditing>` ``smtplib.send`` con argumentos "
102+
"``self``, ``data``."
101103

102104
#: ../Doc/library/smtplib.rst:60
103105
msgid ""
@@ -108,7 +110,7 @@ msgstr ""
108110

109111
#: ../Doc/library/smtplib.rst:64
110112
msgid "Support for the :keyword:`with` statement was added."
111-
msgstr "Se agregó soporte para la declaración :keyword:`with`."
113+
msgstr "Se agregó soporte para la sentencia :keyword:`with`."
112114

113115
#: ../Doc/library/smtplib.rst:67 ../Doc/library/smtplib.rst:96
114116
msgid "source_address argument was added."
@@ -138,9 +140,6 @@ msgid ""
138140
"point to a PEM formatted private key and certificate chain file for the SSL "
139141
"connection."
140142
msgstr ""
141-
"*keyfile* y *certfile* son una alternativa heredada a *context*, y pueden "
142-
"apuntar a una clave privada en formato PEM y un archivo de cadena de "
143-
"certificados para la conexión SSL."
144143

145144
#: ../Doc/library/smtplib.rst:93 ../Doc/library/smtplib.rst:416
146145
msgid "*context* was added."
@@ -178,17 +177,19 @@ msgstr ""
178177

179178
#: ../Doc/library/smtplib.rst:126
180179
msgid "A nice selection of exceptions is defined as well:"
181-
msgstr ""
180+
msgstr "También se define una buena selección de excepciones:"
182181

183182
#: ../Doc/library/smtplib.rst:131
184183
msgid ""
185184
"Subclass of :exc:`OSError` that is the base exception class for all the "
186185
"other exceptions provided by this module."
187186
msgstr ""
187+
"Subclase de :exc:`OSError` que es la clase de excepción base para todas las "
188+
"demás excepciones proporcionadas por este módulo."
188189

189190
#: ../Doc/library/smtplib.rst:134
190191
msgid "SMTPException became subclass of :exc:`OSError`"
191-
msgstr ""
192+
msgstr "SMTPException se convirtió en subclase de :exc:`OSError`"
192193

193194
#: ../Doc/library/smtplib.rst:140
194195
msgid ""
@@ -252,7 +253,7 @@ msgstr ""
252253

253254
#: ../Doc/library/smtplib.rst:199
254255
msgid ":rfc:`821` - Simple Mail Transfer Protocol"
255-
msgstr ""
256+
msgstr ":rfc:`821` - Simple Mail Transfer Protocol"
256257

257258
#: ../Doc/library/smtplib.rst:198
258259
msgid ""
@@ -262,7 +263,7 @@ msgstr ""
262263

263264
#: ../Doc/library/smtplib.rst:203
264265
msgid ":rfc:`1869` - SMTP Service Extensions"
265-
msgstr ""
266+
msgstr ":rfc:`1869` - Extensiones de Servicio SMTP"
266267

267268
#: ../Doc/library/smtplib.rst:202
268269
msgid ""
@@ -273,11 +274,11 @@ msgstr ""
273274

274275
#: ../Doc/library/smtplib.rst:210
275276
msgid "SMTP Objects"
276-
msgstr ""
277+
msgstr "Objetos SMTP"
277278

278279
#: ../Doc/library/smtplib.rst:212
279280
msgid "An :class:`SMTP` instance has the following methods:"
280-
msgstr ""
281+
msgstr "Una instancia :class:`SMTP` tiene los siguientes métodos:"
281282

282283
#: ../Doc/library/smtplib.rst:217
283284
msgid ""
@@ -289,7 +290,7 @@ msgstr ""
289290

290291
#: ../Doc/library/smtplib.rst:222
291292
msgid "Added debuglevel 2."
292-
msgstr ""
293+
msgstr "Se agregó el nivel de depuración 2."
293294

294295
#: ../Doc/library/smtplib.rst:227
295296
msgid ""
@@ -377,12 +378,12 @@ msgstr ""
377378
#: ../Doc/library/smtplib.rst:286 ../Doc/library/smtplib.rst:316
378379
#: ../Doc/library/smtplib.rst:408 ../Doc/library/smtplib.rst:477
379380
msgid ":exc:`SMTPHeloError`"
380-
msgstr ""
381+
msgstr ":exc:`SMTPHeloError`"
381382

382383
#: ../Doc/library/smtplib.rst:287 ../Doc/library/smtplib.rst:316
383384
#: ../Doc/library/smtplib.rst:408 ../Doc/library/smtplib.rst:477
384385
msgid "The server didn't reply properly to the ``HELO`` greeting."
385-
msgstr ""
386+
msgstr "El servidor no respondió correctamente al saludo ``HELO``."
386387

387388
#: ../Doc/library/smtplib.rst:291
388389
msgid ""
@@ -413,24 +414,24 @@ msgstr ""
413414

414415
#: ../Doc/library/smtplib.rst:319
415416
msgid ":exc:`SMTPAuthenticationError`"
416-
msgstr ""
417+
msgstr ":exc:`SMTPAuthenticationError`"
417418

418419
#: ../Doc/library/smtplib.rst:319
419420
msgid "The server didn't accept the username/password combination."
420-
msgstr ""
421+
msgstr "El servidor no aceptó la combinación de nombre de username/password."
421422

422423
#: ../Doc/library/smtplib.rst:322 ../Doc/library/smtplib.rst:411
423424
#: ../Doc/library/smtplib.rst:488
424425
msgid ":exc:`SMTPNotSupportedError`"
425-
msgstr ""
426+
msgstr ":exc:`SMTPNotSupportedError`"
426427

427428
#: ../Doc/library/smtplib.rst:322
428429
msgid "The ``AUTH`` command is not supported by the server."
429-
msgstr ""
430+
msgstr "El servidor no admite el comando ``AUTH``."
430431

431432
#: ../Doc/library/smtplib.rst:325
432433
msgid ":exc:`SMTPException`"
433-
msgstr ""
434+
msgstr ":exc:`SMTPException`"
434435

435436
#: ../Doc/library/smtplib.rst:325
436437
msgid "No suitable authentication method was found."
@@ -475,10 +476,12 @@ msgstr ""
475476
msgid ""
476477
"*authobject* must be a callable object taking an optional single argument:"
477478
msgstr ""
479+
"*authobject* debe ser un objeto invocable que tome un único argumento "
480+
"opcional:"
478481

479482
#: ../Doc/library/smtplib.rst:353
480483
msgid "data = authobject(challenge=None)"
481-
msgstr ""
484+
msgstr "data = authobject(challenge=None)"
482485

483486
#: ../Doc/library/smtplib.rst:355
484487
msgid ""
@@ -530,6 +533,8 @@ msgid ""
530533
"If *keyfile* and *certfile* are provided, they are used to create an :class:"
531534
"`ssl.SSLContext`."
532535
msgstr ""
536+
"Si se proporcionan *keyfile* y *certfile*, se utilizan para crear una :class:"
537+
"`ssl.SSLContext`."
533538

534539
#: ../Doc/library/smtplib.rst:393
535540
msgid ""
@@ -543,18 +548,22 @@ msgid ""
543548
"If there has been no previous ``EHLO`` or ``HELO`` command this session, "
544549
"this method tries ESMTP ``EHLO`` first."
545550
msgstr ""
551+
"Si no ha habido ningún comando ``EHLO`` o ``HELO`` anterior en esta sesión, "
552+
"este método intenta ESMTP ``EHLO`` primero."
546553

547554
#: ../Doc/library/smtplib.rst:411
548555
msgid "The server does not support the STARTTLS extension."
549-
msgstr ""
556+
msgstr "El servidor no admite la extensión STARTTLS."
550557

551558
#: ../Doc/library/smtplib.rst:414
552559
msgid ":exc:`RuntimeError`"
553-
msgstr ""
560+
msgstr ":exc:`RuntimeError`"
554561

555562
#: ../Doc/library/smtplib.rst:414
556563
msgid "SSL/TLS support is not available to your Python interpreter."
557564
msgstr ""
565+
"La compatibilidad con SSL/TLS no está disponible para su intérprete de "
566+
"Python."
558567

559568
#: ../Doc/library/smtplib.rst:419
560569
msgid ""
@@ -620,14 +629,16 @@ msgid ""
620629
"If ``SMTPUTF8`` is included in *mail_options*, and the server supports it, "
621630
"*from_addr* and *to_addrs* may contain non-ASCII characters."
622631
msgstr ""
632+
"Si se incluye ``SMTPUTF8``' en *mail_options * y el servidor lo admite, "
633+
"*from_addr* y *to_addrs* pueden contener caracteres no ASCII."
623634

624635
#: ../Doc/library/smtplib.rst:468
625636
msgid "This method may raise the following exceptions:"
626-
msgstr ""
637+
msgstr "Este método puede lanzar las siguientes excepciones:"
627638

628639
#: ../Doc/library/smtplib.rst:474
629640
msgid ":exc:`SMTPRecipientsRefused`"
630-
msgstr ""
641+
msgstr ":exc:`SMTPRecipientsRefused`"
631642

632643
#: ../Doc/library/smtplib.rst:471
633644
msgid ""
@@ -643,33 +654,38 @@ msgstr ""
643654

644655
#: ../Doc/library/smtplib.rst:480
645656
msgid "The server didn't accept the *from_addr*."
646-
msgstr ""
657+
msgstr "El servidor no aceptó el *from_addr*."
647658

648659
#: ../Doc/library/smtplib.rst:484
649660
msgid ":exc:`SMTPDataError`"
650-
msgstr ""
661+
msgstr ":exc:`SMTPDataError`"
651662

652663
#: ../Doc/library/smtplib.rst:483
653664
msgid ""
654665
"The server replied with an unexpected error code (other than a refusal of a "
655666
"recipient)."
656667
msgstr ""
668+
"El servidor respondió con un código de error inesperado (que no sea el "
669+
"rechazo de un destinatario)."
657670

658671
#: ../Doc/library/smtplib.rst:487
659672
msgid ""
660673
"``SMTPUTF8`` was given in the *mail_options* but is not supported by the "
661674
"server."
662675
msgstr ""
676+
"Se proporcionó ``SMTPUTF8`` en *mail_options* pero el servidor no lo admite."
663677

664678
#: ../Doc/library/smtplib.rst:490
665679
msgid ""
666680
"Unless otherwise noted, the connection will be open even after an exception "
667681
"is raised."
668682
msgstr ""
683+
"A menos que se indique lo contrario, la conexión estará abierta incluso "
684+
"después de que se lance una excepción."
669685

670686
#: ../Doc/library/smtplib.rst:493
671687
msgid "*msg* may be a byte string."
672-
msgstr ""
688+
msgstr "*msg* puede ser una cadena de bytes."
673689

674690
#: ../Doc/library/smtplib.rst:496
675691
msgid ""
@@ -714,16 +730,29 @@ msgid ""
714730
"attribute set to ``True``, and ``SMTPUTF8`` and ``BODY=8BITMIME`` are added "
715731
"to *mail_options*."
716732
msgstr ""
733+
"``send_message`` serializa *msg* usando :class:`~ email.generator."
734+
"BytesGenerator` con``\\ r \\ n`` como *linesep*, y llama a :meth:`sendmail` "
735+
"para transmitir el mensaje resultante. Independientemente de los valores de "
736+
"*from_addr* y *to_addrs*, ``send_message`` no transmite ningún encabezado :"
737+
"mailheader: `Bcc` o :mailheader:`Resent-Bcc` que puedan aparecer en *msg*. "
738+
"Si alguna de las direcciones en *from_addr* y *to_addrs* contiene caracteres "
739+
"que no son ASCII y el servidor no anuncia la compatibilidad con "
740+
"``SMTPUTF8``, se lanza un error :exc:`SMTPNotSupported`. De lo contrario, "
741+
"el ``Message`` se serializa con un clon de su :mod: `~ email.policy` con el "
742+
"atributo :attr:` ~ email.policy.EmailPolicy.utf8` establecido en ``True`` y "
743+
"``SMTPUTF8`` y ``BODY=8BITMIME`` se agregan a *mail_options*."
717744

718745
#: ../Doc/library/smtplib.rst:535
719746
msgid "Support for internationalized addresses (``SMTPUTF8``)."
720-
msgstr ""
747+
msgstr "Soporte para direcciones internacionalizadas (``SMTPUTF8``)."
721748

722749
#: ../Doc/library/smtplib.rst:541
723750
msgid ""
724751
"Terminate the SMTP session and close the connection. Return the result of "
725752
"the SMTP ``QUIT`` command."
726753
msgstr ""
754+
"Termine la sesión SMTP y cierre la conexión. Devuelve el resultado del "
755+
"comando SMTP ``QUIT``."
727756

728757
#: ../Doc/library/smtplib.rst:545
729758
msgid ""
@@ -732,6 +761,11 @@ msgid ""
732761
"supported. Normally these do not need to be called directly, so they are not "
733762
"documented here. For details, consult the module code."
734763
msgstr ""
764+
"Los métodos de bajo nivel correspondientes a los comandos estándar SMTP/"
765+
"ESMTP ```HELP``, ``RSET``, ``NOOP``, ``MAIL``, ``RCPT``, y ``DATA`` también "
766+
"están soportados. Normalmente, no es necesario llamarlos directamente, por "
767+
"lo que no se documentan aquí. Para más detalles, consulte el código del "
768+
"módulo."
735769

736770
#: ../Doc/library/smtplib.rst:554
737771
msgid "SMTP Example"
@@ -746,10 +780,19 @@ msgid ""
746780
"In particular, the 'To' and 'From' addresses must be included in the message "
747781
"headers explicitly. ::"
748782
msgstr ""
783+
"Este ejemplo solicita al usuario las direcciones necesarias en el sobre del "
784+
"mensaje (direcciones 'To' y 'From' ) y el mensaje que se entregará. Tenga "
785+
"en cuenta que los encabezados que se incluirán con el mensaje deben "
786+
"incluirse en el mensaje tal y como se introdujeron; este ejemplo no procesa "
787+
"los encabezados :rfc:`822` . En particular, las direcciones 'To' y 'From "
788+
"deben incluirse explícitamente en los encabezados de los mensajes. ::"
749789

750790
#: ../Doc/library/smtplib.rst:592
751791
msgid ""
752792
"In general, you will want to use the :mod:`email` package's features to "
753793
"construct an email message, which you can then send via :meth:`~smtplib.SMTP."
754794
"send_message`; see :ref:`email-examples`."
755795
msgstr ""
796+
"En general, querrá usar las características del paquete :mod:`email` para "
797+
"construir un mensaje de correo electrónico, que luego puede enviar a través "
798+
"de :meth:`~smtplib.SMTP.send_message`; ver :ref:`email-examples`."

0 commit comments

Comments
 (0)