From 300558f085792a06e2d4e3bc0dffe7fb06b4b845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Thu, 23 Mar 2023 14:07:53 +0100 Subject: [PATCH 01/30] Traducido library/ssl (#2278) Closes #1913 --------- Co-authored-by: Nar <51009725+narvmtz@users.noreply.github.com> Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- library/ssl.po | 182 +++++++++++++++++++++++-------------------------- 1 file changed, 86 insertions(+), 96 deletions(-) diff --git a/library/ssl.po b/library/ssl.po index f1331c5756..df575ea580 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2021-08-04 16:45+0200\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/ssl.rst:2 @@ -71,7 +71,7 @@ msgstr "" #, fuzzy msgid ":ref:`Availability `: not Emscripten, not WASI." -msgstr ":ref:`Disponibilidad `: Windows." +msgstr ":ref:`Disponibilidad `: no Emscripten, no WASI." #: ../Doc/library/cpython/Doc/includes/wasm-notavail.rst:5 msgid "" @@ -79,6 +79,9 @@ msgid "" "``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for " "more information." msgstr "" +"Este módulo no funciona o no está disponible en las plataformas WebAssembly " +"``wasm32-emscripten`` y ``wasm32-wasi``. Consulte :ref:`wasm-availability` " +"para obtener más información." #: ../Doc/library/ssl.rst:38 msgid "" @@ -627,8 +630,8 @@ msgid "" msgstr "" "Interpreta la hora de entrada como una hora en UTC según lo especificado por " "la zona horaria 'GMT' en la cadena de caracteres de entrada. Anteriormente " -"se utilizaba la zona horaria local. Devuelve un número entero (sin " -"fracciones de segundo en el formato de entrada)" +"se utilizaba la zona horaria local. Retorna un número entero (sin fracciones " +"de segundo en el formato de entrada)" #: ../Doc/library/ssl.rst:433 msgid "" @@ -673,7 +676,7 @@ msgid "" "Given a certificate as a DER-encoded blob of bytes, returns a PEM-encoded " "string version of the same certificate." msgstr "" -"Dado un certificado como blob de bytes codificado en DER, devuelve una " +"Dado un certificado como blob de bytes codificado en DER, retorna una " "versión de cadena de caracteres codificada en PEM del mismo certificado." #: ../Doc/library/ssl.rst:461 @@ -681,7 +684,7 @@ msgid "" "Given a certificate as an ASCII PEM string, returns a DER-encoded sequence " "of bytes for that same certificate." msgstr "" -"Dado un certificado como cadena de caracteres ASCII PEM, devuelve una " +"Dado un certificado como cadena de caracteres ASCII PEM, retorna una " "secuencia de bytes codificada con DER para ese mismo certificado." #: ../Doc/library/ssl.rst:466 @@ -756,7 +759,7 @@ msgid "" "data. Trust specifies the purpose of the certificate as a set of OIDS or " "exactly ``True`` if the certificate is trustworthy for all purposes." msgstr "" -"La función devuelve una lista de tuplas (cert_bytes, encoding_type, trust). " +"La función retorna una lista de tuplas (cert_bytes, encoding_type, trust). " "El encoding_type especifica la codificación de cert_bytes. Es :const:" "`x509_asn` para datos X.509 ASN.1 o :const:`pkcs_7_asn` para datos PKCS#7 " "ASN.1. Trust especifica el propósito del certificado como un conjunto de " @@ -787,7 +790,7 @@ msgid "" "The encoding_type specifies the encoding of cert_bytes. It is either :const:" "`x509_asn` for X.509 ASN.1 data or :const:`pkcs_7_asn` for PKCS#7 ASN.1 data." msgstr "" -"La función devuelve una lista de tuplas (cert_bytes, encoding_type, trust). " +"La función retorna una lista de tuplas (cert_bytes, encoding_type, trust). " "El encoding_type especifica la codificación de cert_bytes. Es :const:" "`x509_asn` para datos X.509 ASN.1 o :const:`pkcs_7_asn` para datos PKCS#7 " "ASN.1." @@ -799,7 +802,7 @@ msgid "" "which wraps the underlying socket in an SSL context. ``sock`` must be a :" "data:`~socket.SOCK_STREAM` socket; other socket types are unsupported." msgstr "" -"Toma una instancia ``sock`` de :class:`socket.socket`, y devuelve una " +"Toma una instancia ``sock`` de :class:`socket.socket`, y retorna una " "instancia de :class:`ssl.SSLSocket`, un subtipo de :class:`socket.socket`, " "que envuelve el socket de base en un contexto SSL. ``sock`` debe ser un " "socket :data:`~socket.SOCK_STREAM`; otros tipos de socket no son compatibles." @@ -1087,13 +1090,12 @@ msgid "Selects SSL version 2 as the channel encryption protocol." msgstr "Selecciona la versión 2 de SSL como protocolo de cifrado del canal." #: ../Doc/library/ssl.rst:714 -#, fuzzy msgid "" "This protocol is not available if OpenSSL is compiled with the ``no-ssl2`` " "option." msgstr "" -"Este protocolo no está disponible si OpenSSL fue compilada con la opción " -"``OPENSSL_NO_SSL2``." +"Este protocolo no está disponible si se compila OpenSSL con la opción ``no-" +"ssl2``." #: ../Doc/library/ssl.rst:719 msgid "SSL version 2 is insecure. Its use is highly discouraged." @@ -1108,13 +1110,12 @@ msgid "Selects SSL version 3 as the channel encryption protocol." msgstr "Selecciona la versión 3 de SSL como protocolo de cifrado del canal." #: ../Doc/library/ssl.rst:729 -#, fuzzy msgid "" "This protocol is not available if OpenSSL is compiled with the ``no-ssl3`` " "option." msgstr "" -"Este protocolo no está disponible si OpenSSL fue compilada con la opción " -"``OPENSSL_NO_SSL2``." +"Este protocolo no está disponible si se compila OpenSSL con la opción ``no-" +"ssl3``." #: ../Doc/library/ssl.rst:734 msgid "SSL version 3 is insecure. Its use is highly discouraged." @@ -1833,8 +1834,8 @@ msgid "" "`ValueError`." msgstr "" "Si no hay un certificado para el peer en el otro extremo de la conexión, " -"devuelve ``None``. Si el handshake SSL no se ha realizado todavía, lanza :" -"exc:`ValueError`." +"retorna ``None``. Si el handshake SSL no se ha realizado todavía, lanza :exc:" +"`ValueError`." #: ../Doc/library/ssl.rst:1240 msgid "" @@ -1848,9 +1849,9 @@ msgid "" "also be a ``subjectAltName`` key in the dictionary." msgstr "" "Si el parámetro ``binary_form`` es :const:`False`, y se ha recibido un " -"certificado del peer, este método devuelve una instancia :class:`dict`. Si " -"el certificado no fue validado, el dict está vacío. Si el certificado fue " -"validado, devuelve un dict con varias claves, entre ellas ``subject`` (la " +"certificado del peer, este método retorna una instancia :class:`dict`. Si el " +"certificado no fue validado, el dict está vacío. Si el certificado fue " +"validado, retorna un dict con varias claves, entre ellas ``subject`` (la " "entidad para la que se emitió el certificado) y ``issuer`` (la entidad que " "emite el certificado). Si un certificado contiene una instancia de la " "extensión *Subject Alternative Name* (véase :rfc:`3280`), también habrá una " @@ -1885,7 +1886,7 @@ msgid "" "socket's role:" msgstr "" "Si el parámetro ``binary_form`` es :const:`True`, y se proporcionó un " -"certificado, este método devuelve la forma codificada en DER del certificado " +"certificado, este método retorna la forma codificada en DER del certificado " "completo como una secuencia de bytes, o :const:`None` si el par no " "proporcionó un certificado. El hecho de que el par proporcione un " "certificado depende del rol del socket SSL:" @@ -1915,7 +1916,7 @@ msgid "" "The returned dictionary includes additional items such as ``issuer`` and " "``notBefore``." msgstr "" -"El diccionario devuelto incluye elementos adicionales tales como ``issuer`` " +"El diccionario retornado incluye elementos adicionales tales como ``issuer`` " "y ``notBefore``." #: ../Doc/library/ssl.rst:1296 @@ -1954,7 +1955,7 @@ msgid "" "socket." msgstr "" "Retorna la lista de cifrados compartidos por el cliente durante el " -"handshake. Cada entrada de la lista devuelta es una tupla de tres valores " +"handshake. Cada entrada de la lista retornada es una tupla de tres valores " "que contiene el nombre del cifrado, la versión del protocolo SSL que define " "su uso y el número de bits secretos que utiliza el cifrado. :meth:" "`~SSLSocket.shared_ciphers`` retorna ``None`` si no se ha establecido " @@ -2010,7 +2011,7 @@ msgstr "" "Retorna el protocolo que fue seleccionado durante el handshake TLS. Si no se " "ha llamado a :meth:`SSLContext.set_alpn_protocols`, si la otra parte no " "soporta ALPN, si este socket no soporta ninguno de los protocolos propuestos " -"por el cliente, o si el handshake no ha ocurrido todavía, se devuelve " +"por el cliente, o si el handshake no ha ocurrido todavía, se retorna " "``None``." #: ../Doc/library/ssl.rst:1356 @@ -2020,7 +2021,7 @@ msgid "" "other party does not support NPN, or if the handshake has not yet happened, " "this will return ``None``." msgstr "" -"Devuelve el protocolo de nivel superior que se seleccionó durante el " +"Retorna el protocolo de nivel superior que se seleccionó durante el " "handshake TLS/SSL. Si no se llamó a :meth:`SSLContext.set_npn_protocols`, o " "si la otra parte no soporta NPN, o si el handshake aún no ha ocurrido, esto " "devolverá ``None``." @@ -2038,9 +2039,9 @@ msgid "" "other side of the connection, rather than the original socket." msgstr "" "Realiza el handshake de cierre de SSL, que elimina la capa TLS del socket " -"subyacente, y devuelve el objeto socket subyacente. Esto puede utilizarse " +"subyacente, y retorna el objeto socket subyacente. Esto puede utilizarse " "para pasar de una operación encriptada sobre una conexión a una sin " -"encriptar. El socket devuelto debe utilizarse siempre para la comunicación " +"encriptar. El socket retornado debe utilizarse siempre para la comunicación " "posterior con el otro lado de la conexión, en lugar del socket original." #: ../Doc/library/ssl.rst:1377 @@ -2083,7 +2084,6 @@ msgstr "" "de TLS 1.3, el método lanza :exc:`NotImplementedError`." #: ../Doc/library/ssl.rst:1397 -#, fuzzy msgid "" "Return the actual SSL protocol version negotiated by the connection as a " "string, or ``None`` if no secure connection is established. As of this " @@ -2091,12 +2091,11 @@ msgid "" "``\"TLSv1\"``, ``\"TLSv1.1\"`` and ``\"TLSv1.2\"``. Recent OpenSSL versions " "may define more return values." msgstr "" -"Devuelve la versión actual del protocolo SSL negociada por la conexión como " -"una cadena de caracteres, o ``None`` si no se ha establecido ninguna " -"conexión segura. En este momento, los posibles valores de retorno incluyen " -"``\"SSLv2\"``, ``\"SSLv3\"``, ``\"TLSv1\"``, ``\"TLSv1.1\"`` y " -"``\"TLSv1.2\"``. Las versiones recientes de OpenSSL pueden definir más " -"valores de retorno." +"Retorna la versión real del protocolo SSL negociada por la conexión como una " +"cadena, o ``None`` si no se establece una conexión segura. Al momento de " +"escribir, los posibles valores de retorno incluyen ``\"SSLv2\"``, " +"``\"SSLv3\"``, ``\"TLSv1\"``, ``\"TLSv1.1\"`` y ``\"TLSv1.2\"``. Las " +"versiones recientes de OpenSSL pueden definir más valores de retorno." #: ../Doc/library/ssl.rst:1407 msgid "" @@ -2366,7 +2365,6 @@ msgid "Example for a context with one CA cert and one other cert::" msgstr "Ejemplo para un contexto con un certificado CA y otro certificado::" #: ../Doc/library/ssl.rst:1545 -#, fuzzy msgid "" "Load a private key and the corresponding certificate. The *certfile* string " "must be the path to a single file in PEM format containing the certificate " @@ -2376,14 +2374,14 @@ msgid "" "from *certfile* as well. See the discussion of :ref:`ssl-certificates` for " "more information on how the certificate is stored in the *certfile*." msgstr "" -"Carga una clave privada y el certificado correspondiente. La cadena de " -"caracteres *certfile* debe ser la ruta de un único archivo en formato PEM " -"que contenga el certificado, así como cualquier número de certificados de CA " -"necesarios para establecer la autenticidad del certificado. La cadena de " -"caracteres *keyfile*, si está presente, debe apuntar a un archivo que " -"contenga la clave privada. De lo contrario, la clave privada se tomará " -"también de *certfile*. Consulte la discusión de :ref:`ssl-certificates` para " -"más información sobre cómo se almacena el certificado en el *certfile*." +"Carga una clave privada y el certificado correspondiente. La cadena " +"*certfile* debe ser la ruta a un solo archivo en formato PEM que contenga el " +"certificado, así como cualquier número de certificados de CA necesarios para " +"establecer la autenticidad del certificado. La cadena *keyfile*, si está " +"presente, debe apuntar a un archivo que contenga la clave privada. De lo " +"contrario, la clave privada también se tomará de *certfile*. Consulte la " +"discusión de :ref:`ssl-certificates` para obtener más información sobre cómo " +"se almacena el certificado en *certfile*." #: ../Doc/library/ssl.rst:1554 msgid "" @@ -2400,7 +2398,7 @@ msgstr "" "la contraseña para descifrar la clave privada. Sólo se llamará si la clave " "privada está encriptada y se necesita una contraseña. Se llamará sin " "argumentos, y deberá devolver una cadena de caracteres, bytes o bytearray. " -"Si el valor devuelto es una cadena de caracteres, se codificará como UTF-8 " +"Si el valor retornado es una cadena de caracteres, se codificará como UTF-8 " "antes de utilizarlo para descifrar la clave. Alternativamente, se puede " "suministrar un valor de cadena de caracteres, bytes o bytearray directamente " "como argumento *password*. Se ignorará si la clave privada no está cifrada y " @@ -2429,7 +2427,6 @@ msgid "New optional argument *password*." msgstr "Nuevo argumento opcional *password*." #: ../Doc/library/ssl.rst:1575 -#, fuzzy msgid "" "Load a set of default \"certification authority\" (CA) certificates from " "default locations. On Windows it loads CA certs from the ``CA`` and ``ROOT`` " @@ -2437,11 +2434,12 @@ msgid "" "set_default_verify_paths`. In the future the method may load CA certificates " "from other locations, too." msgstr "" -"Carga un conjunto de certificados de \"autoridad de certificación\" (CA) por " -"defecto desde ubicaciones predeterminadas. En Windows carga los certificados " -"de CA desde los almacenes del sistema ``CA`` y ``ROOT``. En otros sistemas " -"llama a :meth:`SSLContext.set_default_verify_paths`. En el futuro el método " -"puede cargar certificados de CA desde otras ubicaciones también." +"Carga un conjunto de certificados predeterminados de \"autoridad de " +"certificación\" (CA) desde ubicaciones predeterminadas. En Windows, carga " +"certificados de CA de los almacenes del sistema ``CA`` y ``ROOT``. En todos " +"los sistemas llama a :meth:`SSLContext.set_default_verify_paths`. En el " +"futuro, el método también puede cargar certificados de CA desde otras " +"ubicaciones." #: ../Doc/library/ssl.rst:1581 msgid "" @@ -2531,8 +2529,8 @@ msgstr "" "Obtiene una lista de certificados de \"autoridad de certificación\" (CA) " "cargados. Si el parámetro ``binary_form`` es :const:`False` cada entrada de " "la lista es un diccionario como la salida de :meth:`SSLSocket.getpeercert`. " -"En caso contrario, el método devuelve una lista de certificados codificados " -"con DER. La lista devuelta no contiene certificados de *capath* a menos que " +"En caso contrario, el método retorna una lista de certificados codificados " +"con DER. La lista retornada no contiene certificados de *capath* a menos que " "un certificado haya sido solicitado y cargado por una conexión SSL." #: ../Doc/library/ssl.rst:1627 @@ -2563,7 +2561,7 @@ msgstr "" "Carga un conjunto de certificados de \"autoridad de certificación\" (CA) por " "defecto desde una ruta del sistema de archivos definida al construir la " "biblioteca OpenSSL. Desafortunadamente, no hay una manera fácil de saber si " -"este método tiene éxito: no se devuelve ningún error si no se encuentran " +"este método tiene éxito: no se retorna ningún error si no se encuentran " "certificados. Sin embargo, cuando la biblioteca OpenSSL se proporciona como " "parte del sistema operativo, es probable que esté configurada correctamente." @@ -2705,7 +2703,6 @@ msgstr "" "con el nombre del servidor." #: ../Doc/library/ssl.rst:1751 -#, fuzzy msgid "" "Due to the early negotiation phase of the TLS connection, only limited " "methods and attributes are usable like :meth:`SSLSocket." @@ -2715,13 +2712,13 @@ msgid "" "Hello and therefore will not return meaningful values nor can they be called " "safely." msgstr "" -"Debido a la fase temprana de negociación de la conexión TLS, sólo se pueden " -"utilizar métodos y atributos limitados como :meth:`SSLSocket." +"Debido a la fase inicial de negociación de la conexión TLS, solo se pueden " +"usar métodos y atributos limitados, como :meth:`SSLSocket." "selected_alpn_protocol` y :attr:`SSLSocket.context`. Los métodos :meth:" -"`SSLSocket.getpeercert`, :meth:`SSLSocket. getpeercert`, :meth:`SSLSocket." -"cipher` y :meth:`SSLSocket.compress` requieren que la conexión TLS haya " -"progresado más allá del TLS Client Hello y, por tanto, no contendrán valores " -"de retorno significativos ni podrán ser llamados con seguridad." +"`SSLSocket.getpeercert`, :meth:`SSLSocket.cipher` y :meth:`SSLSocket." +"compression` requieren que la conexión TLS haya progresado más allá del " +"Client Hello de TLS y, por lo tanto, no devolverán valores significativos ni " +"se pueden llamar de forma segura." #: ../Doc/library/ssl.rst:1759 msgid "" @@ -2849,9 +2846,9 @@ msgid "" "socket is tied to the context, its settings and certificates. *sock* must be " "a :data:`~socket.SOCK_STREAM` socket; other socket types are unsupported." msgstr "" -"Envuelve un socket Python existente *sock* y devuelve una instancia de :attr:" +"Envuelve un socket Python existente *sock* y retorna una instancia de :attr:" "`SSLContext.sslsocket_class` (por defecto :class:`SSLSocket`). El socket SSL " -"devuelto está ligado al contexto, su configuración y certificados. *sock* " +"retornado está ligado al contexto, su configuración y certificados. *sock* " "debe ser un socket :data:`~socket.SOCK_STREAM`; otros tipos de socket no son " "soportados." @@ -2924,9 +2921,9 @@ msgstr "" "El parámetro ``suppress_ragged_eofs`` especifica cómo el método :meth:" "`SSLSocket.recv` debe señalar los EOF inesperados desde el otro extremo de " "la conexión. Si se especifica como :const:`True` (el valor por defecto), " -"devuelve un EOF normal (un objeto bytes vacío) en respuesta a los errores " -"EOF inesperados que se produzcan desde el socket subyacente; si :const:" -"`False`, lanzará las excepciones al llamador." +"retorna un EOF normal (un objeto bytes vacío) en respuesta a los errores EOF " +"inesperados que se produzcan desde el socket subyacente; si :const:`False`, " +"lanzará las excepciones al llamador." #: ../Doc/library/ssl.rst:1861 msgid "*session*, see :attr:`~SSLSocket.session`." @@ -2944,13 +2941,12 @@ msgid "*session* argument was added." msgstr "Se agregó el argumento *session*." #: ../Doc/library/ssl.rst:1870 -#, fuzzy msgid "" "The method returns an instance of :attr:`SSLContext.sslsocket_class` instead " "of hard-coded :class:`SSLSocket`." msgstr "" "El método retorna una instancia de :attr:`SSLContext.sslsocket_class` en " -"lugar de un :class:`SSLSocket` rígidamente programado." +"lugar de :class:`SSLSocket` codificado de forma rígida." #: ../Doc/library/ssl.rst:1876 msgid "" @@ -2969,8 +2965,8 @@ msgid "" "routines will read input data from the incoming BIO and write data to the " "outgoing BIO." msgstr "" -"Envuelve los objetos BIO *incoming* y *outgoing* y devuelve una instancia " -"de :attr:`SSLContext.sslobject_class` (por defecto :class:`SSLObject`). Las " +"Envuelve los objetos BIO *incoming* y *outgoing* y retorna una instancia de :" +"attr:`SSLContext.sslobject_class` (por defecto :class:`SSLObject`). Las " "rutinas SSL leerán los datos de entrada de la BIO entrante y escribirán los " "datos en la BIO saliente." @@ -2983,13 +2979,12 @@ msgstr "" "significado que en :meth:`SSLContext.wrap_socket`." #: ../Doc/library/ssl.rst:1896 -#, fuzzy msgid "" "The method returns an instance of :attr:`SSLContext.sslobject_class` instead " "of hard-coded :class:`SSLObject`." msgstr "" "El método retorna una instancia de :attr:`SSLContext.sslobject_class` en " -"lugar de un :class:`SSLObject` rígidamente programado." +"lugar de :class:`SSLObject` codificado de forma rígida." #: ../Doc/library/ssl.rst:1902 msgid "" @@ -3002,7 +2997,6 @@ msgstr "" "devolver una subclase personalizada de :class:`SSLObject`." #: ../Doc/library/ssl.rst:1910 -#, fuzzy msgid "" "Get statistics about the SSL sessions created or managed by this context. A " "dictionary is returned which maps the names of each `piece of information " @@ -3010,12 +3004,12 @@ msgid "" "their numeric values. For example, here is the total number of hits and " "misses in the session cache since the context was created::" msgstr "" -"Obtiene estadísticas sobre las sesiones SSL creadas o gestionadas por este " -"contexto. Se devuelve un diccionario que asigna los nombres de cada `pieza " -"de información `_ a sus valores numéricos. Por ejemplo, aquí está " -"el número total de aciertos y errores en la caché de sesión desde que se " -"creó el contexto::" +"Obtiene estadísticas sobre las sesiones SSL creadas o administradas por este " +"contexto. Se retorna un diccionario que asigna los nombres de cada `pieza de " +"información `_ a sus valores numéricos. Por ejemplo, este es el número total de " +"aciertos y errores en la memoria caché de la sesión desde que se creó el " +"contexto:" #: ../Doc/library/ssl.rst:1921 msgid "" @@ -3893,9 +3887,8 @@ msgid "" "The method :meth:`~SSLSocket.unwrap` call does not return anything, unlike " "for an SSL socket where it returns the underlying socket." msgstr "" -"La llamada al método :meth:`~SSLSocket.unwrap` no devuelve nada, a " -"diferencia de lo que ocurre con un socket SSL, que devuelve el socket " -"subyacente." +"La llamada al método :meth:`~SSLSocket.unwrap` no retorna nada, a diferencia " +"de lo que ocurre con un socket SSL, que retorna el socket subyacente." #: ../Doc/library/ssl.rst:2540 msgid "" @@ -3980,7 +3973,7 @@ msgid "" "negative, all bytes are returned." msgstr "" "Lee hasta *n* bytes del búfer de memoria. Si *n* no se especifica o es " -"negativo, se devuelven todos los bytes." +"negativo, se retornan todos los bytes." #: ../Doc/library/ssl.rst:2586 msgid "" @@ -4162,10 +4155,7 @@ msgstr "" msgid "Cipher selection" msgstr "Selección de cifrado" -# Aquí me parece mas claro traducir el título del enlace (incluso si el enlace -# no está en español). #: ../Doc/library/ssl.rst:2700 -#, fuzzy msgid "" "If you have advanced security requirements, fine-tuning of the ciphers " "enabled when negotiating a SSL session is possible through the :meth:" @@ -4177,15 +4167,15 @@ msgid "" "by a given cipher list, use :meth:`SSLContext.get_ciphers` or the ``openssl " "ciphers`` command on your system." msgstr "" -"Si tienes requisitos de seguridad avanzados, es posible ajustar los cifrados " -"habilitados al negociar una sesión SSL mediante el método :meth:`SSLContext." -"set_ciphers`. A partir de Python 3.2.3, el módulo ssl deshabilita ciertos " -"cifrados débiles por defecto, pero es posible que quieras restringir más la " -"elección del cifrado. Asegúrese de leer la documentación de OpenSSL sobre el " -"`formato de la lista de cifrado `_. Si quiere comprobar qué cifrados están " -"habilitados por una determinada lista de cifrado, utilice :meth:`SSLContext." -"get_ciphers` o el comando ``openssl ciphers`` en su sistema." +"Si tiene requisitos de seguridad avanzados, el ajuste fino de los cifrados " +"habilitados al negociar una sesión SSL es posible a través del método :meth:" +"`SSLContext.set_ciphers`. A partir de Python 3.2.3, el módulo ssl " +"deshabilita ciertos cifrados débiles de forma predeterminada, pero es " +"posible que desee restringir aún más la elección del cifrado. Asegúrese de " +"leer la documentación de OpenSSL sobre `cipher list format `_. Si desea " +"verificar qué cifrados están habilitados por una lista de cifrado dada, use :" +"meth:`SSLContext.get_ciphers` o el comando ``openssl ciphers`` en su sistema." #: ../Doc/library/ssl.rst:2711 msgid "Multi-processing" @@ -4234,7 +4224,7 @@ msgstr "" "TLS 1.3 utiliza un conjunto disjunto de suites de cifrado. Todas las suites " "de cifrado AES-GCM y ChaCha20 están habilitadas por defecto. El método :" "meth:`SSLContext.set_ciphers` aún no puede habilitar o deshabilitar ningún " -"cifrado de TLS 1.3, pero :meth:`SSLContext.get_ciphers` los devuelve." +"cifrado de TLS 1.3, pero :meth:`SSLContext.get_ciphers` los retorna." #: ../Doc/library/ssl.rst:2736 msgid "" From cbde983005ae42ad3f8c81c31f2c7fbd007d42e0 Mon Sep 17 00:00:00 2001 From: Francisco Mora <121241637+fmoradev@users.noreply.github.com> Date: Sat, 25 Mar 2023 22:44:11 -0300 Subject: [PATCH 02/30] Traducido archivo howto/sockets (#2361) Closes #1895 --------- Co-authored-by: Rodrigo Tobar --- howto/sockets.po | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/howto/sockets.po b/howto/sockets.po index e2355c45af..ac25e69e30 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-08-04 20:37+0200\n" -"Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" +"PO-Revision-Date: 2023-03-23 09:51-0300\n" +"Last-Translator: Francisco Mora \n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 2.4.2\n" #: ../Doc/howto/sockets.rst:5 msgid "Socket Programming HOWTO" @@ -471,9 +472,16 @@ msgid "" "little-endian, with the least significant byte first - that same ``1`` would " "be ``01 00``." msgstr "" +"Es perfectamente posible enviar datos binarios a través de un socket. El " +"principal problema es que no todas las máquinas utilizan los mismos formatos " +"para datos binarios. Por ejemplo, `orden de bytes de red `_ es big-endian, con el byte más " +"significativo primero, por lo que es un entero de 16 bits con el valor ``1`` " +"serían los dos bytes hexadecimales ``00 01``. Sin embargo, los procesadores " +"más comunes (x86/AMD64, ARM, RISC-V) son little-endian, con el byte menos " +"significativo primero; ese mismo ``1`` sería ``01 00``." #: ../Doc/howto/sockets.rst:262 -#, fuzzy msgid "" "Socket libraries have calls for converting 16 and 32 bit integers - ``ntohl, " "htonl, ntohs, htons`` where \"n\" means *network* and \"h\" means *host*, " @@ -481,20 +489,14 @@ msgid "" "order, these do nothing, but where the machine is byte-reversed, these swap " "the bytes around appropriately." msgstr "" -"Es perfectamente posible mandar datos binarios en un socket. El mayor " -"problema es que no todas las máquinas usan el mismo formato para datos " -"binarios. Por ejemplo, un chip Motorola representa un entero de 16 bit con " -"el valor 1 como los dos bytes hexadecimales 00 01. Intel y DEC, sin embargo, " -"son de \"bytes invertidos\" - el mismo valor 1 es 01 00. Las bibliotecas de " -"sockets tienen funciones para convertir enteros de 16 y 32 bit - ``ntohl, " -"htonl, ntohs, htons`` donde la \"n\" significa \"network\" y \"h\" significa " -"\"host\", \"s\" significa \"short\" y \"l\" significa \"long\". Cuando el " -"orden de la red es el orden del servidor, estas funciones no hacen nada, " -"pero cuando la máquina es de \"bytes invertidos\", estas cambian los bytes " -"apropiadamente." +"Las bibliotecas de socket tienen llamadas para convertir enteros de 16 y 32 " +"bits - ``ntohl, htonl, ntohs, htons`` donde \"n\" significa *network* (red) " +"y \"h\" significa *host* (host), \"s\" significa *short* (corto) y \"l\" " +"significa *long* (largo). Cuando el orden de la red es el orden del host, " +"estos no hacen nada, pero cuando la máquina está invertida en bytes, " +"intercambian los bytes de manera adecuada." #: ../Doc/howto/sockets.rst:268 -#, fuzzy msgid "" "In these days of 64-bit machines, the ASCII representation of binary data is " "frequently smaller than the binary representation. That's because a " @@ -503,12 +505,12 @@ msgid "" "be 8. Of course, this doesn't fit well with fixed-length messages. " "Decisions, decisions." msgstr "" -"En estos días de máquinas de 32 bit, la representación ascii de los datos " +"En estos días de máquinas de 64 bit, la representación ASCII de los datos " "binarios es con frecuencia más pequeña que la representación binaria. Esto " -"es porque una sorprendente cantidad de veces, todos esos \"longs\" tienen de " -"valor 0, o tal vez 1. La cadena \"0\" tendría dos bytes, mientras el binario " -"cuatro. Por supuesto, esto no funciona bien con los mensajes de longitud " -"fija. Decisiones, decisiones." +"es porque una sorprendente cantidad de veces, todos esos enteros tienen el " +"valor 0, o tal vez 1. La cadena ``\"0\"`` tendría dos bytes, mientras un " +"entero completo de 64 bit tendría 8. Por supuesto, esto no funciona bien con " +"los mensajes de longitud fija. Decisiones, decisiones." #: ../Doc/howto/sockets.rst:277 msgid "Disconnecting" From 8f25f716cd26f544fce57a2034252f1225a4c105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Sun, 26 Mar 2023 18:34:07 +0200 Subject: [PATCH 03/30] Traduce library/contextlib (#2329) Closes #1872 --- library/contextlib.po | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/library/contextlib.po b/library/contextlib.po index 16b492afa2..bde4164959 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2020-06-24 22:27+0200\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/contextlib.rst:2 @@ -113,7 +113,7 @@ msgstr "" #: ../Doc/library/contextlib.rst:69 msgid "The function can then be used like this::" -msgstr "" +msgstr "La función se puede usar así:" #: ../Doc/library/contextlib.rst:75 msgid "" @@ -419,12 +419,21 @@ msgid "" "temporarily relinquished -- unless explicitly desired, you should not yield " "when this context manager is active." msgstr "" +"Administrador de contexto no seguro en paralelo para cambiar el directorio " +"de trabajo actual. Como esto cambia un estado global, el directorio de " +"trabajo, no es adecuado para su uso en la mayoría de los contextos " +"asincrónicos o de subprocesos. Tampoco es adecuado para la mayoría de las " +"ejecuciones de código no lineal, como los generadores, donde la ejecución " +"del programa se abandona temporalmente; a menos que se desee explícitamente, " +"no debe ceder el paso cuando este administrador de contexto está activo." #: ../Doc/library/contextlib.rst:369 msgid "" "This is a simple wrapper around :func:`~os.chdir`, it changes the current " "working directory upon entering and restores the old one on exit." msgstr "" +"Este es un contenedor simple alrededor de :func:`~os.chdir`, cambia el " +"directorio de trabajo actual al ingresar y restaura el anterior al salir." #: ../Doc/library/contextlib.rst:379 msgid "" @@ -458,7 +467,7 @@ msgstr "Ejemplo de ``ContextDecorator``::" #: ../Doc/library/contextlib.rst:401 ../Doc/library/contextlib.rst:473 msgid "The class can then be used like this::" -msgstr "" +msgstr "La clase se puede usar así:" #: ../Doc/library/contextlib.rst:419 msgid "" @@ -533,6 +542,8 @@ msgid "" "The :meth:`__enter__` method returns the :class:`ExitStack` instance, and " "performs no additional operations." msgstr "" +"El método :meth:`__enter__` retorna la instancia :class:`ExitStack` y no " +"realiza operaciones adicionales." #: ../Doc/library/contextlib.rst:514 msgid "" @@ -609,6 +620,8 @@ msgid "" "Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm* is not a " "context manager." msgstr "" +"Lanza :exc:`TypeError` en lugar de :exc:`AttributeError` si *cm* no es un " +"administrador de contexto." #: ../Doc/library/contextlib.rst:552 msgid "Adds a context manager's :meth:`__exit__` method to the callback stack." @@ -740,6 +753,8 @@ msgid "" "Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm* is not an " "asynchronous context manager." msgstr "" +"Lanza :exc:`TypeError` en lugar de :exc:`AttributeError` si *cm* no es un " +"administrador de contexto asíncrono." #: ../Doc/library/contextlib.rst:626 msgid "" @@ -1066,15 +1081,14 @@ msgstr "" "keyword:`!with` que ya está usando el mismo gestor de contexto." #: ../Doc/library/contextlib.rst:930 -#, fuzzy msgid "" ":class:`threading.RLock` is an example of a reentrant context manager, as " "are :func:`suppress`, :func:`redirect_stdout`, and :func:`chdir`. Here's a " "very simple example of reentrant use::" msgstr "" -":class:`threading.RLock` es un ejemplo de un administrador de contexto " -"reentrante, como son :func:`suppress` y :func:`redirect_stdout`. Aquí hay un " -"ejemplo muy simple de uso reentrante::" +":class:`threading.RLock` es un ejemplo de administrador de contexto " +"reentrante, al igual que :func:`suppress`, :func:`redirect_stdout` y :func:" +"`chdir`. Aquí hay un ejemplo muy simple de uso de reentrada:" #: ../Doc/library/contextlib.rst:949 msgid "" From 2f0be6b787afd8e60790e83b672b00394f4d9006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Sun, 26 Mar 2023 18:34:41 +0200 Subject: [PATCH 04/30] Traduce library/locale (#2327) Closes #1886 --- library/locale.po | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/library/locale.po b/library/locale.po index 08d314adac..7bba7d7a4c 100644 --- a/library/locale.po +++ b/library/locale.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2021-12-16 00:36-0500\n" "Last-Translator: Adolfo Hristo David Roque Gámez \n" -"Language: es_AR\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es_AR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/locale.rst:2 @@ -663,15 +663,14 @@ msgstr "" "*do_setlocale* se debe ajustar a ``False``." #: ../Doc/library/locale.rst:329 -#, fuzzy msgid "" "On Android or if the :ref:`Python UTF-8 Mode ` is enabled, always " "return ``'utf-8'``, the :term:`locale encoding` and the *do_setlocale* " "argument are ignored." msgstr "" -"En Android o si el :ref:`modo Python UTF-8 ` esta habilitado, " -"siempre retorna ``'UTF-8 '``, se ignoran la :term:`locale encoding` y el " -"argumento *do_setlocale*." +"En Android o si :ref:`Python UTF-8 Mode ` está habilitado, " +"siempre retorna ``'utf-8'``, el argumento :term:`locale encoding` y " +"*do_setlocale* se ignoran." #: ../Doc/library/locale.rst:333 ../Doc/library/locale.rst:351 msgid "" @@ -684,21 +683,20 @@ msgstr "" "handler>`." #: ../Doc/library/locale.rst:336 -#, fuzzy msgid "" "The function now always returns ``\"utf-8\"`` on Android or if the :ref:" "`Python UTF-8 Mode ` is enabled." msgstr "" -"La función ahora siempre retorna ``UTF-8`` en Android o si el :ref:`Modo " -"UTF-8 Python ` está habilitado." +"La función ahora siempre retorna ``\"utf-8\"`` en Android o si :ref:`Python " +"UTF-8 Mode ` está habilitado." #: ../Doc/library/locale.rst:343 msgid "Get the current :term:`locale encoding`:" -msgstr "" +msgstr "Obtenga el :term:`locale encoding` actual:" #: ../Doc/library/locale.rst:345 msgid "On Android and VxWorks, return ``\"utf-8\"``." -msgstr "" +msgstr "En Android y VxWorks, retorna ``\"utf-8\"``." #: ../Doc/library/locale.rst:346 msgid "" @@ -706,10 +704,14 @@ msgid "" "``\"utf-8\"`` if ``nl_langinfo(CODESET)`` returns an empty string: for " "example, if the current LC_CTYPE locale is not supported." msgstr "" +"En Unix, retorna la codificación de la configuración regional :data:" +"`LC_CTYPE` actual. Retorna ``\"utf-8\"`` si ``nl_langinfo(CODESET)`` retorna " +"una cadena vacía: por ejemplo, si no se admite la configuración regional " +"actual de LC_CTYPE." #: ../Doc/library/locale.rst:349 msgid "On Windows, return the ANSI code page." -msgstr "" +msgstr "En Windows, retorna la página de códigos ANSI." #: ../Doc/library/locale.rst:354 msgid "" @@ -717,6 +719,9 @@ msgid "" "` except this function ignores the :ref:`Python UTF-8 " "Mode `." msgstr "" +"Esta función es similar a :func:`getpreferredencoding(False) " +"` excepto que esta función ignora :ref:`Python UTF-8 " +"Mode `." #: ../Doc/library/locale.rst:363 msgid "" @@ -886,6 +891,9 @@ msgid "" "Converts a string to a number, following the :const:`LC_NUMERIC` settings, " "by calling *func* on the result of calling :func:`delocalize` on *string*." msgstr "" +"Convierte una cadena en un número, siguiendo la configuración de :const:" +"`LC_NUMERIC`, llamando a *func* según el resultado de llamar a :func:" +"`delocalize` en *string*." #: ../Doc/library/locale.rst:470 msgid "" @@ -1151,10 +1159,3 @@ msgstr "" "`dcgettext`. Para estas aplicaciones, puede ser necesario vincular el " "dominio de texto, para que las bibliotecas puedan localizar adecuadamente " "sus catálogos de mensajes." - -#~ msgid "" -#~ "Converts a string to a floating point number, following the :const:" -#~ "`LC_NUMERIC` settings." -#~ msgstr "" -#~ "Convierte una cadena de caracteres a un número de punto flotante, " -#~ "siguiendo la configuración :const:`LC_NUMERIC`." From 1dcc20aa2e6e8b5e19391d3a33c6f2f243efa29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Tue, 28 Mar 2023 00:21:20 +0200 Subject: [PATCH 05/30] Traducido library/pickle (#2274) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #1945 --------- Co-authored-by: Sofía Denner --- dictionaries/library_pickle.txt | 44 +++++------ library/pickle.po | 130 +++++++++++++++----------------- 2 files changed, 84 insertions(+), 90 deletions(-) diff --git a/dictionaries/library_pickle.txt b/dictionaries/library_pickle.txt index 250908a0b8..916f631cc9 100644 --- a/dictionaries/library_pickle.txt +++ b/dictionaries/library_pickle.txt @@ -1,28 +1,30 @@ -pickling -unpickling +Pickle +PickleBuffer +autorreferenciales +buffers +bytearrays +deserializa +deserializacion +deserializada +deserializado +deserializador +deserializan deserialize +instanciaba +picklable +pickled +pickling +programáticamente +reconstructor +reconstructores +seleccionable +serializada serializado -serializen serializan -deserializado +serializará +serializen serialzados -deserializacion -serializada sobreescribirlo -autorreferenciales strict -instanciaba -PickleBuffer -buffers -pickled unpickled -bytearrays -picklable -deserializan -deserializada -programáticamente -serializará -reconstructores -reconstructor -deserializa -Pickle \ No newline at end of file +unpickling diff --git a/library/pickle.po b/library/pickle.po index b2104c2bbb..7812e8c9c1 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2020-09-19 20:01-0300\n" "Last-Translator: Manuel Ramos \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/pickle.rst:2 @@ -188,14 +188,12 @@ msgid "Comparison with ``json``" msgstr "Comparación con ``json``" #: ../Doc/library/pickle.rst:92 -#, fuzzy msgid "" "There are fundamental differences between the pickle protocols and `JSON " "(JavaScript Object Notation) `_:" msgstr "" -"Existen diferencias fundamentales entre los protocolos de `pickle` y `JSON " -"(acrónimo de JavaScript Object Notation, «notación de objeto de JavaScript») " -"`_:" +"Existen diferencias fundamentales entre los protocolos pickle y `JSON " +"(JavaScript Object Notation) `_:" #: ../Doc/library/pickle.rst:95 msgid "" @@ -317,16 +315,15 @@ msgstr "" "compatible con versiones anteriores de Python." #: ../Doc/library/pickle.rst:149 -#, fuzzy msgid "" "Protocol version 2 was introduced in Python 2.3. It provides much more " "efficient pickling of :term:`new-style classes `. Refer " "to :pep:`307` for information about improvements brought by protocol 2." msgstr "" "La versión 2 del protocolo se introdujo en Python 2.3. Proporciona un " -"serializado con `pickle` mucho más eficiente de clases de estilo nuevo (:" -"term:`new-style class`). Consulte :pep:`307` para obtener información sobre " -"las mejoras aportadas por el protocolo 2." +"serializado con pickle mucho más eficiente de :term:`new-style classes `. Consulte :pep:`307` para obtener información sobre las " +"mejoras que trae el protocolo 2." #: ../Doc/library/pickle.rst:153 msgid "" @@ -531,14 +528,12 @@ msgstr "" "like object`)." #: ../Doc/library/pickle.rst:264 -#, fuzzy msgid "" "Arguments *fix_imports*, *encoding*, *errors*, *strict* and *buffers* have " "the same meaning as in the :class:`Unpickler` constructor." msgstr "" -"Los argumentos *file*, *fix_imports*, *encoding*, *errors*, *strict* y " -"*buffers* tienen el mismo significado que en el constructor :class:" -"`Unpickler`." +"Los argumentos *fix_imports*, *encoding*, *errors*, *strict* y *buffers* " +"tienen el mismo significado que en el constructor :class:`Unpickler`." #: ../Doc/library/pickle.rst:271 msgid "The :mod:`pickle` module defines three exceptions:" @@ -969,27 +964,23 @@ msgid "The following types can be pickled:" msgstr "Los siguientes tipos se pueden serializar con `pickle` (pickled):" #: ../Doc/library/pickle.rst:497 -#, fuzzy msgid "``None``, ``True``, and ``False``;" -msgstr "``None``, ``True``, y ``False``" +msgstr "``None``, ``True``, y ``False``;" #: ../Doc/library/pickle.rst:499 -#, fuzzy msgid "integers, floating-point numbers, complex numbers;" -msgstr "enteros, números de coma flotante, números complejos" +msgstr "enteros, números de coma flotante, números complejos;" #: ../Doc/library/pickle.rst:501 -#, fuzzy msgid "strings, bytes, bytearrays;" -msgstr "cadenas, bytes, bytearrays" +msgstr "cadenas de caracteres, bytes, bytearrays;" #: ../Doc/library/pickle.rst:503 -#, fuzzy msgid "" "tuples, lists, sets, and dictionaries containing only picklable objects;" msgstr "" -"tuplas, listas, conjuntos y diccionarios que contiene solo objetos " -"serializables con `pickle`" +"tuplas, listas, conjuntos y diccionarios que contienen solo objetos " +"serializables con pickle;" #: ../Doc/library/pickle.rst:505 #, fuzzy @@ -1001,19 +992,17 @@ msgstr "" "`def`, no :keyword:`lambda`)" #: ../Doc/library/pickle.rst:508 -#, fuzzy msgid "classes accessible from the top level of a module;" -msgstr "clases que se definen en el nivel superior de un módulo" +msgstr "clases accesibles desde el nivel superior de un módulo;" #: ../Doc/library/pickle.rst:510 -#, fuzzy msgid "" "instances of such classes whose the result of calling :meth:`__getstate__` " "is picklable (see section :ref:`pickle-inst` for details)." msgstr "" -"instancias de tales clases cuyo :attr:`~object.__dict__` o el resultado de " -"llamar a :meth:`__getstate__` es serializable con `pickle` (picklable) " -"(consulte la sección :ref:`pickle-inst` para obtener más detalles)." +"instancias de tales clases cuyo resultado de llamar a :meth:`__getstate__` " +"es serializable con `pickle` (ver la sección :ref:`pickle-inst` para más " +"detalles)." #: ../Doc/library/pickle.rst:513 msgid "" @@ -1033,7 +1022,6 @@ msgstr "" "cuidadosamente este límite con :func:`sys.setrecursionlimit`." #: ../Doc/library/pickle.rst:520 -#, fuzzy msgid "" "Note that functions (built-in and user-defined) are pickled by fully :term:" "`qualified name`, not by value. [#]_ This means that only the function name " @@ -1043,38 +1031,35 @@ msgid "" "environment, and the module must contain the named object, otherwise an " "exception will be raised. [#]_" msgstr "" -"Tenga en cuenta que las funciones (integradas y definidas por el usuario) se " -"serializan con `pickle` por referencia de nombre \"totalmente calificado\", " -"no por valor. [#]_ Esto significa que solo se serializa con `pickle` el " -"nombre de la función, junto con el nombre del módulo en el que está definida " -"la función. Ni el código de la función, ni ninguno de sus atributos de " -"función se serializa. Por lo tanto, el módulo de definición debe ser " -"importable en el entorno donde se hará el `unpickling`, y el módulo debe " -"contener el objeto nombrado; de lo contrario, se lanzará una excepción. [#]_" +"Tenga en cuenta que las funciones (integradas y definidas por el usuario) " +"están completamente serializadas con `pickle` por :term:`qualified name`, no " +"por valor. [#]_ Esto significa que solo se serializa el nombre de la " +"función, junto con el nombre del módulo y las clases que lo contienen. No se " +"serializa ni el código de la función ni ninguno de sus atributos de función. " +"Por lo tanto, el módulo de definición debe poder importarse en el entorno de " +"deserialización y el módulo debe contener el objeto nombrado; de lo " +"contrario, se generará una excepción. [#]_" #: ../Doc/library/pickle.rst:527 -#, fuzzy msgid "" "Similarly, classes are pickled by fully qualified name, so the same " "restrictions in the unpickling environment apply. Note that none of the " "class's code or data is pickled, so in the following example the class " "attribute ``attr`` is not restored in the unpickling environment::" msgstr "" -"De manera similar, las clases se serializan con `pickle` por referencia con " -"nombre, por lo que se aplican las mismas restricciones en el entorno donde " -"se hará el `unpickling`. Tenga en cuenta que ninguno de los datos o el " -"código de la clase son serializados con `pickle`, por lo que en el siguiente " -"ejemplo el atributo de clase ``attr`` no se restaura en el entorno donde se " -"hará el `unpickling`::" +"De manera similar, las clases se serializan por nombre completo, por lo que " +"se aplican las mismas restricciones en el entorno de deserialización. Tenga " +"en cuenta que ninguno de los códigos o datos de la clase se serializa, por " +"lo que en el siguiente ejemplo, el atributo de clase ``attr`` no se restaura " +"en el entorno de deserializado:" #: ../Doc/library/pickle.rst:537 -#, fuzzy msgid "" "These restrictions are why picklable functions and classes must be defined " "at the top level of a module." msgstr "" "Estas restricciones son la razón por la que las funciones y clases " -"serializables con `pickle` deben definirse en el nivel superior de un módulo." +"serializables con pickle deben definirse en el nivel superior de un módulo." #: ../Doc/library/pickle.rst:540 msgid "" @@ -1193,31 +1178,32 @@ msgstr "" "`__getnewargs_ex__` en los protocolos 2 y 3." #: ../Doc/library/pickle.rst:611 -#, fuzzy msgid "" "Classes can further influence how their instances are pickled by overriding " "the method :meth:`__getstate__`. It is called and the returned object is " "pickled as the contents for the instance, instead of a default state. There " "are several cases:" msgstr "" -"Las clases pueden influir aún más en cómo sus instancias se serializan con " -"`pickle`; si la clase define el método :meth:`__getstate__`, este es llamado " -"y el objeto retornado se selecciona como contenido de la instancia, en lugar " -"del contenido del diccionario de la instancia. Si el método :meth:" -"`__getstate__` está ausente, el :attr:`~object.__dict__` de la instancia se " -"conserva como de costumbre." +"Las clases pueden influir aún más en cómo se serializan con `pickle` sus " +"instancias sobrescribiendo el método :meth:`__getstate__`. Se llama y el " +"objeto devuelto se conserva como el contenido de la instancia, en lugar de " +"un estado predeterminado. Hay varios casos:" #: ../Doc/library/pickle.rst:616 msgid "" "For a class that has no instance :attr:`~object.__dict__` and no :attr:" "`~object.__slots__`, the default state is ``None``." msgstr "" +"Para una clase que no tiene instancias :attr:`~object.__dict__` ni :attr:" +"`~object.__slots__`, el estado predeterminado es ``None``." #: ../Doc/library/pickle.rst:619 msgid "" "For a class that has an instance :attr:`~object.__dict__` and no :attr:" "`~object.__slots__`, the default state is ``self.__dict__``." msgstr "" +"Para una clase que tiene una instancia :attr:`~object.__dict__` y no tiene :" +"attr:`~object.__slots__`, el estado predeterminado es ``self.__dict__``." #: ../Doc/library/pickle.rst:622 msgid "" @@ -1226,6 +1212,11 @@ msgid "" "``self.__dict__``, and a dictionary mapping slot names to slot values. Only " "slots that have a value are included in the latter." msgstr "" +"Para una clase que tiene una instancia :attr:`~object.__dict__` y :attr:" +"`~object.__slots__`, el estado predeterminado es una tupla que consta de dos " +"diccionarios: ``self.__dict__`` y un diccionario que asigna nombres de " +"ranura a valores de ranura. Solo las ranuras que tienen un valor se incluyen " +"en este último." #: ../Doc/library/pickle.rst:628 msgid "" @@ -1234,12 +1225,18 @@ msgid "" "``None`` and whose second item is a dictionary mapping slot names to slot " "values described in the previous bullet." msgstr "" +"Para una clase que tiene :attr:`~object.__slots__` y ninguna instancia :attr:" +"`~object.__dict__`, el estado predeterminado es una tupla cuyo primer " +"elemento es ``None`` y cuyo segundo elemento es un diccionario que asigna " +"nombres de ranura a valores de ranura descritos en la viñeta anterior." #: ../Doc/library/pickle.rst:633 msgid "" "Added the default implementation of the ``__getstate__()`` method in the :" "class:`object` class." msgstr "" +"Se agregó la implementación predeterminada del método ``__getstate__()`` en " +"la clase :class:`object`." #: ../Doc/library/pickle.rst:640 msgid "" @@ -1549,20 +1546,21 @@ msgstr "" "Alternativamente, el código ::" #: ../Doc/library/pickle.rst:808 -#, fuzzy msgid "" "does the same but all instances of ``MyPickler`` will by default share the " "private dispatch table. On the other hand, the code ::" msgstr "" -"hace lo mismo, pero todas las instancias de ``MiPickler`` compartirán por " -"defecto la misma tabla de despacho. El código equivalente que usa el módulo :" -"mod:`copyreg` es ::" +"hace lo mismo, pero todas las instancias de ``MyPickler`` compartirán de " +"forma predeterminada la tabla de despacho privada. Por otro lado, el " +"código ::" #: ../Doc/library/pickle.rst:815 msgid "" "modifies the global dispatch table shared by all users of the :mod:`copyreg` " "module." msgstr "" +"modifica la tabla de despacho global compartida por todos los usuarios del " +"módulo :mod:`copyreg`." #: ../Doc/library/pickle.rst:820 msgid "Handling Stateful Objects" @@ -1885,10 +1883,9 @@ msgstr "" "clases seguras del módulo :mod:`builtins`::" #: ../Doc/library/pickle.rst:1119 -#, fuzzy msgid "A sample usage of our unpickler working as intended::" msgstr "" -"Un uso de muestra de nuestro `unpickler` trabajando tiene la intención de::" +"Un ejemplo de uso de nuestro deserializador que funciona según lo previsto::" #: ../Doc/library/pickle.rst:1138 msgid "" @@ -2007,18 +2004,13 @@ msgstr "" "superficial y profunda." #: ../Doc/library/pickle.rst:1218 -#, fuzzy msgid "" "The limitation on alphanumeric characters is due to the fact that persistent " "IDs in protocol 0 are delimited by the newline character. Therefore if any " "kind of newline characters occurs in persistent IDs, the resulting pickled " "data will become unreadable." msgstr "" -"La limitación de caracteres alfanuméricos se debe al hecho de que los ID " -"persistentes, en el protocolo 0, están delimitados por el carácter de nueva " -"línea. Por lo tanto, si se produce algún tipo de carácter de nueva línea en " -"los ID persistentes, el serializado con `pickle` resultante se volverá " -"ilegible." - -#~ msgid "built-in functions defined at the top level of a module" -#~ msgstr "funciones integradas definidas en el nivel superior de un módulo" +"La limitación de caracteres alfanuméricos se debe a que los ID persistentes " +"en el protocolo 0 están delimitados por el carácter de nueva línea. Por lo " +"tanto, si se produce algún tipo de carácter de nueva línea en los ID " +"persistentes, los datos serializados resultantes se volverán ilegibles." From dbe0e6917fff12b60e08ae83ea162b7caccb5929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Tue, 28 Mar 2023 04:53:20 +0200 Subject: [PATCH 06/30] Traducido archivo library/select (#2344) Closes #1866 --------- Co-authored-by: rtobar --- library/select.po | 63 ++++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/library/select.po b/library/select.po index 28c71783b2..f264cc72d6 100644 --- a/library/select.po +++ b/library/select.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-08-04 21:55+0200\n" +"PO-Revision-Date: 2023-03-09 20:37+0100\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/select.rst:2 msgid ":mod:`select` --- Waiting for I/O completion" @@ -59,7 +60,7 @@ msgstr "" #, fuzzy msgid ":ref:`Availability `: not Emscripten, not WASI." -msgstr ":ref:`Availability`: Unix" +msgstr ":ref:`Disponibilidad `: no en Emscripten, no en WASI." #: ../Doc/library/cpython/Doc/includes/wasm-notavail.rst:5 msgid "" @@ -67,6 +68,9 @@ msgid "" "``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for " "more information." msgstr "" +"Este módulo no funciona o no está disponible en las plataformas WebAssembly " +"``wasm32-emscripten`` y ``wasm32-wasi``. Consulte :ref:`wasm-availability` " +"para obtener más información." #: ../Doc/library/select.rst:27 msgid "The module defines the following:" @@ -124,7 +128,6 @@ msgstr "" "borde para eventos de E/S." #: ../Doc/library/select.rst:63 -#, fuzzy msgid "" "*sizehint* informs epoll about the expected number of events to be " "registered. It must be positive, or ``-1`` to use the default. It is only " @@ -132,10 +135,10 @@ msgid "" "otherwise it has no effect (though its value is still checked)." msgstr "" "*sizehint* informa a epoll sobre el número esperado de eventos a ser " -"registrados. Debe ser positivo o `-1` para usar el valor predeterminado. " +"registrados. Debe ser positivo o ``-1`` para usar el valor predeterminado. " "Solo se usa en sistemas más antiguos donde :c:func:`epoll_create1` no está " -"disponible; de lo contrario no tiene ningún efecto (aunque su valor aún está " -"marcado)." +"disponible; de lo contrario no tiene ningún efecto (aunque su valor aún se " +"verifica)." #: ../Doc/library/select.rst:68 msgid "" @@ -434,7 +437,6 @@ msgstr "" "ignora de forma segura." #: ../Doc/library/select.rst:256 -#, fuzzy msgid "" "Polls the set of registered file descriptors, and returns a possibly empty " "list containing ``(fd, event)`` 2-tuples for the descriptors that have " @@ -448,17 +450,17 @@ msgid "" "the call will block until there is an event for this poll object." msgstr "" "Sondea el conjunto de descriptores de archivos registrados y retorna una " -"lista posiblemente vacía que contiene ``(fd, event)`` 2 tuplas para los " -"descriptores que tienen eventos o errores que informar. *fd* es el " -"descriptor de archivo, y *event* es una máscara de bits con bits " -"establecidos para los eventos informados para ese descriptor --- :const:" -"`POLLIN` para la entrada en espera, :const:`POLLOUT` para indicar que el " -"descriptor puede ser escrito, y así sucesivamente. Una lista vacía indica " -"que se agotó el tiempo de espera de la llamada y que ningún descriptor de " -"archivos tuvo ningún evento que informar. Si se da *timeout*, especifica el " -"período de tiempo en milisegundos que el sistema esperará por los eventos " -"antes de regresar. Si se omite *timeout*, es -1 o es :const:`None`, la " -"llamada se bloqueará hasta que haya un evento para este objeto de encuesta." +"lista posiblemente vacía que contiene tuplas de dos elementos ``(fd, " +"event)`` para los descriptores que tienen eventos o errores para informar. " +"*fd* es el descriptor de archivo, y *event* es una máscara de bits con bits " +"configurados para los eventos informados para ese descriptor --- :const:" +"`POLLIN` para entrada en espera, :const:`POLLOUT` para indicar que se puede " +"escribir en el descriptor, y así sucesivamente. Una lista vacía indica que " +"se agotó el tiempo de espera de la llamada y que ningún descriptor de " +"archivo tuvo eventos para informar. Si se proporciona *timeout*, especifica " +"el período de tiempo en milisegundos que el sistema esperará por los eventos " +"antes de regresar. Si se omite *timeout*, -1 o :const:`None`, la llamada se " +"bloqueará hasta que haya un evento para este objeto de sondeo." #: ../Doc/library/select.rst:277 msgid "Edge and Level Trigger Polling (epoll) Objects" @@ -781,7 +783,6 @@ msgstr "" "excepción :exc:`KeyError`." #: ../Doc/library/select.rst:444 -#, fuzzy msgid "" "Polls the set of registered file descriptors, and returns a possibly empty " "list containing ``(fd, event)`` 2-tuples for the descriptors that have " @@ -795,17 +796,17 @@ msgid "" "`None`, the call will block until there is an event for this poll object." msgstr "" "Sondea el conjunto de descriptores de archivos registrados y retorna una " -"lista posiblemente vacía que contiene ``(fd, event)`` y 2 tuplas para los " -"descriptores que tienen eventos o errores que informar. *fd* es el " +"lista posiblemente vacía que contiene tuplas de 2 elementos ``(fd, event)`` " +"para los descriptores que tienen eventos o errores para informar. *fd* es el " "descriptor de archivo, y *event* es una máscara de bits con bits " -"establecidos para los eventos informados para ese descriptor --- :const:" -"`POLLIN` para la entrada en espera, :const:`POLLOUT` para indicar que el " -"descriptor puede ser escrito, y así sucesivamente. Una lista vacía indica " -"que se agotó el tiempo de espera de la llamada y que ningún descriptor de " -"archivos tuvo ningún evento que informar. Si se da *timeout* , especifica el " -"período de tiempo en milisegundos que el sistema esperará por los eventos " -"antes de regresar. Si se omite *timeout*, es negativo, o :const:`None`, la " -"llamada se bloqueará hasta que haya un evento para este objeto de encuesta." +"configurados para los eventos informados para ese descriptor --- :const:" +"`POLLIN` para entrada en espera, :const:`POLLOUT` para indicar que se puede " +"escribir en el descriptor, y así sucesivamente. Una lista vacía indica que " +"se agotó el tiempo de espera de la llamada y que ningún descriptor de " +"archivo tuvo eventos para informar. Si se proporciona *timeout*, especifica " +"el período de tiempo en milisegundos que el sistema esperará por los eventos " +"antes de regresar. Si se omite *timeout*, es negativo o :const:`None`, la " +"llamada se bloqueará hasta que haya un evento para este objeto de sondeo." #: ../Doc/library/select.rst:465 msgid "Kqueue Objects" From 2bd885b05c408ab6dbda8c25d2e30f82900b7015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 29 Mar 2023 15:48:00 +0200 Subject: [PATCH 07/30] Traducido library/crypt (#2332) Closes #1882 --------- Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- library/crypt.po | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/library/crypt.po b/library/crypt.po index dda398138d..e558200ae0 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2020-09-04 00:23-0500\n" "Last-Translator: Gustavo Huarcaya \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/crypt.rst:2 @@ -35,6 +35,9 @@ msgid "" "details and alternatives). The :mod:`hashlib` module is a potential " "replacement for certain use cases." msgstr "" +"El módulo :mod:`crypt` está obsoleto (consulte :pep:`PEP 594 <594#crypt>` " +"para obtener detalles y alternativas). El módulo :mod:`hashlib` es un " +"reemplazo potencial para ciertos casos de uso." #: ../Doc/library/crypt.rst:26 msgid "" @@ -73,11 +76,15 @@ msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr ":ref:`Disponibilidad `: Unix. No disponible en VxWorks." #: ../Doc/library/cpython/Doc/includes/wasm-notavail.rst:5 +#, fuzzy msgid "" "This module does not work or is not available on WebAssembly platforms " "``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for " "more information." msgstr "" +"Este módulo no funciona o no está disponible en las plataformas WebAssembly " +"``wasm32-emscripten`` y ``wasm32-wasi``. Consulte :ref:`wasm-availability` " +"para obtener más información." #: ../Doc/library/crypt.rst:44 msgid "Hashing Methods" @@ -153,7 +160,6 @@ msgid "The :mod:`crypt` module defines the following functions:" msgstr "El módulo :mod:`crypt` define las siguientes funciones:" #: ../Doc/library/crypt.rst:98 -#, fuzzy msgid "" "*word* will usually be a user's password as typed at a prompt or in a " "graphical interface. The optional *salt* is either a string as returned " @@ -163,12 +169,12 @@ msgid "" "strongest method available in :attr:`methods` will be used." msgstr "" "*word* normalmente será la contraseña de un usuario tal como se escribe en " -"un prompt o en una interfaz gráfica. El *salt* opcional es una cadena " -"retornada por :func:`mksalt`, uno de los valores ``crypt.METHOD_*`` (aunque " -"no todos pueden estar disponibles en todas las plataformas), o una " -"contraseña completa encriptada que incluye *salt*, como lo retorna esta " -"función. Si no se proporciona *salt*, se utilizará el método más fuerte " -"(como lo retornado por :func:`methods`)." +"un prompt o en una interfaz gráfica. El *salt* opcional es una cadena que " +"retorna :func:`mksalt`, uno de los valores de ``crypt.METHOD_*`` (aunque es " +"posible que no todos estén disponibles en todas las plataformas), o una " +"contraseña cifrada completa que incluye sal, como lo retorna esta función. " +"Si no se proporciona *salt*, se utilizará el método más fuerte disponible " +"en :attr:`methods`." #: ../Doc/library/crypt.rst:105 msgid "" @@ -219,14 +225,13 @@ msgstr "" "Acepta los valores ``crypt.METHOD_*`` además de las cadenas para *salt*." #: ../Doc/library/crypt.rst:130 -#, fuzzy msgid "" "Return a randomly generated salt of the specified method. If no *method* is " "given, the strongest method available in :attr:`methods` is used." msgstr "" -"Retorna un *salt* generado aleatoriamente del método especificado. Si no se " -"proporciona ningún método (*method*), se utiliza el método mas fuerte " -"disponible según lo retornado por :func:`methods`." +"Retorna una sal generada aleatoriamente del método especificado. Si no se " +"proporciona *method*, se utiliza el método más sólido disponible en :attr:" +"`methods`." #: ../Doc/library/crypt.rst:134 msgid "" From df22319960391b4bf722fcf56cb9429ad535837c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 29 Mar 2023 15:48:58 +0200 Subject: [PATCH 08/30] Traducido library/mailcap (#2326) Closes #1887 --------- Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- library/mailcap.po | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/library/mailcap.po b/library/mailcap.po index 85fecc62ea..bfdcef6ba9 100644 --- a/library/mailcap.po +++ b/library/mailcap.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2020-08-23 13:17-0600\n" "Last-Translator: Alfonso Reyes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/mailcap.rst:2 @@ -34,6 +34,8 @@ msgid "" "The :mod:`mailcap` module is deprecated (see :pep:`PEP 594 <594#mailcap>` " "for details). The :mod:`mimetypes` module provides an alternative." msgstr "" +"El módulo :mod:`mailcap` está obsoleto (ver :pep:`PEP 594 <594#mailcap>` " +"para más detalles). El módulo :mod:`mimetypes` proporciona una alternativa." #: ../Doc/library/mailcap.rst:17 #, python-format @@ -153,6 +155,10 @@ msgid "" "inject ASCII characters other than alphanumerics and ``@+=:,./-_`` into the " "returned command line." msgstr "" +"Para evitar problemas de seguridad con los metacaracteres de shell (símbolos " +"que tienen efectos especiales en una línea de comando de shell), " +"``findmatch`` se negará a inyectar caracteres ASCII que no sean " +"alfanuméricos y ``@+=:,./-_`` en la línea de comando retornada." #: ../Doc/library/mailcap.rst:70 msgid "" @@ -162,6 +168,11 @@ msgid "" "ignore all mailcap entries which use that value. A :mod:`warning ` " "will be raised in either case." msgstr "" +"Si aparece un carácter no permitido en *filename*, ``findmatch`` siempre " +"retornará ``(None, None)`` como si no se hubiera encontrado ninguna entrada. " +"Si dicho carácter aparece en otro lugar (un valor en *plist* o en " +"*MIMEtype*), ``findmatch`` ignorará todas las entradas mailcap que utilicen " +"ese valor. Se generará un :mod:`warning ` en cualquier caso." #: ../Doc/library/mailcap.rst:78 msgid "" From b415d9a143021306a7e66d47852ac072e7c0235a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 29 Mar 2023 15:56:32 +0200 Subject: [PATCH 09/30] Traducido reference/compound_stmts (#2281) Closes #1907 --------- Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- reference/compound_stmts.po | 204 +++++++++++++++++++++--------------- 1 file changed, 120 insertions(+), 84 deletions(-) diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index e080601069..986be80244 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2022-01-06 10:25-0300\n" "Last-Translator: Carlos A. Crespo \n" -"Language: es_AR\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es_AR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/reference/compound_stmts.rst:5 @@ -202,6 +202,14 @@ msgid "" "When the iterator is exhausted, the suite in the :keyword:`!else` clause, if " "present, is executed, and the loop terminates." msgstr "" +"La expresión ``starred_list`` se evalúa una vez; debería producir un objeto :" +"term:`iterable`. Se crea un :term:`iterator` para ese iterable. A " +"continuación, el primer elemento proporcionado por el iterador se asigna a " +"la lista de destino utilizando las reglas estándar para las asignaciones " +"(consulte :ref:`assignment`) y se ejecuta la suite. Esto se repite para cada " +"elemento proporcionado por el iterador. Cuando se agota el iterador, se " +"ejecuta el conjunto de la cláusula :keyword:`!else`, si está presente, y el " +"ciclo termina." #: ../Doc/reference/compound_stmts.rst:173 msgid "" @@ -244,18 +252,18 @@ msgstr "" #: ../Doc/reference/compound_stmts.rst:199 msgid "Starred elements are now allowed in the expression list." msgstr "" +"Los elementos destacados ahora están permitidos en la lista de expresiones." #: ../Doc/reference/compound_stmts.rst:206 msgid "The :keyword:`!try` statement" msgstr "La sentencia :keyword:`!try`" #: ../Doc/reference/compound_stmts.rst:216 -#, fuzzy msgid "" "The :keyword:`!try` statement specifies exception handlers and/or cleanup " "code for a group of statements:" msgstr "" -"La sentencia :keyword:`try` es especifica para gestionar excepciones o " +"La sentencia :keyword:`!try` especifica controladores de excepciones y/o " "código de limpieza para un grupo de sentencias:" #: ../Doc/reference/compound_stmts.rst:232 @@ -271,10 +279,9 @@ msgstr "" #: ../Doc/reference/compound_stmts.rst:240 msgid ":keyword:`!except` clause" -msgstr "" +msgstr "Cláusula :keyword:`!except`" #: ../Doc/reference/compound_stmts.rst:242 -#, fuzzy msgid "" "The :keyword:`!except` clause(s) specify one or more exception handlers. " "When no exception occurs in the :keyword:`try` clause, no exception handler " @@ -290,30 +297,30 @@ msgid "" "tuple containing an item that is the class or a non-virtual base class of " "the exception object." msgstr "" -"Las cláusulas :keyword:`except` especifican uno o más manejadores de " -"excepciones. Cuando no ocurre ninguna excepción en la palabra clave :keyword:" +"Las cláusulas :keyword:`!except` especifican uno o más controladores de " +"excepciones. Cuando no se produce ninguna excepción en la cláusula :keyword:" "`try`, no se ejecuta ningún controlador de excepciones. Cuando ocurre una " "excepción en la suite :keyword:`!try`, se inicia una búsqueda de un " -"manejador de excepciones. Esta búsqueda inspecciona las cláusulas except a " -"su vez hasta encontrar una que coincida con la excepción. Una cláusula " -"except sin expresión, si está presente, debe ser la última; coincide con " -"cualquier excepción. Para una cláusula except con una expresión, esa " -"expresión se evalúa y la cláusula coincide con la excepción si el objeto " -"resultante es \"compatible\" con la excepción. Un objeto es compatible con " -"una excepción si es la clase o una clase base del objeto de excepción, o una " -"tupla que contiene un elemento que es la clase o una clase base del objeto " -"de excepción." +"controlador de excepciones. Esta búsqueda inspecciona las cláusulas :keyword:" +"`!except` a su vez hasta que se encuentra una que coincida con la excepción. " +"Una cláusula :keyword:`!except` sin expresión, si está presente, debe ser la " +"última; coincide con cualquier excepción. Para una cláusula :keyword:`!" +"except` con una expresión, esa expresión se evalúa y la cláusula coincide " +"con la excepción si el objeto resultante es \"compatible\" con la excepción. " +"Un objeto es compatible con una excepción si el objeto es la clase o un :" +"term:`non-virtual base class ` del objeto de excepción, " +"o una tupla que contiene un elemento que es la clase o una clase base no " +"virtual del objeto de excepción." #: ../Doc/reference/compound_stmts.rst:257 -#, fuzzy msgid "" "If no :keyword:`!except` clause matches the exception, the search for an " "exception handler continues in the surrounding code and on the invocation " "stack. [#]_" msgstr "" -"Si ninguna cláusula ``except`` coincide con la excepción, la búsqueda de un " -"gestor de excepciones continúa en el código circundante y en la pila de " -"invocación. [#]_" +"Si ninguna cláusula :keyword:`!except` coincide con la excepción, la " +"búsqueda de un controlador de excepciones continúa en el código circundante " +"y en la pila de invocaciones. [#]_" #: ../Doc/reference/compound_stmts.rst:261 msgid "" @@ -323,9 +330,13 @@ msgid "" "call stack (it is treated as if the entire :keyword:`try` statement raised " "the exception)." msgstr "" +"Si la evaluación de una expresión en el encabezado de una cláusula :keyword:" +"`!except` genera una excepción, la búsqueda original de un controlador se " +"cancela y comienza una búsqueda de la nueva excepción en el código " +"circundante y en la pila de llamadas (se trata como si toda la sentencia :" +"keyword:`try` generara la excepción)." #: ../Doc/reference/compound_stmts.rst:269 -#, fuzzy msgid "" "When a matching :keyword:`!except` clause is found, the exception is " "assigned to the target specified after the :keyword:`!as` keyword in that :" @@ -337,31 +348,30 @@ msgid "" "keyword:`!try` clause of the inner handler, the outer handler will not " "handle the exception.)" msgstr "" -"Cuando se encuentra una cláusula ``except`` coincidente, la excepción se " -"asigna al destino especificado después de la palabra clave :keyword:`!as` en " -"esa cláusula ``except``, si está presente, y se ejecuta la suite de " -"cláusulas ``except``. Todas las cláusulas ``except`` deben tener un bloque " -"ejecutable. Cuando se alcanza el final de este bloque, la ejecución continúa " -"normalmente después de toda la sentencia try. (Esto significa que si existen " -"dos gestores de errores anidados para la misma excepción, y la excepción " -"ocurre en la cláusula ``try`` del gestor interno, el gestor externo no " -"gestionará la excepción)." +"Cuando se encuentra una cláusula :keyword:`!except` coincidente, la " +"excepción se asigna al destino especificado después de la palabra clave :" +"keyword:`!as` en esa cláusula :keyword:`!except`, si está presente, y se " +"ejecuta el conjunto de la cláusula :keyword:`!except`. Todas las cláusulas :" +"keyword:`!except` deben tener un bloque ejecutable. Cuando se alcanza el " +"final de este bloque, la ejecución continúa normalmente después de la " +"instrucción :keyword:`try` completa. (Esto significa que si existen dos " +"controladores anidados para la misma excepción y la excepción se produce en " +"la cláusula :keyword:`!try` del controlador interno, el controlador externo " +"no controlará la excepción)." #: ../Doc/reference/compound_stmts.rst:280 -#, fuzzy msgid "" "When an exception has been assigned using ``as target``, it is cleared at " "the end of the :keyword:`!except` clause. This is as if ::" msgstr "" -"Cuando se ha asignado una excepción usando ``as target``, se borra al final " -"de la cláusula ``except``. Esto es como si ::" +"Cuando se ha asignado una excepción mediante ``as target``, se borra al " +"final de la cláusula :keyword:`!except`. Esto es como si ::" #: ../Doc/reference/compound_stmts.rst:286 msgid "was translated to ::" msgstr "fue traducido a ::" #: ../Doc/reference/compound_stmts.rst:294 -#, fuzzy msgid "" "This means the exception must be assigned to a different name to be able to " "refer to it after the :keyword:`!except` clause. Exceptions are cleared " @@ -370,13 +380,13 @@ msgid "" "garbage collection occurs." msgstr "" "Esto significa que la excepción debe asignarse a un nombre diferente para " -"poder referirse a ella después de la cláusula ``except``. Las excepciones se " -"borran porque con el seguimiento vinculado a ellas, forman un bucle de " -"referencia con el marco de la pila, manteniendo activos todos los locales en " -"esa pila hasta que ocurra la próxima recolección de basura." +"poder hacer referencia a ella después de la cláusula :keyword:`!except`. Las " +"excepciones se borran porque con el rastreo adjunto, forman un ciclo de " +"referencia con el marco de la pila, manteniendo todos los locales en ese " +"marco vivos hasta que ocurra la próxima recolección de elementos no " +"utilizados." #: ../Doc/reference/compound_stmts.rst:304 -#, fuzzy msgid "" "Before an :keyword:`!except` clause's suite is executed, details about the " "exception are stored in the :mod:`sys` module and can be accessed via :func:" @@ -386,18 +396,19 @@ msgid "" "occurred. The details about the exception accessed via :func:`sys.exc_info` " "are restored to their previous values when leaving an exception handler::" msgstr "" -"Antes de que se ejecute un conjunto de cláusulas ``except``, los detalles " -"sobre la excepción se almacenan en el módulo :mod:`sys` y se puede acceder a " -"través de :func:`sys.exc_info`. :func:`sys.exc_info` retorna 3 tuplas que " -"consisten en la clase de excepción, la instancia de excepción y un objeto de " -"rastreo (ver sección :ref:`types`) que identifica el punto en el programa " -"donde ocurrió la excepción. Lo valores :func:`sys.exc_info` se restauran a " -"sus valores anteriores (antes de la llamada) al regresar de una función que " -"manejó una excepción::" +"Antes de que se ejecute un conjunto de cláusulas :keyword:`!except`, los " +"detalles sobre la excepción se almacenan en el módulo :mod:`sys` y se puede " +"acceder a ellos a través de :func:`sys.exc_info`. :func:`sys.exc_info` " +"devuelve una tupla de 3 que consta de la clase de excepción, la instancia de " +"excepción y un objeto de rastreo (consulte la sección :ref:`types`) que " +"identifica el punto del programa donde se produjo la excepción. Los detalles " +"sobre la excepción a la que se accede a través de :func:`sys.exc_info` se " +"restauran a sus valores anteriores cuando se deja un controlador de " +"excepciones:" #: ../Doc/reference/compound_stmts.rst:338 msgid ":keyword:`!except*` clause" -msgstr "" +msgstr "Cláusula :keyword:`!except*`" #: ../Doc/reference/compound_stmts.rst:340 msgid "" @@ -411,6 +422,16 @@ msgid "" "in the group is handled by at most one :keyword:`!except*` clause, the first " "that matches it. ::" msgstr "" +"La(s) cláusula(s) :keyword:`!except*` se utilizan para manejar :exc:" +"`ExceptionGroup`\\s. El tipo de excepción para la coincidencia se interpreta " +"como en el caso de :keyword:`except`, pero en el caso de los grupos de " +"excepción podemos tener coincidencias parciales cuando el tipo coincide con " +"algunas de las excepciones del grupo. Esto significa que se pueden ejecutar " +"varias cláusulas :keyword:`!except*`, cada una de las cuales maneja parte " +"del grupo de excepciones. Cada cláusula se ejecuta como máximo una vez y " +"maneja un grupo de excepciones de todas las excepciones coincidentes. Cada " +"excepción en el grupo es manejada por una cláusula :keyword:`!except*` como " +"máximo, la primera que coincida. ::" #: ../Doc/reference/compound_stmts.rst:368 msgid "" @@ -418,6 +439,10 @@ msgid "" "clause are re-raised at the end, combined into an exception group along with " "all exceptions that were raised from within :keyword:`!except*` clauses." msgstr "" +"Cualquier excepción restante que no haya sido manejada por ninguna cláusula :" +"keyword:`!except*` se vuelve a generar al final, se combina en un grupo de " +"excepciones junto con todas las excepciones que se generaron desde dentro de " +"las cláusulas :keyword:`!except*`." #: ../Doc/reference/compound_stmts.rst:372 msgid "" @@ -425,6 +450,9 @@ msgid "" "of the :keyword:`!except*` clauses, it is caught and wrapped by an exception " "group with an empty message string. ::" msgstr "" +"Si la excepción generada no es un grupo de excepciones y su tipo coincide " +"con una de las cláusulas :keyword:`!except*`, un grupo de excepciones la " +"captura y la encapsula con una cadena de mensaje vacía. ::" #: ../Doc/reference/compound_stmts.rst:383 msgid "" @@ -434,11 +462,15 @@ msgid "" "keyword:`break`, :keyword:`continue` and :keyword:`return` cannot appear in " "an :keyword:`!except*` clause." msgstr "" +"Una cláusula :keyword:`!except*` debe tener un tipo coincidente y este tipo " +"no puede ser una subclase de :exc:`BaseExceptionGroup`. No es posible " +"mezclar :keyword:`except` y :keyword:`!except*` en el mismo :keyword:`try`. :" +"keyword:`break`, :keyword:`continue` y :keyword:`return` no pueden aparecer " +"en una cláusula :keyword:`!except*`." #: ../Doc/reference/compound_stmts.rst:400 -#, fuzzy msgid ":keyword:`!else` clause" -msgstr "La sentencia :keyword:`!while`" +msgstr "La sentencia :keyword:`!else`" #: ../Doc/reference/compound_stmts.rst:402 msgid "" @@ -456,7 +488,7 @@ msgstr "" #: ../Doc/reference/compound_stmts.rst:414 msgid ":keyword:`!finally` clause" -msgstr "" +msgstr "Cláusula :keyword:`!finally`" #: ../Doc/reference/compound_stmts.rst:416 msgid "" @@ -471,18 +503,26 @@ msgid "" "`return`, :keyword:`break` or :keyword:`continue` statement, the saved " "exception is discarded::" msgstr "" +"Si :keyword:`!finally` está presente, especifica un controlador de " +"'limpieza'. Se ejecuta la cláusula :keyword:`try`, incluidas las cláusulas :" +"keyword:`except` y :keyword:`else`. Si ocurre una excepción en cualquiera de " +"las cláusulas y no se maneja, la excepción se guarda temporalmente. Se " +"ejecuta la cláusula :keyword:`!finally`. Si hay una excepción guardada, se " +"vuelve a generar al final de la cláusula :keyword:`!finally`. Si la " +"cláusula :keyword:`!finally` genera otra excepción, la excepción guardada se " +"establece como el contexto de la nueva excepción. Si la cláusula :keyword:`!" +"finally` ejecuta una sentencia :keyword:`return`, :keyword:`break` o :" +"keyword:`continue`, la excepción guardada se descarta:" #: ../Doc/reference/compound_stmts.rst:435 -#, fuzzy msgid "" "The exception information is not available to the program during execution " "of the :keyword:`!finally` clause." msgstr "" "La información de excepción no está disponible para el programa durante la " -"ejecución de la cláusula :keyword:`finally`." +"ejecución de la cláusula :keyword:`!finally`." #: ../Doc/reference/compound_stmts.rst:443 -#, fuzzy msgid "" "When a :keyword:`return`, :keyword:`break` or :keyword:`continue` statement " "is executed in the :keyword:`try` suite of a :keyword:`!try`...\\ :keyword:`!" @@ -490,31 +530,29 @@ msgid "" "way out.'" msgstr "" "Cuando se ejecuta una sentencia :keyword:`return`, :keyword:`break` o :" -"keyword:`continue` en la suite :keyword:`try` de un :keyword:`!try`...\\ la " -"sentencia :keyword:`!finally`, la cláusula :keyword:`finally` también se " +"keyword:`continue` en el conjunto :keyword:`try` de una sentencia :keyword:`!" +"try`...\\ :keyword:`!finally`, la cláusula :keyword:`!finally` también se " "ejecuta 'al salir'." #: ../Doc/reference/compound_stmts.rst:447 -#, fuzzy msgid "" "The return value of a function is determined by the last :keyword:`return` " "statement executed. Since the :keyword:`!finally` clause always executes, " "a :keyword:`!return` statement executed in the :keyword:`!finally` clause " "will always be the last one executed::" msgstr "" -"El valor de retorno de una función está determinado por la última sentencia :" -"keyword:`return` ejecutada. Dado que la cláusula :keyword:`finally` siempre " -"se ejecuta, una sentencia :keyword:`!return` ejecutada en la cláusula :" -"keyword:`!finally` siempre será la última ejecutada::" +"El valor de retorno de una función está determinado por la última " +"instrucción :keyword:`return` ejecutada. Dado que la cláusula :keyword:`!" +"finally` siempre se ejecuta, una sentencia :keyword:`!return` ejecutada en " +"la cláusula :keyword:`!finally` siempre será la última en ejecutarse:" #: ../Doc/reference/compound_stmts.rst:461 -#, fuzzy msgid "" "Prior to Python 3.8, a :keyword:`continue` statement was illegal in the :" "keyword:`!finally` clause due to a problem with the implementation." msgstr "" -"Antes de Python 3.8, una sentencia :keyword:`continue` era ilegal en la " -"cláusula :keyword:`finally` debido a un problema con la implementación." +"Antes de Python 3.8, una declaración :keyword:`continue` era ilegal en la " +"cláusula :keyword:`!finally` debido a un problema con la implementación." #: ../Doc/reference/compound_stmts.rst:470 msgid "The :keyword:`!with` statement" @@ -542,13 +580,12 @@ msgstr "" "la siguiente manera:" #: ../Doc/reference/compound_stmts.rst:491 -#, fuzzy msgid "" "The context expression (the expression given in the :token:`~python-grammar:" "with_item`) is evaluated to obtain a context manager." msgstr "" -"La expresión de contexto (la expresión dada en :token:`with_item`) se evalúa " -"para obtener un administrador de contexto." +"La expresión de contexto (la expresión dada en :token:`~python-grammar:" +"with_item`) se evalúa para obtener un administrador de contexto." #: ../Doc/reference/compound_stmts.rst:494 msgid "The context manager's :meth:`__enter__` is loaded for later use." @@ -1123,14 +1160,14 @@ msgstr "" "Un patrón de captura vincula el valor del sujeto a un nombre. Sintaxis:" #: ../Doc/reference/compound_stmts.rst:869 -#, fuzzy msgid "" "A single underscore ``_`` is not a capture pattern (this is what ``!'_'`` " "expresses). It is instead treated as a :token:`~python-grammar:" "wildcard_pattern`." msgstr "" "Un solo guión bajo ``_`` no es un patrón de captura (esto es lo que expresa " -"``!'_'``). En cambio, se trata como un :token:`wildcard_pattern`." +"``!'_'``). En su lugar, se trata como un :token:`~python-grammar:" +"wildcard_pattern`." #: ../Doc/reference/compound_stmts.rst:873 msgid "" @@ -1755,15 +1792,14 @@ msgid ":class:`tuple`" msgstr ":class:`tuple`" #: ../Doc/reference/compound_stmts.rst:1165 -#, fuzzy msgid "" "These classes accept a single positional argument, and the pattern there is " "matched against the whole object rather than an attribute. For example " "``int(0|1)`` matches the value ``0``, but not the value ``0.0``." msgstr "" -"Estas clases aceptan un único argumento posicional y el patrón se compara " -"con el objeto completo en lugar de un atributo. Por ejemplo, ``int(0|1)`` " -"coincide con el valor ``0``, pero no con los valores ``0.0`` o ``False``." +"Estas clases aceptan un solo argumento posicional, y el patrón allí se " +"compara con el objeto completo en lugar de con un atributo. Por ejemplo, " +"``int(0|1)`` coincide con el valor ``0``, pero no con el valor ``0.0``." #: ../Doc/reference/compound_stmts.rst:1169 msgid "" @@ -1866,14 +1902,13 @@ msgstr "" "``func``." #: ../Doc/reference/compound_stmts.rst:1255 -#, fuzzy msgid "" "Functions may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -"Las funciones se pueden decorar con cualquier token válido :token:" -"`assignment_expression`. Anteriormente, la gramática era mucho más " +"Las funciones se pueden decorar con cualquier :token:`~python-grammar:" +"assignment_expression` válido. Anteriormente, la gramática era mucho más " "restrictiva; ver :pep:`614` para más detalles." #: ../Doc/reference/compound_stmts.rst:1265 @@ -2149,14 +2184,13 @@ msgstr "" "la clase." #: ../Doc/reference/compound_stmts.rst:1433 -#, fuzzy msgid "" "Classes may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -"Las clases se pueden decorar con cualquier token válido :token:" -"`assignment_expression`. Anteriormente, la gramática era mucho más " +"Las clases se pueden decorar con cualquier :token:`~python-grammar:" +"assignment_expression` válido. Anteriormente, la gramática era mucho más " "restrictiva; ver :pep:`614` para más detalles." #: ../Doc/reference/compound_stmts.rst:1438 @@ -2281,10 +2315,11 @@ msgid "Is semantically equivalent to::" msgstr "Es semánticamente equivalente a::" #: ../Doc/reference/compound_stmts.rst:1540 -#, fuzzy msgid "" "See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details." -msgstr "Ver también :meth:`__aiter__` y :meth:`__anext__` para más detalles." +msgstr "" +"Consulte también :meth:`~object.__aiter__` y :meth:`~object.__anext__` para " +"obtener más detalles." #: ../Doc/reference/compound_stmts.rst:1542 msgid "" @@ -2307,11 +2342,12 @@ msgstr "" "puede suspender la ejecución en sus métodos *enter* y *exit*." #: ../Doc/reference/compound_stmts.rst:1582 -#, fuzzy msgid "" "See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for " "details." -msgstr "Ver también :meth:`__aenter__` y :meth:`__aexit__` para más detalles." +msgstr "" +"Consulte también :meth:`~object.__aenter__` y :meth:`~object.__aexit__` para " +"obtener más detalles." #: ../Doc/reference/compound_stmts.rst:1584 msgid "" From 00d29757576440208ad96c9662a539e1415704f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 29 Mar 2023 15:59:31 +0200 Subject: [PATCH 10/30] Traducido library/test (#2272) Closes #1936 --------- Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- dictionaries/library_test.txt | 17 ++--- library/test.po | 134 ++++++++++++++++++++-------------- 2 files changed, 86 insertions(+), 65 deletions(-) diff --git a/dictionaries/library_test.txt b/dictionaries/library_test.txt index b3509813fd..98cacb0151 100644 --- a/dictionaries/library_test.txt +++ b/dictionaries/library_test.txt @@ -1,21 +1,20 @@ -aserción +PyUnit aserciona +aserción +buildbots búfers comenzándolo -deshabilitar deshabilita +deshabilitar faltante +instr links +loopback multidifusión optimización +refleaks +regrtest restableciéndola reutilización subinterpretador subinterpretadores -PyUnit -refleaks -regrtest -loopback -buildbots -instr -Oberkirch \ No newline at end of file diff --git a/library/test.po b/library/test.po index 4d3d1f4d40..29cc69bac3 100644 --- a/library/test.po +++ b/library/test.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2021-12-08 16:07-0500\n" "Last-Translator: Adolfo Hristo David Roque Gámez \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/test.rst:2 @@ -576,10 +576,13 @@ msgid "" "`WITH_DOC_STRINGS` macro is not defined). See the :option:`configure --" "without-doc-strings <--without-doc-strings>` option." msgstr "" +"Vale ``True`` si Python se construye sin cadenas de documentos (la macro :c:" +"macro:`WITH_DOC_STRINGS` no está definida). Consulte la opción :option:" +"`configure --without-doc-strings <--without-doc-strings>`." #: ../Doc/library/test.rst:366 msgid "See also the :data:`HAVE_DOCSTRINGS` variable." -msgstr "" +msgstr "Consulte también la variable :data:`HAVE_DOCSTRINGS`." #: ../Doc/library/test.rst:371 msgid "" @@ -587,10 +590,13 @@ msgid "" "`python -OO <-O>` option, which strips docstrings of functions implemented " "in Python." msgstr "" +"Vale ``True`` si las cadenas de documentación de la función están " +"disponibles. Consulte la opción :option:`python -OO <-O>`, que elimina las " +"cadenas de documentación de las funciones implementadas en Python." #: ../Doc/library/test.rst:374 msgid "See also the :data:`MISSING_C_DOCSTRINGS` variable." -msgstr "" +msgstr "Consulte también la variable :data:`MISSING_C_DOCSTRINGS`." #: ../Doc/library/test.rst:379 msgid "Define the URL of a dedicated HTTP server for the network tests." @@ -683,11 +689,10 @@ msgstr "" "el archivo en lugar de buscar directamente en los directorios de ruta." #: ../Doc/library/test.rst:449 -#, fuzzy msgid "" "Determine whether *test* matches the patterns set in :func:`set_match_tests`." msgstr "" -"Hace coincidir *test* con los patrones establecidos en :func:" +"Determina si *test* coincide con los patrones establecidos en :func:" "`set_match_tests`." #: ../Doc/library/test.rst:454 @@ -695,6 +700,8 @@ msgid "" "Define match patterns on test filenames and test method names for filtering " "tests." msgstr "" +"Define patrones de coincidencia en nombres de archivos de prueba y nombres " +"de métodos de prueba para filtrar pruebas." #: ../Doc/library/test.rst:459 msgid "" @@ -752,15 +759,15 @@ msgstr "" "cuelgue." #: ../Doc/library/test.rst:493 -#, fuzzy msgid "" "Use this check to guard CPython's implementation-specific tests or to run " "them only on the implementations guarded by the arguments. This function " "returns ``True`` or ``False`` depending on the host platform. Example usage::" msgstr "" -"Usa esta comprobación para proteger las pruebas específicas de " +"Use esta verificación para proteger las pruebas específicas de " "implementación de CPython o para ejecutarlas solo en las implementaciones " -"protegidas por los argumentos::" +"protegidas por los argumentos. Esta función retorna ``True`` o ``False`` " +"según la plataforma del host. Ejemplo de uso::" #: ../Doc/library/test.rst:505 msgid "" @@ -819,10 +826,10 @@ msgid "Example use with input stream::" msgstr "Ejemplo de uso con flujo de entrada::" #: ../Doc/library/test.rst:560 -#, fuzzy msgid "A context manager that temporary disables :mod:`faulthandler`." msgstr "" -"Un administrador de contexto que establece temporalmente el proceso *umask*." +"Un administrador de contexto que deshabilita temporalmente :mod:" +"`faulthandler`." #: ../Doc/library/test.rst:565 msgid "" @@ -838,13 +845,12 @@ msgstr "" "más tiempo de lo esperado." #: ../Doc/library/test.rst:573 -#, fuzzy msgid "" "A context manager that disables the garbage collector on entry. On exit, the " "garbage collector is restored to its prior state." msgstr "" "Un administrador de contexto que deshabilita el recolector de basura al " -"entrar y lo vuelve a habilitar al salir." +"entrar. Al salir, el recolector de basura se restaura a su estado anterior." #: ../Doc/library/test.rst:579 msgid "Context manager to swap out an attribute with a new object." @@ -895,6 +901,9 @@ msgid "" "stderr`. It can be used to make sure that the logs order is consistent " "before writing into stderr." msgstr "" +"Llama al método ``flush()`` en :data:`sys.stdout` y luego en :data:`sys." +"stderr`. Se puede usar para asegurarse de que el orden de los registros sea " +"consistente antes de escribir en stderr." #: ../Doc/library/test.rst:624 msgid "" @@ -939,6 +948,9 @@ msgid "" "defined by *fmt*. The returned value includes the size of the Python object " "header and alignment." msgstr "" +"Retorna el tamaño del :c:type:`PyObject` cuyos miembros de estructura están " +"definidos por *fmt*. El valor retornado incluye el tamaño del encabezado y " +"la alineación del objeto de Python." #: ../Doc/library/test.rst:654 msgid "" @@ -946,6 +958,9 @@ msgid "" "defined by *fmt*. The returned value includes the size of the Python object " "header and alignment." msgstr "" +"Retorna el tamaño del :c:type:`PyVarObject` cuyos miembros de estructura " +"están definidos por *fmt*. El valor retornado incluye el tamaño del " +"encabezado y la alineación del objeto de Python." #: ../Doc/library/test.rst:660 msgid "" @@ -966,13 +981,12 @@ msgstr "" "asociado que identifique el problema relevante del rastreador." #: ../Doc/library/test.rst:673 -#, fuzzy msgid "" "A decorator that skips the decorated test on TLS certification validation " "failures." msgstr "" -"Lanza :exc:`unittest.SkipTest` en fallos de validación de certificación " -"*TLS*." +"Un decorador que se salta la prueba decorada en los errores de validación de " +"la certificación TLS." #: ../Doc/library/test.rst:678 msgid "" @@ -996,33 +1010,28 @@ msgstr "" "restableciéndola correctamente una vez que haya finalizado." #: ../Doc/library/test.rst:692 -#, fuzzy msgid "" "Decorator for the minimum version when running test on FreeBSD. If the " "FreeBSD version is less than the minimum, the test is skipped." msgstr "" "Decorador para la versión mínima cuando se ejecuta la prueba en FreeBSD. Si " -"la versión de FreeBSD es inferior al mínimo, aumente :exc:`unittest." -"SkipTest`." +"la versión de FreeBSD es inferior a la mínima, se salta la prueba." #: ../Doc/library/test.rst:698 -#, fuzzy msgid "" "Decorator for the minimum version when running test on Linux. If the Linux " "version is less than the minimum, the test is skipped." msgstr "" "Decorador para la versión mínima cuando se ejecuta la prueba en Linux. Si la " -"versión de Linux es inferior al mínimo, aumente :exc:`unittest.SkipTest`." +"versión de Linux es inferior a la mínima, se omite la prueba." #: ../Doc/library/test.rst:704 -#, fuzzy msgid "" "Decorator for the minimum version when running test on macOS. If the macOS " "version is less than the minimum, the test is skipped." msgstr "" -"Decorador para la versión mínima cuando se ejecute la prueba en macOS. Si la " -"versión de macOS es inferior al mínimo, lanza una excepción :exc:`unittest." -"SkipTest`." +"Decorador para la versión mínima cuando se ejecuta la prueba en macOS. Si la " +"versión de macOS es inferior a la mínima, se omite la prueba." #: ../Doc/library/test.rst:710 msgid "Decorator for skipping tests on non-IEEE 754 platforms." @@ -1113,11 +1122,8 @@ msgstr "" "especifica ``-M``." #: ../Doc/library/test.rst:784 -#, fuzzy msgid "Decorator for tests that fill the address space." -msgstr "" -"Decorador para pruebas que llenan el espacio de direcciones. *f* es la " -"función para envolver." +msgstr "Decorador para pruebas que llenan el espacio de direcciones." #: ../Doc/library/test.rst:789 msgid "" @@ -1239,9 +1245,9 @@ msgstr "" "mod:`tracemalloc` está habilitado." #: ../Doc/library/test.rst:886 -#, fuzzy msgid "Assert instances of *cls* are deallocated after iterating." -msgstr "Aserciona que *iter* se desasigna después de iterar." +msgstr "" +"Las instancias de aserción de *cls* se desalojan después de la iteración." #: ../Doc/library/test.rst:891 msgid "" @@ -1331,6 +1337,11 @@ msgid "" "allow execution of test code that needs a different limit on the number of " "digits when converting between an integer and string." msgstr "" +"Esta función devuelve un administrador de contexto que cambiará la " +"configuración global de :func:`sys.set_int_max_str_digits` durante la " +"duración del contexto para permitir la ejecución de código de prueba que " +"necesita un límite diferente en la cantidad de dígitos al convertir entre un " +"número entero y una cadena." #: ../Doc/library/test.rst:964 msgid "The :mod:`test.support` module defines the following classes:" @@ -1381,11 +1392,15 @@ msgid "" "Save the signal handlers to a dictionary mapping signal numbers to the " "current signal handler." msgstr "" +"Guarda los controladores de señales en un diccionario que asigna números de " +"señales al controlador de señales actual." #: ../Doc/library/test.rst:994 msgid "" "Set the signal numbers from the :meth:`save` dictionary to the saved handler." msgstr "" +"Establece los números de señal del diccionario :meth:`save` en el " +"controlador guardado." #: ../Doc/library/test.rst:1002 msgid "Try to match a single dict with the supplied arguments." @@ -1498,13 +1513,12 @@ msgstr "" "la prueba." #: ../Doc/library/test.rst:1078 -#, fuzzy msgid "" "Bind a Unix socket, raising :exc:`unittest.SkipTest` if :exc:" "`PermissionError` is raised." msgstr "" -"Enlace un *socket* Unix, lanzando :exc:`unittest.SkipTest` si :exc:" -"`PermissionError` es lanzado." +"Enlaza un socket Unix, lanzando :exc:`unittest.SkipTest` si se lanza :exc:" +"`PermissionError`." #: ../Doc/library/test.rst:1084 msgid "" @@ -1607,22 +1621,21 @@ msgstr "" "``(código de retorno, stdout, stderr)``." #: ../Doc/library/test.rst:1140 -#, fuzzy msgid "" "If the *__cleanenv* keyword-only parameter is set, *env_vars* is used as a " "fresh environment." msgstr "" -"Si se establece la palabra clave ``__cleanenv``, *env_vars* se usa como un " -"entorno nuevo." +"Si se establece el parámetro de solo palabra clave *__cleanenv*, *env_vars* " +"se usa como un entorno nuevo." #: ../Doc/library/test.rst:1143 -#, fuzzy msgid "" "Python is started in isolated mode (command line option ``-I``), except if " "the *__isolated* keyword-only parameter is set to ``False``." msgstr "" "Python se inicia en modo aislado (opción de línea de comando ``-I``), " -"excepto si la palabra clave ``__isolated`` se establece en ``False``." +"excepto si el parámetro de solo palabra clave *__isolated* se establece en " +"``False``." #: ../Doc/library/test.rst:1152 msgid "" @@ -1776,6 +1789,11 @@ msgid "" "raised; an example would be :meth:`threading.Event.set`. ``start_threads`` " "will attempt to join the started threads upon exit." msgstr "" +"Administrador de contexto para iniciar *threads*, que es una secuencia de " +"subprocesos. *unlock* es una función a la que se llama después de que se " +"inician los subprocesos, incluso si se generó una excepción; un ejemplo " +"sería :meth:`threading.Event.set`. ``start_threads`` intentará unirse a los " +"subprocesos iniciados al salir." #: ../Doc/library/test.rst:1270 msgid "" @@ -1871,6 +1889,12 @@ msgid "" "decoded with the default filesystem encoding. This allows tests that require " "a non-ASCII filename to be easily skipped on platforms where they can't work." msgstr "" +"Establecido en un nombre de archivo que contiene el carácter :data:" +"`FS_NONASCII`, si existe. Esto garantiza que, si existe el nombre de " +"archivo, se puede codificar y decodificar con la codificación predeterminada " +"del sistema de archivos. Esto permite omitir fácilmente las pruebas que " +"requieren un nombre de archivo que no sea ASCII en plataformas donde no " +"pueden funcionar." #: ../Doc/library/test.rst:1355 msgid "" @@ -1991,27 +2015,27 @@ msgstr "" "temporal y retornando su descriptor." #: ../Doc/library/test.rst:1447 -#, fuzzy msgid "" "Call :func:`os.rmdir` on *filename*. On Windows platforms, this is wrapped " "with a wait loop that checks for the existence of the file, which is needed " "due to antivirus programs that can hold files open and prevent deletion." msgstr "" -"Llama a :func:`os.rmdir` en *filename*. En las plataformas Windows, esto " -"está envuelto con un ciclo de espera que verifica la existencia del archivo." +"Llama a :func:`os.rmdir` en *filename*. En las plataformas Windows, esto se " +"envuelve con un ciclo de espera que verifica la existencia del archivo, que " +"es necesario debido a los programas antivirus que pueden mantener los " +"archivos abiertos y evitar que se eliminen." #: ../Doc/library/test.rst:1455 -#, fuzzy msgid "" "Call :func:`shutil.rmtree` on *path* or call :func:`os.lstat` and :func:`os." "rmdir` to remove a path and its contents. As with :func:`rmdir`, on Windows " "platforms this is wrapped with a wait loop that checks for the existence of " "the files." msgstr "" -"Llama a :func:`shutil.rmtree` en *path* o :func:`os.lstat` y :func:`os." -"rmdir` para eliminar una ruta y su contenido. En las plataformas Windows, " -"esto está envuelto con un ciclo de espera que verifica la existencia de los " -"archivos." +"Llama a :func:`shutil.rmtree` en *path* o llama a :func:`os.lstat` y :func:" +"`os.rmdir` para eliminar una ruta y su contenido. Al igual que con :func:" +"`rmdir`, en las plataformas de Windows esto se envuelve con un ciclo de " +"espera que verifica la existencia de los archivos." #: ../Doc/library/test.rst:1463 msgid "A decorator for running tests that require support for symbolic links." @@ -2079,14 +2103,14 @@ msgstr "" "Un administrador de contexto que establece temporalmente el proceso *umask*." #: ../Doc/library/test.rst:1504 -#, fuzzy msgid "" "Call :func:`os.unlink` on *filename*. As with :func:`rmdir`, on Windows " "platforms, this is wrapped with a wait loop that checks for the existence of " "the file." msgstr "" -"Llama a :func:`os.unlink` en *filename*. En plataformas Windows, esto está " -"envuelto con un ciclo de espera que verifica la existencia del archivo." +"Llama a :func:`os.unlink` en *filename*. Al igual que con :func:`rmdir`, en " +"las plataformas Windows, esto se envuelve con un ciclo de espera que " +"verifica la existencia del archivo." #: ../Doc/library/test.rst:1510 msgid ":mod:`test.support.import_helper` --- Utilities for import tests" @@ -2218,23 +2242,21 @@ msgstr "" "*pyc*." #: ../Doc/library/test.rst:1602 -#, fuzzy msgid "" "A context manager to force import to return a new module reference. This is " "useful for testing module-level behaviors, such as the emission of a :exc:" "`DeprecationWarning` on import. Example usage::" msgstr "" -"Un administrador de contexto para forzar la importación para que retorne una " +"Un administrador de contexto para forzar la importación para retornar una " "nueva referencia de módulo. Esto es útil para probar comportamientos a nivel " -"de módulo, como la emisión de una Advertencia de desaprobación en la " +"de módulo, como la emisión de un :exc:`DeprecationWarning` en la " "importación. Ejemplo de uso::" #: ../Doc/library/test.rst:1612 -#, fuzzy msgid "A context manager to temporarily add directories to :data:`sys.path`." msgstr "" -"Un administrador de contexto para agregar temporalmente directorios a *sys." -"path*." +"Un administrador de contexto para agregar directorios temporalmente a :data:" +"`sys.path`." #: ../Doc/library/test.rst:1614 msgid "" From 59c04fc8dd651cc89e0685bfa44cbab55aeda031 Mon Sep 17 00:00:00 2001 From: Juan Esparza R Date: Sun, 2 Apr 2023 08:35:19 -0300 Subject: [PATCH 11/30] Traduccion asyncio (#2363) Closes #2024 --- library/asyncio-policy.po | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index 8a21062d6f..79f97b63b3 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-08-04 13:45+0200\n" +"PO-Revision-Date: 2023-04-02 04:14-0300\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/asyncio-policy.rst:8 msgid "Policies" @@ -34,6 +35,13 @@ msgid "" "implementations, or substituted by a :ref:`custom policy ` that can override these behaviors." msgstr "" +"Una política de bucle de eventos es un objeto global que se utiliza para " +"obtener y establecer el :ref:`bucle de eventos ` actual " +"o para crear nuevos bucles de eventos. La política preestablecida puede ser :" +"ref:`reemplazada ` con :ref:`alternativas built-in " +"` para usar diferentes implementaciones de bucles de " +"eventos, o sustituida por una :ref:`política personalizada ` la cual puede anular estos comportamientos." #: ../Doc/library/asyncio-policy.rst:19 msgid "" @@ -41,16 +49,19 @@ msgid "" "event loop per *context*. This is per-thread by default, though custom " "policies could define *context* differently." msgstr "" +"El :ref:`objeto de política ` obtiene y establece un " +"bucle de eventos separado por *contexto*. Por defecto, esto se realiza por " +"hilo, aunque las políticas personalizadas pueden definir el *contexto* de " +"una forma diferente." #: ../Doc/library/asyncio-policy.rst:24 -#, fuzzy msgid "" "Custom event loop policies can control the behavior of :func:" "`get_event_loop`, :func:`set_event_loop`, and :func:`new_event_loop`." msgstr "" -"Usando una política de bucle de eventos personalizada, la conducta de las " -"funciones :func:`get_event_loop`, :func:`set_event_loop`, y :func:" -"`new_event_loop` puede ser personalizada." +"Las políticas de bucle de eventos personalizadas pueden controlar el " +"comportamiento de :func:`get_event_loop`, :func:`set_event_loop`, y :func:" +"`new_event_loop`." #: ../Doc/library/asyncio-policy.rst:27 msgid "" From 817496a87525e47be23f85a436def47dc5b5c2f0 Mon Sep 17 00:00:00 2001 From: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> Date: Sun, 2 Apr 2023 22:45:05 +0200 Subject: [PATCH 12/30] Fix potodo block in progress page (#2365) Closes #2364 --- .overrides/progress.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.overrides/progress.rst b/.overrides/progress.rst index b4fdb9fbf9..1c7e357a49 100644 --- a/.overrides/progress.rst +++ b/.overrides/progress.rst @@ -20,7 +20,7 @@ Muestra los porcentajes completados por directorio y solo los archivos que no es .. runblock:: console - $ potodo --offline --path . + $ potodo --path . Completados From feddfe2840a5fe352b808881f08aece7a0e6179b Mon Sep 17 00:00:00 2001 From: Aldo Santiago <37028475+santi4o@users.noreply.github.com> Date: Mon, 3 Apr 2023 17:21:52 -0600 Subject: [PATCH 13/30] Traducido archivo library/bisect (#2367) Closes #2019 --- library/bisect.po | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/library/bisect.po b/library/bisect.po index 773b8195c0..dfbcd01df1 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2020-07-22 13:24-0300\n" +"PO-Revision-Date: 2023-04-03 15:39-0600\n" "Last-Translator: \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/bisect.rst:2 msgid ":mod:`bisect` --- Array bisection algorithm" @@ -84,12 +85,17 @@ msgid "" "extract a comparison key from each element in the array. To support " "searching complex records, the key function is not applied to the *x* value." msgstr "" +"*key* especifica una :term:`función clave` de un argumento que es usada para " +"extraer una clave de comparación de cada elemento en el arreglo. La función " +"clave no se aplica a *x* para facilitar la búsqueda de registros complejos." #: ../Doc/library/bisect.rst:41 ../Doc/library/bisect.rst:62 msgid "" "If *key* is ``None``, the elements are compared directly with no intervening " "function call." msgstr "" +"Si *key* es ``None``, los elementos son comparados directamente sin " +"intervención de una función." #: ../Doc/library/bisect.rst:44 ../Doc/library/bisect.rst:65 #: ../Doc/library/bisect.rst:83 ../Doc/library/bisect.rst:103 @@ -133,6 +139,9 @@ msgid "" "To support inserting records in a table, the *key* function (if any) is " "applied to *x* for the search step but not for the insertion step." msgstr "" +"Para mantener la inserción de registros en una tabla, la función *key* (en " +"caso de existir) se aplica a *x* en el paso de búsqueda pero no en el paso " +"de inserción." #: ../Doc/library/bisect.rst:80 ../Doc/library/bisect.rst:100 msgid "" @@ -208,15 +217,14 @@ msgstr "" "sección de ejemplos a continuación)." #: ../Doc/library/bisect.rst:129 -#, fuzzy msgid "" "`Sorted Collections `_ is a " "high performance module that uses *bisect* to managed sorted collections of " "data." msgstr "" -"`Sorted Collections `_ es " -"un módulo de alto rendimiento que utiliza *bisect* para gestionar " -"colecciones de datos ordenadas." +"`Sorted Collections `_ es un " +"módulo de alto rendimiento que utiliza *bisect* para gestionar colecciones " +"de datos ordenadas." #: ../Doc/library/bisect.rst:133 msgid "" @@ -229,8 +237,8 @@ msgstr "" "El `SortedCollection recipe `_ usa bisect para construir una clase de colección con " "todas las funciones con métodos de búsqueda sencillos y soporte para una " -"función clave. Las teclas se calculan previamente para ahorrar llamadas " -"innecesarias a la función de la tecla durante las búsquedas." +"función clave. Las claves se calculan previamente para ahorrar llamadas " +"innecesarias a la función clave durante las búsquedas." #: ../Doc/library/bisect.rst:141 msgid "Searching Sorted Lists" @@ -270,15 +278,18 @@ msgid "" "tuples. The *key* argument can serve to extract the field used for ordering " "records in a table::" msgstr "" +"Las funciones :func:`bisect` e :func:`insort` también funcionan con listas " +"de tuplas. El argumento *key* puede usarse para extraer el campo usado para " +"ordenar registros en una tabla::" #: ../Doc/library/bisect.rst:235 -#, fuzzy msgid "" "If the key function is expensive, it is possible to avoid repeated function " "calls by searching a list of precomputed keys to find the index of a record::" msgstr "" -"Una técnica para evitar llamadas repetidas a una función de tecla es buscar " -"en una lista de teclas precalculadas para encontrar el índice de un registro:" +"Para evitar llamadas repetidas a la función clave, cuando ésta usa muchos " +"recursos, se puede buscar en una lista de claves previamente calculadas para " +"encontrar el índice de un registro::" #~ msgid "" #~ "*key* specifies a :term:`key function` of one argument that is used to " From 8a5d819372eb7b6ed48271314f4f34c4ceabc975 Mon Sep 17 00:00:00 2001 From: oscar-garzon <37828243+oscar-garzon@users.noreply.github.com> Date: Mon, 10 Apr 2023 06:08:55 -0600 Subject: [PATCH 14/30] Archivo traducido 'library/_thread.po' (#2368) closes #1948 --- TRANSLATORS | 1 + library/_thread.po | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 034d85801e..3383254b66 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -181,6 +181,7 @@ Neptali Gil Martorelli nicocastanio Nicolás Demarchi (@gilgamezh) Omar Mendo (@beejeke) +Oscar Garzon (@oscar-garzon) Oscar Martinez Pablo Lobariñas (@Qkolnek) Paula Aragón (@pandrearro) diff --git a/library/_thread.po b/library/_thread.po index dd8dc34bcc..468a389421 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-12-18 17:01-0300\n" +"PO-Revision-Date: 2023-04-09 19:43-0600\n" "Last-Translator: \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/_thread.rst:2 msgid ":mod:`_thread` --- Low-level threading API" @@ -231,10 +232,10 @@ msgstr "" "el tamaño de pila es la estrategia sugerida si no se cuenta con información " "más específica)." -#, fuzzy msgid ":ref:`Availability `: Windows, pthreads." msgstr "" -":ref:`Disponibilidad `: Sistemas Windows, con hilos POSIX." +":ref:`Disponibilidad `: Windows, hilos POSIX (también " +"llamados pthreads)." #: ../Doc/library/_thread.rst:145 msgid "Unix platforms with POSIX threads support." @@ -266,20 +267,18 @@ msgstr "" "hilo (solamente un hilo por vez puede adquirir un candado; para eso existen)." #: ../Doc/library/_thread.rst:166 -#, fuzzy msgid "" "If the *blocking* argument is present, the action depends on its value: if " "it is False, the lock is only acquired if it can be acquired immediately " "without waiting, while if it is True, the lock is acquired unconditionally " "as above." msgstr "" -"Si el argumento entero *waitflag* está presente, la acción depende de su " -"valor: si es cero, el candado solamente es adquirido si está disponible de " -"forma inmediata, sin esperas. Mientras que si es distinto de cero, el " -"candado es adquirido sin condiciones, como en el caso anterior." +"Si el argumento *blocking* está presente, la acción depende de su valor: si " +"es False, el candado es adquirido sólo si puede ser adquirido inmediatamente " +"sin espera, en cambio si es True, el candado es adquirido incondicionalmente " +"como arriba." #: ../Doc/library/_thread.rst:171 -#, fuzzy msgid "" "If the floating-point *timeout* argument is present and positive, it " "specifies the maximum wait time in seconds before returning. A negative " @@ -287,9 +286,9 @@ msgid "" "*timeout* if *blocking* is False." msgstr "" "Si el argumento de punto flotante *timeout* está presente y es positivo, " -"especifica el tiempo máximo de espera en segundos antes de retornar. Un " -"argumento *timeout* negativo, especifica una espera ilimitada. No se puede " -"especificar un *timeout* si *waitflag* es cero." +"éste especifica el tiempo máximo de espera en segundos antes de retornar. Un " +"argumento *timeout* negativo especifica una espera ilimitada. No se puede " +"especificar un *timeout* si *blocking* es False." #: ../Doc/library/_thread.rst:176 msgid "" From c1d3e336a1fabedb89eec6be92763efcb219a425 Mon Sep 17 00:00:00 2001 From: rtobar Date: Wed, 12 Apr 2023 03:05:22 +0800 Subject: [PATCH 15/30] Usar cache para dependencias (#2369) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La acción que instala python en GutHub Actions puede crear un caché con las dependencias instaladas durante una corrida. Usar este cache debería hacer que nuestros tests en CI corran más rápido. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d34773d368..e6f7012093 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.11" + cache: "pip" - name: Sincronizar con CPython run: | git submodule update --init --depth=1 cpython From 6800661101316c8233aab229e4604890ff5920ee Mon Sep 17 00:00:00 2001 From: rtobar Date: Wed, 12 Apr 2023 14:41:02 +0800 Subject: [PATCH 16/30] Usar Pygments < 2.15 (#2373) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La última versión de Pygments está provocando errores al parsear código de python que es válido. Esto ya ha sido reportado en https://github.com/pygments/pygments/issues/2407, sólo hace falta esperar por el fix, y mientras tanto evitar usar esta nueva versión. Este problema fue visto en #2372 por primera vez, pero de hecho ya nos está afectando: el último build en CI de `3.11` ya falló por la misma razón. Signed-off-by: Rodrigo Tobar --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 9554f5447c..cc814b378b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ pip Sphinx==4.5.0 blurb +Pygments<2.15 PyICU polib pospell>=1.1 From b99b35bf7b077ecd9d45781142da752e836d366d Mon Sep 17 00:00:00 2001 From: Francisco Mora <121241637+fmoradev@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:02:00 -0400 Subject: [PATCH 17/30] Traducido archivo howto/clinic (#2372) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #1891 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: rtobar --- howto/clinic.po | 74 +++++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/howto/clinic.po b/howto/clinic.po index 79852494a6..e12ab23ce9 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -11,19 +11,20 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-11-26 15:23+0100\n" -"Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" +"PO-Revision-Date: 2023-04-11 17:45-0400\n" +"Last-Translator: Francisco Mora \n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/howto/clinic.rst:5 msgid "Argument Clinic How-To" -msgstr "*How-To* Argument Clinic" +msgstr "Argument Clinic Cómo Hacerlo" #: ../Doc/howto/clinic.rst msgid "author" @@ -31,7 +32,7 @@ msgstr "autor" #: ../Doc/howto/clinic.rst:7 msgid "Larry Hastings" -msgstr "*Larry Hastings*" +msgstr "Larry Hastings" msgid "Abstract" msgstr "Resumen" @@ -138,9 +139,9 @@ msgid "" "builtin. With Argument Clinic, that's a thing of the past!" msgstr "" "Finalmente, la motivación original de Argument Clinic era proporcionar " -"\"signaturas\" de introspección para las incorporaciones de CPython. Solía " -"ser, las funciones de consulta de introspección lanzarían una excepción si " -"pasaba un archivo incorporado. ¡Con Argument Clinic, eso es cosa del pasado!" +"\"firmas\" de introspección para las incorporaciones de CPython. Solía ser, " +"las funciones de consulta de introspección lanzarían una excepción si pasaba " +"un archivo incorporado. ¡Con Argument Clinic, eso es cosa del pasado!" #: ../Doc/howto/clinic.rst:70 msgid "" @@ -260,7 +261,7 @@ msgid "" "*checksum line*." msgstr "" "La última línea (``/*[clinic end generated code: checksum=...]*/``) es la " -"*línea de suma de comprobación* (*chemsum line*)." +"*línea de suma de comprobación* (*checksum line*)." #: ../Doc/howto/clinic.rst:134 msgid "In between the start line and the end line is the *input*." @@ -367,7 +368,7 @@ msgstr "" #: ../Doc/howto/clinic.rst:188 msgid "Add the following boilerplate above the function, creating our block::" msgstr "" -"Agrega la siguiente plantilla sobre la función, creando nuestro bloque ::" +"Agrega la siguiente plantilla sobre la función, creando nuestro bloque::" #: ../Doc/howto/clinic.rst:193 msgid "" @@ -431,7 +432,7 @@ msgid "" msgstr "" "Sobre el docstring, ingrese el nombre de la función, seguido de una línea en " "blanco. Este debería ser el nombre de Python de la función, y debería ser la " -"ruta de puntos completa a la función; debería comenzar con el nombre del " +"ruta de puntos completa a la función—debería comenzar con el nombre del " "módulo, incluir cualquier submódulo y, si la función es un método en una " "clase, debe incluir el nombre de la clase también." @@ -637,7 +638,7 @@ msgstr "" "Guarde y cierre el archivo, luego ejecute ``Tools/clinic/clinic.py`` en él. " "¡Con suerte, todo funcionó --- su bloque ahora tiene salida y se ha generado " "un archivo ``.c.h`` ! Vuelva a abrir el archivo en su editor de texto para " -"ver:" +"ver::" #: ../Doc/howto/clinic.rst:411 msgid "" @@ -657,7 +658,7 @@ msgid "" msgstr "" "Para facilitar la lectura, la mayor parte del código de pegamento se ha " "generado en un archivo ``.c.h``. Deberá incluir eso en su archivo ``.c`` " -"original, generalmente justo después del bloque del módulo de la clínica:" +"original, generalmente justo después del bloque del módulo de la clínica::" #: ../Doc/howto/clinic.rst:421 msgid "" @@ -766,7 +767,7 @@ msgid "" "like this::" msgstr "" "Reiteremos, solo porque es un poco extraño. Su código ahora debería verse " -"así:" +"así::" #: ../Doc/howto/clinic.rst:477 msgid "" @@ -916,7 +917,7 @@ msgid "" "``pickle.Pickler.dump``, it'd look like this::" msgstr "" "Por ejemplo, si quisiéramos cambiar el nombre de las funciones de C " -"generadas para ``pickle.Pickler.dump``, se vería así:" +"generadas para ``pickle.Pickler.dump``, se vería así::" #: ../Doc/howto/clinic.rst:593 msgid "" @@ -1071,7 +1072,7 @@ msgstr "" "los parámetros que desea agrupar y un ``]`` en una línea después de estos " "parámetros. Como ejemplo, así es como ``curses.window.addch`` usa grupos " "opcionales para hacer que los primeros dos parámetros y el último parámetro " -"sean opcionales:" +"sean opcionales::" #: ../Doc/howto/clinic.rst:697 msgid "Notes:" @@ -1723,7 +1724,7 @@ msgid "" "converter::" msgstr "" "Como ejemplo, aquí está nuestra muestra ``pickle.Pickler.dump`` usando el " -"convertidor adecuado:" +"convertidor adecuado::" #: ../Doc/howto/clinic.rst:878 msgid "" @@ -2234,7 +2235,7 @@ msgid "" "the C code::" msgstr "" "Como ejemplo, aquí hay un bloque de Python que agrega una variable entera " -"estática al código C ::" +"estática al código C::" #: ../Doc/howto/clinic.rst:1155 msgid "Using a \"self converter\"" @@ -2286,7 +2287,7 @@ msgid "" msgstr "" "Por otro lado, si tiene muchas funciones que usarán el mismo tipo para " "``self``, es mejor crear su propio convertidor, subclasificando " -"``self_converter`` pero sobrescribiendo el miembro ``type``:" +"``self_converter`` pero sobrescribiendo el miembro ``type``::" #: ../Doc/howto/clinic.rst:1207 msgid "Using a \"defining class\" converter" @@ -2361,11 +2362,11 @@ msgid "" "`PyModule_GetState` to fetch the module state. Example from the " "``setattro`` slot method in ``Modules/_threadmodule.c``::" msgstr "" -"No es posible usar ``defining_class`` con métodos de ranura (*slot*). Para " -"obtener el estado del módulo de dichos métodos, use " -"``_PyType_GetModuleByDef`` para buscar el módulo y luego :c:func:" -"`PyModule_GetState` para buscar el estado del módulo. Ejemplo del método de " -"ranura ``setattro`` en ``Modules/_threadmodule.c``:" +"No es posible usar ``defining_class`` con métodos de ranura. Para obtener el " +"estado del módulo de dichos métodos, use :c:func:`PyType_GetModuleByDef` " +"para buscar el módulo y luego :c:func:`PyModule_GetState` para buscar el " +"estado del módulo. Ejemplo del método de ranura ``setattro`` en ``Modules/" +"_threadmodule.c``::" #: ../Doc/howto/clinic.rst:1266 msgid "See also :pep:`573`." @@ -2482,6 +2483,13 @@ msgid "" "about the \"use\" of the uninitialized value. This value should always be a " "non-empty string." msgstr "" +"El valor por defecto utilizado para inicializar la variable C cuando no hay " +"un valor por defecto, pero no especificar un valor por defecto puede dar " +"lugar a una advertencia de \"variable no inicializada\". Esto puede ocurrir " +"fácilmente cuando se utilizan grupos de opciones—aunque un código bien " +"escrito nunca utilizará este valor, la variable se pasa a la impl, y el " +"compilador de C se quejará del \"uso\" del valor no inicializado. Este valor " +"debe ser siempre una cadena no vacía." #: ../Doc/howto/clinic.rst:1325 msgid "The name of the C converter function, as a string." @@ -2498,7 +2506,7 @@ msgid "" "name of the variable when passing it into the impl function." msgstr "" "Un valor booleano. Si es verdadero, Argument Clinic agregará un ``&`` " -"delante del nombre de la variable al pasarlo a la función *impl*." +"delante del nombre de la variable al pasarlo a la función impl." #: ../Doc/howto/clinic.rst:1336 msgid "``parse_by_reference``" @@ -2518,7 +2526,7 @@ msgid "" "c``::" msgstr "" "Aquí está el ejemplo más simple de un convertidor personalizado, de " -"``Modules/zlibmodule.c``:" +"``Modules/zlibmodule.c``::" #: ../Doc/howto/clinic.rst:1349 #, fuzzy @@ -2530,8 +2538,8 @@ msgid "" "automatically support default values." msgstr "" "Este bloque agrega un convertidor a Argument Clinic llamado ``ssize_t``. Los " -"parámetros declarados como ``ssize_t`` se declararán como tipo " -"``Py_ssize_t`` y serán analizados por la unidad de formato ``'O&'``, que " +"parámetros declarados como ``ssize_t`` se declararán como tipo :c:type:" +"`Py_ssize_t`, y serán analizados por la unidad de formato ``'O&'``, que " "llamará a la función de conversión ``ssize_t_converter``. Las variables " "``ssize_t`` admiten automáticamente los valores predeterminados." @@ -2587,7 +2595,7 @@ msgid "" msgstr "" "Para convertir una función usando ``METH_O``, asegúrese de que el único " "argumento de la función esté usando el convertidor de ``object`` y marque " -"los argumentos como solo posicional:" +"los argumentos como solo posicional::" #: ../Doc/howto/clinic.rst:1389 msgid "" @@ -3231,7 +3239,7 @@ msgid "" msgstr "" "Si está convirtiendo una función que no está disponible en todas las " "plataformas, hay un truco que puede usar para hacer la vida un poco más " -"fácil. El código existente probablemente se ve así:" +"fácil. El código existente probablemente se ve así::" #: ../Doc/howto/clinic.rst:1714 msgid "" @@ -3247,7 +3255,7 @@ msgid "" "the ``#ifdef``, like so::" msgstr "" "En este escenario, debe encerrar el cuerpo de su función *impl* dentro de " -"``#ifdef``, así:" +"``#ifdef``, así::" #: ../Doc/howto/clinic.rst:1737 msgid "" @@ -3286,7 +3294,7 @@ msgstr "" "Aquí es donde Argument Clinic se vuelve muy inteligente. De hecho, detecta " "que el bloqueo de Argument Clinic podría estar desactivado por el " "``#ifdef``. Cuando eso sucede, genera un pequeño código adicional que se ve " -"así:" +"así::" #: ../Doc/howto/clinic.rst:1760 msgid "" From 7b567a715b6a17390cc13d7e1bfedde6a12a51d0 Mon Sep 17 00:00:00 2001 From: Nico Lunardi Date: Sun, 30 Apr 2023 08:58:26 +1000 Subject: [PATCH 18/30] Traduccion http server (#2366) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #1932 --------- Co-authored-by: Cristián Maureira-Fredes --- TRANSLATORS | 1 + library/http.server.po | 69 ++++++++++++++++++++++-------------------- 2 files changed, 38 insertions(+), 32 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 3383254b66..11ed6dc63a 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -180,6 +180,7 @@ Nataya Soledad Flores (@natayafs) Neptali Gil Martorelli nicocastanio Nicolás Demarchi (@gilgamezh) +Nicolás Lunardi (@nicolunardi) Omar Mendo (@beejeke) Oscar Garzon (@oscar-garzon) Oscar Martinez diff --git a/library/http.server.po b/library/http.server.po index ce54509cd4..b91f5fc75b 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-08-07 22:01+0200\n" +"PO-Revision-Date: 2023-04-06 22:41+1000\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/http.server.rst:2 msgid ":mod:`http.server` --- HTTP servers" @@ -34,16 +35,16 @@ msgid "This module defines classes for implementing HTTP servers." msgstr "Este módulo define clases para implementar servidores HTTP." #: ../Doc/library/http.server.rst:22 -#, fuzzy msgid "" ":mod:`http.server` is not recommended for production. It only implements :" "ref:`basic security checks `." msgstr "" -":mod:`http.server` no se recomienda para producción. Sólo implementa " -"controles de seguridad básicos." +":mod:`http.server` no se recomienda para producción. Sólo implementa :ref:" +"`controles de seguridad básicos `." +#, fuzzy msgid ":ref:`Availability `: not Emscripten, not WASI." -msgstr "" +msgstr ":ref:`Disponibilidad `: ni Emscripten, ni WASI." #: ../Doc/library/cpython/Doc/includes/wasm-notavail.rst:5 msgid "" @@ -51,6 +52,9 @@ msgid "" "``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for " "more information." msgstr "" +"Este módulo no funciona o no está disponible en las plataformas WebAssembly " +"``wasm32-emscripten`` y ``wasm32-wasi``. Consulte :ref:`wasm-availability` " +"para obtener más información." #: ../Doc/library/http.server.rst:27 msgid "" @@ -269,7 +273,6 @@ msgstr "" "enviadas al cliente. El valor predeterminado es ``'text/html'``." #: ../Doc/library/http.server.rst:162 -#, fuzzy msgid "" "Specifies the HTTP version to which the server is conformant. It is sent in " "responses to let the client know the server's communication capabilities for " @@ -279,12 +282,14 @@ msgid "" "responses to clients. For backwards compatibility, the setting defaults to " "``'HTTP/1.0'``." msgstr "" -"Esto especifica la versión del protocolo HTTP utilizada en las respuestas. " -"Si se establece en ``'HTTP/1.1'``, el servidor permitirá conexiones " -"persistentes HTTP; sin embargo, el servidor *debe* incluir un encabezado " -"exacto ``Content-Length`` (usando :meth:`send_header`) en todas sus " -"respuestas a los clientes. Para la compatibilidad con versiones anteriores, " -"el valor predeterminado es ``'HTTP/1.0'``." +"Especifica la versión de HTTP con la cual el servidor es conforme. Es " +"enviada como respuesta para informarle al cliente sobre las capacidades de " +"comunicación del servidor para siguientes peticiones. Si se establece en " +"``'HTTP/1.1'``, el servidor permitirá conexiones persistentes HTTP; sin " +"embargo, el servidor *debe* incluir un encabezado exacto ``Content-Length`` " +"(usando :meth:`send_header`) en todas sus respuestas a los clientes. Para la " +"compatibilidad con versiones anteriores, el valor predeterminado es " +"``'HTTP/1.0'``." #: ../Doc/library/http.server.rst:172 msgid "" @@ -336,7 +341,6 @@ msgstr "" "`do_\\*`. Nunca deberías necesitar anularlo." #: ../Doc/library/http.server.rst:200 -#, fuzzy msgid "" "When an HTTP/1.1 conformant server receives an ``Expect: 100-continue`` " "request header it responds back with a ``100 Continue`` followed by ``200 " @@ -682,13 +686,12 @@ msgstr "" "contrario se utiliza el modo binario." #: ../Doc/library/http.server.rst:395 -#, fuzzy msgid "" "For example usage, see the implementation of the ``test`` function in :" "source:`Lib/http/server.py`." msgstr "" -"Por ejemplo, ver la implementación de la invocación de la función :func:" -"`test` en el módulo :mod:`http.server`." +"Por ejemplo, ver la implementación de la función ``test`` en :source:`Lib/" +"http/server.py`." #: ../Doc/library/http.server.rst:398 msgid "Support of the ``'If-Modified-Since'`` header." @@ -705,25 +708,24 @@ msgstr "" "directorio actual::" #: ../Doc/library/http.server.rst:418 -#, fuzzy msgid "" ":mod:`http.server` can also be invoked directly using the :option:`-m` " "switch of the interpreter. Similar to the previous example, this serves " "files relative to the current directory::" msgstr "" -":mod:`http.server` también puede ser invocado directamente usando el " -"interruptor :option:`-m` del intérprete con un argumento ``port number``. " -"Como en el ejemplo anterior, esto sirve a los archivos relativos al " -"directorio actual::" +":mod:`http.server` también puede ser invocado directamente usando la opción :" +"option:`-m` del intérprete. Como en el ejemplo anterior, esto sirve a los " +"archivos relativos al directorio actual::" #: ../Doc/library/http.server.rst:424 msgid "" "The server listens to port 8000 by default. The default can be overridden by " "passing the desired port number as an argument::" msgstr "" +"Por defecto, el servidor escucha en el puerto 8000. El valor predeterminado " +"se puede anular pasando el número de puerto deseado como argumento::" #: ../Doc/library/http.server.rst:429 -#, fuzzy msgid "" "By default, the server binds itself to all interfaces. The option ``-b/--" "bind`` specifies a specific address to which it should bind. Both IPv4 and " @@ -731,8 +733,8 @@ msgid "" "server to bind to localhost only::" msgstr "" "Por defecto, el servidor se vincula a todas las interfaces. La opción ``-" -"b/--bind`` especifica una dirección específica a la que se debe vincular. " -"Tanto las direcciones IPv4 como las IPv6 están soportadas. Por ejemplo, el " +"b/--bind`` especifica una dirección específica a la que se vinculará. Tanto " +"las direcciones IPv4 como las IPv6 están soportadas. Por ejemplo, el " "siguiente comando hace que el servidor se vincule sólo al localhost::" #: ../Doc/library/http.server.rst:436 @@ -744,7 +746,6 @@ msgid "``--bind`` argument enhanced to support IPv6" msgstr "El argumento ``--bind`` se ha mejorado para soportar IPv6" #: ../Doc/library/http.server.rst:442 -#, fuzzy msgid "" "By default, the server uses the current directory. The option ``-d/--" "directory`` specifies a directory to which it should serve the files. For " @@ -755,9 +756,8 @@ msgstr "" "ejemplo, el siguiente comando utiliza un directorio específico::" #: ../Doc/library/http.server.rst:448 -#, fuzzy msgid "``--directory`` argument was introduced." -msgstr "Se introdujo el argumento ``--bind`` ." +msgstr "Se introdujo el argumento ``—directory`` ." #: ../Doc/library/http.server.rst:451 msgid "" @@ -765,11 +765,13 @@ msgid "" "protocol`` specifies the HTTP version to which the server is conformant. For " "example, the following command runs an HTTP/1.1 conformant server::" msgstr "" +"Por defecto, el servidor es conforme con HTTP/1.0. La opción ``-p/--" +"protocol`` especifica la versión HTTP con la que cumple el servidor. Por " +"ejemplo, el siguiente comando ejecuta un servidor conforme con HTTP/1.1::" #: ../Doc/library/http.server.rst:457 -#, fuzzy msgid "``--protocol`` argument was introduced." -msgstr "Se introdujo el argumento ``--bind`` ." +msgstr "Se introdujo el argumento ``—protocol`` ." #: ../Doc/library/http.server.rst:462 msgid "" @@ -861,7 +863,7 @@ msgstr "" #: ../Doc/library/http.server.rst:508 msgid "Security Considerations" -msgstr "" +msgstr "Consideraciones de seguridad" #: ../Doc/library/http.server.rst:512 msgid "" @@ -869,6 +871,9 @@ msgid "" "requests, this makes it possible for files outside of the specified " "directory to be served." msgstr "" +":class:`SimpleHTTPRequestHandler` seguirá los enlaces simbólicos cuando " +"gestione peticiones, esto hace posible que se sirvan ficheros fuera del " +"directorio especificado." #~ msgid "``--directory`` specify alternate directory" #~ msgstr "``--directory`` especificar directorio alternativo" From 8287f03abce9df3228437eacf816e3ea61b84137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estuardo=20Ram=C3=ADrez?= Date: Wed, 3 May 2023 20:17:50 -0600 Subject: [PATCH 19/30] Traduccion howto/curses (#2359) Close #1898 --- howto/curses.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/howto/curses.po b/howto/curses.po index fde8742292..442537a92c 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -11,16 +11,17 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2020-08-16 11:44-0500\n" +"PO-Revision-Date: 2023-03-20 17:27-0600\n" "Last-Translator: Juan Diego Alfonso Ocampo \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.0.1\n" #: ../Doc/howto/curses.rst:5 msgid "Curses Programming with Python" @@ -55,7 +56,7 @@ msgstr "" #: ../Doc/howto/curses.rst:18 msgid "What is curses?" -msgstr "Qué es curses?" +msgstr "¿Qué es curses?" #: ../Doc/howto/curses.rst:20 msgid "" @@ -146,6 +147,9 @@ msgid "" "ported version called `UniCurses `_ is " "available." msgstr "" +"La versión de Python para Windows no incluye el módulo :mod:`curses`. Existe " +"una versión adaptada llamada `UniCurses `_ disponible." #: ../Doc/howto/curses.rst:62 msgid "The Python curses module" @@ -568,7 +572,6 @@ msgstr "" "siguiente subsección." #: ../Doc/howto/curses.rst:298 -#, fuzzy msgid "" "The :meth:`~curses.window.addstr` method takes a Python string or bytestring " "as the value to be displayed. The contents of bytestrings are sent to the " @@ -576,12 +579,12 @@ msgid "" "window's :attr:`encoding` attribute; this defaults to the default system " "encoding as returned by :func:`locale.getencoding`." msgstr "" -"El método :meth:`~curses.window.addstr` toma una cadena de Python o una " -"cadena de bytes como el valor que se mostrará. El contenido de las cadenas " -"de bytes se envía al terminal tal como está. Las cadenas se codifican en " -"bytes utilizando el valor del atributo de la ventana :attr:`encoding`; Esto " -"se establece de manera predeterminada en la codificación predeterminada del " -"sistema que retorna :func:`locale.getpreferredencoding`." +"El método :meth:`~curses.window.addstr` toma una cadena de texto en Python " +"como valor para mostrar en pantalla. Los contenidos de las cadenas de texto " +"en bytes son enviados directamente al terminal. Las cadenas de texto son " +"codificadas en bytes utilizando el valor del atributo :attr:`encoding` de la " +"ventana; por defecto esto utiliza la codificación del sistema como lo " +"devuelve la función :func:`locale.getencoding`." #: ../Doc/howto/curses.rst:304 msgid "" @@ -1025,13 +1028,12 @@ msgstr "" "obtener más información sobre cómo enviar parches a Python." #: ../Doc/howto/curses.rst:539 -#, fuzzy msgid "" "`Writing Programs with NCURSES `_: a lengthy tutorial for C programmers." msgstr "" -"`Escribir programas con NCURSES `_: un extenso tutoría para programadores de C." +"`Escribir programas con NCURSES `_: un tutorial extenso para programadores en C." #: ../Doc/howto/curses.rst:541 msgid "`The ncurses man page `_" @@ -1040,7 +1042,6 @@ msgstr "" "ncurses>`_" #: ../Doc/howto/curses.rst:542 -#, fuzzy msgid "" "`The ncurses FAQ `_" msgstr "" @@ -1058,15 +1059,14 @@ msgstr "" "terminales usando curses o Urwid." #: ../Doc/howto/curses.rst:545 -#, fuzzy msgid "" "`\"Console Applications with Urwid\" `_: video of a PyCon CA 2012 talk demonstrating some " "applications written using Urwid." msgstr "" -"`\"Console Applications with Urwid\" `_: video de una charla de PyCon CA 2012 que " -"muestra algunas aplicaciones escritas con Urwid." +"`\"Console Applications with Urwid\" `_: video de una charla en PyCon CA 2012 que " +"muestra algunas aplicaciones escritas usando Urwid." #~ msgid "" #~ "The Windows version of Python doesn't include the :mod:`curses` module. " From 961dce1047e2f8034b80de313c04386f347e106d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Thu, 4 May 2023 22:12:06 +0200 Subject: [PATCH 20/30] Remueve todas las entradas deprecadas (#2375) --- bugs.po | 36 -- c-api/bytes.po | 3 - c-api/call.po | 3 - c-api/exceptions.po | 44 -- c-api/init.po | 13 - c-api/init_config.po | 53 -- c-api/marshal.po | 10 - c-api/number.po | 7 - c-api/refcounting.po | 11 - c-api/reflection.po | 28 - c-api/set.po | 24 - c-api/structures.po | 11 - c-api/type.po | 13 - c-api/typeobj.po | 53 -- c-api/unicode.po | 282 --------- c-api/veryhigh.po | 8 - distutils/apiref.po | 13 - distutils/builtdist.po | 9 - faq/extending.po | 26 - faq/general.po | 79 --- faq/windows.po | 7 - glossary.po | 41 -- howto/clinic.po | 25 - howto/curses.po | 16 - howto/descriptor.po | 26 - howto/sorting.po | 62 -- howto/urllib2.po | 30 - library/__future__.po | 3 - library/argparse.po | 22 - library/ast.po | 25 - library/asyncio-dev.po | 22 - library/asyncio-eventloop.po | 38 -- library/asyncio-exceptions.po | 7 - library/asyncio-policy.po | 19 - library/asyncio-queue.po | 10 - library/asyncio-stream.po | 15 - library/asyncio-subprocess.po | 10 - library/asyncio-sync.po | 9 - library/asyncio-task.po | 164 ----- library/bdb.po | 82 --- library/binascii.po | 57 -- library/bisect.po | 9 - library/calendar.po | 13 - library/codecs.po | 37 -- library/collections.po | 12 - library/copyreg.po | 12 - library/ctypes.po | 57 -- library/curses.po | 18 - library/decimal.po | 5 - library/dis.po | 263 -------- library/doctest.po | 60 -- library/email.compat32-message.po | 15 - library/enum.po | 984 ------------------------------ library/exceptions.po | 31 - library/fractions.po | 8 - library/functions.po | 41 -- library/functools.po | 14 - library/gettext.po | 79 --- library/grp.po | 7 - library/gzip.po | 7 - library/hashlib.po | 9 - library/http.client.po | 4 - library/http.cookiejar.po | 29 - library/http.po | 8 - library/http.server.po | 3 - library/idle.po | 20 - library/importlib.metadata.po | 3 - library/inspect.po | 104 ---- library/io.po | 35 -- library/json.po | 15 - library/keyword.po | 16 - library/logging.handlers.po | 10 - library/logging.po | 32 - library/math.po | 16 - library/os.path.po | 29 - library/platform.po | 10 - library/pprint.po | 4 - library/profile.po | 13 - library/random.po | 20 - library/shutil.po | 23 - library/smtpd.po | 24 - library/socket.po | 20 - library/ssl.po | 14 - library/statistics.po | 12 - library/stdtypes.po | 82 --- library/string.po | 18 - library/subprocess.po | 9 - library/symtable.po | 3 - library/sys.po | 93 --- library/syslog.po | 10 - library/test.po | 46 -- library/threading.po | 7 - library/time.po | 54 -- library/tkinter.ttk.po | 15 - library/token.po | 141 ----- library/typing.po | 47 -- library/unittest.mock.po | 14 - library/urllib.request.po | 15 - library/venv.po | 300 --------- library/warnings.po | 17 - library/wave.po | 9 - library/winreg.po | 11 - library/xml.etree.elementtree.po | 10 - library/zlib.po | 18 - reference/compound_stmts.po | 87 --- reference/datamodel.po | 81 --- reference/executionmodel.po | 22 - reference/expressions.po | 93 --- reference/lexical_analysis.po | 17 - reference/simple_stmts.po | 21 - tutorial/floatingpoint.po | 15 - tutorial/modules.po | 27 - tutorial/whatnow.po | 13 - using/cmdline.po | 13 - using/configure.po | 24 - using/mac.po | 13 - using/windows.po | 179 ------ whatsnew/2.1.po | 13 - whatsnew/2.5.po | 3 - whatsnew/2.7.po | 12 - whatsnew/3.10.po | 35 -- whatsnew/3.7.po | 23 - whatsnew/3.9.po | 9 - 123 files changed, 5180 deletions(-) diff --git a/bugs.po b/bugs.po index 175bd25e93..fa09e3749e 100644 --- a/bugs.po +++ b/bugs.po @@ -260,39 +260,3 @@ msgstr "" "Guide`_. Si tienes preguntas, el `core-mentorship mailing list`_ es un " "agradable lugar para obtener respuestas a cualquiera y a todas las preguntas " "pertenecientes al proceso de corrección de problemas en Python." - -#~ msgid "" -#~ "Bug reports for Python itself should be submitted via the Python Bug " -#~ "Tracker (https://bugs.python.org/). The bug tracker offers a web form " -#~ "which allows pertinent information to be entered and submitted to the " -#~ "developers." -#~ msgstr "" -#~ "Los informes de errores para Python en sí deben enviarse a través de " -#~ "Python Bug Tracker (https://bugs.python.org/). El rastreador de errores " -#~ "ofrece un formulario web que permite ingresar y enviar la información " -#~ "pertinente a los desarrolladores." - -#~ msgid "" -#~ "If the problem you're reporting is not already in the bug tracker, go " -#~ "back to the Python Bug Tracker and log in. If you don't already have a " -#~ "tracker account, select the \"Register\" link or, if you use OpenID, one " -#~ "of the OpenID provider logos in the sidebar. It is not possible to " -#~ "submit a bug report anonymously." -#~ msgstr "" -#~ "Si el problema que estás describiendo no está todavía en el rastreador de " -#~ "errores, vuelve al Python Bug Tracker e inicia sesión. Si no tienes una " -#~ "cuenta en el rastreador, selecciona el enlace \"Register\" o, si usas " -#~ "OpenID, selecciona uno de los logos de los proveedores OpenID en la barra " -#~ "lateral. No es posible el envío de informes de errores de manera anónima." - -#~ msgid "" -#~ "The submission form has a number of fields. For the \"Title\" field, " -#~ "enter a *very* short description of the problem; less than ten words is " -#~ "good. In the \"Type\" field, select the type of your problem; also " -#~ "select the \"Component\" and \"Versions\" to which the bug relates." -#~ msgstr "" -#~ "El formulario de envío tiene un número de campos. Para el campo " -#~ "\"Title\", introduce una descripción *muy* corta del problema; menos de " -#~ "diez palabras está bien. En el campo \"Type\", selecciona el tipo de " -#~ "problema; selecciona también el \"Component\" y \"Versions\" con los que " -#~ "el error está relacionado." diff --git a/c-api/bytes.po b/c-api/bytes.po index 47d1dcef6c..d45f911329 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -421,6 +421,3 @@ msgstr "" "*\\*bytes* puede diferir de su valor de entrada. Si la reasignación falla, " "el objeto de bytes original en *\\*bytes* se desasigna, *\\*bytes* se " "establece en ``NULL``, :exc:`MemoryError` se establece y se retorna ``-1`` ." - -#~ msgid "Py_ssize_t" -#~ msgstr "Py_ssize_t" diff --git a/c-api/call.po b/c-api/call.po index 661005a0fb..da54c3a663 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -737,6 +737,3 @@ msgid "" msgstr "" "Determina si el objeto *o* es invocable. Retorna ``1`` si el objeto es " "invocable y ``0`` en caso contrario. Esta función siempre finaliza con éxito." - -#~ msgid "This function is not part of the :ref:`limited API `." -#~ msgstr "Esta función no es parte de la :ref:`API limitada `." diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 7e32a49865..0e6b278627 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -1928,47 +1928,3 @@ msgstr ":c:data:`PyExc_ResourceWarning`." #: ../Doc/c-api/exceptions.rst:1119 msgid "This is a base class for other standard warning categories." msgstr "Esta es una clase base para otras categorías de advertencia estándar." - -#~ msgid "" -#~ "Create a :class:`UnicodeEncodeError` object with the attributes " -#~ "*encoding*, *object*, *length*, *start*, *end* and *reason*. *encoding* " -#~ "and *reason* are UTF-8 encoded strings." -#~ msgstr "" -#~ "Crea un objeto :class:`UnicodeEncodeError` con los atributos *encoding*, " -#~ "*object*, *length*, *start*, *end* y *reason*. *encoding* y *reason* son " -#~ "cadenas codificadas UTF-8." - -#~ msgid "3.11" -#~ msgstr "3.11" - -#~ msgid "" -#~ "``Py_UNICODE`` is deprecated since Python 3.3. Please migrate to " -#~ "``PyObject_CallFunction(PyExc_UnicodeEncodeError, \"sOnns\", ...)``." -#~ msgstr "" -#~ "``Py_UNICODE`` está obsoleto desde Python 3.3. Migre por favor a " -#~ "``PyObject_CallFunction(PyExc_UnicodeEncodeError, \"sOnns\", ...)``." - -#~ msgid "" -#~ "Create a :class:`UnicodeTranslateError` object with the attributes " -#~ "*object*, *length*, *start*, *end* and *reason*. *reason* is a UTF-8 " -#~ "encoded string." -#~ msgstr "" -#~ "Crea un objeto :class:`UnicodeTranslateError` con los atributos " -#~ "*encoding*, *object*, *length*, *start*, *end* y *reason*. *encoding* y " -#~ "*reason* son cadenas codificadas UTF-8." - -#~ msgid "" -#~ "``Py_UNICODE`` is deprecated since Python 3.3. Please migrate to " -#~ "``PyObject_CallFunction(PyExc_UnicodeTranslateError, \"Onns\", ...)``." -#~ msgstr "" -#~ "``Py_UNICODE`` está obsoleto desde Python 3.3. Migre por favor a " -#~ "``PyObject_CallFunction(PyExc_UnicodeTranslateError, \"sOnns\", ...)``." - -#~ msgid "\\(1)" -#~ msgstr "\\(1)" - -#~ msgid "\\(2)" -#~ msgstr "\\(2)" - -#~ msgid "\\(3)" -#~ msgstr "\\(3)" diff --git a/c-api/init.po b/c-api/init.po index fe79f4b1fd..fbc80721f0 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -3027,16 +3027,3 @@ msgid "" msgstr "" "Debido al problema de compatibilidad mencionado anteriormente, esta versión " "de la API no debe usarse en código nuevo." - -#~ msgid "" -#~ "Note that the :c:func:`PyGILState_\\*` functions assume there is only one " -#~ "global interpreter (created automatically by :c:func:`Py_Initialize`). " -#~ "Python supports the creation of additional interpreters (using :c:func:" -#~ "`Py_NewInterpreter`), but mixing multiple interpreters and the :c:func:" -#~ "`PyGILState_\\*` API is unsupported." -#~ msgstr "" -#~ "Tenga en cuenta que las funciones :c:func:`PyGILState_\\*` suponen que " -#~ "solo hay un intérprete global (creado automáticamente por :c:func:" -#~ "`Py_Initialize`). Python admite la creación de intérpretes adicionales " -#~ "(usando :c:func:`Py_NewInterpreter`), pero la mezcla de múltiples " -#~ "intérpretes y la API :c:func:`PyGILState_\\*` no son compatibles." diff --git a/c-api/init_config.po b/c-api/init_config.po index 9d74109d94..19947e230a 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -2644,56 +2644,3 @@ msgid "" msgstr "" "Ejemplo de ejecución de código Python entre las fases de inicialización " "\"Core\" y \"Main\"::" - -#~ msgid "" -#~ ":data:`sys.path` contains neither the script's directory (computed from " -#~ "``argv[0]`` or the current directory) nor the user's site-packages " -#~ "directory." -#~ msgstr "" -#~ ":data:`sys.path` no contiene ni el directorio del script (calculado a " -#~ "partir de ``argv[0]`` o el directorio actual) ni el directorio de " -#~ "paquetes del sitio del usuario." - -#~ msgid "" -#~ "Set :c:member:`~PyConfig.use_environment` and :c:member:`~PyConfig." -#~ "user_site_directory` to 0." -#~ msgstr "" -#~ "Establece :c:member:`~PyConfig.use_environment` y :c:member:`~PyConfig." -#~ "user_site_directory` en 0." - -#~ msgid "It has no effect on Windows." -#~ msgstr "No tiene ningún efecto en Windows." - -#~ msgid "" -#~ "More complete example modifying the default configuration, read the " -#~ "configuration, and then override some parameters::" -#~ msgstr "" -#~ "Ejemplo más completo que modifica la configuración predeterminada, lee la " -#~ "configuración y luego anula algunos parámetros ::" - -#~ msgid "" -#~ "Configuration files are still used with this configuration. Set the :ref:" -#~ "`Python Path Configuration ` (\"output fields\") to " -#~ "ignore these configuration files and avoid the function computing the " -#~ "default path configuration." -#~ msgstr "" -#~ "Los archivos de configuración todavía se utilizan con esta configuración. " -#~ "Configure el :ref:`Python Path Configuration ` " -#~ "(\"campos de salida\") para ignorar estos archivos de configuración y " -#~ "evitar que la función calcule la configuración de ruta predeterminada." - -#~ msgid "" -#~ "If at least one \"output field\" is not set, Python calculates the path " -#~ "configuration to fill unset fields. If :c:member:`~PyConfig." -#~ "module_search_paths_set` is equal to 0, :c:member:`~PyConfig." -#~ "module_search_paths` is overridden and :c:member:`~PyConfig." -#~ "module_search_paths_set` is set to 1." -#~ msgstr "" -#~ "Si no se establece al menos un \"campo de salida\", Python calcula la " -#~ "configuración de la ruta para completar los campos no definidos. Si :c:" -#~ "member:`~PyConfig.module_search_paths_set` es igual a 0, :c:member:" -#~ "`~PyConfig.module_search_paths` se reemplaza y :c:member:`~PyConfig." -#~ "module_search_paths_set` se establece en 1." - -#~ msgid "``python._pth`` (Windows only)" -#~ msgstr "``python._pth`` (sólo Windows)" diff --git a/c-api/marshal.po b/c-api/marshal.po index 880dc07931..c3b7242bdf 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -161,13 +161,3 @@ msgid "" msgstr "" "Retorna un objeto Python del flujo de datos en un búfer de bytes que " "contiene *len* bytes a los que apunta *data*." - -#~ msgid "" -#~ "Marshal a :c:type:`long` integer, *value*, to *file*. This will only " -#~ "write the least-significant 32 bits of *value*; regardless of the size of " -#~ "the native :c:type:`long` type. *version* indicates the file format." -#~ msgstr "" -#~ "Empaqueta (*marshal*) un entero :c:type:`long`, *value*, a un archivo " -#~ "*file*. Esto solo escribirá los 32 bits menos significativos de *value*; " -#~ "independientemente del tamaño del tipo nativo :c:type:`long`. *version* " -#~ "indica el formato del archivo." diff --git a/c-api/number.po b/c-api/number.po index 7bd0380510..6a60b98bac 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -437,10 +437,3 @@ msgstr "" "Retorna ``1`` si *o* es un entero índice (tiene el espacio ``nb_index`` de " "la estructura ``tp_as_number`` rellenado) y ``0`` en caso contrario. Esta " "función siempre tiene éxito." - -#~ msgid "" -#~ "Return the floor of *o1* divided by *o2*, or ``NULL`` on failure. This " -#~ "is equivalent to the \"classic\" division of integers." -#~ msgstr "" -#~ "Retorna el piso (*floor*) de *o1* dividido por *o2*, o ``NULL`` en caso " -#~ "de falla. Esto es equivalente a la división \"clásica\" de enteros." diff --git a/c-api/refcounting.po b/c-api/refcounting.po index bb82d9a1cb..a9c64b975e 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -226,14 +226,3 @@ msgstr "" "Las siguientes funciones o macros son solo para uso dentro del núcleo del " "intérprete: :c:func:`_Py_Dealloc`, :c:func:`_Py_ForgetReference`, :c:func:" "`_Py_NewReference`, así como la variable global :c:data:`_Py_RefTotal`." - -#~ msgid "" -#~ "The following functions are for runtime dynamic embedding of Python: " -#~ "``Py_IncRef(PyObject *o)``, ``Py_DecRef(PyObject *o)``. They are simply " -#~ "exported function versions of :c:func:`Py_XINCREF` and :c:func:" -#~ "`Py_XDECREF`, respectively." -#~ msgstr "" -#~ "Las siguientes funciones son para la incorporación dinámica de Python en " -#~ "tiempo de ejecución: ``Py_IncRef(PyObject *o)``, ``Py_DecRef(PyObject " -#~ "*o)``. Simplemente son versiones de funciones exportadas de :c:func:" -#~ "`Py_XINCREF` y :c:func:`Py_XDECREF`, respectivamente." diff --git a/c-api/reflection.po b/c-api/reflection.po index 8578c4b6ce..64daf9e8c6 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -81,31 +81,3 @@ msgstr "" "Los valores de retorno incluyen \"()\" para funciones y métodos, " "\"constructor\", \"instancia\" y \"objeto\". Concatenado con el resultado " "de :c:func:`PyEval_GetFuncName`, el resultado será una descripción de *func*." - -#~ msgid "Get the *frame* next outer frame." -#~ msgstr "Obtiene el *frame* siguiente marco (*frame*) exterior." - -#~ msgid "" -#~ "Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer " -#~ "frame." -#~ msgstr "" -#~ "Devuelve una :term:`referencia fuerte ` o ``NULL`` si " -#~ "*frame* no tiene un marco exterior." - -#~ msgid "*frame* must not be ``NULL``." -#~ msgstr "*frame* no debe ser ``NULL``." - -#~ msgid "Get the *frame* code." -#~ msgstr "Obtiene el código *frame*." - -#~ msgid "Return a :term:`strong reference`." -#~ msgstr "Retorna una :term:`referencia fuerte `." - -#~ msgid "" -#~ "*frame* must not be ``NULL``. The result (frame code) cannot be ``NULL``." -#~ msgstr "" -#~ "*frame* no debe ser ``NULL``. El resultado (código del marco) no puede " -#~ "ser ``NULL``." - -#~ msgid "Return the line number that *frame* is currently executing." -#~ msgstr "Retorna el número de línea que *frame* está ejecutando actualmente." diff --git a/c-api/set.po b/c-api/set.po index 80627aa64e..92f87cebcd 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -269,27 +269,3 @@ msgstr "" #: ../Doc/c-api/set.rst:166 msgid "Empty an existing set of all elements." msgstr "Vacía un conjunto existente de todos los elementos." - -#~ msgid "" -#~ "This section details the public API for :class:`set` and :class:" -#~ "`frozenset` objects. Any functionality not listed below is best accessed " -#~ "using the either the abstract object protocol (including :c:func:" -#~ "`PyObject_CallMethod`, :c:func:`PyObject_RichCompareBool`, :c:func:" -#~ "`PyObject_Hash`, :c:func:`PyObject_Repr`, :c:func:`PyObject_IsTrue`, :c:" -#~ "func:`PyObject_Print`, and :c:func:`PyObject_GetIter`) or the abstract " -#~ "number protocol (including :c:func:`PyNumber_And`, :c:func:" -#~ "`PyNumber_Subtract`, :c:func:`PyNumber_Or`, :c:func:`PyNumber_Xor`, :c:" -#~ "func:`PyNumber_InPlaceAnd`, :c:func:`PyNumber_InPlaceSubtract`, :c:func:" -#~ "`PyNumber_InPlaceOr`, and :c:func:`PyNumber_InPlaceXor`)." -#~ msgstr "" -#~ "Esta sección detalla la API pública para objetos :class:`set` y :class:" -#~ "`frozenset`. Se puede acceder mejor a cualquier funcionalidad que no se " -#~ "enumere a continuación utilizando el protocolo de objeto abstracto (que " -#~ "incluye :c:func:`PyObject_CallMethod`, :c:func:" -#~ "`PyObject_RichCompareBool`, :c:func:`PyObject_Hash`, :c:func:" -#~ "`PyObject_Repr`, :c:func:`PyObject_IsTrue`, :c:func:`PyObject_Print`, y :" -#~ "c:func:`PyObject_GetIter`) o el protocolo de número abstracto (que " -#~ "incluye :c:func:`PyNumber_And`, :c:func:`PyNumber_Subtract`, :c:func:" -#~ "`PyNumber_Or`, :c:func:`PyNumber_Xor`, :c:func:`PyNumber_InPlaceAnd`, :c:" -#~ "func:`PyNumber_InPlaceSubtract`, :c:func:`PyNumber_InPlaceOr`, y :c:func:" -#~ "`PyNumber_InPlaceXor`)." diff --git a/c-api/structures.po b/c-api/structures.po index 631120dad5..a21620378a 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -968,14 +968,3 @@ msgstr "" "En caso de que el atributo deba suprimirse el segundo parámetro es ``NULL``. " "Debe retornar ``0`` en caso de éxito o ``-1`` con una excepción explícita en " "caso de fallo." - -#~ msgid "" -#~ ":c:func:`Py_REFCNT()` is changed to the inline static function. Use :c:" -#~ "func:`Py_SET_REFCNT()` to set an object reference count." -#~ msgstr "" -#~ ":c:func:`Py_REFCNT()` se cambia a la función estática en línea. Use :c:" -#~ "func:`Py_SET_REFCNT()` para establecer una cuenta de referencias de " -#~ "objetos." - -#~ msgid "This is not part of the :ref:`limited API `." -#~ msgstr "Esto no es parte de la :ref:`API limitada `." diff --git a/c-api/type.po b/c-api/type.po index 7258d5857c..7b386ef717 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -523,16 +523,3 @@ msgstr "" #: ../Doc/c-api/type.rst:311 msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``." msgstr "Las ranuras que no sean ``Py_tp_doc`` pueden no ser ``NULL``." - -#~ msgid "" -#~ "The following fields cannot be set using :c:type:`PyType_Spec` and :c:" -#~ "type:`PyType_Slot` under the limited API:" -#~ msgstr "" -#~ "Los siguientes campos no se pueden establecer usando :c:type:" -#~ "`PyType_Spec` y :c:type:`PyType_Slot` cuando se utiliza la API limitada:" - -#~ msgid ":c:member:`~PyBufferProcs.bf_getbuffer`" -#~ msgstr ":c:member:`~PyBufferProcs.bf_getbuffer`" - -#~ msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`" -#~ msgstr ":c:member:`~PyBufferProcs.bf_releasebuffer`" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index 296463a6be..4bf7485054 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -4418,56 +4418,3 @@ msgid "" msgstr "" "El :ref:`tipo estático ` más simple con instancias de longitud " "variable:" - -#~ msgid "Py_ssize_t" -#~ msgstr "Py_ssize_t" - -#~ msgid "" -#~ "The semantics of the ``tp_vectorcall_offset`` slot are provisional and " -#~ "expected to be finalized in Python 3.9. If you use vectorcall, plan for " -#~ "updating your code for Python 3.9." -#~ msgstr "" -#~ "La semántica de la ranura ``tp_vectorcall_offset`` es provisional y se " -#~ "espera que finalice en Python 3.9. Si usa *vectorcall*, planifique " -#~ "actualizar su código para Python 3.9." - -#~ msgid "" -#~ "This bit is inherited for :ref:`static subtypes ` if :c:" -#~ "member:`~PyTypeObject.tp_call` is also inherited. :ref:`Heap types ` do not inherit ``Py_TPFLAGS_HAVE_VECTORCALL``." -#~ msgstr "" -#~ "Este bit se hereda para :ref:`static subtypes ` si también " -#~ "se hereda :c:member:`~PyTypeObject.tp_call`. :ref:`Tipos heap ` no hereda ``Py_TPFLAGS_HAVE_VECTORCALL``." - -#~ msgid "" -#~ "The real dictionary offset in an instance can be computed from a " -#~ "negative :c:member:`~PyTypeObject.tp_dictoffset` as follows::" -#~ msgstr "" -#~ "El desplazamiento real del diccionario en una instancia se puede calcular " -#~ "a partir de un elemento negativo :c:member:`~PyTypeObject.tp_dictoffset` " -#~ "de la siguiente manera::" - -#~ msgid "" -#~ "where :c:member:`~PyTypeObject.tp_basicsize`, :c:member:`~PyTypeObject." -#~ "tp_itemsize` and :c:member:`~PyTypeObject.tp_dictoffset` are taken from " -#~ "the type object, and :attr:`ob_size` is taken from the instance. The " -#~ "absolute value is taken because ints use the sign of :attr:`ob_size` to " -#~ "store the sign of the number. (There's never a need to do this " -#~ "calculation yourself; it is done for you by :c:func:" -#~ "`_PyObject_GetDictPtr`.)" -#~ msgstr "" -#~ "donde :c:member:`~PyTypeObject.tp_basicsize`, :c:member:`~PyTypeObject." -#~ "tp_itemsize` y :c:member:`~PyTypeObject.tp_dictoffset` se toman del " -#~ "objeto *type*, y :attr:`ob_size` está tomado de la instancia. Se toma el " -#~ "valor absoluto porque *ints* usa el signo de :attr:`ob_size` para " -#~ "almacenar el signo del número. (Nunca es necesario hacer este cálculo " -#~ "usted mismo; lo hace por usted la función :c:func:`_PyObject_GetDictPtr`.)" - -#~ msgid "" -#~ "For this field to be taken into account (even through inheritance), you " -#~ "must also set the :const:`Py_TPFLAGS_HAVE_FINALIZE` flags bit." -#~ msgstr "" -#~ "Para que este campo se tenga en cuenta (incluso a través de la herencia), " -#~ "también debe establecer el bit de banderas :const:" -#~ "`Py_TPFLAGS_HAVE_FINALIZE`." diff --git a/c-api/unicode.po b/c-api/unicode.po index 93930551b2..c96375401b 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -2479,285 +2479,3 @@ msgstr "" "caracteres Unicode que ha sido creado internamente o una nueva " "referencia(\"propia\") a un objeto de cadena de caracteres interno anterior " "con el mismo valor." - -#~ msgid "Py_ssize_t" -#~ msgstr "Py_ssize_t" - -#~ msgid "" -#~ "Create a Unicode object by replacing all decimal digits in :c:type:" -#~ "`Py_UNICODE` buffer of the given *size* by ASCII digits 0--9 according to " -#~ "their decimal value. Return ``NULL`` if an exception occurs." -#~ msgstr "" -#~ "Crea un objeto Unicode reemplazando todos los dígitos decimales en el " -#~ "búfer :c:type:`Py_UNICODE` del *size* dado por dígitos ASCII 0--9 de " -#~ "acuerdo con su valor decimal. Retorna ``NULL`` si ocurre una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`Py_UNICODE_TODECIMAL`." -#~ msgstr "" -#~ "Parte del estilo antiguo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`Py_UNICODE_TODECIMAL`." - -#~ msgid "" -#~ "Copy the Unicode object contents into the :c:type:`wchar_t` buffer *w*. " -#~ "At most *size* :c:type:`wchar_t` characters are copied (excluding a " -#~ "possibly trailing null termination character). Return the number of :c:" -#~ "type:`wchar_t` characters copied or ``-1`` in case of an error. Note " -#~ "that the resulting :c:type:`wchar_t*` string may or may not be null-" -#~ "terminated. It is the responsibility of the caller to make sure that " -#~ "the :c:type:`wchar_t*` string is null-terminated in case this is required " -#~ "by the application. Also, note that the :c:type:`wchar_t*` string might " -#~ "contain null characters, which would cause the string to be truncated " -#~ "when used with most C functions." -#~ msgstr "" -#~ "Copia el contenido del objeto Unicode en el búfer :c:type:`wchar_t` *w*. " -#~ "A lo sumo *size* se copian los caracteres :c:type:`wchar_t` (excluyendo " -#~ "un posible carácter de terminación nulo final). Retorna el número de " -#~ "caracteres :c:type:`wchar_t` copiados o ``-1`` en caso de error. Tenga en " -#~ "cuenta que la cadena resultante :c:type:`wchar_t*` puede o no tener " -#~ "terminación nula. Es responsabilidad de la persona que llama asegurarse " -#~ "de que la cadena :c:type:`wchar_t*` tenga una terminación nula en caso de " -#~ "que la aplicación lo requiera. Además, tenga en cuenta que la cadena :c:" -#~ "type:`wchar_t*` podría contener caracteres nulos, lo que provocaría que " -#~ "la cadena se truncara cuando se usara con la mayoría de las funciones de " -#~ "C." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* and return " -#~ "a Python bytes object. *encoding* and *errors* have the same meaning as " -#~ "the parameters of the same name in the Unicode :meth:`~str.encode` " -#~ "method. The codec to be used is looked up using the Python codec " -#~ "registry. Return ``NULL`` if an exception was raised by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` *s* del tamaño *size* dado y " -#~ "retorna un objeto de bytes de Python. *encoding* y *errors* tienen el " -#~ "mismo significado que los parámetros del mismo nombre en el método " -#~ "Unicode :meth:`~str.encode`. El códec que se utilizará se busca " -#~ "utilizando el registro de códec Python. Retorna ``NULL`` si el códec " -#~ "provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer *s* of the given *size* using " -#~ "UTF-8 and return a Python bytes object. Return ``NULL`` if an exception " -#~ "was raised by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` *s* del tamaño *size* dado usando " -#~ "UTF-8 y retorna un objeto de bytes de Python. Retorna ``NULL`` si el " -#~ "códec provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsUTF8String`, :c:func:`PyUnicode_AsUTF8AndSize` or :c:" -#~ "func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsUTF8String`, :c:func:" -#~ "`PyUnicode_AsUTF8AndSize` o :c:func:`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Return a Python bytes object holding the UTF-32 encoded value of the " -#~ "Unicode data in *s*. Output is written according to the following byte " -#~ "order::" -#~ msgstr "" -#~ "Retorna un objeto de bytes de Python que contiene el valor codificado " -#~ "UTF-32 de los datos Unicode en *s*. La salida se escribe de acuerdo con " -#~ "el siguiente orden de bytes:" - -#~ msgid "" -#~ "If byteorder is ``0``, the output string will always start with the " -#~ "Unicode BOM mark (U+FEFF). In the other two modes, no BOM mark is " -#~ "prepended." -#~ msgstr "" -#~ "Si *byteorder* es ``0``, la cadena de caracteres de salida siempre " -#~ "comenzará con la marca Unicode BOM (U+FEFF). En los otros dos modos, no " -#~ "se antepone ninguna marca BOM." - -#~ msgid "" -#~ "If ``Py_UNICODE_WIDE`` is not defined, surrogate pairs will be output as " -#~ "a single code point." -#~ msgstr "" -#~ "Si ``Py_UNICODE_WIDE`` no está definido, los pares sustitutos se " -#~ "mostrarán como un único punto de código." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsUTF32String` or :c:func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsUTF32String`. o :c:func:" -#~ "`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Return a Python bytes object holding the UTF-16 encoded value of the " -#~ "Unicode data in *s*. Output is written according to the following byte " -#~ "order::" -#~ msgstr "" -#~ "Retorna un objeto de bytes de Python que contiene el valor codificado " -#~ "UTF-16 de los datos Unicode en *s*. La salida se escribe de acuerdo con " -#~ "el siguiente orden de bytes:" - -#~ msgid "" -#~ "If ``Py_UNICODE_WIDE`` is defined, a single :c:type:`Py_UNICODE` value " -#~ "may get represented as a surrogate pair. If it is not defined, each :c:" -#~ "type:`Py_UNICODE` values is interpreted as a UCS-2 character." -#~ msgstr "" -#~ "Si se define ``Py_UNICODE_WIDE``, un solo valor de :c:type:`Py_UNICODE` " -#~ "puede representarse como un par sustituto. Si no está definido, cada uno " -#~ "de los valores :c:type:`Py_UNICODE` se interpreta como un carácter UCS-2." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsUTF16String` or :c:func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsUTF16String`. o :c:func:" -#~ "`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer of the given size using UTF-7 and " -#~ "return a Python bytes object. Return ``NULL`` if an exception was raised " -#~ "by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` del tamaño dado usando UTF-7 y " -#~ "retorna un objeto de bytes de Python. Retorna ``NULL`` si el códec " -#~ "provocó una excepción." - -#~ msgid "" -#~ "If *base64SetO* is nonzero, \"Set O\" (punctuation that has no otherwise " -#~ "special meaning) will be encoded in base-64. If *base64WhiteSpace* is " -#~ "nonzero, whitespace will be encoded in base-64. Both are set to zero for " -#~ "the Python \"utf-7\" codec." -#~ msgstr "" -#~ "Si *base64SetO* no es cero, \"Set O\" (puntuación que no tiene un " -#~ "significado especial) se codificará en base-64. Si *base64WhiteSpace* no " -#~ "es cero, el espacio en blanco se codificará en base-64. Ambos se " -#~ "establecen en cero para el códec Python \"utf-7\"." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Unicode-" -#~ "Escape and return a bytes object. Return ``NULL`` if an exception was " -#~ "raised by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` del tamaño *size* dado utilizando " -#~ "Unicode escapado y retorna un objeto de bytes. Retorna ``NULL`` si el " -#~ "códec provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsUnicodeEscapeString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsUnicodeEscapeString`." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-" -#~ "Unicode-Escape and return a bytes object. Return ``NULL`` if an " -#~ "exception was raised by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` del tamaño *size* dado usando " -#~ "Unicode escapado en bruto (*Raw-Unicode-Escape*) y retorna un objeto de " -#~ "bytes. Retorna ``NULL`` si el códec provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsRawUnicodeEscapeString` or :c:func:" -#~ "`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsRawUnicodeEscapeString` o :c:func:" -#~ "`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Latin-1 " -#~ "and return a Python bytes object. Return ``NULL`` if an exception was " -#~ "raised by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` del tamaño *size* dado usando " -#~ "Latin-1 y retorna un objeto de bytes de Python. Retorna ``NULL`` si el " -#~ "códec provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsLatin1String` or :c:func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsLatin1String` o :c:func:" -#~ "`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using ASCII " -#~ "and return a Python bytes object. Return ``NULL`` if an exception was " -#~ "raised by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` del tamaño *size* dado utilizando " -#~ "ASCII y retorna un objeto de bytes de Python. Retorna ``NULL`` si el " -#~ "códec provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsASCIIString` or :c:func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsASCIIString` o :c:func:" -#~ "`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using the " -#~ "given *mapping* object and return the result as a bytes object. Return " -#~ "``NULL`` if an exception was raised by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` del tamaño *size* dado utilizando " -#~ "el objeto *mapping* dado y retorna el resultado como un objeto de bytes. " -#~ "Retorna ``NULL`` si el códec provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsCharmapString` or :c:func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_AsCharmapString` o :c:func:" -#~ "`PyUnicode_AsEncodedString`." - -#~ msgid "" -#~ "Translate a :c:type:`Py_UNICODE` buffer of the given *size* by applying a " -#~ "character *mapping* table to it and return the resulting Unicode object. " -#~ "Return ``NULL`` when an exception was raised by the codec." -#~ msgstr "" -#~ "Traduce un búfer :c:type:`Py_UNICODE` del tamaño *size* dado al aplicarle " -#~ "una tabla de *mapping* de caracteres y retornar el objeto Unicode " -#~ "resultante. Retorna ``NULL`` cuando el códec provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_Translate`. or :ref:`generic codec based API `" -#~ msgstr "" -#~ "Parte del viejo estilo de la API :c:type:`Py_UNICODE`; por favor migrar " -#~ "para usar :c:func:`PyUnicode_Translate`. o :ref:`generic codec based API " -#~ "`" - -#~ msgid "" -#~ "Encode the :c:type:`Py_UNICODE` buffer of the given *size* using MBCS and " -#~ "return a Python bytes object. Return ``NULL`` if an exception was raised " -#~ "by the codec." -#~ msgstr "" -#~ "Codifica el búfer :c:type:`Py_UNICODE` del tamaño *size* dado usando MBCS " -#~ "y retorna un objeto de bytes de Python. Retorna ``NULL`` si el códec " -#~ "provocó una excepción." - -#~ msgid "" -#~ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :" -#~ "c:func:`PyUnicode_AsMBCSString`, :c:func:`PyUnicode_EncodeCodePage` or :c:" -#~ "func:`PyUnicode_AsEncodedString`." -#~ msgstr "" -#~ "Parte del viejo estilo :c:type:`Py_UNICODE` de la API; por favor migrar " -#~ "a :c:func:`PyUnicode_AsMBCSString`, :c:func:`PyUnicode_EncodeCodePage` o :" -#~ "c:func:`PyUnicode_AsEncodedString`." diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index 63b829057b..889b1ec363 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -614,11 +614,3 @@ msgstr "" "Este bit puede ser configurado en *flags* para causar que un operador de " "división ``/`` sea interpretado como una \"división real\" de acuerdo a :pep:" "`238`." - -#~ msgid "" -#~ "The C structure of the objects used to describe frame objects. The fields " -#~ "of this type are subject to change at any time." -#~ msgstr "" -#~ "La estructura en C de los objetos utilizados para describir objetos del " -#~ "marco. Los campos de este tipo están sujetos a cambios en cualquier " -#~ "momento." diff --git a/distutils/apiref.po b/distutils/apiref.po index e4cdbb3354..4c45ed161d 100644 --- a/distutils/apiref.po +++ b/distutils/apiref.po @@ -3452,16 +3452,3 @@ msgstr "" "El comando ``check`` realiza algunas pruebas en los metadatos de un paquete. " "Por ejemplo, verifica que todos los metadatos requeridos se proporcionen " "como argumentos pasados a la función :func:`setup`." - -#~ msgid "" -#~ ":mod:`distutils.command.bdist_msi` --- Build a Microsoft Installer binary " -#~ "package" -#~ msgstr "" -#~ ":mod:`distutils.command.bdist_msi` --- Construye un paquete binario " -#~ "instalador de Microsoft" - -#~ msgid "Use bdist_wheel (wheel packages) instead." -#~ msgstr "Utiliza *bdist_wheel* (paquetes *wheel*) en su lugar." - -#~ msgid "Builds a `Windows Installer`_ (.msi) binary package." -#~ msgstr "Construye un paquete binario `Windows Installer`_ (.msi)" diff --git a/distutils/builtdist.po b/distutils/builtdist.po index 6e9495abf0..6a4d2244c8 100644 --- a/distutils/builtdist.po +++ b/distutils/builtdist.po @@ -887,12 +887,3 @@ msgstr "" "icono del acceso directo, y *iconindex* es el índice del icono en el archivo " "*iconpath*. Nuevamente, para obtener más detalles, consulte la documentación " "de Microsoft para la interfaz :class:`IShellLink`." - -#~ msgid ":command:`bdist_msi`" -#~ msgstr ":command:`bdist_msi`" - -#~ msgid "msi" -#~ msgstr "*msi*" - -#~ msgid "bdist_msi is deprecated since Python 3.9." -#~ msgstr "bdist_msi está deprecado desde Python 3.9." diff --git a/faq/extending.po b/faq/extending.po index b63534c58d..026b48e3a5 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -494,29 +494,3 @@ msgstr "" "La biblioteca *Boost Pyhton* (BPL, http://www.boost.org/libs/python/doc/" "index.html) provee una manera de realizar esto desde C++ (por ejemplo puedes " "heredar de una clase extensión escrita en C++ usando el BPL)." - -#~ msgid "" -#~ "However sometimes you have to run the embedded Python interpreter in the " -#~ "same thread as your rest application and you can't allow the :c:func:" -#~ "`PyRun_InteractiveLoop` to stop while waiting for user input. A solution " -#~ "is trying to compile the received string with :c:func:`Py_CompileString`. " -#~ "If it compiles without errors, try to execute the returned code object by " -#~ "calling :c:func:`PyEval_EvalCode`. Otherwise save the input for later. If " -#~ "the compilation fails, find out if it's an error or just more input is " -#~ "required - by extracting the message string from the exception tuple and " -#~ "comparing it to the string \"unexpected EOF while parsing\". Here is a " -#~ "complete example using the GNU readline library (you may want to ignore " -#~ "**SIGINT** while calling readline())::" -#~ msgstr "" -#~ "Sin embargo, a veces debe ejecutar el intérprete de Python integrado en " -#~ "el mismo hilo que su aplicación de descanso y no puede permitir que el :c:" -#~ "func:`PyRun_InteractiveLoop` se detenga mientras espera la entrada del " -#~ "usuario. Una solución es intentar compilar la cadena recibida con :c:func:" -#~ "`Py_CompileString`. Si se compila sin errores, intente ejecutar el objeto " -#~ "de código devuelto llamando a :c:func:`PyEval_EvalCode`. De lo contrario, " -#~ "guarde la entrada para más tarde. Si la compilación falla, averigüe si es " -#~ "un error o simplemente se requiere más entrada, extrayendo la cadena del " -#~ "mensaje de la tupla de excepción y comparándola con la cadena \"EOF " -#~ "inesperado durante el análisis\". Aquí hay un ejemplo completo usando la " -#~ "biblioteca de línea de lectura de GNU (es posible que desee ignorar " -#~ "**SIGINT** mientras llama a readline ()):" diff --git a/faq/general.po b/faq/general.po index 7b9ba1b1eb..00d675c8ce 100644 --- a/faq/general.po +++ b/faq/general.po @@ -935,82 +935,3 @@ msgstr "" "Si quieres discutir el uso de Python en la educación, quizás te interese " "unirte a la `la lista de correo edu-sig `_." - -#~ msgid "" -#~ "Python versions are numbered A.B.C or A.B. A is the major version number " -#~ "-- it is only incremented for really major changes in the language. B is " -#~ "the minor version number, incremented for less earth-shattering changes. " -#~ "C is the micro-level -- it is incremented for each bugfix release. See :" -#~ "pep:`6` for more information about bugfix releases." -#~ msgstr "" -#~ "La versiones de Python están numeradas A.B.C o A.B. A es el numero de " -#~ "versión más importante -- sólo es incrementado por cambios realmente " -#~ "grandes en el lenguaje. B es el número de versión secundario (o menor), " -#~ "incrementado ante cambios menos traumáticos. C es el nivel micro -- se " -#~ "incrementa en cada lanzamiento de corrección de errores. Mira el :pep:`6` " -#~ "para más información sobre los lanzamientos de corrección de errores." - -#~ msgid "" -#~ "Alpha, beta and release candidate versions have an additional suffix. " -#~ "The suffix for an alpha version is \"aN\" for some small number N, the " -#~ "suffix for a beta version is \"bN\" for some small number N, and the " -#~ "suffix for a release candidate version is \"rcN\" for some small number " -#~ "N. In other words, all versions labeled 2.0aN precede the versions " -#~ "labeled 2.0bN, which precede versions labeled 2.0rcN, and *those* precede " -#~ "2.0." -#~ msgstr "" -#~ "Las versiones alpha, beta y candidata de lanzamiento (*release " -#~ "candidate*) tienen un sufijo adicional. El sufijo para la versión alpha " -#~ "es \"aN\" para algunos números N pequeños; el sufijo para beta es \"bN\" " -#~ "para algunos números N pequeños, y el sufijo para *release candidates* es " -#~ "\"cN\" para algunos números N pequeños. En otras palabras, todas las " -#~ "versiones etiquetadas 2.0aN preceden a las 2.0bN, que preceden a las " -#~ "etiquetadas 2.0cN, y *todas esas* preceden a la 2.0." - -#~ msgid "" -#~ "You must have a Roundup account to report bugs; this makes it possible " -#~ "for us to contact you if we have follow-up questions. It will also " -#~ "enable Roundup to send you updates as we act on your bug. If you had " -#~ "previously used SourceForge to report bugs to Python, you can obtain your " -#~ "Roundup password through Roundup's `password reset procedure `_." -#~ msgstr "" -#~ "Debes tener una cuenta de Roundup para reportar *bugs*; esto nos permite " -#~ "contactarte si tenemos más preguntas. También permite que Roundup te " -#~ "envíe actualizaciones cuando haya actualizaciones sobre tu *bug*. Si " -#~ "previamente usaste SourceForge para reportar bugs a Python, puedes " -#~ "obtener tu contraseña de Roundup a través del `procedimiento de reinicio " -#~ "de contraseña de Roundup `_." - -#~ msgid "" -#~ "See https://www.python.org/dev/peps/ for the Python Enhancement Proposals " -#~ "(PEPs). PEPs are design documents describing a suggested new feature for " -#~ "Python, providing a concise technical specification and a rationale. " -#~ "Look for a PEP titled \"Python X.Y Release Schedule\", where X.Y is a " -#~ "version that hasn't been publicly released yet." -#~ msgstr "" -#~ "Mira https://www.python.org/dev/peps/ para las *Python Enhancement " -#~ "Proposals* (\"Propuestas de mejora de Python\", PEPs). Las PEPs son " -#~ "documentos de diseño que describen una nueva funcionalidad sugerida para " -#~ "Python, proveyendo una especificación técnica concisa y una razón " -#~ "fundamental. Busca una PEP titulada \"Python X.Y Release Schedule\", " -#~ "donde X.Y es una versión que aún no ha sido publicada." - -#~ msgid "" -#~ "There are also good IDEs for Python. IDLE is a cross-platform IDE for " -#~ "Python that is written in Python using Tkinter. PythonWin is a Windows-" -#~ "specific IDE. Emacs users will be happy to know that there is a very good " -#~ "Python mode for Emacs. All of these programming environments provide " -#~ "syntax highlighting, auto-indenting, and access to the interactive " -#~ "interpreter while coding. Consult `the Python wiki `_ for a full list of Python editing environments." -#~ msgstr "" -#~ "También hay buenas IDEs para Python. IDLE es una IDE multiplataforma para " -#~ "Python que está escrita en Python usando Tkinter. PythonWin es un IDE " -#~ "específico para Windows. Quienes usan Emacs estarán felices de saber que " -#~ "hay un modo para Python muy bueno. Todos estos entornos de programación " -#~ "proveen resaltado de sintaxis, auto-sangrado y acceso al intérprete " -#~ "interactivo mientras se programa. Consulta `la wiki de Python `_ para ver una lista completa de " -#~ "entornos de programación." diff --git a/faq/windows.po b/faq/windows.po index 03af472ad3..a6b027d6ce 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -522,10 +522,3 @@ msgid "" "issue, visit the `Microsoft support page `_ for guidance on manually installing the C Runtime update." msgstr "" - -#~ msgid "" -#~ "Borland note: convert :file:`python{NN}.lib` to OMF format using Coff2Omf." -#~ "exe first." -#~ msgstr "" -#~ "Nota *Borland*: convierta el archivo :file:`python{NN}.lib` al formato " -#~ "OMF usando Coff2Omf.exe primero." diff --git a/glossary.po b/glossary.po index 9f5db36da4..1912aa73fc 100644 --- a/glossary.po +++ b/glossary.po @@ -2910,44 +2910,3 @@ msgstr "" "Un listado de los principios de diseño y la filosofía de Python que son " "útiles para entender y usar el lenguaje. El listado puede encontrarse " "ingresando \"``import this``\" en la consola interactiva." - -#~ msgid "coercion" -#~ msgstr "coerción" - -#~ msgid "" -#~ "The implicit conversion of an instance of one type to another during an " -#~ "operation which involves two arguments of the same type. For example, " -#~ "``int(3.15)`` converts the floating point number to the integer ``3``, " -#~ "but in ``3+4.5``, each argument is of a different type (one int, one " -#~ "float), and both must be converted to the same type before they can be " -#~ "added or it will raise a :exc:`TypeError`. Without coercion, all " -#~ "arguments of even compatible types would have to be normalized to the " -#~ "same value by the programmer, e.g., ``float(3)+4.5`` rather than just " -#~ "``3+4.5``." -#~ msgstr "" -#~ "La conversión implícita de una instancia de un tipo en otra durante una " -#~ "operación que involucra dos argumentos del mismo tipo. Por ejemplo, " -#~ "``int(3.15)`` convierte el número de punto flotante al entero ``3``, pero " -#~ "en ``3 + 4.5``, cada argumento es de un tipo diferente (uno entero, otro " -#~ "flotante), y ambos deben ser convertidos al mismo tipo antes de que " -#~ "puedan ser sumados o emitiría un :exc:`TypeError`. Sin coerción, todos " -#~ "los argumentos, incluso de tipos compatibles, deberían ser normalizados " -#~ "al mismo tipo por el programador, por ejemplo ``float(3)+4.5`` en lugar " -#~ "de ``3+4.5``." - -#~ msgid "" -#~ "See :pep:`483` for more details, and :mod:`typing` or :ref:`generic alias " -#~ "type ` for its uses." -#~ msgstr "" -#~ "Ver :pep:`483` para más detalles, y :mod:`typing` o :ref:`tipo alias " -#~ "genérico ` para sus usos." - -#~ msgid "" -#~ "Python uses the :term:`filesystem encoding and error handler` to convert " -#~ "between Unicode filenames and bytes filenames." -#~ msgstr "" -#~ "Python usa el :term:`filesystem encoding and error handler` para " -#~ "convertir entre nombres de archivo Unicode y nombres de archivo en bytes." - -#~ msgid "A codec which encodes Unicode strings to bytes." -#~ msgstr "Un códec que codifica las cadenas Unicode a bytes." diff --git a/howto/clinic.po b/howto/clinic.po index e12ab23ce9..c4c2f6bbc2 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -3362,28 +3362,3 @@ msgstr "" "Dado que los comentarios de Python son diferentes de los comentarios de C, " "los bloques de Argument Clinic incrustados en archivos de Python tienen un " "aspecto ligeramente diferente. Se ven así:" - -#~ msgid "" -#~ "In case you're curious, this is implemented in ``from_builtin()`` in " -#~ "``Lib/inspect.py``." -#~ msgstr "" -#~ "En caso de que tenga curiosidad, esto se implementa en ``from_builtin()`` " -#~ "en ``Lib/inspect.py``." - -#~ msgid "" -#~ "The default value used to initialize the C variable when there is no " -#~ "default, but not specifying a default may result in an \"uninitialized " -#~ "variable\" warning. This can easily happen when using option groups—" -#~ "although properly-written code will never actually use this value, the " -#~ "variable does get passed in to the impl, and the C compiler will complain " -#~ "about the \"use\" of the uninitialized value. This value should always " -#~ "be a non-empty string." -#~ msgstr "" -#~ "El valor predeterminado utilizado para inicializar la variable C cuando " -#~ "no hay ningún valor predeterminado, pero no especificar un valor " -#~ "predeterminado puede resultar en una advertencia de \"variable no " -#~ "inicializada\". Esto puede suceder fácilmente cuando se utilizan grupos " -#~ "de opciones, aunque el código escrito correctamente nunca utilizará este " -#~ "valor, la variable se pasa al impl, y el compilador de C se quejará del " -#~ "\"uso\" del valor no inicializado. Este valor siempre debe ser una cadena " -#~ "de caracteres no vacía." diff --git a/howto/curses.po b/howto/curses.po index 442537a92c..1d62a5f583 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -1067,19 +1067,3 @@ msgstr "" "`\"Console Applications with Urwid\" `_: video de una charla en PyCon CA 2012 que " "muestra algunas aplicaciones escritas usando Urwid." - -#~ msgid "" -#~ "The Windows version of Python doesn't include the :mod:`curses` module. " -#~ "A ported version called `UniCurses `_ " -#~ "is available. You could also try `the Console module `_ written by Fredrik Lundh, which doesn't use the " -#~ "same API as curses but provides cursor-addressable text output and full " -#~ "support for mouse and keyboard input." -#~ msgstr "" -#~ "La versión de Python para Windows no incluye el módulo :mod:`curses`. Una " -#~ "versión portada llamada `UniCurses `_ " -#~ "está disponible. También puede probar `el módulo de consola `_ escrito por *Fredrik Lundh*, que no " -#~ "utiliza la misma API que curses pero proporciona salida de texto " -#~ "*direccionable* por el cursor y soporte completo para entrada de mouse y " -#~ "teclado." diff --git a/howto/descriptor.po b/howto/descriptor.po index fbd8a20501..c12ad3210f 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -1415,29 +1415,3 @@ msgstr "" #: ../Doc/howto/descriptor.rst:1658 msgid "Misspelled or unassigned attributes will raise an exception:" msgstr "Atributos mal deletreados o no asignados lazarán una excepción:" - -#~ msgid "" -#~ "Interestingly, attribute lookup doesn't call :meth:`object." -#~ "__getattribute__` directly. Instead, both the dot operator and the :func:" -#~ "`getattr` function perform attribute lookup by way of a helper function:" -#~ msgstr "" -#~ "Es Interesante que la búsqueda de atributos no llama directamente a :meth:" -#~ "`object.__getattribute__`. En cambio, tanto el operador punto como la " -#~ "función :func:`getattr` realizan la búsqueda de atributos a través de una " -#~ "función auxiliar:" - -#~ msgid "" -#~ "So if :meth:`__getattr__` exists, it is called whenever :meth:" -#~ "`__getattribute__` raises :exc:`AttributeError` (either directly or in " -#~ "one of the descriptor calls)." -#~ msgstr "" -#~ "De tal modo, si :meth:`__getattr__` existe, es llamada cada vez que :meth:" -#~ "`__getattribute__` lanza :exc:`AttributeError` (ya sea directamente o en " -#~ "una de las llamadas a un descriptor)." - -#~ msgid "" -#~ "Also, if a user calls :meth:`object.__getattribute__` directly, the :meth:" -#~ "`__getattr__` hook is bypassed entirely." -#~ msgstr "" -#~ "Además, si un usuario llama directamente a :meth:`object." -#~ "__getattribute__`, el gancho en :meth:`__getattr__` es totalmente evitado." diff --git a/howto/sorting.po b/howto/sorting.po index f207013fb6..dd418d7e82 100644 --- a/howto/sorting.po +++ b/howto/sorting.po @@ -436,65 +436,3 @@ msgstr "" "ejemplo, si las calificaciones de los estudiantes se almacenan en un " "diccionario, se pueden usar para ordenar una lista separada de nombres de " "estudiantes:" - -#~ msgid "The Old Way Using the *cmp* Parameter" -#~ msgstr "El método tradicional utilizando el Parámetro *cmp*" - -#~ msgid "" -#~ "Many constructs given in this HOWTO assume Python 2.4 or later. Before " -#~ "that, there was no :func:`sorted` builtin and :meth:`list.sort` took no " -#~ "keyword arguments. Instead, all of the Py2.x versions supported a *cmp* " -#~ "parameter to handle user specified comparison functions." -#~ msgstr "" -#~ "Muchos constructores presentados en este CÓMO asumen el uso de Python 2.4 " -#~ "o superior. Antes de eso, no había una función :func:`sorted` incorporada " -#~ "y el método :meth:`list.sort` no tomaba los argumentos nombrados. A pesar " -#~ "de esto, todas las versiones de Py2.x admiten el parámetro *cmp* para " -#~ "manejar la función de comparación especificada por el usuario." - -#~ msgid "" -#~ "In Py3.0, the *cmp* parameter was removed entirely (as part of a larger " -#~ "effort to simplify and unify the language, eliminating the conflict " -#~ "between rich comparisons and the :meth:`__cmp__` magic method)." -#~ msgstr "" -#~ "En Py3.0, el parámetro *cmp* se eliminó por completo (como parte de un " -#~ "mayor esfuerzo para simplificar y unificar el lenguaje, eliminando el " -#~ "conflicto entre las comparaciones enriquecidas y el método mágico :meth:" -#~ "`__cmp__`)." - -#~ msgid "" -#~ "In Py2.x, sort allowed an optional function which can be called for doing " -#~ "the comparisons. That function should take two arguments to be compared " -#~ "and then return a negative value for less-than, return zero if they are " -#~ "equal, or return a positive value for greater-than. For example, we can " -#~ "do:" -#~ msgstr "" -#~ "En Py2.x, se permitió una función opcional a la que se puede llamar para " -#~ "hacer las comparaciones. Esa función debe tomar dos argumentos para " -#~ "comparar y luego retornar un valor negativo para menor que, retornar cero " -#~ "si son iguales o retornar un valor positivo para mayor que. Por ejemplo, " -#~ "podemos hacer:" - -#~ msgid "Or you can reverse the order of comparison with:" -#~ msgstr "O puede revertir el orden de comparación con:" - -#~ msgid "" -#~ "When porting code from Python 2.x to 3.x, the situation can arise when " -#~ "you have the user supplying a comparison function and you need to convert " -#~ "that to a key function. The following wrapper makes that easy to do:" -#~ msgstr "" -#~ "Al migrar código de Python 2.x a 3.x, puede surgir la situación de que el " -#~ "usuario proporciona una función de comparación y necesita convertirla en " -#~ "una función clave. La siguiente envoltura lo hace fácil de hacer:" - -#~ msgid "To convert to a key function, just wrap the old comparison function:" -#~ msgstr "" -#~ "Para convertir a una función clave, simplemente ajuste la antigua función " -#~ "de comparación:" - -#~ msgid "" -#~ "In Python 3.2, the :func:`functools.cmp_to_key` function was added to " -#~ "the :mod:`functools` module in the standard library." -#~ msgstr "" -#~ "En Python 3.2, la función :func:`functools.cmp_to_key` se agregó al " -#~ "módulo :mod:`functools` en la biblioteca estándar." diff --git a/howto/urllib2.po b/howto/urllib2.po index 1e205935c3..39c5f07f3e 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -843,33 +843,3 @@ msgid "" msgstr "" "objeto de apertura de urllib para proxy SSL (método CONNECT): `ASPN Cookbook " "Recipe `_." - -#~ msgid "`Michael Foord `_" -#~ msgstr "`Michael Foord `_" - -#~ msgid "" -#~ "There is a French translation of an earlier revision of this HOWTO, " -#~ "available at `urllib2 - Le Manuel manquant `_." -#~ msgstr "" -#~ "Hay una traducción al francés de una revisión anterior de este HOWTO, " -#~ "disponible en `urllib2 - Le Manuel manquant `_." - -#~ msgid "" -#~ "When you fetch a URL you use an opener (an instance of the perhaps " -#~ "confusingly-named :class:`urllib.request.OpenerDirector`). Normally we " -#~ "have been using the default opener - via ``urlopen`` - but you can create " -#~ "custom openers. Openers use handlers. All the \"heavy lifting\" is done " -#~ "by the handlers. Each handler knows how to open URLs for a particular URL " -#~ "scheme (http, ftp, etc.), or how to handle an aspect of URL opening, for " -#~ "example HTTP redirections or HTTP cookies." -#~ msgstr "" -#~ "Cuando buscas una URL usas un objeto de apertura (una instancia del " -#~ "quizás confusamente llamado :class:`urllib.request.OpenerDirector`). " -#~ "Normalmente hemos estado usando el objeto de apertura por defecto - a " -#~ "través de ``urlopen`` - pero puedes crear objetos de apertura " -#~ "personalizados. Los objetos de apertura usan gestores. Todo el \"trabajo " -#~ "pesado\" es hecho por los gestores. Cada gestor sabe cómo abrir URLs para " -#~ "un esquema particular de URL (http, ftp, etc.), o cómo manejar un aspecto " -#~ "de la apertura de URLs, por ejemplo redirecciones HTTP o cookies HTTP." diff --git a/library/__future__.po b/library/__future__.po index ccf367fe15..83dee50fb9 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -313,6 +313,3 @@ msgstr ":ref:`future`" #: ../Doc/library/__future__.rst:111 msgid "How the compiler treats future imports." msgstr "Cómo trata el compilador las importaciones futuras." - -#~ msgid "3.11" -#~ msgstr "3.11" diff --git a/library/argparse.po b/library/argparse.po index 01b0820170..05c0e02df7 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -2815,25 +2815,3 @@ msgstr "" "Reemplaza el argumento ``version`` del constructor *OptionParser* por una " "llamada a ``parser.add_argument('--version', action='version', version='')``." - -#~ msgid "" -#~ "``'append_const'`` - This stores a list, and appends the value specified " -#~ "by the const_ keyword argument to the list. (Note that the const_ " -#~ "keyword argument defaults to ``None``.) The ``'append_const'`` action is " -#~ "typically useful when multiple arguments need to store constants to the " -#~ "same list. For example::" -#~ msgstr "" -#~ "``'append_const'`` - Esta almacena una lista, y añade el valor " -#~ "especificado por el argumento de palabra clave const_ a la lista. (Nótese " -#~ "que el argumento de palabra clave const_ por defecto es ``None``.) La " -#~ "acción ``'append_const'`` es útil típicamente cuando múltiples argumentos " -#~ "necesitan almacenar constantes a la misma lista. Por ejemplo::" - -#~ msgid "" -#~ "With the ``'store_const'`` and ``'append_const'`` actions, the ``const`` " -#~ "keyword argument must be given. For other actions, it defaults to " -#~ "``None``." -#~ msgstr "" -#~ "Con las acciones ``'store_const'`` y ``'append_const'``, se debe asignar " -#~ "el argumento palabra clave ``const``. Para otras acciones, por defecto es " -#~ "``None``." diff --git a/library/ast.po b/library/ast.po index 8528891240..0b06c76f06 100644 --- a/library/ast.po +++ b/library/ast.po @@ -1870,28 +1870,3 @@ msgstr "" "las diferentes versiones de Python (en múltiples versiones de Python). Parso " "también es capaz de enlistar múltiples errores de sintaxis en tu archivo de " "Python." - -#~ msgid "" -#~ "Safely evaluate an expression node or a string containing a Python " -#~ "literal or container display. The string or node provided may only " -#~ "consist of the following Python literal structures: strings, bytes, " -#~ "numbers, tuples, lists, dicts, sets, booleans, ``None`` and ``Ellipsis``." -#~ msgstr "" -#~ "Evalúa de forma segura un nodo de expresión o una cadena de caracteres " -#~ "que contenga un literal de Python o un visualizador de contenedor. La " -#~ "cadena o nodo proporcionado solo puede consistir en las siguientes " -#~ "estructuras literales de Python: cadenas de caracteres, bytes, números, " -#~ "tuplas, listas, diccionarios, conjuntos, booleanos, ``None`` y " -#~ "``Ellipsis``." - -#~ msgid "" -#~ "This can be used for safely evaluating strings containing Python values " -#~ "from untrusted sources without the need to parse the values oneself. It " -#~ "is not capable of evaluating arbitrarily complex expressions, for example " -#~ "involving operators or indexing." -#~ msgstr "" -#~ "Esto se puede usar para evaluar de forma segura las cadenas de caracteres " -#~ "que contienen valores de Python de fuentes no confiables sin la necesidad " -#~ "de analizar los valores uno mismo. No es capaz de evaluar expresiones " -#~ "complejas arbitrariamente, por ejemplo, que involucran operadores o " -#~ "indexación." diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index 86165b2c96..2cb39002ff 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -344,25 +344,3 @@ msgid "" msgstr "" ":ref:`Habilita el modo depuración ` para obtener el " "seguimiento de pila (*traceback*) donde la tarea fue creada::" - -#~ msgid "" -#~ "There is currently no way to schedule coroutines or callbacks directly " -#~ "from a different process (such as one started with :mod:" -#~ "`multiprocessing`). The :ref:`Event Loop Methods ` " -#~ "section lists APIs that can read from pipes and watch file descriptors " -#~ "without blocking the event loop. In addition, asyncio's :ref:`Subprocess " -#~ "` APIs provide a way to start a process and " -#~ "communicate with it from the event loop. Lastly, the aforementioned :meth:" -#~ "`loop.run_in_executor` method can also be used with a :class:`concurrent." -#~ "futures.ProcessPoolExecutor` to execute code in a different process." -#~ msgstr "" -#~ "Actualmente no hay forma de programar corrutinas o devoluciones de " -#~ "llamada directamente desde un proceso diferente (como uno que comenzó " -#~ "con :mod:`multiprocessing`). La sección :ref:`Event Loop Methods ` enumera las APIs que pueden leer desde las tuberías y ver " -#~ "descriptores de archivos sin bloquear el bucle de eventos. Además, las " -#~ "APIs de asyncio :ref:`Subprocess ` proporcionan una " -#~ "forma de iniciar un proceso y comunicarse con él desde el bucle de " -#~ "eventos. Por último, el método :meth:`loop.run_in_executor` mencionado " -#~ "anteriormente también se puede usar con un :class:`concurrent.futures." -#~ "ProcessPoolExecutor` para ejecutar código en un proceso diferente." diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 9f60166608..a38f4461f7 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -2753,41 +2753,3 @@ msgid "" msgstr "" "Registra gestores para las señales :py:data:`SIGINT` y :py:data:`SIGTERM` " "usando el método :meth:`loop.add_signal_handler`::" - -#~ msgid "" -#~ "The *reuse_address* parameter is no longer supported due to security " -#~ "concerns." -#~ msgstr "" -#~ "El parámetro *reuse_address* ya no es soportado debido a problemas de " -#~ "seguridad." - -#~ msgid "Added *ssl_handshake_timeout* and *start_serving* parameters." -#~ msgstr "Agregados los parámetros *ssl_handshake_timeout* y *start_serving*." - -#~ msgid "The *ssl_handshake_timeout* and *start_serving* parameters." -#~ msgstr "Los parámetros *ssl_handshake_timeout*y *start_serving*." - -#~ msgid "" -#~ "Even though the method was always documented as a coroutine method, " -#~ "before Python 3.7 it returned an :class:`Future`. Since Python 3.7, this " -#~ "is an ``async def`` method." -#~ msgstr "" -#~ "A pesar de que este método siempre fue documentado como un método de " -#~ "corrutina, antes de Python 3.7 retorna un :class:`Future`. Desde Python " -#~ "3.7, este es un método ``async def``." - -#~ msgid "" -#~ "Using an executor that is not an instance of :class:`~concurrent.futures." -#~ "ThreadPoolExecutor` is deprecated and will trigger an error in Python 3.9." -#~ msgstr "" -#~ "Usar un ejecutor que no es una instancia de :class:`~concurrent.futures." -#~ "ThreadPoolExecutor` es obsoleto y disparará un error en Python 3.9." - -#~ msgid "" -#~ "The default asyncio event loop on **Windows** does not support " -#~ "subprocesses. See :ref:`Subprocess Support on Windows ` for details." -#~ msgstr "" -#~ "El bucle de eventos predeterminado de asyncio en **Windows** no soporta " -#~ "subprocesos. Vea :ref:`Soporte de subprocesos en Windows ` para mas detalles." diff --git a/library/asyncio-exceptions.po b/library/asyncio-exceptions.po index b48b624a55..f3d719a416 100644 --- a/library/asyncio-exceptions.po +++ b/library/asyncio-exceptions.po @@ -113,10 +113,3 @@ msgstr "Lanzado por :ref:`asyncio stream APIs `." #: ../Doc/library/asyncio-exceptions.rst:78 msgid "The total number of to be consumed bytes." msgstr "El número total de bytes que se consumirán." - -#~ msgid "" -#~ "This exception is different from the builtin :exc:`TimeoutError` " -#~ "exception." -#~ msgstr "" -#~ "Esta excepción es diferente a la excepción incorporada :exc:" -#~ "`TimeoutError`." diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index 79f97b63b3..e85d0a1dde 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -489,22 +489,3 @@ msgstr "" "Para implementar una nueva política de bucle de eventos, se recomienda " "heredar :class:`DefaultEventLoopPolicy` y sobreescribir los métodos para los " "cuales se desea una conducta personalizada, por ejemplo::" - -#~ msgid "" -#~ "An event loop policy is a global per-process object that controls the " -#~ "management of the event loop. Each event loop has a default policy, which " -#~ "can be changed and customized using the policy API." -#~ msgstr "" -#~ "Una política del bucle de eventos es un objeto por proceso que controla " -#~ "la administración del bucle de eventos. Cada bucle de eventos tiene una " -#~ "política por defecto, que puede ser cambiada y editada usando la política " -#~ "de API." - -#~ msgid "" -#~ "A policy defines the notion of *context* and manages a separate event " -#~ "loop per context. The default policy defines *context* to be the current " -#~ "thread." -#~ msgstr "" -#~ "Una política define la noción de *contexto* y administra un bucle de " -#~ "eventos separado por contexto. La política por defecto define un " -#~ "*contexto* como el estado actual." diff --git a/library/asyncio-queue.po b/library/asyncio-queue.po index 3ac60c0842..bd3e063ad1 100644 --- a/library/asyncio-queue.po +++ b/library/asyncio-queue.po @@ -257,13 +257,3 @@ msgid "" msgstr "" "Las colas pueden ser usadas para distribuir cargas de trabajo entre " "múltiples tareas concurrentes::" - -#~ msgid "" -#~ "The ``loop`` parameter. This function has been implicitly getting the " -#~ "current running loop since 3.7. See :ref:`What's New in 3.10's Removed " -#~ "section ` for more information." -#~ msgstr "" -#~ "El parámetro ``loop``. Esta función ha estado obteniendo implícitamente " -#~ "el bucle actual en ejecución desde 3.7. Consultar :ref:`la sección " -#~ "Eliminado en ¿Qué hay de nuevo en 3.10? ` para más " -#~ "información." diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 0a410c1be9..fbb37b4ae3 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -565,18 +565,3 @@ msgstr "" "El ejemplo de :ref:`observar un descriptor de archivo para leer eventos " "` utiliza el método :meth:`loop.add_reader` de " "bajo nivel para ver un descriptor de archivo." - -#~ msgid "" -#~ "The ``loop`` parameter. This function has been implicitly getting the " -#~ "current running loop since 3.7. See :ref:`What's New in 3.10's Removed " -#~ "section ` for more information." -#~ msgstr "" -#~ "El parámetro ``loop``. Esta función ha estado obteniendo implícitamente " -#~ "el bucle en ejecución actual desde 3.7. Consulte :ref:`What's New in " -#~ "3.10's Removed section ` para obtener más " -#~ "información." - -#~ msgid "The *path* parameter can now be a :term:`path-like object`." -#~ msgstr "" -#~ "El parámetro *path* ahora puede ser un objeto similar a una ruta (:term:" -#~ "`path-like object`)." diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index 2741ebfb98..72eb30132a 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -567,13 +567,3 @@ msgid "" msgstr "" "Véase también los :ref:`ejemplos de prueba " "` escritos usando APIs de bajo nivel." - -#~ msgid "" -#~ "The ``loop`` parameter. This function has been implicitly getting the " -#~ "current running loop since 3.7. See :ref:`What's New in 3.10's Removed " -#~ "section ` for more information." -#~ msgstr "" -#~ "El parámetro ``loop``. Esta función ha estado obteniendo implícitamente " -#~ "el bucle actual en ejecución desde 3.7. Consultar :ref:`la sección " -#~ "Eliminado en ¿Qué hay de nuevo en 3.10? ` para más " -#~ "información." diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index 7cfde9c877..17d45aec9a 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -592,12 +592,3 @@ msgstr "" "Adquirir un bloqueo usando ``await lock`` o ``yield from lock`` o una " "declaración :keyword:`with` (``with await lock``, ``with (yield from " "lock)``) se eliminó . En su lugar, use ``async with lock``." - -#~ msgid "" -#~ "The ``loop`` parameter. This class has been implicitly getting the " -#~ "current running loop since 3.7. See :ref:`What's New in 3.10's Removed " -#~ "section ` for more information." -#~ msgstr "" -#~ "El parámetro ``loop``. Desde 3.7 esta clase ha obtenido implícitamente el " -#~ "bucle de eventos en ejecución. Véase :ref:`la sección \"Removido\" de Qué " -#~ "hay de nuevo en 3.10 ` para más información." diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 8488288536..5c4c83e5a7 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -1474,167 +1474,3 @@ msgid "" "This method is used by asyncio's internals and isn't expected to be used by " "end-user code. See :meth:`uncancel` for more details." msgstr "" - -#~ msgid "" -#~ "asyncio also supports legacy :ref:`generator-based " -#~ "` coroutines." -#~ msgstr "" -#~ "asyncio también es compatible con corrutinas heredadas :ref:`generator-" -#~ "based `." - -#~ msgid "Running an asyncio Program" -#~ msgstr "Ejecutando un programa asyncio" - -#~ msgid "Execute the :term:`coroutine` *coro* and return the result." -#~ msgstr "Ejecuta la :term:`coroutine` *coro* y retornando el resultado." - -#~ msgid "" -#~ "This function runs the passed coroutine, taking care of managing the " -#~ "asyncio event loop, *finalizing asynchronous generators*, and closing the " -#~ "threadpool." -#~ msgstr "" -#~ "Esta función ejecuta la corrutina pasada, encargándose de administrar el " -#~ "bucle de eventos asyncio, *finalizing asynchronous generators* y cerrando " -#~ "el threadpool." - -#~ msgid "" -#~ "This function cannot be called when another asyncio event loop is running " -#~ "in the same thread." -#~ msgstr "" -#~ "Esta función no se puede llamar cuando otro bucle de eventos asyncio se " -#~ "está ejecutando en el mismo hilo." - -#~ msgid "If *debug* is ``True``, the event loop will be run in debug mode." -#~ msgstr "" -#~ "Si *debug* es ``True``, el bucle de eventos se ejecutará en modo debug." - -#~ msgid "" -#~ "This function always creates a new event loop and closes it at the end. " -#~ "It should be used as a main entry point for asyncio programs, and should " -#~ "ideally only be called once." -#~ msgstr "" -#~ "Esta función siempre crea un nuevo ciclo de eventos y lo cierra al final. " -#~ "Debe usarse como un punto de entrada principal para los programas " -#~ "asyncio, e idealmente solo debe llamarse una vez." - -#~ msgid "Updated to use :meth:`loop.shutdown_default_executor`." -#~ msgstr "Actualizado para usar :meth:`loop.shutdown_default_executor`." - -#~ msgid "" -#~ "The source code for ``asyncio.run()`` can be found in :source:`Lib/" -#~ "asyncio/runners.py`." -#~ msgstr "" -#~ "El código fuente para ``asyncio.run()`` se puede encontrar en :source:" -#~ "`Lib/asyncio/runners.py`." - -#~ msgid "" -#~ "This function has been **added in Python 3.7**. Prior to Python 3.7, the " -#~ "low-level :func:`asyncio.ensure_future` function can be used instead::" -#~ msgstr "" -#~ "Esta función se ha **añadido en Python 3.7**. Antes de Python 3.7, la " -#~ "función de bajo nivel :func:`asyncio.ensure_future` se puede utilizar en " -#~ "su lugar::" - -#~ msgid "" -#~ "The ``loop`` parameter. This function has been implicitly getting the " -#~ "current running loop since 3.7. See :ref:`What's New in 3.10's Removed " -#~ "section ` for more information." -#~ msgstr "" -#~ "El parámetro ``loop``. Esta función ha estado obteniendo implícitamente " -#~ "el ciclo en ejecución actual desde 3.7. Consulte :ref:`What's New in " -#~ "3.10's Removed section ` para obtener más " -#~ "información." - -#~ msgid "" -#~ "If any awaitable in *aws* is a coroutine, it is automatically scheduled " -#~ "as a Task. Passing coroutines objects to ``wait()`` directly is " -#~ "deprecated as it leads to :ref:`confusing behavior " -#~ "`." -#~ msgstr "" -#~ "Si cualquier aguardable en *aws* es una corrutina, se programa " -#~ "automáticamente como una Tarea. El paso de objetos corrutinas a " -#~ "``wait()`` directamente está en desuso, ya que conduce a :ref:" -#~ "`comportamiento confuso `." - -#~ msgid "" -#~ "``wait()`` schedules coroutines as Tasks automatically and later returns " -#~ "those implicitly created Task objects in ``(done, pending)`` sets. " -#~ "Therefore the following code won't work as expected::" -#~ msgstr "" -#~ "``wait()`` programa las corrutinas como Tareas automáticamente y " -#~ "posteriormente retorna los objetos Tarea creados implícitamente en " -#~ "conjuntos ``(done, pending)``. Por lo tanto, el código siguiente no " -#~ "funcionará como se esperaba::" - -#~ msgid "Here is how the above snippet can be fixed::" -#~ msgstr "Aquí es cómo se puede arreglar el fragmento de código anterior::" - -#~ msgid "Generator-based Coroutines" -#~ msgstr "Corrutinas basadas en generadores" - -#~ msgid "" -#~ "Support for generator-based coroutines is **deprecated** and is scheduled " -#~ "for removal in Python 3.10." -#~ msgstr "" -#~ "La compatibilidad con corrutinas basadas en generadores está **en " -#~ "desuso** y está programada para su eliminación en Python 3.10." - -#~ msgid "" -#~ "Generator-based coroutines predate async/await syntax. They are Python " -#~ "generators that use ``yield from`` expressions to await on Futures and " -#~ "other coroutines." -#~ msgstr "" -#~ "Las corrutinas basadas en generadores son anteriores a la sintaxis async/" -#~ "await. Son generadores de Python que utilizan expresiones ``yield from`` " -#~ "para esperar en Futures y otras corrutinas." - -#~ msgid "" -#~ "Generator-based coroutines should be decorated with :func:`@asyncio." -#~ "coroutine `, although this is not enforced." -#~ msgstr "" -#~ "Las corrutinas basadas en generadores deben estar decoradas con :func:" -#~ "`@asyncio.coroutine `, aunque esto no se aplica." - -#~ msgid "Decorator to mark generator-based coroutines." -#~ msgstr "Decorador para marcar corrutinas basadas en generadores." - -#~ msgid "" -#~ "This decorator enables legacy generator-based coroutines to be compatible " -#~ "with async/await code::" -#~ msgstr "" -#~ "Este decorador permite que las corrutinas basadas en generadores de " -#~ "versiones anteriores (*legacy*) sean compatibles con el código async/" -#~ "await::" - -#~ msgid "" -#~ "This decorator should not be used for :keyword:`async def` coroutines." -#~ msgstr "" -#~ "Este decorador no debe utilizarse para corrutinas :keyword:`async def`." - -#~ msgid "Use :keyword:`async def` instead." -#~ msgstr "Usar :keyword:`async def` en su lugar." - -#~ msgid "Return ``True`` if *obj* is a :ref:`coroutine object `." -#~ msgstr "" -#~ "Retorna ``True`` si *obj* es un :ref:`coroutine object `." - -#~ msgid "" -#~ "This method is different from :func:`inspect.iscoroutine` because it " -#~ "returns ``True`` for generator-based coroutines." -#~ msgstr "" -#~ "Este método es diferente de :func:`inspect.iscoroutine` porque retorna " -#~ "``True`` para corrutinas basadas en generadores." - -#~ msgid "" -#~ "Return ``True`` if *func* is a :ref:`coroutine function `." -#~ msgstr "" -#~ "Retorna ``True`` si *func* es una :ref:`coroutine function `." - -#~ msgid "" -#~ "This method is different from :func:`inspect.iscoroutinefunction` because " -#~ "it returns ``True`` for generator-based coroutine functions decorated " -#~ "with :func:`@coroutine `." -#~ msgstr "" -#~ "Este método es diferente de :func:`inspect.iscoroutinefunction` porque " -#~ "retorna ``True`` para funciones de corrutinas basadas en generadores " -#~ "decoradas con :func:`@coroutine `." diff --git a/library/bdb.po b/library/bdb.po index 3fcf14d4bf..f6b2f5e152 100755 --- a/library/bdb.po +++ b/library/bdb.po @@ -791,85 +791,3 @@ msgid "Start debugging with a :class:`Bdb` instance from caller's frame." msgstr "" "Inicia la depuración usando una instancia de :class:`Bdb`, partiendo desde " "el marco de ejecución que realiza la llamada." - -#~ msgid "If it is temporary or not." -#~ msgstr "Si es temporal o no." - -#~ msgid "The condition that causes a break." -#~ msgstr "La condición que causa la interrupción." - -#~ msgid "If it must be ignored the next N times." -#~ msgstr "Si debe ignorarse las próximas N veces." - -#~ msgid "The breakpoint hit count." -#~ msgstr "El recuento de alcances del punto de interrupción." - -#~ msgid "" -#~ "Auxiliary method for getting a filename in a canonical form, that is, as " -#~ "a case-normalized (on case-insensitive filesystems) absolute path, " -#~ "stripped of surrounding angle brackets." -#~ msgstr "" -#~ "Método auxiliar para obtener el nombre del archivo en su forma canónica, " -#~ "es decir, como una ruta absoluta normalizada entre mayúsculas y " -#~ "minúsculas (en sistemas de archivos que no distinguen entre ambas) y " -#~ "despojada de los corchetes angulares circundantes." - -#~ msgid "" -#~ "This method checks if the *frame* is somewhere below :attr:`botframe` in " -#~ "the call stack. :attr:`botframe` is the frame in which debugging started." -#~ msgstr "" -#~ "Este método comprueba si el *frame* está en cualquier posición debajo de :" -#~ "attr:`botframe` en la pila de llamadas. :attr:`botframe` es el marco de " -#~ "ejecución en el que comenzó la depuración." - -#~ msgid "" -#~ "This method checks if there is a breakpoint in the filename and line " -#~ "belonging to *frame* or, at least, in the current function. If the " -#~ "breakpoint is a temporary one, this method deletes it." -#~ msgstr "" -#~ "Este método comprueba si hay un punto de interrupción en el nombre de " -#~ "archivo y la línea pertenecientes a *frame* o, al menos, en la función " -#~ "actual. Si el punto de interrupción es temporal, este método lo elimina." - -#~ msgid "" -#~ "This method checks if there is a breakpoint in the filename of the " -#~ "current frame." -#~ msgstr "" -#~ "Este método comprueba si hay un punto de interrupción en el nombre de " -#~ "archivo del marco de ejecución actual." - -#~ msgid "Delete all existing breakpoints." -#~ msgstr "Elimina todos los puntos de interrupción que existen." - -#~ msgid "" -#~ "Get a list of records for a frame and all higher (calling) and lower " -#~ "frames, and the size of the higher part." -#~ msgstr "" -#~ "Obtiene una lista de registros para un marco de ejecución y todos los " -#~ "marcos de ejecución superiores (que han ocasionado la llamadas previas) e " -#~ "inferiores, además del tamaño de la parte superior." - -#~ msgid "" -#~ "If it was set via line number, it checks if ``b.line`` is the same as the " -#~ "one in the frame also passed as argument. If the breakpoint was set via " -#~ "function name, we have to check we are in the right frame (the right " -#~ "function) and if we are in its first executable line." -#~ msgstr "" -#~ "Si se estableció usando el número de línea, verifica si ``b.line`` es el " -#~ "mismo que el del marco de ejecución que también se pasó como argumento. " -#~ "Si el punto de interrupción se estableció mediante el nombre de la " -#~ "función, tenemos que comprobar que estamos en el cuadro de ejecución " -#~ "correcto (la función correcta) y si estamos en su primera línea " -#~ "ejecutable." - -#~ msgid "" -#~ "Determine if there is an effective (active) breakpoint at this line of " -#~ "code. Return a tuple of the breakpoint and a boolean that indicates if it " -#~ "is ok to delete a temporary breakpoint. Return ``(None, None)`` if there " -#~ "is no matching breakpoint." -#~ msgstr "" -#~ "Determina si hay un punto de interrupción efectivo (activo) en esta línea " -#~ "de código. Retorna una tupla con el punto de interrupción y un valor " -#~ "booleano que indica si es correcto eliminar un punto de interrupción " -#~ "temporal. Retorna ``(None, None)`` si no hay un punto de interrupción " -#~ "coincidente." diff --git a/library/binascii.po b/library/binascii.po index 0e791c1901..44fcf21fce 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -316,60 +316,3 @@ msgid "Support for quoted-printable encoding used in MIME email messages." msgstr "" "Soporte para codificación imprimible entre comillas utilizada en mensajes de " "correo electrónico MIME." - -#~ msgid "" -#~ "Convert binhex4 formatted ASCII data to binary, without doing RLE-" -#~ "decompression. The string should contain a complete number of binary " -#~ "bytes, or (in case of the last portion of the binhex4 data) have the " -#~ "remaining bits zero." -#~ msgstr "" -#~ "Convierte datos ASCII con formato binhex4 a binario, sin descomprimir " -#~ "RLE. La cadena debe contener un número completo de bytes binarios o (en " -#~ "el caso de la última porción de los datos binhex4) tener los bits " -#~ "restantes cero." - -#~ msgid "" -#~ "Perform RLE-decompression on the data, as per the binhex4 standard. The " -#~ "algorithm uses ``0x90`` after a byte as a repeat indicator, followed by a " -#~ "count. A count of ``0`` specifies a byte value of ``0x90``. The routine " -#~ "returns the decompressed data, unless data input data ends in an orphaned " -#~ "repeat indicator, in which case the :exc:`Incomplete` exception is raised." -#~ msgstr "" -#~ "Realiza descompresión RLE en los datos, según el estándar binhex4. El " -#~ "algoritmo usa ``0x90`` después de un byte como indicador de repetición, " -#~ "seguido de un conteo. Un recuento de ``0`` especifica un valor de byte de " -#~ "``0x90``. La rutina retorna los datos descomprimidos, a menos que los " -#~ "datos de entrada de datos terminen en un indicador de repetición " -#~ "huérfano, en cuyo caso se genera la excepción :exc:`Incomplete`." - -#~ msgid "Accept only bytestring or bytearray objects as input." -#~ msgstr "Acepta solo objetos bytestring o bytearray como entrada." - -#~ msgid "" -#~ "Perform binhex4 style RLE-compression on *data* and return the result." -#~ msgstr "" -#~ "Realiza la compresión RLE de estilo binhex4 en *data* y retorna el " -#~ "resultado." - -#~ msgid "" -#~ "Perform hexbin4 binary-to-ASCII translation and return the resulting " -#~ "string. The argument should already be RLE-coded, and have a length " -#~ "divisible by 3 (except possibly the last fragment)." -#~ msgstr "" -#~ "Realiza la traducción de binario hexbin4 a ASCII y retorna la cadena " -#~ "resultante. El argumento ya debe estar codificado en RLE y tener una " -#~ "longitud divisible por 3 (excepto posiblemente por el último fragmento)." - -#~ msgid "" -#~ "The result is always unsigned. To generate the same numeric value across " -#~ "all Python versions and platforms, use ``crc32(data) & 0xffffffff``." -#~ msgstr "" -#~ "El resultado siempre está sin firmar. Para generar el mismo valor " -#~ "numérico en todas las versiones y plataformas de Python, use " -#~ "``crc32(data) & 0xffffffff``." - -#~ msgid "Module :mod:`binhex`" -#~ msgstr "Módulo :mod:`binhex`" - -#~ msgid "Support for the binhex format used on the Macintosh." -#~ msgstr "Soporte para el formato *binhex* utilizado en Macintosh." diff --git a/library/bisect.po b/library/bisect.po index dfbcd01df1..2f16352202 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -290,12 +290,3 @@ msgstr "" "Para evitar llamadas repetidas a la función clave, cuando ésta usa muchos " "recursos, se puede buscar en una lista de claves previamente calculadas para " "encontrar el índice de un registro::" - -#~ msgid "" -#~ "*key* specifies a :term:`key function` of one argument that is used to " -#~ "extract a comparison key from each input element. The default value is " -#~ "``None`` (compare the elements directly)." -#~ msgstr "" -#~ "*key* especifica un :term:`key function` de un argumento que se utiliza " -#~ "para extraer una clave de comparación de cada elemento de entrada. El " -#~ "valor predeterminado es ``None`` (compare los elementos directamente)." diff --git a/library/calendar.po b/library/calendar.po index 21de7bd784..8080f9dace 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -610,16 +610,3 @@ msgstr "Módulo :mod:`time`" #: ../Doc/library/calendar.rst:427 msgid "Low-level time related functions." msgstr "Funciones de bajo nivel relacionadas con el tiempo." - -#~ msgid "" -#~ "This subclass of :class:`HTMLCalendar` can be passed a locale name in the " -#~ "constructor and will return month and weekday names in the specified " -#~ "locale. If this locale includes an encoding all strings containing month " -#~ "and weekday names will be returned as unicode." -#~ msgstr "" -#~ "Esta subclase de :class:`TextCalendar` se le puede pasar un nombre de " -#~ "configuración regional en el constructor y retornará los nombres de los " -#~ "meses y días de la semana en la configuración regional especificada. Si " -#~ "esta configuración regional incluye una codificación, todas las cadenas " -#~ "que contengan los nombres de los meses y días de la semana serán " -#~ "retornadas como Unicode." diff --git a/library/codecs.po b/library/codecs.po index e598f3a819..a6f9eba5fe 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -3339,40 +3339,3 @@ msgstr "" "primera escritura en el flujo de bytes). En la decodificación, se omitirá " "una lista de materiales opcional codificada en UTF-8 al comienzo de los " "datos." - -#~ msgid "" -#~ "Replace with a suitable replacement marker; Python will use the official " -#~ "``U+FFFD`` REPLACEMENT CHARACTER for the built-in codecs on decoding, and " -#~ "'?' on encoding. Implemented in :func:`replace_errors`." -#~ msgstr "" -#~ "Reemplaza con un marcador de reemplazo adecuado; Python utilizará el " -#~ "CARACTER DE REEMPLAZO ``U+FFFD`` oficial para los códecs integrados en la " -#~ "decodificación, y '?' en la codificación Implementado en :func:" -#~ "`replace_errors`." - -#~ msgid "" -#~ "Replace with backslashed escape sequences. Implemented in :func:" -#~ "`backslashreplace_errors`." -#~ msgstr "" -#~ "Reemplaza con secuencias de escape con barra invertida. Implementado en :" -#~ "func:`backslashreplace_errors`." - -#~ msgid "" -#~ "Implements the ``'replace'`` error handling (for :term:`text encodings " -#~ "` only): substitutes ``'?'`` for encoding errors (to be " -#~ "encoded by the codec), and ``'\\ufffd'`` (the Unicode replacement " -#~ "character) for decoding errors." -#~ msgstr "" -#~ "Implementa el manejo de errores ``'reemplazar'`` (para :term:" -#~ "`codificaciones de texto ` solamente): sustituye ``'?'`` " -#~ "por errores de codificación (que serán codificados por el códec), y ``'\\ " -#~ "ufffd'`` (el carácter de reemplazo Unicode) por errores de decodificación." - -#~ msgid "" -#~ "Implements the ``'backslashreplace'`` error handling (for :term:`text " -#~ "encodings ` only): malformed data is replaced by a " -#~ "backslashed escape sequence." -#~ msgstr "" -#~ "Implementa el manejo de errores ``'backslashreplace'`` (para :term:" -#~ "`codificaciones de texto `): los datos con formato " -#~ "incorrecto se reemplazan por una secuencia de escape con barra invertida." diff --git a/library/collections.po b/library/collections.po index 7d4079d668..6c4c46a340 100644 --- a/library/collections.po +++ b/library/collections.po @@ -1831,15 +1831,3 @@ msgid "" msgstr "" "Nuevos métodos ``__getnewargs__``, ``__rmod__``, ``casefold``, " "``format_map``, ``isprintable``, y ``maketrans``." - -#~ msgid "" -#~ "Algorithmically, :class:`OrderedDict` can handle frequent reordering " -#~ "operations better than :class:`dict`. This makes it suitable for " -#~ "tracking recent accesses (for example in an `LRU cache `_)." -#~ msgstr "" -#~ "Algorítmicamente, :class:`OrderedDict` puede manejar operaciones " -#~ "frecuentes de reordenamiento mejor que :class:`dict`. Esto lo hace " -#~ "adecuado para rastrear accesos recientes (por ejemplo, en un `cache LRU " -#~ "`_)." diff --git a/library/copyreg.po b/library/copyreg.po index ddd43b259b..1dbce3676d 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -97,15 +97,3 @@ msgid "" msgstr "" "El siguiente ejemplo pretende mostrar cómo registrar una función pickle y " "cómo se utilizará:" - -#~ msgid "" -#~ "The optional *constructor* parameter, if provided, is a callable object " -#~ "which can be used to reconstruct the object when called with the tuple of " -#~ "arguments returned by *function* at pickling time. :exc:`TypeError` will " -#~ "be raised if *object* is a class or *constructor* is not callable." -#~ msgstr "" -#~ "El parámetro opcional *constructor*, si se proporciona, es un objeto " -#~ "invocable el cual, que puede ser usado para reconstruir el objeto cuando " -#~ "se llama con la tupla de argumentos retornados por la *function* en el " -#~ "momento de pickling. La excepción :exc:`TypeError` se lanzará si el " -#~ "*objeto* es una clase o si el *constructor* no es invocable." diff --git a/library/ctypes.po b/library/ctypes.po index 4ba8b72c2d..27ed91ac06 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -3735,60 +3735,3 @@ msgid "" msgstr "" "Retorna el objeto al que el puntero apunta. Asignando a este atributo cambia " "el puntero para que apunte al objeto asignado." - -#~ msgid "" -#~ "The :func:`create_string_buffer` function replaces the :func:`c_buffer` " -#~ "function (which is still available as an alias), as well as the :func:" -#~ "`c_string` function from earlier ctypes releases. To create a mutable " -#~ "memory block containing unicode characters of the C type :c:type:" -#~ "`wchar_t` use the :func:`create_unicode_buffer` function." -#~ msgstr "" -#~ "La función :func:`create_string_buffer` reemplaza a la función :func:" -#~ "`c_buffer` (que todavía está disponible como un alias), así como a la " -#~ "función :func:`c_string` de versiones anteriores de ctypes. Para crear un " -#~ "bloque de memoria mutable que contenga caracteres unicode del tipo C :c:" -#~ "type:`wchar_t` utilice la función :func:`create_unicode_buffer`." - -#~ msgid "" -#~ "On Windows CE only the standard calling convention is used, for " -#~ "convenience the :class:`WinDLL` and :class:`OleDLL` use the standard " -#~ "calling convention on this platform." -#~ msgstr "" -#~ "En Windows CE sólo se utiliza la convención de llamadas estándar, para " -#~ "mayor comodidad las :class:`WinDLL` y :class:`OleDLL` utilizan la " -#~ "convención de llamadas estándar en esta plataforma." - -#~ msgid "" -#~ "Windows only: The returned function prototype creates functions that use " -#~ "the ``stdcall`` calling convention, except on Windows CE where :func:" -#~ "`WINFUNCTYPE` is the same as :func:`CFUNCTYPE`. The function will " -#~ "release the GIL during the call. *use_errno* and *use_last_error* have " -#~ "the same meaning as above." -#~ msgstr "" -#~ "Sólo Windows: El prototipo de función retornado crea funciones que usan " -#~ "la convención de llamada ``stdcall``, excepto en Windows CE donde :func:" -#~ "`WINFUNCTYPE` es lo mismo que :func:`CFUNCTYPE`. La función lanzará el " -#~ "GIL durante la llamada. *use_errno* y *use_last_error* tienen el mismo " -#~ "significado que arriba." - -#~ msgid "" -#~ "Represents the C :c:type:`signed int` datatype. The constructor accepts " -#~ "an optional integer initializer; no overflow checking is done. On " -#~ "platforms where ``sizeof(int) == sizeof(long)`` it is an alias to :class:" -#~ "`c_long`." -#~ msgstr "" -#~ "Representa el tipo de datos C :c:type:`signed int`. El constructor acepta " -#~ "un inicializador entero opcional; no se hace ninguna comprobación de " -#~ "desbordamiento. En plataformas donde ``sizeof(int) == sizeof(long)`` es " -#~ "un alias de :class:`c_long`." - -#~ msgid "" -#~ "Represents the C :c:type:`unsigned int` datatype. The constructor " -#~ "accepts an optional integer initializer; no overflow checking is done. " -#~ "On platforms where ``sizeof(int) == sizeof(long)`` it is an alias for :" -#~ "class:`c_ulong`." -#~ msgstr "" -#~ "Representa el tipo de datos C :c:type:`unsigned int`. El constructor " -#~ "acepta un inicializador entero opcional; no se hace ninguna comprobación " -#~ "de desbordamiento. En plataformas donde ``sizeof(int) == sizeof(long)`` " -#~ "es un alias para :class:`c_ulong`." diff --git a/library/curses.po b/library/curses.po index 944d0f1db5..dd076e0272 100644 --- a/library/curses.po +++ b/library/curses.po @@ -3887,21 +3887,3 @@ msgstr "" "coloque en un espacio en blanco final va hasta el final de esa línea, y los " "espacios en blanco finales son despejados cuando se recopila el contenido de " "la ventana." - -#~ msgid "" -#~ "Since version 5.4, the ncurses library decides how to interpret non-ASCII " -#~ "data using the ``nl_langinfo`` function. That means that you have to " -#~ "call :func:`locale.setlocale` in the application and encode Unicode " -#~ "strings using one of the system's available encodings. This example uses " -#~ "the system's default encoding::" -#~ msgstr "" -#~ "Desde la versión 5.4, la librería *ncurses* decide cómo interpretar los " -#~ "datos no ASCII usando la función ``nl_langinfo``. Eso significa que tú " -#~ "tienes que llamar a :func:`locate.setlocate` en la aplicación y codificar " -#~ "las cadenas Unicode usando una de las codificaciones disponibles del " -#~ "sistema. Este ejemplo usa la codificación del sistema por defecto::" - -#~ msgid "Then use *code* as the encoding for :meth:`str.encode` calls." -#~ msgstr "" -#~ "Entonces usa *code* como la codificación para las llamadas :meth:`str." -#~ "encode`." diff --git a/library/decimal.po b/library/decimal.po index 6e709ce337..6dd19936cd 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -2857,8 +2857,3 @@ msgid "" msgstr "" "Este enfoque ahora funciona para todos los resultados exactos excepto para " "las potencias no enteras. También retro-portado a 3.7 y 3.8." - -#~ msgid "Classmethod that converts a float to a decimal number, exactly." -#~ msgstr "" -#~ "Método de clase que convierte un flotante en un número decimal, de forma " -#~ "exacta." diff --git a/library/dis.po b/library/dis.po index 6ed45c22b3..e61d1c8928 100644 --- a/library/dis.po +++ b/library/dis.po @@ -1832,266 +1832,3 @@ msgstr "Secuencia de códigos de bytes que acceden a una variable local." #: ../Doc/library/dis.rst:1417 msgid "Sequence of bytecodes of Boolean operations." msgstr "Secuencia de bytecodes de operaciones booleanas." - -#~ msgid "Swaps the two top-most stack items." -#~ msgstr "Intercambia los dos elementos más apilados." - -#~ msgid "" -#~ "Lifts second and third stack item one position up, moves top down to " -#~ "position three." -#~ msgstr "" -#~ "Levanta el segundo y tercer elemento de la pila una posición hacia " -#~ "arriba, mueve el elemento superior hacia abajo a la posición tres." - -#~ msgid "" -#~ "Lifts second, third and fourth stack items one position up, moves top " -#~ "down to position four." -#~ msgstr "" -#~ "Eleva los elementos de la segunda, tercera y cuarta pila una posición " -#~ "hacia arriba, se mueve de arriba hacia abajo a la posición cuatro." - -#~ msgid "Duplicates the reference on top of the stack." -#~ msgstr "Duplica la referencia en la parte superior de la pila." - -#~ msgid "" -#~ "Duplicates the two references on top of the stack, leaving them in the " -#~ "same order." -#~ msgstr "" -#~ "Duplica las dos referencias en la parte superior de la pila, dejándolas " -#~ "en el mismo orden." - -#~ msgid "**Binary operations**" -#~ msgstr "**Operaciones binarias**" - -#~ msgid "Implements ``TOS = TOS1 ** TOS``." -#~ msgstr "Implementa ``TOS = TOS1 ** TOS``." - -#~ msgid "Implements ``TOS = TOS1 * TOS``." -#~ msgstr "Implementa ``TOS = TOS1 * TOS``." - -#~ msgid "Implements ``TOS = TOS1 @ TOS``." -#~ msgstr "Implementa ``TOS = TOS1 @ TOS``." - -#~ msgid "Implements ``TOS = TOS1 // TOS``." -#~ msgstr "Implementa ``TOS = TOS1 // TOS``." - -#~ msgid "Implements ``TOS = TOS1 / TOS``." -#~ msgstr "Implementa ``TOS = TOS1 / TOS``." - -#~ msgid "Implements ``TOS = TOS1 % TOS``." -#~ msgstr "Implementa ``TOS = TOS1 % TOS``." - -#~ msgid "Implements ``TOS = TOS1 + TOS``." -#~ msgstr "Implementa ``TOS = TOS1 + TOS``." - -#~ msgid "Implements ``TOS = TOS1 - TOS``." -#~ msgstr "Implementa ``TOS = TOS1 - TOS``." - -#~ msgid "Implements ``TOS = TOS1 << TOS``." -#~ msgstr "Implementa ``TOS = TOS1 << TOS``." - -#~ msgid "Implements ``TOS = TOS1 >> TOS``." -#~ msgstr "Implementa ``TOS = TOS1 >> TOS``." - -#~ msgid "Implements ``TOS = TOS1 & TOS``." -#~ msgstr "Implementa ``TOS = TOS1 & TOS``." - -#~ msgid "Implements ``TOS = TOS1 ^ TOS``." -#~ msgstr "Implementa ``TOS = TOS1 ^ TOS``." - -#~ msgid "Implements ``TOS = TOS1 | TOS``." -#~ msgstr "Implementa ``TOS = TOS1 | TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 ** TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 ** TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 * TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 * TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 @ TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 @ TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 // TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 // TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 / TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 / TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 % TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 % TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 + TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 + TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 - TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 - TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 << TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 << TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 >> TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 >> TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 & TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 & TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 ^ TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 ^ TOS``." - -#~ msgid "Implements in-place ``TOS = TOS1 | TOS``." -#~ msgstr "Implementa en su lugar ``TOS = TOS1 | TOS``." - -#~ msgid "Creates a new frame object." -#~ msgstr "Crea un nuevo objeto marco." - -#~ msgid "" -#~ "Pops TOS and delegates to it as a subiterator from a :term:`generator`." -#~ msgstr "" -#~ "Desapila TOS y delega en él como un subiterador de un :term:`generator`." - -#~ msgid "" -#~ "Removes one block from the block stack. Per frame, there is a stack of " -#~ "blocks, denoting :keyword:`try` statements, and such." -#~ msgstr "" -#~ "Elimina un bloque de la pila de bloques. Por cuadro, hay una pila de " -#~ "bloques, que denota declaraciones :keyword:`try`, y tal." - -#~ msgid "" -#~ "Removes one block from the block stack. The popped block must be an " -#~ "exception handler block, as implicitly created when entering an except " -#~ "handler. In addition to popping extraneous values from the frame stack, " -#~ "the last three popped values are used to restore the exception state." -#~ msgstr "" -#~ "Elimina un bloque de la pila de bloques. El bloque desapilado debe ser un " -#~ "bloque de controlador de excepción, como se crea implícitamente al " -#~ "ingresar un controlador de excepción. Además de desapilar valores " -#~ "extraños de la pila de cuadros, los últimos tres valores desapilados se " -#~ "utilizan para restaurar el estado de excepción." - -#~ msgid "" -#~ "TOS is a tuple of mapping keys, and TOS1 is the match subject. Replace " -#~ "TOS with a :class:`dict` formed from the items of TOS1, but without any " -#~ "of the keys in TOS." -#~ msgstr "" -#~ "TOS es una tuple de llaves de mapeo, y TOS1 es el sujeto de la " -#~ "coincidencia. Reemplaza TOS con un :class:`dict` formado por los ítems de " -#~ "TOS1, pero sin ninguna de las llaves en TOS." - -#~ msgid "All of the following opcodes use their arguments." -#~ msgstr "Todos los siguientes códigos de operación utilizan sus argumentos." - -#~ msgid "" -#~ "Tests whether the second value on the stack is an exception matching TOS, " -#~ "and jumps if it is not. Pops two values from the stack." -#~ msgstr "" -#~ "Comprueba si el segundo valor de la pila es una excepción que coincide " -#~ "con el TOS y salta si no lo es. Saca dos valores de la pila." - -#~ msgid "Set bytecode counter to *target*." -#~ msgstr "Establezca el contador de bytecode en *target*." - -#~ msgid "" -#~ "Pushes a try block from a try-finally or try-except clause onto the block " -#~ "stack. *delta* points to the finally block or the first except block." -#~ msgstr "" -#~ "Apila un bloque try de una cláusula try-finally o try-except en la pila " -#~ "de bloques. *delta* apunta al último bloque o al primero excepto el " -#~ "bloque." - -#~ msgid "" -#~ "Pushes a reference to the cell contained in slot *i* of the cell and free " -#~ "variable storage. The name of the variable is ``co_cellvars[i]`` if *i* " -#~ "is less than the length of *co_cellvars*. Otherwise it is " -#~ "``co_freevars[i - len(co_cellvars)]``." -#~ msgstr "" -#~ "Apila una referencia a la celda contenida en la ranura *i* de la celda y " -#~ "el almacenamiento variable libre. El nombre de la variable es " -#~ "``co_cellvars[i]`` si *i* es menor que la longitud de *co_cellvars*. De " -#~ "lo contrario, es ``co_freevars[i - len(co_cellvars)]``." - -#~ msgid "" -#~ "Calls a callable object with positional arguments. *argc* indicates the " -#~ "number of positional arguments. The top of the stack contains positional " -#~ "arguments, with the right-most argument on top. Below the arguments is a " -#~ "callable object to call. ``CALL_FUNCTION`` pops all arguments and the " -#~ "callable object off the stack, calls the callable object with those " -#~ "arguments, and pushes the return value returned by the callable object." -#~ msgstr "" -#~ "Llama a un objeto invocable con argumentos posicionales. *argc* indica el " -#~ "número de argumentos posicionales. La parte superior de la pila contiene " -#~ "argumentos posicionales, con el argumento más a la derecha en la parte " -#~ "superior. Debajo de los argumentos hay un objeto invocable para llamar. " -#~ "``CALL_FUNCTION`` saca todos los argumentos y el objeto invocable de la " -#~ "pila, llama al objeto invocable con esos argumentos y empuja el valor de " -#~ "retorno retornado por el objeto invocable." - -#~ msgid "This opcode is used only for calls with positional arguments." -#~ msgstr "" -#~ "Este código de operación se usa solo para llamadas con argumentos " -#~ "posicionales." - -#~ msgid "" -#~ "Calls a callable object with positional (if any) and keyword arguments. " -#~ "*argc* indicates the total number of positional and keyword arguments. " -#~ "The top element on the stack contains a tuple with the names of the " -#~ "keyword arguments, which must be strings. Below that are the values for " -#~ "the keyword arguments, in the order corresponding to the tuple. Below " -#~ "that are positional arguments, with the right-most parameter on top. " -#~ "Below the arguments is a callable object to call. ``CALL_FUNCTION_KW`` " -#~ "pops all arguments and the callable object off the stack, calls the " -#~ "callable object with those arguments, and pushes the return value " -#~ "returned by the callable object." -#~ msgstr "" -#~ "Llama a un objeto invocable con argumentos posicionales (si los hay) y " -#~ "palabras clave. *argc* indica el número total de argumentos posicionales " -#~ "y de palabras clave. El elemento superior de la pila contiene una tupla " -#~ "con los nombres de los argumentos de la palabra clave, que deben ser " -#~ "cadenas de caracteres. Debajo están los valores para los argumentos de la " -#~ "palabra clave, en el orden correspondiente a la tupla. Debajo están los " -#~ "argumentos posicionales, con el parámetro más a la derecha en la parte " -#~ "superior. Debajo de los argumentos hay un objeto invocable para llamar. " -#~ "``CALL_FUNCTION_KW`` saca todos los argumentos y el objeto invocable de " -#~ "la pila, llama al objeto invocable con esos argumentos y empuja el valor " -#~ "de retorno retornado por el objeto invocable." - -#~ msgid "" -#~ "Keyword arguments are packed in a tuple instead of a dictionary, *argc* " -#~ "indicates the total number of arguments." -#~ msgstr "" -#~ "Los argumentos de palabras clave se empaquetan en una tupla en lugar de " -#~ "un diccionario, *argc* indica el número total de argumentos." - -#~ msgid "" -#~ "Calls a method. *argc* is the number of positional arguments. Keyword " -#~ "arguments are not supported. This opcode is designed to be used with :" -#~ "opcode:`LOAD_METHOD`. Positional arguments are on top of the stack. " -#~ "Below them, the two items described in :opcode:`LOAD_METHOD` are on the " -#~ "stack (either ``self`` and an unbound method object or ``NULL`` and an " -#~ "arbitrary callable). All of them are popped and the return value is " -#~ "pushed." -#~ msgstr "" -#~ "Llama a un método. *argc* es el número de argumentos posicionales. Los " -#~ "argumentos de palabras clave no son compatibles. Este código de operación " -#~ "está diseñado para usarse con :opcode:`LOAD_METHOD`. Los argumentos " -#~ "posicionales están en la parte superior de la pila. Debajo de ellos, los " -#~ "dos elementos descritos en :opcode:`LOAD_METHOD` están en la pila " -#~ "(``self`` y un objeto de método independiente o ``NULL`` y un invocable " -#~ "arbitrario). Todos ellos aparecen y se apila el valor de retorno." - -#~ msgid "" -#~ "Pops TOS. If TOS was not ``None``, raises an exception. The ``kind`` " -#~ "operand corresponds to the type of generator or coroutine and determines " -#~ "the error message. The legal kinds are 0 for generator, 1 for coroutine, " -#~ "and 2 for async generator." -#~ msgstr "" -#~ "Desapila TOS. Si TOS no era ``None``, lanza una excepción. El operando " -#~ "``kind`` corresponde al tipo de generador o corrutina y determina el " -#~ "mensaje de error. Los tipos legales son 0 para generador, 1 para " -#~ "corrutina, y 2 para generador asíncrono." - -#~ msgid "" -#~ "Lift the top *count* stack items one position up, and move TOS down to " -#~ "position *count*." -#~ msgstr "" -#~ "Eleva los *count* elementos más altos de la pila una posición hacia " -#~ "arriba, y baja TOS hacia la posición *count*." diff --git a/library/doctest.po b/library/doctest.po index a5ceb4eac2..e59dd74167 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -2954,63 +2954,3 @@ msgstr "" "No se admiten los ejemplos que contienen una salida esperada y una " "excepción. Intentar adivinar dónde una termina y la otra empieza es muy " "propenso a errores, y da lugar a una prueba confusa." - -#~ msgid "" -#~ "When specified, an example that expects an exception passes if an " -#~ "exception of the expected type is raised, even if the exception detail " -#~ "does not match. For example, an example expecting ``ValueError: 42`` " -#~ "will pass if the actual exception raised is ``ValueError: 3*14``, but " -#~ "will fail, e.g., if :exc:`TypeError` is raised." -#~ msgstr "" -#~ "Cuando se especifica, un ejemplo que espera una excepción pasa si una " -#~ "excepción del tipo esperado es lanzada, incluso si el detalle de la " -#~ "excepción no corresponde. Por ejemplo, un ejemplo esperando ``ValueError: " -#~ "42`` pasará si la excepción real lanzada es ``ValueError: 3*14``, pero " -#~ "fallará, e.g., si :exc:`TypeError` es lanzado." - -#~ msgid "" -#~ "It will also ignore the module name used in Python 3 doctest reports. " -#~ "Hence both of these variations will work with the flag specified, " -#~ "regardless of whether the test is run under Python 2.7 or Python 3.2 (or " -#~ "later versions)::" -#~ msgstr "" -#~ "También ignorará el nombre del módulo usado en los reportes de doctest de " -#~ "Python 3. Por lo que ambas de estas variaciones trabajarán con las " -#~ "banderas especificadas, sin importar si la prueba es ejecutada bajo " -#~ "Python 2.7 o Python 3.2 (o versiones más modernas)::" - -#~ msgid "" -#~ "Note that :const:`ELLIPSIS` can also be used to ignore the details of the " -#~ "exception message, but such a test may still fail based on whether or not " -#~ "the module details are printed as part of the exception name. Using :" -#~ "const:`IGNORE_EXCEPTION_DETAIL` and the details from Python 2.3 is also " -#~ "the only clear way to write a doctest that doesn't care about the " -#~ "exception detail yet continues to pass under Python 2.3 or earlier (those " -#~ "releases do not support :ref:`doctest directives ` " -#~ "and ignore them as irrelevant comments). For example::" -#~ msgstr "" -#~ "Note que :const:`ELLIPSIS` también se puede usar para ignorar los " -#~ "detalles del mensaje de excepción, pero tal prueba todavía puede fallar " -#~ "basado en si los detalles del módulo se imprimen como parte del nombre de " -#~ "excepción. Usar :const:`IGNORE_EXCEPTION_DETAIL` y los detalles de Python " -#~ "2.3 son también la única manera de escribir un doctest que no le importe " -#~ "el detalle de excepción y todavía pase bajo Python 2.3 o menos (esas " -#~ "versiones no soportan :ref:`directivas de doctest ` y " -#~ "los ignoran como comentarios irrelevantes). Por ejemplo::" - -#~ msgid "" -#~ "passes under Python 2.3 and later Python versions with the flag " -#~ "specified, even though the detail changed in Python 2.4 to say \"does " -#~ "not\" instead of \"doesn't\"." -#~ msgstr "" -#~ "pasa bajo Python 2.3 y versiones posteriores de Python con la bandera " -#~ "especificada, incluso si el detalle cambió en Python 2.4 para decir " -#~ "\"*does not*\" en vez de \"*doesn't*\"." - -#~ msgid "" -#~ "Before Python 3.6, when printing a dict, Python did not guarantee that " -#~ "the key-value pairs was printed in any particular order." -#~ msgstr "" -#~ "Antes de Python 3.6, cuando se imprime un diccionario, Python no " -#~ "aseguraba que los pares de claves y valores sean impresos en ningún orden " -#~ "en particular." diff --git a/library/email.compat32-message.po b/library/email.compat32-message.po index bc496df6ab..e33f39c31c 100644 --- a/library/email.compat32-message.po +++ b/library/email.compat32-message.po @@ -1256,18 +1256,3 @@ msgstr "" "El atributo *defects* contiene una lista de todos los problemas encontrados " "al analizar este mensaje. Consulta :mod:`email.errors` para una descripción " "detallada de los posibles defectos de análisis." - -#~ msgid "" -#~ "Note that this method is provided as a convenience and may not always " -#~ "format the message the way you want. For example, by default it does not " -#~ "do the mangling of lines that begin with ``From`` that is required by the " -#~ "unix mbox format. For more flexibility, instantiate a :class:`~email." -#~ "generator.BytesGenerator` instance and use its :meth:`~email.generator." -#~ "BytesGenerator.flatten` method directly. For example::" -#~ msgstr "" -#~ "Nota que este método es proporcionado como conveniencia y puede no " -#~ "siempre formatear el mensaje de la forma que quieres. Por ejemplo, por " -#~ "defecto no realiza la mutilación de línea que comienzan con ``From`` que " -#~ "es requerida por el formato unix mbox. Para mayor flexibilidad, instancia " -#~ "un :class:`~email.generator.BytesGenerator` y utiliza su método :meth:" -#~ "`~email.generator.BytesGenerator.flatten` directamente. Por ejemplo::" diff --git a/library/enum.po b/library/enum.po index a15522214a..55f99ef0d0 100644 --- a/library/enum.po +++ b/library/enum.po @@ -1158,987 +1158,3 @@ msgstr "" #: ../Doc/library/enum.rst:886 msgid "or you can reassign the appropriate :meth:`str`, etc., in your enum::" msgstr "o puede reasignar el :meth:`str` apropiado, etc., en su enumeración::" - -#~ msgid "" -#~ "An enumeration is a set of symbolic names (members) bound to unique, " -#~ "constant values. Within an enumeration, the members can be compared by " -#~ "identity, and the enumeration itself can be iterated over." -#~ msgstr "" -#~ "Una enumeración es un conjunto de nombres simbólicos (miembros) " -#~ "vinculados a valores únicos y constantes. Dentro de una enumeración, los " -#~ "miembros se pueden comparar por identidad, y la enumeración en sí se " -#~ "puede iterar." - -#~ msgid "Case of Enum Members" -#~ msgstr "Caso de miembros de Enum" - -#~ msgid "" -#~ "Because Enums are used to represent constants we recommend using " -#~ "UPPER_CASE names for enum members, and will be using that style in our " -#~ "examples." -#~ msgstr "" -#~ "Debido a que las enumeraciones se usan para representar constantes, " -#~ "recomendamos usar nombres UPPER_CASE para los miembros de enumeración, y " -#~ "usaremos ese estilo en nuestros ejemplos." - -#~ msgid "" -#~ "This module defines four enumeration classes that can be used to define " -#~ "unique sets of names and values: :class:`Enum`, :class:`IntEnum`, :class:" -#~ "`Flag`, and :class:`IntFlag`. It also defines one decorator, :func:" -#~ "`unique`, and one helper, :class:`auto`." -#~ msgstr "" -#~ "Este módulo define cuatro clases de enumeración que se pueden usar para " -#~ "definir conjuntos únicos de nombres y valores: :class:`Enum`, :class:" -#~ "`IntEnum`, :class:`Flag`, and :class:`IntFlag`. También define un " -#~ "decorador, :func:`unique`, y un ayudante, :class:`auto`." - -#~ msgid "" -#~ "Base class for creating enumerated constants. See section `Functional " -#~ "API`_ for an alternate construction syntax." -#~ msgstr "" -#~ "Clase base para crear constantes enumeradas. Consulte la sección `API " -#~ "Funcional`_ para obtener una sintaxis de construcción alternativa." - -#~ msgid "" -#~ "Instances are replaced with an appropriate value for Enum members. By " -#~ "default, the initial value starts at 1." -#~ msgstr "" -#~ "Las instancias se reemplazan con un valor apropiado para los miembros de " -#~ "Enum. El valor inicial comienza en 1." - -#~ msgid "Creating an Enum" -#~ msgstr "Creando un Enum" - -#~ msgid "" -#~ "Enumerations are created using the :keyword:`class` syntax, which makes " -#~ "them easy to read and write. An alternative creation method is described " -#~ "in `Functional API`_. To define an enumeration, subclass :class:`Enum` " -#~ "as follows::" -#~ msgstr "" -#~ "Las enumeraciones son creadas usando la sintaxis :keyword:`class`, lo que " -#~ "las hace de fácil lectura y escritura. Un método de creación alternativo " -#~ "se describe en `API Funcional`_. Para definir una enumeración, hacer una " -#~ "subclase :class:`Enum` de la siguiente manera::" - -#~ msgid "Enumeration members have human readable string representations::" -#~ msgstr "" -#~ "Los miembros de la enumeración tienen representaciones de cadenas " -#~ "legibles para humanos ::" - -#~ msgid "...while their ``repr`` has more information::" -#~ msgstr "…mientras que su ``repr`` tiene más información ::" - -#~ msgid "" -#~ "The *type* of an enumeration member is the enumeration it belongs to::" -#~ msgstr "" -#~ "El *tipo* de un miembro de enumeración es la enumeración a la que " -#~ "pertenece::" - -#~ msgid "" -#~ "Enum members also have a property that contains just their item name::" -#~ msgstr "" -#~ "Los miembros de Enum también tienen una propiedad que contiene solo su " -#~ "nombre del elemento ::" - -#~ msgid "" -#~ "Enumeration members are hashable, so they can be used in dictionaries and " -#~ "sets::" -#~ msgstr "" -#~ "Los miembros de la enumeración son hasheables, por lo que pueden usarse " -#~ "en diccionarios y conjuntos::" - -#~ msgid "Programmatic access to enumeration members and their attributes" -#~ msgstr "" -#~ "Acceso programático a los miembros de la enumeración y sus atributos" - -#~ msgid "" -#~ "Sometimes it's useful to access members in enumerations programmatically " -#~ "(i.e. situations where ``Color.RED`` won't do because the exact color is " -#~ "not known at program-writing time). ``Enum`` allows such access::" -#~ msgstr "" -#~ "A veces es útil acceder a los miembros en enumeraciones mediante " -#~ "programación (es decir, situaciones en las que ``Color.RED`` no " -#~ "funcionará porque no se conoce el color exacto al momento de escribir el " -#~ "programa). ``Enum`` permite dicho acceso::" - -#~ msgid "If you want to access enum members by *name*, use item access::" -#~ msgstr "" -#~ "Si desea acceder a los miembros de enumeración por *nombre*, use el " -#~ "acceso a elementos::" - -#~ msgid "" -#~ "If you have an enum member and need its :attr:`name` or :attr:`value`::" -#~ msgstr "" -#~ "Si tiene un miembro enum y necesita su :attr:`name` o :attr:`value`::" - -#~ msgid "Duplicating enum members and values" -#~ msgstr "Duplicando miembros y valores enum" - -#~ msgid "Having two enum members with the same name is invalid::" -#~ msgstr "Tener dos miembros enum con el mismo nombre no es válido::" - -#~ msgid "" -#~ "However, two enum members are allowed to have the same value. Given two " -#~ "members A and B with the same value (and A defined first), B is an alias " -#~ "to A. By-value lookup of the value of A and B will return A. By-name " -#~ "lookup of B will also return A::" -#~ msgstr "" -#~ "Sin embargo, se permite que dos miembros enum tengan el mismo valor. Dado " -#~ "que dos miembros A y B tienen el mismo valor (y A se definió primero), B " -#~ "es un alias de A. La búsqueda por valor del valor de A y B retornará A. " -#~ "La búsqueda por nombre de B también retornará A::" - -#~ msgid "" -#~ "Attempting to create a member with the same name as an already defined " -#~ "attribute (another member, a method, etc.) or attempting to create an " -#~ "attribute with the same name as a member is not allowed." -#~ msgstr "" -#~ "Intentar crear un miembro con el mismo nombre que un atributo ya definido " -#~ "(otro miembro, un método, etc.) o intentar crear un atributo con el mismo " -#~ "nombre que un miembro no está permitido." - -#~ msgid "Ensuring unique enumeration values" -#~ msgstr "Garantizando valores de enumeración únicos" - -#~ msgid "" -#~ "By default, enumerations allow multiple names as aliases for the same " -#~ "value. When this behavior isn't desired, the following decorator can be " -#~ "used to ensure each value is used only once in the enumeration:" -#~ msgstr "" -#~ "Por defecto, las enumeraciones permiten múltiples nombres como alias para " -#~ "el mismo valor. Cuando no se desea este comportamiento, se puede usar el " -#~ "siguiente decorador para garantizar que cada valor se use solo una vez en " -#~ "la enumeración:" - -#~ msgid "Using automatic values" -#~ msgstr "Usando valores automáticos" - -#~ msgid "If the exact value is unimportant you can use :class:`auto`::" -#~ msgstr "Si el valor exacto no es importante, puede usar :class:`auto`::" - -#~ msgid "" -#~ "The values are chosen by :func:`_generate_next_value_`, which can be " -#~ "overridden::" -#~ msgstr "" -#~ "Los valores se eligen por :func:`_generate_next_value_`, que se puede " -#~ "invalidar::" - -#~ msgid "" -#~ "The goal of the default :meth:`_generate_next_value_` method is to " -#~ "provide the next :class:`int` in sequence with the last :class:`int` " -#~ "provided, but the way it does this is an implementation detail and may " -#~ "change." -#~ msgstr "" -#~ "El objetivo del método predeterminado :meth:`_generate_next_value_` es " -#~ "proporcionar el siguiente :class:`int` en secuencia con el último :class:" -#~ "`int` proporcionado, pero la forma en que lo hace es un detalle de " -#~ "implementación y puede cambiar." - -#~ msgid "" -#~ "The :meth:`_generate_next_value_` method must be defined before any " -#~ "members." -#~ msgstr "" -#~ "El método :meth:`_generate_next_value_` debe definirse antes que " -#~ "cualquier miembro." - -#~ msgid "Iteration" -#~ msgstr "Iteración" - -#~ msgid "Iterating over the members of an enum does not provide the aliases::" -#~ msgstr "" -#~ "Iterar sobre los miembros de una enumeración no proporciona los alias::" - -#~ msgid "" -#~ "The special attribute ``__members__`` is a read-only ordered mapping of " -#~ "names to members. It includes all names defined in the enumeration, " -#~ "including the aliases::" -#~ msgstr "" -#~ "El atributo especial ``__members__`` es una asignación ordenada de solo " -#~ "lectura de nombres a miembros. Incluye todos los nombres definidos en la " -#~ "enumeración, incluidos los alias::" - -#~ msgid "" -#~ "The ``__members__`` attribute can be used for detailed programmatic " -#~ "access to the enumeration members. For example, finding all the aliases::" -#~ msgstr "" -#~ "El atributo ``__members__`` se puede usar para el acceso programático " -#~ "detallado a los miembros de la enumeración. Por ejemplo, encontrar todos " -#~ "los alias::" - -#~ msgid "Comparisons" -#~ msgstr "Comparaciones" - -#~ msgid "Enumeration members are compared by identity::" -#~ msgstr "Los miembros de la enumeración se comparan por identidad::" - -#~ msgid "" -#~ "Ordered comparisons between enumeration values are *not* supported. Enum " -#~ "members are not integers (but see `IntEnum`_ below)::" -#~ msgstr "" -#~ "Las comparaciones ordenadas entre valores de enumeración *no* son " -#~ "soportadas. Los miembros de Enum no son enteros (pero vea `IntEnum`_ a " -#~ "continuación)::" - -#~ msgid "Equality comparisons are defined though::" -#~ msgstr "Aunque, las comparaciones de igualdad se definen::" - -#~ msgid "" -#~ "Comparisons against non-enumeration values will always compare not equal " -#~ "(again, :class:`IntEnum` was explicitly designed to behave differently, " -#~ "see below)::" -#~ msgstr "" -#~ "Las comparaciones con valores de no enumeración siempre se compararán no " -#~ "iguales (de nuevo, :class:`IntEnum` fue diseñado explícitamente para " -#~ "comportarse de manera diferente, ver más abajo)::" - -#~ msgid "Allowed members and attributes of enumerations" -#~ msgstr "Miembros permitidos y atributos de enumeraciones" - -#~ msgid "" -#~ "The examples above use integers for enumeration values. Using integers " -#~ "is short and handy (and provided by default by the `Functional API`_), " -#~ "but not strictly enforced. In the vast majority of use-cases, one " -#~ "doesn't care what the actual value of an enumeration is. But if the " -#~ "value *is* important, enumerations can have arbitrary values." -#~ msgstr "" -#~ "Los ejemplos anteriores usan números enteros para los valores de " -#~ "enumeración. El uso de enteros es breve y útil (y lo proporciona de forma " -#~ "predeterminada la `API Funcional`_), pero no se aplica estrictamente. En " -#~ "la gran mayoría de los casos de uso, a uno no le importa cuál es el valor " -#~ "real de una enumeración. Pero si el valor *es* importante, las " -#~ "enumeraciones pueden tener valores arbitrarios." - -#~ msgid "" -#~ "Enumerations are Python classes, and can have methods and special methods " -#~ "as usual. If we have this enumeration::" -#~ msgstr "" -#~ "Las enumeraciones son clases de Python y pueden tener métodos y métodos " -#~ "especiales como de costumbre. Si tenemos esta enumeración ::" - -#~ msgid "Then::" -#~ msgstr "Después::" - -#~ msgid "" -#~ "The rules for what is allowed are as follows: names that start and end " -#~ "with a single underscore are reserved by enum and cannot be used; all " -#~ "other attributes defined within an enumeration will become members of " -#~ "this enumeration, with the exception of special methods (:meth:" -#~ "`__str__`, :meth:`__add__`, etc.), descriptors (methods are also " -#~ "descriptors), and variable names listed in :attr:`_ignore_`." -#~ msgstr "" -#~ "Las reglas para lo que está permitido son las siguientes: los nombres que " -#~ "comienzan y terminan con un solo guión bajo están reservados por enum y " -#~ "no se pueden usar; todos los demás atributos definidos dentro de una " -#~ "enumeración se convertirán en miembros de esta enumeración, con la " -#~ "excepción de métodos especiales (:meth:`__str__`, :meth:`__add__`, etc.), " -#~ "descriptores (los métodos también son descriptores) y nombres de " -#~ "variables listado en :attr:`_ignore_`." - -#~ msgid "" -#~ "Note: if your enumeration defines :meth:`__new__` and/or :meth:" -#~ "`__init__` then any value(s) given to the enum member will be passed into " -#~ "those methods. See `Planet`_ for an example." -#~ msgstr "" -#~ "Nota: si tu enumeración define :meth:`__new__` o :meth:`__init__`, los " -#~ "valores que se hayan dado al miembro enum se pasarán a esos métodos. Ver " -#~ "`Planet`_ para un ejemplo." - -#~ msgid "Restricted Enum subclassing" -#~ msgstr "Subclases restringidas de Enum" - -#~ msgid "" -#~ "A new :class:`Enum` class must have one base Enum class, up to one " -#~ "concrete data type, and as many :class:`object`-based mixin classes as " -#~ "needed. The order of these base classes is::" -#~ msgstr "" -#~ "Una nueva clase :class:`Enum` debe tener una clase base Enum, hasta un " -#~ "tipo de datos concreto, y tantas clases mixin basadas en :class:`object` " -#~ "como sean necesarias. El orden de estas clases base es::" - -#~ msgid "" -#~ "Also, subclassing an enumeration is allowed only if the enumeration does " -#~ "not define any members. So this is forbidden::" -#~ msgstr "" -#~ "Además, la subclasificación de una enumeración solo está permitida si la " -#~ "enumeración no define ningún miembro. Entonces esto está prohibido::" - -#~ msgid "But this is allowed::" -#~ msgstr "Pero esto es permitido::" - -#~ msgid "" -#~ "Allowing subclassing of enums that define members would lead to a " -#~ "violation of some important invariants of types and instances. On the " -#~ "other hand, it makes sense to allow sharing some common behavior between " -#~ "a group of enumerations. (See `OrderedEnum`_ for an example.)" -#~ msgstr "" -#~ "Permitir la subclasificación de enumeraciones que definen miembros " -#~ "conduciría a una violación de algunos invariantes importantes de tipos e " -#~ "instancias. Por otro lado, tiene sentido permitir compartir un " -#~ "comportamiento común entre un grupo de enumeraciones. (Ver `OrderedEnum`_ " -#~ "para un ejemplo.)" - -#~ msgid "Pickling" -#~ msgstr "Serialización" - -#~ msgid "Enumerations can be pickled and unpickled::" -#~ msgstr "Las enumeraciones se pueden serializar y desempaquetar::" - -#~ msgid "" -#~ "The usual restrictions for pickling apply: picklable enums must be " -#~ "defined in the top level of a module, since unpickling requires them to " -#~ "be importable from that module." -#~ msgstr "" -#~ "Se aplican las restricciones habituales para la serialización " -#~ "(*pickling*): las enum seleccionables se deben definir en el nivel " -#~ "superior de un módulo, ya que el desempaquetado requiere que sean " -#~ "importables desde ese módulo." - -#~ msgid "" -#~ "With pickle protocol version 4 it is possible to easily pickle enums " -#~ "nested in other classes." -#~ msgstr "" -#~ "Con la versión 4 del protocolo de serialización (*pickle*), es posible " -#~ "seleccionar fácilmente las enumeraciones anidadas en otras clases." - -#~ msgid "" -#~ "It is possible to modify how Enum members are pickled/unpickled by " -#~ "defining :meth:`__reduce_ex__` in the enumeration class." -#~ msgstr "" -#~ "Es posible modificar la forma en que los miembros de Enum se serializan/" -#~ "desempaquetan definiendo :meth:`__reduce_ex__` en la clase de enumeración." - -#~ msgid "Functional API" -#~ msgstr "API Funcional" - -#~ msgid "" -#~ "The :class:`Enum` class is callable, providing the following functional " -#~ "API::" -#~ msgstr "" -#~ "La clase :class:`Enum` es invocable, proporcionando la siguiente API " -#~ "funcional::" - -#~ msgid "" -#~ "The semantics of this API resemble :class:`~collections.namedtuple`. The " -#~ "first argument of the call to :class:`Enum` is the name of the " -#~ "enumeration." -#~ msgstr "" -#~ "La semántica de esta API se parece a :class:`~collections.namedtuple`. El " -#~ "primer argumento de la llamada a :class:`Enum` es el nombre de la " -#~ "enumeración." - -#~ msgid "" -#~ "The second argument is the *source* of enumeration member names. It can " -#~ "be a whitespace-separated string of names, a sequence of names, a " -#~ "sequence of 2-tuples with key/value pairs, or a mapping (e.g. dictionary) " -#~ "of names to values. The last two options enable assigning arbitrary " -#~ "values to enumerations; the others auto-assign increasing integers " -#~ "starting with 1 (use the ``start`` parameter to specify a different " -#~ "starting value). A new class derived from :class:`Enum` is returned. In " -#~ "other words, the above assignment to :class:`Animal` is equivalent to::" -#~ msgstr "" -#~ "El segundo argumento es la *fuente* de los nombres de los miembros de la " -#~ "enumeración. Puede se una cadena de nombres separados por espacios en " -#~ "blanco, una secuencia de 2 tuplas con pares de clave/valor, o un mapeo de " -#~ "nombres y valores (ej. diccionario). Las últimas dos opciones permiten " -#~ "asignar valores arbitrarios a las enumeraciones; los otros asignan " -#~ "automáticamente enteros crecientes comenzando con 1 (use el parámetros " -#~ "``start`` para especificar un valor de inicio diferente). Se regresa una " -#~ "nueva clase derivada de :class:`Enum`. En otras palabras, la asignación " -#~ "de arriba :class:`Animal` es equivalente a::" - -#~ msgid "" -#~ "The reason for defaulting to ``1`` as the starting number and not ``0`` " -#~ "is that ``0`` is ``False`` in a boolean sense, but enum members all " -#~ "evaluate to ``True``." -#~ msgstr "" -#~ "La razón por la que el valor predeterminado es ``1`` como numero inicial " -#~ "y no ``0`` es que ``0`` es ``False`` en sentido booleano, pero todos los " -#~ "miembros enum evalúan como ``True``." - -#~ msgid "" -#~ "Pickling enums created with the functional API can be tricky as frame " -#~ "stack implementation details are used to try and figure out which module " -#~ "the enumeration is being created in (e.g. it will fail if you use a " -#~ "utility function in separate module, and also may not work on IronPython " -#~ "or Jython). The solution is to specify the module name explicitly as " -#~ "follows::" -#~ msgstr "" -#~ "Las enumeraciones serializadas creadas con la API funcional pueden ser " -#~ "complicadas ya que los detalles de implementación de la pila se usan para " -#~ "tratar de averiguar en qué módulo se está creando la enumeración (ej. " -#~ "fallará si usa una función de utilidad en un módulo separado, y también " -#~ "puede no funcionar en IronPython o Jython). La solución es especificar el " -#~ "nombre del módulo explícitamente de la siguiente manera::" - -#~ msgid "" -#~ "If ``module`` is not supplied, and Enum cannot determine what it is, the " -#~ "new Enum members will not be unpicklable; to keep errors closer to the " -#~ "source, pickling will be disabled." -#~ msgstr "" -#~ "Si no se suministra un ``module``, y Enum no puede determinar que es, los " -#~ "miembros del nuevo Enum no se podrán desempaquetar; para mantener los " -#~ "errores más cerca de la fuente, la serialización se deshabilitará." - -#~ msgid "" -#~ "The new pickle protocol 4 also, in some circumstances, relies on :attr:" -#~ "`~definition.__qualname__` being set to the location where pickle will be " -#~ "able to find the class. For example, if the class was made available in " -#~ "class SomeData in the global scope::" -#~ msgstr "" -#~ "El nuevo protocolo 4 de serialización también, en ciertas circunstancias, " -#~ "se basa en :attr:`~definition.__qualname__` se establece en la ubicación " -#~ "donde la serialización podrá encontrar la clase. Por ejemplo, si la clase " -#~ "se hizo disponible en la clase SomeData en el campo global::" - -#~ msgid "The complete signature is::" -#~ msgstr "La firma completa es::" - -#~ msgid "What the new Enum class will record as its name." -#~ msgstr "Lo que la nueva clase Enum registrará como su nombre." - -#~ msgid "" -#~ "The Enum members. This can be a whitespace or comma separated string " -#~ "(values will start at 1 unless otherwise specified)::" -#~ msgstr "" -#~ "Los miembros de Enum. Esto puede ser un espacio en blanco o una cadena " -#~ "separada por comas (los valores empezarán en 1 a menos que se especifique " -#~ "lo contrario)::" - -#~ msgid "or an iterator of names::" -#~ msgstr "o un iterador de nombres::" - -#~ msgid "or an iterator of (name, value) pairs::" -#~ msgstr "o un iterador de pares(nombre,valor)::" - -#~ msgid "or a mapping::" -#~ msgstr "o un mapeo::" - -#~ msgid "where in module new Enum class can be found." -#~ msgstr "donde en el módulo se puede encontrar la nueva clase Enum." - -#~ msgid "type to mix in to new Enum class." -#~ msgstr "escriba para mezclar en la nueva clase Enum." - -#~ msgid "number to start counting at if only names are passed in." -#~ msgstr "número para comenzar a contar sí solo se pasan nombres." - -#~ msgid "The *start* parameter was added." -#~ msgstr "Se agregó el parámetro *start*." - -#~ msgid "IntEnum" -#~ msgstr "IntEnum" - -#~ msgid "" -#~ "The first variation of :class:`Enum` that is provided is also a subclass " -#~ "of :class:`int`. Members of an :class:`IntEnum` can be compared to " -#~ "integers; by extension, integer enumerations of different types can also " -#~ "be compared to each other::" -#~ msgstr "" -#~ "La primera variación de :class:`Enum` que se proporciona también es una " -#~ "subclase de :class:`int`. Los miembros de :class:`IntEnum` se pueden " -#~ "comparar con enteros; por extensión, las enumeraciones enteras de " -#~ "diferentes tipos también se pueden comparar entre sí::" - -#~ msgid "" -#~ "However, they still can't be compared to standard :class:`Enum` " -#~ "enumerations::" -#~ msgstr "" -#~ "Sin embargo, todavía no se pueden comparar con las enumeraciones " -#~ "estándar :class:`Enum`::" - -#~ msgid "" -#~ ":class:`IntEnum` values behave like integers in other ways you'd expect::" -#~ msgstr "" -#~ "los valores :class:`IntEnum` se comportan como enteros en otras maneras " -#~ "que esperarías::" - -#~ msgid "IntFlag" -#~ msgstr "IntFlag" - -#~ msgid "" -#~ "The next variation of :class:`Enum` provided, :class:`IntFlag`, is also " -#~ "based on :class:`int`. The difference being :class:`IntFlag` members can " -#~ "be combined using the bitwise operators (&, \\|, ^, ~) and the result is " -#~ "still an :class:`IntFlag` member. However, as the name implies, :class:" -#~ "`IntFlag` members also subclass :class:`int` and can be used wherever an :" -#~ "class:`int` is used. Any operation on an :class:`IntFlag` member besides " -#~ "the bit-wise operations will lose the :class:`IntFlag` membership." -#~ msgstr "" -#~ "La siguiente variación de :class:`Enum` proporcionada, :class:`IntFlag`, " -#~ "también se basa en :class:`int`. La diferencia es que los miembros :class:" -#~ "`IntFlag` se pueden combinar usando los operadores (&, \\|, ^, ~) y el " -#~ "resultado es un miembro :class:`IntFlag`. Sin embargo, como su nombre lo " -#~ "indica, los miembros de :class:`IntFlag` también son subclase :class:" -#~ "`int` y pueden usarse siempre que :class:`int` se use. Cualquier " -#~ "operación en un miembro :class:`IntFlag` además de las operaciones de bit " -#~ "perderán la membresía :class:`IntFlag`." - -#~ msgid "Sample :class:`IntFlag` class::" -#~ msgstr "Clase muestra :class:`IntFlag`::" - -#~ msgid "It is also possible to name the combinations::" -#~ msgstr "También es posible nombrar las combinaciones::" - -#~ msgid "" -#~ "Another important difference between :class:`IntFlag` and :class:`Enum` " -#~ "is that if no flags are set (the value is 0), its boolean evaluation is :" -#~ "data:`False`::" -#~ msgstr "" -#~ "Otra diferencia importante entre :class:`IntFlag` y :class:`Enum` es que " -#~ "si no hay banderas establecidas (el valor es 0), su evaluación booleana " -#~ "es :data:`False`::" - -#~ msgid "" -#~ "Because :class:`IntFlag` members are also subclasses of :class:`int` they " -#~ "can be combined with them::" -#~ msgstr "" -#~ "Porque los miembros :class:`IntFlag` también son subclases de :class:" -#~ "`int` se pueden combinar con ellos::" - -#~ msgid "Flag" -#~ msgstr "Bandera" - -#~ msgid "" -#~ "The last variation is :class:`Flag`. Like :class:`IntFlag`, :class:" -#~ "`Flag` members can be combined using the bitwise operators (&, \\|, ^, " -#~ "~). Unlike :class:`IntFlag`, they cannot be combined with, nor compared " -#~ "against, any other :class:`Flag` enumeration, nor :class:`int`. While it " -#~ "is possible to specify the values directly it is recommended to use :" -#~ "class:`auto` as the value and let :class:`Flag` select an appropriate " -#~ "value." -#~ msgstr "" -#~ "La última variación es :class:`Flag`. Al igual que :class:`IntFlag`, :" -#~ "class:`Flag` los miembros se pueden combinar usando los operadores (&, " -#~ "\\|, ^, ~). A diferencia de :class:`IntFlag`, no pueden combinar ni " -#~ "comparar con ninguna otra enumeración :class:`Flag`, ni con :class:`int`. " -#~ "Es posible especificar los valores directamente, se recomienda usar :" -#~ "class:`auto` como el valor y dejar que :class:`Flag` seleccione el valor " -#~ "apropiado." - -#~ msgid "" -#~ "Like :class:`IntFlag`, if a combination of :class:`Flag` members results " -#~ "in no flags being set, the boolean evaluation is :data:`False`::" -#~ msgstr "" -#~ "Al igual que :class:`IntFlag`, si una combinación de miembros :class:" -#~ "`Flag` resultan en que no se establezcan banderas, la evaluación booleana " -#~ "es :data:`False`::" - -#~ msgid "" -#~ "Individual flags should have values that are powers of two (1, 2, 4, " -#~ "8, ...), while combinations of flags won't::" -#~ msgstr "" -#~ "Las banderas individuales deben tener valores que sean potencias de dos " -#~ "(1, 2, 4, 8, …), mientras que las combinaciones de banderas no::" - -#~ msgid "" -#~ "Giving a name to the \"no flags set\" condition does not change its " -#~ "boolean value::" -#~ msgstr "" -#~ "Dar un nombre a la condición \"sin banderas establecidas\" no cambia su " -#~ "valor booleano::" - -#~ msgid "" -#~ "For the majority of new code, :class:`Enum` and :class:`Flag` are " -#~ "strongly recommended, since :class:`IntEnum` and :class:`IntFlag` break " -#~ "some semantic promises of an enumeration (by being comparable to " -#~ "integers, and thus by transitivity to other unrelated enumerations). :" -#~ "class:`IntEnum` and :class:`IntFlag` should be used only in cases where :" -#~ "class:`Enum` and :class:`Flag` will not do; for example, when integer " -#~ "constants are replaced with enumerations, or for interoperability with " -#~ "other systems." -#~ msgstr "" -#~ "Para la mayoría del código nuevo, :class:`Enum` y :class:`Flag` son muy " -#~ "recomendables, ya que :class:`IntEnum` y :class:`IntFlag` rompen algunas " -#~ "promesas semánticas de una enumeración (al ser comparables con enteros, y " -#~ "por transitividad a otras enumeraciones no relacionadas). :class:" -#~ "`IntEnum` y :class:`IntFlag` deben usarse solo en casos donde :class:" -#~ "`Enum` y :class:`Flag` no son suficientes: por ejemplo, cuando las " -#~ "constantes enteras se reemplazan por enumeraciones, o por " -#~ "interoperabilidad con otros sistemas." - -#~ msgid "Others" -#~ msgstr "Otros" - -#~ msgid "" -#~ "While :class:`IntEnum` is part of the :mod:`enum` module, it would be " -#~ "very simple to implement independently::" -#~ msgstr "" -#~ "Mientras que :class:`IntEnum` es parte del módulo :mod:`enum`, sería muy " -#~ "simple de implementar de forma independiente::" - -#~ msgid "" -#~ "This demonstrates how similar derived enumerations can be defined; for " -#~ "example a :class:`StrEnum` that mixes in :class:`str` instead of :class:" -#~ "`int`." -#~ msgstr "" -#~ "Esto demuestra que similares pueden ser las enumeraciones derivadas; por " -#~ "ejemplo una :class:`StrEnum` que se mezcla en :class:`str` en lugar de :" -#~ "class:`int`." - -#~ msgid "Some rules:" -#~ msgstr "Algunas reglas:" - -#~ msgid "" -#~ "When subclassing :class:`Enum`, mix-in types must appear before :class:" -#~ "`Enum` itself in the sequence of bases, as in the :class:`IntEnum` " -#~ "example above." -#~ msgstr "" -#~ "Al subclasificar :class:`Enum`, los tipos mixtos deben aparecer antes :" -#~ "class:`Enum` en la secuencia de bases, como en el ejemplo anterior :class:" -#~ "`IntEnum`." - -#~ msgid "" -#~ "While :class:`Enum` can have members of any type, once you mix in an " -#~ "additional type, all the members must have values of that type, e.g. :" -#~ "class:`int` above. This restriction does not apply to mix-ins which only " -#~ "add methods and don't specify another type." -#~ msgstr "" -#~ "Mientras que :class:`Enum` puede tener miembros de cualquier tipo, una " -#~ "vez que se mezcle tipos adicionales, todos los miembros deben de tener " -#~ "los valores de ese tipo, por ejemplo, :class:`int` de arriba. Esta " -#~ "restricción no se aplica a las mezclas que solo agregan métodos y no " -#~ "especifican otro tipo." - -#~ msgid "" -#~ "When another data type is mixed in, the :attr:`value` attribute is *not " -#~ "the same* as the enum member itself, although it is equivalent and will " -#~ "compare equal." -#~ msgstr "" -#~ "Cuando se mezcla otro tipo de datos, el atributo :attr:`value` *no es el " -#~ "mismo* que el mismo miembro enum, aunque es equivalente y se comparará " -#~ "igual." - -#~ msgid "" -#~ "%-style formatting: `%s` and `%r` call the :class:`Enum` class's :meth:" -#~ "`__str__` and :meth:`__repr__` respectively; other codes (such as `%i` or " -#~ "`%h` for IntEnum) treat the enum member as its mixed-in type." -#~ msgstr "" -#~ "Formato %-style: `%s` y `%r` llaman, respectivamente, a :meth:`__str__` " -#~ "y :meth:`__repr__` de la clase :class:`Enum`; otros códigos (como `&i` o " -#~ "`%h` para IntEnum) tratan al miembro enum como su tipo mixto." - -#~ msgid "" -#~ ":ref:`Formatted string literals `, :meth:`str.format`, and :" -#~ "func:`format` will use the mixed-in type's :meth:`__format__` unless :" -#~ "meth:`__str__` or :meth:`__format__` is overridden in the subclass, in " -#~ "which case the overridden methods or :class:`Enum` methods will be used. " -#~ "Use the !s and !r format codes to force usage of the :class:`Enum` " -#~ "class's :meth:`__str__` and :meth:`__repr__` methods." -#~ msgstr "" -#~ ":ref:`Cadenas de caracteres literales formateadas `, :meth:" -#~ "`str.format`, y :func:`format` usará el tipo mixto :meth:`__format__` a " -#~ "menos que :meth:`__str__` o :meth:`__format__` se sobreescriba en la " -#~ "subclase, en cuyo caso se utilizarán los métodos anulados o :class:" -#~ "`Enum`. Use los códigos de formato !s y !r para forzar el uso de los " -#~ "métodos :class:`Enum` de las clases :meth:`__str__` y :meth:`__repr__`." - -#~ msgid "When to use :meth:`__new__` vs. :meth:`__init__`" -#~ msgstr "Cuándo usar :meth:`__new__` contra :meth:`__init__`" - -#~ msgid "" -#~ ":meth:`__new__` must be used whenever you want to customize the actual " -#~ "value of the :class:`Enum` member. Any other modifications may go in " -#~ "either :meth:`__new__` or :meth:`__init__`, with :meth:`__init__` being " -#~ "preferred." -#~ msgstr "" -#~ ":meth:`__new__` debe usarse siempre que desee personalizar el valor del " -#~ "miembro real :class:`Emum`. Cualquier otra modificación puede ir en :meth:" -#~ "`__new__` o :meth:`__init__`, prefiriendo siempre :meth:`__init__`." - -#~ msgid "" -#~ "For example, if you want to pass several items to the constructor, but " -#~ "only want one of them to be the value::" -#~ msgstr "" -#~ "Por ejemplo, si desea pasar varios elementos al constructor, pero solo " -#~ "desea que uno de ellos sea el valor::" - -#~ msgid "Interesting examples" -#~ msgstr "Ejemplos interesantes" - -#~ msgid "" -#~ "While :class:`Enum`, :class:`IntEnum`, :class:`IntFlag`, and :class:" -#~ "`Flag` are expected to cover the majority of use-cases, they cannot cover " -#~ "them all. Here are recipes for some different types of enumerations that " -#~ "can be used directly, or as examples for creating one's own." -#~ msgstr "" -#~ "Si bien se espera que :class:`Enum`, :class:`IntEnum`, :class:`IntFlag`, " -#~ "y :class:`Flag` cubran la mayoría de los casos de uso, no pueden " -#~ "cubrirlos a todos. Aquí hay recetas para algunos tipos diferentes de " -#~ "enumeraciones que puede usarse directamente, o como ejemplos para crear " -#~ "los propios." - -#~ msgid "Omitting values" -#~ msgstr "Omitir valores" - -#~ msgid "" -#~ "In many use-cases one doesn't care what the actual value of an " -#~ "enumeration is. There are several ways to define this type of simple " -#~ "enumeration:" -#~ msgstr "" -#~ "En muchos casos de uso, a uno no le importa cuál es el valor real de una " -#~ "enumeración. Hay varias formas de definir este tipo de enumeración simple:" - -#~ msgid "use instances of :class:`auto` for the value" -#~ msgstr "use instancias de :class:`auto` para el valor" - -#~ msgid "use instances of :class:`object` as the value" -#~ msgstr "use instancias de :class:`object` como el valor" - -#~ msgid "use a descriptive string as the value" -#~ msgstr "use a descriptive string as the value" - -#~ msgid "" -#~ "use a tuple as the value and a custom :meth:`__new__` to replace the " -#~ "tuple with an :class:`int` value" -#~ msgstr "" -#~ "use una tupla como valor y un :meth:`__new__` personalizado para " -#~ "reemplazar la tupla con un valor :class:`int`" - -#~ msgid "" -#~ "Using any of these methods signifies to the user that these values are " -#~ "not important, and also enables one to add, remove, or reorder members " -#~ "without having to renumber the remaining members." -#~ msgstr "" -#~ "El uso de cualquiera de estos métodos significa para el usuario que estos " -#~ "valores no son importantes y también permite agregar, eliminar o " -#~ "reordenar miembros sin tener que volver a numerar los miembros restantes." - -#~ msgid "" -#~ "Whichever method you choose, you should provide a :meth:`repr` that also " -#~ "hides the (unimportant) value::" -#~ msgstr "" -#~ "Cualquiera que sea el método que elijas, debe proporcionar un :meth:" -#~ "`repr` que también oculte el valor (sin importancia)::" - -#~ msgid "Using :class:`auto` would look like::" -#~ msgstr "Usando :class:`auto` se vería como::" - -#~ msgid "Using :class:`object`" -#~ msgstr "Usando :class:`object`" - -#~ msgid "Using :class:`object` would look like::" -#~ msgstr "Usando :class:`object` se vería como::" - -#~ msgid "Using a descriptive string" -#~ msgstr "Usando una cadena descriptiva" - -#~ msgid "Using a string as the value would look like::" -#~ msgstr "Usar una cadena como valor se vería así::" - -#~ msgid "Using a custom :meth:`__new__`" -#~ msgstr "Usando :meth:`__new__` personalizados" - -#~ msgid "Using an auto-numbering :meth:`__new__` would look like::" -#~ msgstr "Usando una numeración automática :meth:`__new__` se vería como::" - -#~ msgid "" -#~ "To make a more general purpose ``AutoNumber``, add ``*args`` to the " -#~ "signature::" -#~ msgstr "" -#~ "Para hacer un ``AutoNumber`` de propósito más general, agregue ``*args`` " -#~ "a la firma::" - -#~ msgid "" -#~ "Then when you inherit from ``AutoNumber`` you can write your own " -#~ "``__init__`` to handle any extra arguments::" -#~ msgstr "" -#~ "Luego, cuando hereda de ``AutoNumber``, puede escribir su propio " -#~ "``__init__`` para manejar cualquier argumento adicional::" - -#~ msgid "" -#~ "The :meth:`__new__` method, if defined, is used during creation of the " -#~ "Enum members; it is then replaced by Enum's :meth:`__new__` which is used " -#~ "after class creation for lookup of existing members." -#~ msgstr "" -#~ "El método :meth:`__new__`, está definido, se usa durante la creación de " -#~ "los miembros Enum; se remplaza entonces por el Enum :meth:`__new__` que " -#~ "se utiliza después de la creación de la clase para buscar miembros " -#~ "existentes." - -#~ msgid "OrderedEnum" -#~ msgstr "OrderedEnum" - -#~ msgid "" -#~ "An ordered enumeration that is not based on :class:`IntEnum` and so " -#~ "maintains the normal :class:`Enum` invariants (such as not being " -#~ "comparable to other enumerations)::" -#~ msgstr "" -#~ "Una enumeración ordenada que no se basa en :class:`IntEnum` y, por lo " -#~ "tanto mantiene los invariantes normales de :class:`Enum` (como no ser " -#~ "comparables con otras enumeraciones)::" - -#~ msgid "DuplicateFreeEnum" -#~ msgstr "DuplicateFreeEnum" - -#~ msgid "" -#~ "Raises an error if a duplicate member name is found instead of creating " -#~ "an alias::" -#~ msgstr "" -#~ "Levanta un error si se encuentra un nombre de miembro duplicado en lugar " -#~ "de crear un alias::" - -#~ msgid "" -#~ "This is a useful example for subclassing Enum to add or change other " -#~ "behaviors as well as disallowing aliases. If the only desired change is " -#~ "disallowing aliases, the :func:`unique` decorator can be used instead." -#~ msgstr "" -#~ "Este es un ejemplo útil para subclasificar Enum para agregar o cambiar " -#~ "otros comportamientos, así como no permitir alias. Si el único cambio " -#~ "deseado es no permitir alias, el decorador :func:`unique` puede usarse en " -#~ "su lugar." - -#~ msgid "Planet" -#~ msgstr "Planeta" - -#~ msgid "" -#~ "If :meth:`__new__` or :meth:`__init__` is defined the value of the enum " -#~ "member will be passed to those methods::" -#~ msgstr "" -#~ "Si :meth:`__new__` o :meth:`__init__` se definen el valor del miembro " -#~ "enum se pasará a estos métodos::" - -#~ msgid "TimePeriod" -#~ msgstr "Periodo de tiempo" - -#~ msgid "An example to show the :attr:`_ignore_` attribute in use::" -#~ msgstr "Un ejemplo para mostrar el atributo :attr:`ignore` en uso::" - -#~ msgid "How are Enums different?" -#~ msgstr "¿Cómo son diferentes las Enums?" - -#~ msgid "" -#~ "Enums have a custom metaclass that affects many aspects of both derived " -#~ "Enum classes and their instances (members)." -#~ msgstr "" -#~ "Los Enums tienen una metaclase personalizada que afecta muchos aspectos, " -#~ "tanto de las clases derivadas Enum como de sus instancias (miembros)." - -#~ msgid "Enum Classes" -#~ msgstr "Clases Enum" - -#~ msgid "" -#~ "The :class:`EnumMeta` metaclass is responsible for providing the :meth:" -#~ "`__contains__`, :meth:`__dir__`, :meth:`__iter__` and other methods that " -#~ "allow one to do things with an :class:`Enum` class that fail on a typical " -#~ "class, such as `list(Color)` or `some_enum_var in Color`. :class:" -#~ "`EnumMeta` is responsible for ensuring that various other methods on the " -#~ "final :class:`Enum` class are correct (such as :meth:`__new__`, :meth:" -#~ "`__getnewargs__`, :meth:`__str__` and :meth:`__repr__`)." -#~ msgstr "" -#~ "La meta clase :class:`EnumMeta` es responsable de proveer los métodos :" -#~ "meth:`__contains__`, :meth:`__dir__`, :meth:`__iter__` y cualquier otro " -#~ "que permita hacer cosas con una clase :class:`Enum` que falla en una " -#~ "clase típica, como `list(Color)` o `some_enum_var in Color`. :class:" -#~ "`EnumMeta` es responsable de asegurar que los otro varios métodos en la " -#~ "clase final :class:`Enum` sean correctos (como :meth:`__new__`, :meth:" -#~ "`__getnewargs__`, :meth:`__str__` y :meth:`__repr__`)." - -#~ msgid "Enum Members (aka instances)" -#~ msgstr "Miembros de Enum (también conocidos como instancias)" - -#~ msgid "" -#~ "The most interesting thing about Enum members is that they are " -#~ "singletons. :class:`EnumMeta` creates them all while it is creating the :" -#~ "class:`Enum` class itself, and then puts a custom :meth:`__new__` in " -#~ "place to ensure that no new ones are ever instantiated by returning only " -#~ "the existing member instances." -#~ msgstr "" -#~ "Lo más interesante de los miembros de Enum es que son únicos. :class:" -#~ "`Enum` los crea todos mientras está creando la clase :class:`Enum` misma, " -#~ "y después un :meth:`__new__` personalizado para garantizar que nunca se " -#~ "creen instancias nuevas retornando solo las instancias de miembros " -#~ "existentes." - -#~ msgid "Finer Points" -#~ msgstr "Puntos más finos" - -#~ msgid "" -#~ "To help keep Python 2 / Python 3 code in sync an :attr:`_order_` " -#~ "attribute can be provided. It will be checked against the actual order " -#~ "of the enumeration and raise an error if the two do not match::" -#~ msgstr "" -#~ "Para ayudar a mantener sincronizado el código Python 2 / Python 3 se " -#~ "puede proporcionar un atributo :attr:`_order_`. Se verificará con el " -#~ "orden real de la enumeración y lanzará un error si los dos no coinciden:" - -#~ msgid "" -#~ "In Python 2 code the :attr:`_order_` attribute is necessary as definition " -#~ "order is lost before it can be recorded." -#~ msgstr "" -#~ "En código Python 2 el atributo :attr:`_order_` es necesario ya que el " -#~ "orden de definición se pierde antes de que se pueda registrar." - -#~ msgid "_Private__names" -#~ msgstr "_Private__names" - -#~ msgid "" -#~ "Private names will be normal attributes in Python 3.10 instead of either " -#~ "an error or a member (depending on if the name ends with an underscore). " -#~ "Using these names in 3.9 will issue a :exc:`DeprecationWarning`." -#~ msgstr "" -#~ "Los nombres privados serán atributos normales en Python 3.10 en lugar de " -#~ "un error o un miembro (dependiendo de si el nombre termina con un guión " -#~ "bajo). El uso de estos nombres en 3.9 emitirá un :exc:" -#~ "`DeprecationWarning`." - -#~ msgid "``Enum`` member type" -#~ msgstr "Tipo de miembro ``Enum``" - -#~ msgid "" -#~ ":class:`Enum` members are instances of their :class:`Enum` class, and are " -#~ "normally accessed as ``EnumClass.member``. Under certain circumstances " -#~ "they can also be accessed as ``EnumClass.member.member``, but you should " -#~ "never do this as that lookup may fail or, worse, return something besides " -#~ "the :class:`Enum` member you are looking for (this is another good reason " -#~ "to use all-uppercase names for members)::" -#~ msgstr "" -#~ "Los miembros :class:`Enum` son instancias de su clase :class:`Enum`, y " -#~ "normalmente se accede a ellos como ``EnumClass.member``. Bajo ciertas " -#~ "circunstancias también se puede acceder como ``EnumClass.member.member``, " -#~ "pero nunca se debe hacer esto ya que esa búsqueda puede fallar, o peor " -#~ "aún, retornar algo además del miembro :class:`Enum` que está buscando " -#~ "(esta es otra buena razón para usar solo mayúsculas en los nombres para " -#~ "los miembros)::" - -#~ msgid "Boolean value of ``Enum`` classes and members" -#~ msgstr "Valor booleano de las clases y miembros ``Enum``" - -#~ msgid "" -#~ ":class:`Enum` members that are mixed with non-:class:`Enum` types (such " -#~ "as :class:`int`, :class:`str`, etc.) are evaluated according to the mixed-" -#~ "in type's rules; otherwise, all members evaluate as :data:`True`. To " -#~ "make your own Enum's boolean evaluation depend on the member's value add " -#~ "the following to your class::" -#~ msgstr "" -#~ "Lo miembros :class:`Enum` que están mezclados con tipos sin-:class:`Enum` " -#~ "(como :class:`int`, :class:`str`, etc.) se evalúan de acuerdo con las " -#~ "reglas de tipo mixto; de lo contrario, todos los miembros evalúan como :" -#~ "data:`True`. Para hacer que tu propia evaluación booleana de Enum dependa " -#~ "del valor del miembro, agregue lo siguiente a su clase::" - -#~ msgid ":class:`Enum` classes always evaluate as :data:`True`." -#~ msgstr "las clases :class:`Enum` siempre evalúan como :data:`True`." - -#~ msgid "``Enum`` classes with methods" -#~ msgstr "``Enum`` clases con métodos" - -#~ msgid "" -#~ "If you give your :class:`Enum` subclass extra methods, like the `Planet`_ " -#~ "class above, those methods will show up in a :func:`dir` of the member, " -#~ "but not of the class::" -#~ msgstr "" -#~ "Si le da a su subclase :class:`Enum` métodos adicionales, como la clase " -#~ "`Planet`_ anterior, esos métodos aparecerán en una :func:`dir` del " -#~ "miembro, pero no de la clase ::" - -#~ msgid "Combining members of ``Flag``" -#~ msgstr "Combinando miembros de``Flag``" - -#~ msgid "" -#~ "If a combination of Flag members is not named, the :func:`repr` will " -#~ "include all named flags and all named combinations of flags that are in " -#~ "the value::" -#~ msgstr "" -#~ "Si no se nombra una combinación de miembros de Flag, el :func:`repr` " -#~ "incluirá todos los flags con nombre y todas las combinaciones de flags " -#~ "con nombre que estén en el valor ::" diff --git a/library/exceptions.po b/library/exceptions.po index e6abef6ba6..5aca00e187 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -1562,34 +1562,3 @@ msgstr "Jerarquía de excepción" #: ../Doc/library/exceptions.rst:974 msgid "The class hierarchy for built-in exceptions is:" msgstr "La jerarquía de clases para las excepciones incorporadas es:" - -#~ msgid "" -#~ "When raising (or re-raising) an exception in an :keyword:`except` or :" -#~ "keyword:`finally` clause :attr:`__context__` is automatically set to the " -#~ "last exception caught; if the new exception is not handled the traceback " -#~ "that is eventually displayed will include the originating exception(s) " -#~ "and the final exception." -#~ msgstr "" -#~ "Al lanzar (o relanzar) una excepción en una clausula :keyword:`except` o :" -#~ "keyword:`finally` clausula :attr:`__context__` se establece " -#~ "automáticamente en la ultima excepción detectada; si no se controla la " -#~ "nueva excepción, el seguimiento que finalmente se muestra como resultado " -#~ "incluirá las excepciones de origen y la excepción final." - -#~ msgid "" -#~ "Raised when an operation would block on an object (e.g. socket) set for " -#~ "non-blocking operation. Corresponds to :c:data:`errno` ``EAGAIN``, " -#~ "``EALREADY``, ``EWOULDBLOCK`` and ``EINPROGRESS``." -#~ msgstr "" -#~ "Se genera cuando una operación se bloquearía en un objeto (por ejemplo, " -#~ "un *socket*) configurado para una operación sin bloqueo. Corresponde a :c:" -#~ "data:`errno` ``EAGAIN``, ``EALREADY``, ``EWOULDBLOCK`` y ``EINPROGRESS``." - -#~ msgid "" -#~ "Raised when trying to run an operation without the adequate access rights " -#~ "- for example filesystem permissions. Corresponds to :c:data:`errno` " -#~ "``EACCES`` and ``EPERM``." -#~ msgstr "" -#~ "Se genera cuando se intenta ejecutar una operación sin los derechos de " -#~ "acceso adecuados, por ejemplo, permisos del sistema de archivos. " -#~ "Corresponde a :c:data:`errno` ``EACCES`` y ``EPERM``." diff --git a/library/fractions.po b/library/fractions.po index c8daf6cf73..a9b6e9269e 100644 --- a/library/fractions.po +++ b/library/fractions.po @@ -247,11 +247,3 @@ msgstr "Módulo :mod:`numbers`" #: ../Doc/library/fractions.rst:191 msgid "The abstract base classes making up the numeric tower." msgstr "Las clases base abstractas que representan la jerarquía de números." - -#~ msgid "" -#~ "This class method constructs a :class:`Fraction` representing the exact " -#~ "value of *dec*, which must be a :class:`decimal.Decimal` instance." -#~ msgstr "" -#~ "Este método de clase construye una instancia de :class:`Fraction` " -#~ "representando el valor exacto de *dec*, que debe ser una instancia de :" -#~ "class:`decimal.Decimal`." diff --git a/library/functions.po b/library/functions.po index 5f04951f59..4420a952dc 100644 --- a/library/functions.po +++ b/library/functions.po @@ -3789,44 +3789,3 @@ msgstr "" "tipo Unix. Si estás leyendo el código de un fichero, asegúrate de usar la el " "modo de conversión de nueva línea para convertir las líneas de tipo Windows " "o Mac." - -#~ msgid "" -#~ "``aiter(x)`` itself has an ``__aiter__()`` method that returns ``x``, so " -#~ "``aiter(aiter(x))`` is the same as ``aiter(x)``." -#~ msgstr "" -#~ "``aiter(x)`` en sí mismo tiene un método ``__aiter__()`` que retorna " -#~ "``x``, por lo que ``aiter(aiter(x))`` es lo mismo que ``aiter(x)``." - -#~ msgid "" -#~ "Return a dictionary representing the current global symbol table. This is " -#~ "always the dictionary of the current module (inside a function or method, " -#~ "this is the module where it is defined, not the module from which it is " -#~ "called)." -#~ msgstr "" -#~ "Retorna un diccionario que representa la tabla global de símbolos. Es " -#~ "siempre el diccionario del módulo actual (dentro de una función o método, " -#~ "este es el módulo donde está definida, no el módulo desde el que es " -#~ "llamada)." - -#~ msgid "" -#~ "Raises an auditing event ``builtins.input/result`` with argument " -#~ "``result``." -#~ msgstr "" -#~ "Lanza un evento de auditoria ``builtins.input/result`` con el argumento " -#~ "``result``." - -#~ msgid "" -#~ "There is an additional mode character permitted, ``'U'``, which no longer " -#~ "has any effect, and is considered deprecated. It previously enabled :term:" -#~ "`universal newlines` in text mode, which became the default behavior in " -#~ "Python 3.0. Refer to the documentation of the :ref:`newline ` parameter for further details." -#~ msgstr "" -#~ "Hay un caracter adicional permitido para indicar un modo, ``’U’``, que ya " -#~ "no tiene ningún efecto y que se considera obsoleto. Anteriormente " -#~ "permitía en modo texto :term:`universal newlines`, lo que se convirtió en " -#~ "el comportamiento por defecto en Python 3.0. Para más detalles, referirse " -#~ "a la documentación del parámetro :ref:`newline `." - -#~ msgid "The ``'U'`` mode." -#~ msgstr "El modo ``'U'``." diff --git a/library/functools.po b/library/functools.po index 4b81b80621..fbb017c2ac 100644 --- a/library/functools.po +++ b/library/functools.po @@ -888,17 +888,3 @@ msgstr "" "objetos :class:`partial` definidos en las clases se comportan como métodos " "estáticos y no se transforman en métodos vinculados durante la búsqueda de " "atributos de la instancia." - -#~ msgid "" -#~ "If *typed* is set to true, function arguments of different types will be " -#~ "cached separately. For example, ``f(3)`` and ``f(3.0)`` will always be " -#~ "treated as distinct calls with distinct results. If *typed* is false, " -#~ "the implementation will usually but not always regard them as equivalent " -#~ "calls and only cache a single result." -#~ msgstr "" -#~ "Si *typed* se establece como verdadero, los argumentos de las funciones " -#~ "de diferentes tipos se almacenarán en la memoria caché por separado. Por " -#~ "ejemplo, ``f(3)`` y ``f(3.0)`` siempre se tratarán como llamadas " -#~ "distintas con resultados distintos. Si *typed* es falso, la " -#~ "implementación usualmente pero no siempre los tratará como llamadas " -#~ "equivalentes y solo almacenará en caché un solo resultado." diff --git a/library/gettext.po b/library/gettext.po index 7017e2dd5a..059ccdaa32 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -1072,82 +1072,3 @@ msgstr "" #: ../Doc/library/gettext.rst:649 msgid "See the footnote for :func:`bindtextdomain` above." msgstr "Vea la nota al pie de página para :func:`bindtextdomain` arriba." - -#~ msgid "" -#~ "Bind the *domain* to *codeset*, changing the encoding of byte strings " -#~ "returned by the :func:`lgettext`, :func:`ldgettext`, :func:`lngettext` " -#~ "and :func:`ldngettext` functions. If *codeset* is omitted, then the " -#~ "current binding is returned." -#~ msgstr "" -#~ "Enlaza (*bind*) el *domain* al *codeset*, cambiando la codificación de " -#~ "las cadenas de bytes retornadas por las funciones :func:`lgettext`, :func:" -#~ "`ldgettext`, :func:`lngettext` y :func:`ldngettext`. Si se omite " -#~ "*codeset*, se retorna el enlace (*binding*) actual." - -#~ msgid "" -#~ "Equivalent to the corresponding functions without the ``l`` prefix (:func:" -#~ "`.gettext`, :func:`dgettext`, :func:`ngettext` and :func:`dngettext`), " -#~ "but the translation is returned as a byte string encoded in the preferred " -#~ "system encoding if no other encoding was explicitly set with :func:" -#~ "`bind_textdomain_codeset`." -#~ msgstr "" -#~ "Equivalente a las funciones correspondientes sin el prefijo ``l`` (:func:" -#~ "`.gettext`, :func:`dgettext`, :func:`ngettext` y :func:`dngettext`), pero " -#~ "la traducción se retorna como una cadena de bytes codificada en la " -#~ "codificación del sistema preferida si no se estableció explícitamente " -#~ "otra codificación con :func:`bind_textdomain_codeset`." - -#~ msgid "" -#~ "These functions should be avoided in Python 3, because they return " -#~ "encoded bytes. It's much better to use alternatives which return Unicode " -#~ "strings instead, since most Python applications will want to manipulate " -#~ "human readable text as strings instead of bytes. Further, it's possible " -#~ "that you may get unexpected Unicode-related exceptions if there are " -#~ "encoding problems with the translated strings." -#~ msgstr "" -#~ "Estas funciones deben evitarse en Python 3, ya que retornan bytes " -#~ "codificados. Es mucho mejor usar alternativas que retornan cadenas " -#~ "Unicode, ya que la mayoría de las aplicaciones de Python querrán " -#~ "manipular el texto legible por humanos como cadenas en lugar de bytes. " -#~ "Además, es posible que obtenga excepciones inesperadas relacionadas con " -#~ "Unicode si hay problemas de codificación con las cadenas traducidas." - -#~ msgid "" -#~ "Equivalent to :meth:`.gettext` and :meth:`.ngettext`, but the translation " -#~ "is returned as a byte string encoded in the preferred system encoding if " -#~ "no encoding was explicitly set with :meth:`set_output_charset`. " -#~ "Overridden in derived classes." -#~ msgstr "" -#~ "Equivalente a :meth:`.gettext` y :meth:`.ngettext`, pero la traducción se " -#~ "retorna como una cadena de bytes codificada en la codificación del " -#~ "sistema preferida si no se estableció explícitamente ninguna codificación " -#~ "con :meth:`set_output_charset`. Anulado en clases derivadas." - -#~ msgid "" -#~ "These methods should be avoided in Python 3. See the warning for the :" -#~ "func:`lgettext` function." -#~ msgstr "" -#~ "Estos métodos deben evitarse en Python 3. Consulte la advertencia para la " -#~ "función :func:`lgettext`." - -#~ msgid "" -#~ "Return the encoding used to return translated messages in :meth:`." -#~ "lgettext` and :meth:`.lngettext`." -#~ msgstr "" -#~ "Retorna la codificación utilizada para retornar mensajes traducidos en :" -#~ "meth:`.lgettext` y :meth:`.lngettext`." - -#~ msgid "Change the encoding used to return translated messages." -#~ msgstr "" -#~ "Cambiar la codificación utilizada para retornar mensajes traducidos." - -#~ msgid "" -#~ "Equivalent to :meth:`.gettext` and :meth:`.ngettext`, but the translation " -#~ "is returned as a byte string encoded in the preferred system encoding if " -#~ "no encoding was explicitly set with :meth:`~NullTranslations." -#~ "set_output_charset`." -#~ msgstr "" -#~ "Equivalente a :meth:`.gettext` y :meth:`.ngettext`, pero la traducción se " -#~ "retorna como una cadena de bytes codificada en la codificación del " -#~ "sistema preferida si no se estableció explícitamente ninguna codificación " -#~ "con :meth:`~NullTranslations.set_output_charset`." diff --git a/library/grp.po b/library/grp.po index d0fabd98b0..df42562620 100644 --- a/library/grp.po +++ b/library/grp.po @@ -188,10 +188,3 @@ msgstr "Módulo :mod:`spwd`" msgid "An interface to the shadow password database, similar to this." msgstr "" "Una interfaz para la base de datos de contraseñas ocultas, similar a esta." - -#~ msgid "" -#~ "Since Python 3.6 the support of non-integer arguments like floats or " -#~ "strings in :func:`getgrgid` is deprecated." -#~ msgstr "" -#~ "Desde Python 3.6, la compatibilidad con argumentos no enteros como " -#~ "flotantes o cadenas en :func:`getgrgid` está obsoleta." diff --git a/library/gzip.po b/library/gzip.po index 102ff66dcb..0b8c5ea836 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -491,10 +491,3 @@ msgstr "Descomprime el archivo dado." #: ../Doc/library/gzip.rst:277 msgid "Show the help message." msgstr "Muestra el mensaje de ayuda." - -#~ msgid "" -#~ "Decompress the *data*, returning a :class:`bytes` object containing the " -#~ "uncompressed data." -#~ msgstr "" -#~ "Descomprime los *data*, retornando un objeto :class:`bytes` que contiene " -#~ "los datos sin comprimir." diff --git a/library/hashlib.po b/library/hashlib.po index 474fe62d5d..a2881d5d49 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -1169,12 +1169,3 @@ msgstr "" msgid "NIST Recommendation for Password-Based Key Derivation." msgstr "" "Recomendación de NIST para la derivación de claves basadas en contraseña." - -#~ msgid "" -#~ "The number of *iterations* should be chosen based on the hash algorithm " -#~ "and computing power. As of 2013, at least 100,000 iterations of SHA-256 " -#~ "are suggested." -#~ msgstr "" -#~ "El número de *iterations* debería ser elegido basado en el algoritmo de " -#~ "hash y el poder de cómputo. A partir del 2013, se sugiere al menos " -#~ "100,000 iteraciones de SHA-256." diff --git a/library/http.client.po b/library/http.client.po index 7d3719c677..c63502112a 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -858,7 +858,3 @@ msgstr "" "Una instancia de :class:`http.client.HTTPMessage` contiene los encabezados " "de una respuesta HTTP. Se implementa utilizando la clase :class:`email." "message.Message`." - -#~ msgid "Here is an example session that shows how to ``POST`` requests::" -#~ msgstr "" -#~ "Aquí hay una sesión de ejemplo que muestra cómo solicitar ``POST``::" diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index 07c0929c88..00a1d49d4f 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -1277,32 +1277,3 @@ msgstr "" "las cookies :rfc:`2965`, es más estricto con respecto a los dominios cuando " "se establecen o se retornan cookies Netscape, y bloquea algunos dominios " "para establecer o retornar cookies::" - -#~ msgid "" -#~ "The *request* object (usually a :class:`urllib.request.Request` instance) " -#~ "must support the methods :meth:`get_full_url`, :meth:`get_host`, :meth:" -#~ "`get_type`, :meth:`unverifiable`, :meth:`has_header`, :meth:" -#~ "`get_header`, :meth:`header_items`, :meth:`add_unredirected_header` and :" -#~ "attr:`origin_req_host` attribute as documented by :mod:`urllib.request`." -#~ msgstr "" -#~ "El objeto *request* (usualmente una instancia :class:`urllib.request." -#~ "Request`) debe de soportar los métodos :meth:`get_full_url`, :meth:" -#~ "`get_host`, :meth:`get_type`, :meth:`unverifiable`, :meth:`has_header`, :" -#~ "meth:`get_header`, :meth:`header_items`, :meth:`add_unredirected_header` " -#~ "y el atributo :attr:`origin_req_host` como es documentado en :mod:" -#~ "`urllib.request`." - -#~ msgid "" -#~ "The *request* object (usually a :class:`urllib.request.Request` instance) " -#~ "must support the methods :meth:`get_full_url`, :meth:`get_host`, :meth:" -#~ "`unverifiable`, and :attr:`origin_req_host` attribute, as documented by :" -#~ "mod:`urllib.request`. The request is used to set default values for " -#~ "cookie-attributes as well as for checking that the cookie is allowed to " -#~ "be set." -#~ msgstr "" -#~ "El objeto *request* (usualmente una instancia :class:`urllib.request." -#~ "Request`) debe soportar los métodos :meth:`get_full_url`, :meth:" -#~ "`get_host`, :meth:`unverifiable`, y el atributo :attr:`origin_req_host`, " -#~ "como es documentado en :mod:`urllib.request`. La request es utilizada " -#~ "para establecer valores predeterminados en los atributos-cookie así como " -#~ "de comprobar si tiene permitido hacerlo." diff --git a/library/http.po b/library/http.po index 9ab0f6c649..02c5f0cba4 100644 --- a/library/http.po +++ b/library/http.po @@ -977,11 +977,3 @@ msgstr "``PATCH``" #: ../Doc/library/http.rst:180 msgid "HTTP/1.1 :rfc:`5789`" msgstr "HTTP/1.1 :rfc:`5789`" - -#~ msgid "" -#~ ":mod:`http` is also a module that defines a number of HTTP status codes " -#~ "and associated messages through the :class:`http.HTTPStatus` enum:" -#~ msgstr "" -#~ ":mod:`http` es también un módulo que define una serie de códigos de " -#~ "estado HTTP y mensajes asociados a través de la enumeración :class:`http." -#~ "HTTPStatus`:" diff --git a/library/http.server.po b/library/http.server.po index b91f5fc75b..606f47f34f 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -874,6 +874,3 @@ msgstr "" ":class:`SimpleHTTPRequestHandler` seguirá los enlaces simbólicos cuando " "gestione peticiones, esto hace posible que se sirvan ficheros fuera del " "directorio especificado." - -#~ msgid "``--directory`` specify alternate directory" -#~ msgstr "``--directory`` especificar directorio alternativo" diff --git a/library/idle.po b/library/idle.po index 61b132d96b..b5043303a8 100755 --- a/library/idle.po +++ b/library/idle.po @@ -2238,23 +2238,3 @@ msgstr "" "el elemento. Excepto para archivos enumerados en 'Inicio', el código de " "idlelib es 'privado' en el sentido de que los cambios de características " "pueden ser portados (consultar :pep:`434`)." - -#~ msgid "Class Browser" -#~ msgstr "Navegador de clases" - -#~ msgid "" -#~ "Save the current window with a Save As dialog. The file saved becomes " -#~ "the new associated file for the window." -#~ msgstr "" -#~ "Guarda la ventana actual con un cuadro de diálogo Guardar como. El " -#~ "archivo guardado se convierte en el nuevo archivo asociado para esta " -#~ "ventana." - -#~ msgid "Close" -#~ msgstr "Cerrar" - -#~ msgid "Close the current window (ask to save if unsaved)." -#~ msgstr "Cierra la ventana actual (solicita guardar si no está guardado)." - -#~ msgid "Exit" -#~ msgstr "Salir" diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index 2e798558ee..845c6bc22d 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -474,6 +474,3 @@ msgstr "" "abstractos. Luego, en el método ``find_distributions()`` de un buscador " "personalizado no hay más que retornar instancias de esta ``Distribution`` " "derivada." - -#~ msgid "Footnotes" -#~ msgstr "Notas al pie" diff --git a/library/inspect.po b/library/inspect.po index ed12110b2f..20afebf62a 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -2511,107 +2511,3 @@ msgid "" "Print information about the specified object rather than the source code" msgstr "" "Imprimir información sobre el objeto especificado en lugar del código fuente" - -#~ msgid "tuple of names of local variables" -#~ msgstr "tupla de nombres de variables locales" - -#~ msgid "" -#~ "Get the names and default values of a Python function's parameters. A :" -#~ "term:`named tuple` ``ArgSpec(args, varargs, keywords, defaults)`` is " -#~ "returned. *args* is a list of the parameter names. *varargs* and " -#~ "*keywords* are the names of the ``*`` and ``**`` parameters or ``None``. " -#~ "*defaults* is a tuple of default argument values or ``None`` if there are " -#~ "no default arguments; if this tuple has *n* elements, they correspond to " -#~ "the last *n* elements listed in *args*." -#~ msgstr "" -#~ "Obtener los nombres y valores por defecto de los parámetros de una " -#~ "función de Python. A :term:`named tuple` ``ArgSpec(args, varargs, " -#~ "keywords, defaults)`` es retornado. *args* es una lista de los nombres de " -#~ "los parámetros. *varargs* y *keywords* son los nombres de los parámetros " -#~ "``*`` y ``**`` o ``None``. *defaults* es una tupla de valores de los " -#~ "argumentos por defecto o ``None`` si no hay argumentos por defecto; si " -#~ "esta tupla tiene *n* elementos, corresponden a los últimos *n* elementos " -#~ "listados en *args*." - -#~ msgid "" -#~ "Use :func:`getfullargspec` for an updated API that is usually a drop-in " -#~ "replacement, but also correctly handles function annotations and keyword-" -#~ "only parameters." -#~ msgstr "" -#~ "Use :func:`getfullargspec` para una API actualizada que suele ser un " -#~ "sustituto de la que no se necesita, pero que también maneja correctamente " -#~ "las anotaciones de la función y los parámetros de sólo palabras clave." - -#~ msgid "" -#~ "Alternatively, use :func:`signature` and :ref:`Signature Object `, which provide a more structured introspection API for " -#~ "callables." -#~ msgstr "" -#~ "Alternativamente, use :func:`signature` y :ref:`Objeto Signature `, que proporcionan una API de introspección más " -#~ "estructurada para los invocables." - -#~ msgid "" -#~ "Format a pretty argument spec from the values returned by :func:" -#~ "`getfullargspec`." -#~ msgstr "" -#~ "Formatea un bonito argumento de los valores retornados por :func:" -#~ "`getfullargspec`." - -#~ msgid "" -#~ "The first seven arguments are (``args``, ``varargs``, ``varkw``, " -#~ "``defaults``, ``kwonlyargs``, ``kwonlydefaults``, ``annotations``)." -#~ msgstr "" -#~ "Los primeros siete argumentos son (``args``, ``varargs``, ``varkw``, " -#~ "``defaults``, ``kwonlyargs``, ``kwonlydefaults``, ``annotations``)." - -#~ msgid "" -#~ "The other six arguments are functions that are called to turn argument " -#~ "names, ``*`` argument name, ``**`` argument name, default values, return " -#~ "annotation and individual annotations into strings, respectively." -#~ msgstr "" -#~ "Los otros seis argumentos son funciones que se llaman para convertir los " -#~ "nombres de los argumentos, el nombre del argumento ``*``, el nombre del " -#~ "argumento ``**``, los valores por defecto, la anotación de retorno y las " -#~ "anotaciones individuales en cadenas, respectivamente." - -#~ msgid "For example:" -#~ msgstr "Por ejemplo:" - -#~ msgid "" -#~ "Use :func:`signature` and :ref:`Signature Object `, which provide a better introspecting API for callables." -#~ msgstr "" -#~ "Usar :func:`signature` y :ref:`Objeto Signature `, que proporcionan un mejor API de introspección para los " -#~ "invocables." - -#~ msgid "" -#~ "When the following functions return \"frame records,\" each record is a :" -#~ "term:`named tuple` ``FrameInfo(frame, filename, lineno, function, " -#~ "code_context, index)``. The tuple contains the frame object, the " -#~ "filename, the line number of the current line, the function name, a list " -#~ "of lines of context from the source code, and the index of the current " -#~ "line within that list." -#~ msgstr "" -#~ "Cuando las siguientes funciones retornan \"registros de cuadro\", cada " -#~ "registro es un :term:`named tuple` ``FrameInfo(frame, filename, lineno, " -#~ "function, code_context, index)``. La tupla contiene el objeto marco, el " -#~ "nombre de archivo, el número de línea de la línea actual, el nombre de la " -#~ "función, una lista de líneas de contexto del código fuente, y el índice " -#~ "de la línea actual dentro de esa lista." - -#~ msgid "" -#~ "Get a list of frame records for a frame and all outer frames. These " -#~ "frames represent the calls that lead to the creation of *frame*. The " -#~ "first entry in the returned list represents *frame*; the last entry " -#~ "represents the outermost call on *frame*'s stack." -#~ msgstr "" -#~ "Obtener una lista de registros marco para un marco y de todos los marcos " -#~ "exteriores. Estos marcos representan las llamadas que conducen a la " -#~ "creación de *frame*. La primera entrada de la lista retornada representa " -#~ "*frame*; la última entrada representa la llamada más exterior en la pila " -#~ "de *frame*." - -#~ msgid "The flag is set if there are no free or cell variables." -#~ msgstr "El flag se configura si no hay variables libres o de celda." diff --git a/library/io.po b/library/io.po index 17d9cf16e5..81f8a56cc6 100644 --- a/library/io.po +++ b/library/io.po @@ -2162,38 +2162,3 @@ msgstr "" "función :func:`open()` envolverá un objeto almacenado en búfer dentro de un :" "class:`TextIOWrapper`. Esto incluye transmisiones estándar y, por lo tanto, " "también afecta a la función :func:`print()` incorporada." - -#~ msgid "" -#~ "Additionally, while there is no concrete plan as of yet, Python may " -#~ "change the default text file encoding to UTF-8 in the future." -#~ msgstr "" -#~ "Además, aunque todavía no hay un plan concreto, Python puede cambiar la " -#~ "codificación predeterminada del archivo de texto a UTF-8 en el futuro." - -#~ msgid "" -#~ "When you need to run existing code on Windows that attempts to opens " -#~ "UTF-8 files using the default locale encoding, you can enable the UTF-8 " -#~ "mode. See :ref:`UTF-8 mode on Windows `." -#~ msgstr "" -#~ "Cuando necesite ejecutar código existente en Windows que intente abrir " -#~ "archivos UTF-8 utilizando la codificación de configuración regional " -#~ "predeterminada, puede habilitar el modo UTF-8. Ver :ref:`UTF-8 mode on " -#~ "Windows `." - -#~ msgid "" -#~ "The abstract base class for all I/O classes, acting on streams of bytes. " -#~ "There is no public constructor." -#~ msgstr "" -#~ "La clase base abstracta para todas las clases de tipo E/S, actuando sobre " -#~ "*streams* de *bytes*. No hay constructor público." - -#~ msgid "" -#~ "The initial value of the buffer can be set by providing *initial_value*. " -#~ "If newline translation is enabled, newlines will be encoded as if by :" -#~ "meth:`~TextIOBase.write`. The stream is positioned at the start of the " -#~ "buffer." -#~ msgstr "" -#~ "El valor inicial del búfer puede ser configurado dando *initial_value*. " -#~ "Si la traducción de la nueva línea es habilitado, nuevas líneas serán " -#~ "codificado como si fuera por :meth:`~TextIOBase.write`. El *stream* está " -#~ "posicionado al inicio del búfer." diff --git a/library/json.po b/library/json.po index 1ffd3ee1f4..37cbe8bc30 100644 --- a/library/json.po +++ b/library/json.po @@ -1109,18 +1109,3 @@ msgstr "" "errata_search.php?rfc-7159>`_, JSON permite caracteres literales U+2028 " "(SEPARADOR DE LINEA) y U+2029 (SEPARADOR DE PÁRRAFO) en cadenas, mientras " "que JavaScript (a partir de ECMAScript Edición 5.1) no lo hace." - -#~ msgid "" -#~ "Prior to Python 3.7, :class:`dict` was not guaranteed to be ordered, so " -#~ "inputs and outputs were typically scrambled unless :class:`collections." -#~ "OrderedDict` was specifically requested. Starting with Python 3.7, the " -#~ "regular :class:`dict` became order preserving, so it is no longer " -#~ "necessary to specify :class:`collections.OrderedDict` for JSON generation " -#~ "and parsing." -#~ msgstr "" -#~ "Antes de Python 3.7, no se garantizaba que :class:`dict` fuera ordenado, " -#~ "por lo que las entradas y salidas se mezclaban a menos que :class:" -#~ "`collections.OrderedDict` se solicitara específicamente. Comenzando con " -#~ "Python 3.7, la clase regular :class:`dict` conserva el orden, por lo que " -#~ "ya no es necesario especificar :class:`collections.OrderedDict` para la " -#~ "generación y análisis JSON." diff --git a/library/keyword.po b/library/keyword.po index 2a8a2e9bf2..158dd5abf3 100644 --- a/library/keyword.po +++ b/library/keyword.po @@ -70,19 +70,3 @@ msgstr "" "para el intérprete. Si cualquier palabra clave es definida para estar activa " "sólo cuando las declaraciones particulares :mod:`__future__` están vigentes, " "estas se incluirán también." - -#~ msgid "Return ``True`` if *s* is a Python soft :ref:`keyword `." -#~ msgstr "" -#~ "Retorna ``True`` si *s* es una :ref:`palabra clave ` de Python " -#~ "suave." - -#~ msgid "" -#~ "Sequence containing all the soft :ref:`keywords ` defined for " -#~ "the interpreter. If any soft keywords are defined to only be active when " -#~ "particular :mod:`__future__` statements are in effect, these will be " -#~ "included as well." -#~ msgstr "" -#~ "Secuencia que contiene todos las :ref:`palabras clave ` suaves " -#~ "definidas para el intérprete. Si se define alguna palabra clave blanda " -#~ "para que solo esté activa cuando las declaraciones particulares :mod:" -#~ "`__future__` están en vigor, estas también se incluirán." diff --git a/library/logging.handlers.po b/library/logging.handlers.po index 359ac88d5f..b0008feaa6 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -2205,13 +2205,3 @@ msgstr "Módulo :mod:`logging.config`" #: ../Doc/library/logging.handlers.rst:1194 msgid "Configuration API for the logging module." msgstr "Configuración API para el módulo de *logging*." - -#~ msgid "" -#~ "The base implementation formats the record to merge the message, " -#~ "arguments, and exception information, if present. It also removes " -#~ "unpickleable items from the record in-place." -#~ msgstr "" -#~ "La implementación base da formato al registro para unir la información de " -#~ "los mensajes, argumentos y excepciones, si están presentes. También " -#~ "remueve los elementos que no se pueden serializar (*unpickleables*) de " -#~ "los registros in-situ." diff --git a/library/logging.po b/library/logging.po index d8a37ba1d2..56ee1b953c 100644 --- a/library/logging.po +++ b/library/logging.po @@ -2891,35 +2891,3 @@ msgstr "" "paquete disponible en este sitio es adecuada para usar con Python 1.5.2, 2.1." "xy 2.2.x, que no incluyen el paquete :mod:`logging` en la biblioteca " "estándar." - -#~ msgid "" -#~ "The numeric level of the logging event (one of DEBUG, INFO etc.) Note " -#~ "that this is converted to *two* attributes of the LogRecord: ``levelno`` " -#~ "for the numeric value and ``levelname`` for the corresponding level name." -#~ msgstr "" -#~ "El nivel numérico del evento logging (uno de DEBUG, INFO, etc.) Tenga en " -#~ "cuenta que esto se convierte en *dos* atributos de LogRecord:``levelno`` " -#~ "para el valor numérico y ``levelname`` para el nombre del nivel " -#~ "correspondiente ." - -#~ msgid "" -#~ "The above module-level convenience functions, which delegate to the root " -#~ "logger, call :func:`basicConfig` to ensure that at least one handler is " -#~ "available. Because of this, they should *not* be used in threads, in " -#~ "versions of Python earlier than 2.7.1 and 3.2, unless at least one " -#~ "handler has been added to the root logger *before* the threads are " -#~ "started. In earlier versions of Python, due to a thread safety " -#~ "shortcoming in :func:`basicConfig`, this can (under rare circumstances) " -#~ "lead to handlers being added multiple times to the root logger, which can " -#~ "in turn lead to multiple messages for the same event." -#~ msgstr "" -#~ "Las funciones de nivel de módulo anteriores, que delegan en el logger " -#~ "raíz, llaman a :func:`basicConfig` para asegurarse de que haya al menos " -#~ "un gestor disponible. Debido a esto, *no* deben usarse en subprocesos, en " -#~ "versiones de Python anteriores a la 2.7.1 y 3.2, a menos que se haya " -#~ "agregado al menos un gestor al logger raíz *antes* de que se inicien los " -#~ "subprocesos. En versiones anteriores de Python, debido a una deficiencia " -#~ "de seguridad de subprocesos en :func:`basicConfig`, esto puede (en raras " -#~ "circunstancias) llevar a que se agreguen gestores varias veces al logger " -#~ "raíz, lo que a su vez puede generar múltiples mensajes para el mismo " -#~ "evento." diff --git a/library/math.po b/library/math.po index a8fafca9ec..097f47bc47 100644 --- a/library/math.po +++ b/library/math.po @@ -1030,19 +1030,3 @@ msgstr "Módulo :mod:`cmath`" #: ../Doc/library/math.rst:697 msgid "Complex number versions of many of these functions." msgstr "Versiones de muchas de estas funciones para números complejos." - -#~ msgid "" -#~ "Return the :class:`~numbers.Real` value *x* truncated to an :class:" -#~ "`~numbers.Integral` (usually an integer). Delegates to :meth:`x." -#~ "__trunc__() `." -#~ msgstr "" -#~ "Retorna el valor :class:`~numbers.Real` *x* truncado a un :class:" -#~ "`~numbers.Integral` (generalmente un entero). Delega en :meth:`x." -#~ "__trunc__() `." - -#~ msgid "" -#~ "A floating-point \"not a number\" (NaN) value. Equivalent to the output " -#~ "of ``float('nan')``." -#~ msgstr "" -#~ "Un valor de punto flotante que \"no es un número\" (NaN). Equivalente a " -#~ "la salida de ``float('nan')``." diff --git a/library/os.path.po b/library/os.path.po index d2e1394b5c..de0dd7b041 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -699,32 +699,3 @@ msgid "" msgstr "" "``True`` si se pueden utilizar cadenas Unicode arbitrarias como nombres de " "archivo (dentro de las limitaciones impuestas por el sistema de archivos)." - -#~ msgid "" -#~ "This module implements some useful functions on pathnames. To read or " -#~ "write files see :func:`open`, and for accessing the filesystem see the :" -#~ "mod:`os` module. The path parameters can be passed as either strings, or " -#~ "bytes. Applications are encouraged to represent file names as (Unicode) " -#~ "character strings. Unfortunately, some file names may not be " -#~ "representable as strings on Unix, so applications that need to support " -#~ "arbitrary file names on Unix should use bytes objects to represent path " -#~ "names. Vice versa, using bytes objects cannot represent all file names on " -#~ "Windows (in the standard ``mbcs`` encoding), hence Windows applications " -#~ "should use string objects to access all files." -#~ msgstr "" -#~ "Este módulo implementa algunas funciones útiles en nombres de ruta. Para " -#~ "leer o escribir archivos consulta :func:`open`, y para acceder al sistema " -#~ "de archivos consulta el módulo :mod:`os`. Los parámetros de ruta puede " -#~ "ser pasados tanto siendo cadenas o bytes. Se recomienda que las " -#~ "aplicaciones representen los nombres de archivo como caracteres de cadena " -#~ "(Unicode). Desafortunadamente, algunos nombres de archivo puede que no " -#~ "sean representables como cadenas en Unix, así que las aplicaciones que " -#~ "necesiten tener soporte para nombres de archivo arbitrarios deberían usar " -#~ "objetos byte para representar nombres de archivo. Viceversa, el uso de " -#~ "objetos de bytes no puede representar todos los nombres de archivo en " -#~ "Windows (en la codificación estándar ``mbcs``), por lo tanto, las " -#~ "aplicaciones de Windows deben usar objetos de cadena para acceder a todos " -#~ "los archivos." - -#~ msgid "Leading periods on the basename are ignored::" -#~ msgstr "Los puntos por delante del *basename* son ignorados::" diff --git a/library/platform.po b/library/platform.po index 0125df3a5d..9cf38e5eba 100644 --- a/library/platform.po +++ b/library/platform.po @@ -497,13 +497,3 @@ msgstr "" #: ../Doc/library/platform.rst:285 msgid "Example::" msgstr "Ejemplo::" - -#~ msgid "" -#~ "Get additional version information from the Windows Registry and return a " -#~ "tuple ``(release, version, csd, ptype)`` referring to OS release, version " -#~ "number, CSD level (service pack) and OS type (multi/single processor)." -#~ msgstr "" -#~ "Obtiene información adicional sobre la versión desde el registro de " -#~ "Windows y retorna una tupla ``()`` que hace referencia a la versión del " -#~ "SO, el número de la versión, el nivel CSD (service pack) y el tipo de SO " -#~ "(multiprocesador o no)" diff --git a/library/pprint.po b/library/pprint.po index 0d59e2da2e..e39ae651a2 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -399,7 +399,3 @@ msgstr "" "Además, se puede establecer un valor máximo de caracteres por línea " "asignando un valor al parámetro *width*. Si un objeto largo no se puede " "dividir, el valor dado al ancho se anulará y será excedido::" - -#~ msgid "The :mod:`pprint` module also provides several shortcut functions:" -#~ msgstr "" -#~ "El módulo :mod:`pprint` también proporciona varias funciones de atajo:" diff --git a/library/profile.po b/library/profile.po index c1340eeca0..7d92c99e9b 100644 --- a/library/profile.po +++ b/library/profile.po @@ -1332,16 +1332,3 @@ msgstr "" "Python 3.3 agrega varias funciones nuevas en :mod:`time` que se puede usar " "para realizar mediciones precisas del proceso o el tiempo del reloj de pared " "(*wall-clock time*). Por ejemplo, vea :func:`time.perf_counter`." - -#~ msgid "" -#~ "The first line indicates that 197 calls were monitored. Of those calls, " -#~ "192 were :dfn:`primitive`, meaning that the call was not induced via " -#~ "recursion. The next line: ``Ordered by: standard name``, indicates that " -#~ "the text string in the far right column was used to sort the output. The " -#~ "column headings include:" -#~ msgstr "" -#~ "La primera línea indica que se monitorearon 197 llamadas. De esas " -#~ "llamadas, 192 fueron :dfn:`primitive`, lo que significa que la llamada no " -#~ "fue inducida por recursividad. La siguiente línea: ``Ordered by: standard " -#~ "name``, indica que la cadena de texto en la columna del extremo derecho " -#~ "se utilizó para ordenar la salida. Los encabezados de columna incluyen:" diff --git a/library/random.po b/library/random.po index 79f9318d6c..bafc94205c 100644 --- a/library/random.po +++ b/library/random.po @@ -905,23 +905,3 @@ msgstr "" "research/rand/downey07randfloat.pdf>`_ un artículo de Allen B. Downey en el " "que se describen formas de generar flotantes más refinados que los generados " "normalmente por :func:`.random`." - -#~ msgid "" -#~ "The optional argument *random* is a 0-argument function returning a " -#~ "random float in [0.0, 1.0); by default, this is the function :func:`." -#~ "random`." -#~ msgstr "" -#~ "El argumento opcional *random* es una función de 0 argumentos que retorna " -#~ "un flotante random en [0.0, 1.0); por defecto esta es la función :func:`." -#~ "random`." - -#~ msgid "" -#~ "In the future, the *population* must be a sequence. Instances of :class:" -#~ "`set` are no longer supported. The set must first be converted to a :" -#~ "class:`list` or :class:`tuple`, preferably in a deterministic order so " -#~ "that the sample is reproducible." -#~ msgstr "" -#~ "En el futuro, la *población* debe ser una secuencia. Las instancias de :" -#~ "class:`set` ya no se admiten. El conjunto debe convertirse primero en " -#~ "una :class:`list` o :class:`tuple`, preferiblemente en un orden " -#~ "determinista para que la muestra sea reproducible." diff --git a/library/shutil.po b/library/shutil.po index b9a1aabce6..29728005dc 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -1348,26 +1348,3 @@ msgid "" msgstr "" "Los valores ``fallback`` son usados también si :func:`os.get_terminal_size` " "devuelve zeros." - -#~ msgid "" -#~ "Recursively copy an entire directory tree rooted at *src* to a directory " -#~ "named *dst* and return the destination directory. *dirs_exist_ok* " -#~ "dictates whether to raise an exception in case *dst* or any missing " -#~ "parent directory already exists." -#~ msgstr "" -#~ "Copia recursivamente un directorio *tree* entero con raíz en *src* en un " -#~ "directorio llamado *dst* y retorna un directorio destino. *dirs_exist_ok* " -#~ "dicta si debe generar una excepción en caso de que *dst* o cualquier " -#~ "directorio principal que falte ya exista." - -#~ msgid "" -#~ "This example is the implementation of the :func:`copytree` function, " -#~ "described above, with the docstring omitted. It demonstrates many of the " -#~ "other functions provided by this module. ::" -#~ msgstr "" -#~ "Este ejemplo es la implementación de la función :func:`copytree` , " -#~ "descrita arriba, con la cadena de documentación omitida. Demuestra muchas " -#~ "de las otras funciones provistas por este módulo. ::" - -#~ msgid "This function is not thread-safe." -#~ msgstr "Esta función no es segura para hilos." diff --git a/library/smtpd.po b/library/smtpd.po index afe11bcdb9..1441560df8 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -580,27 +580,3 @@ msgstr "EXPN" #: ../Doc/library/smtpd.rst:267 msgid "Reports that the command is not implemented." msgstr "Informa que el comando no está implementado." - -#~ msgid "MailmanProxy Objects" -#~ msgstr "Objetos MailmanProxy" - -#~ msgid "" -#~ ":class:`MailmanProxy` is deprecated, it depends on a ``Mailman`` module " -#~ "which no longer exists and therefore is already broken." -#~ msgstr "" -#~ ":class:`MailmanProxy` está obsoleto, ya que depende del módulo " -#~ "``Mailman`` el cual ya no existe." - -#~ msgid "" -#~ "Create a new pure proxy server. Arguments are as per :class:`SMTPServer`. " -#~ "Everything will be relayed to *remoteaddr*, unless local mailman " -#~ "configurations knows about an address, in which case it will be handled " -#~ "via mailman. Note that running this has a good chance to make you into " -#~ "an open relay, so please be careful." -#~ msgstr "" -#~ "Crea un nuevo servidor proxy puro. Los argumentos son iguales que en :" -#~ "class:`SMTPServer`. Todo se transmitirá a *remoteaddr*, a menos que las " -#~ "configuraciones locales de mailman conozcan una dirección, en cuyo caso " -#~ "se manejará a través de mailman. Tenga en cuenta que ejecutar esto " -#~ "implica una buena posibilidad de convertirlo en un relé abierto, así que " -#~ "tenga cuidado." diff --git a/library/socket.po b/library/socket.po index 8b85d8c97a..f884ff39ed 100644 --- a/library/socket.po +++ b/library/socket.po @@ -3206,23 +3206,3 @@ msgstr "" "WinSock (o WinSock 2). Para APIS listas IPV6, los lectores pueden querer " "referirse al titulado Extensiones básicas de interfaz de socket para IPv6 :" "rfc:`3493` ." - -#~ msgid "" -#~ ":ref:`Availability `: Unix (maybe not all platforms), " -#~ "Windows." -#~ msgstr "" -#~ ":ref:`Disponibilidad `: Unix(Tal vez no todas las " -#~ "plataformas), Windows." - -#~ msgid "" -#~ ":ref:`Availability `: most Unix platforms, possibly others." -#~ msgstr "" -#~ ":ref:`Availability `: la mayoría de plataformas Unix, " -#~ "posiblemente otras." - -#~ msgid "" -#~ ":ref:`Availability `: Unix supporting :meth:`~socket." -#~ "recvmsg` and :const:`SCM_RIGHTS` mechanism." -#~ msgstr "" -#~ ":ref:`Availability `: Soporte para Unix :meth:`~socket." -#~ "recvmsg` y el mecanismo :const:`SCM_RIGHTS`." diff --git a/library/ssl.po b/library/ssl.po index df575ea580..d3532baf2c 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -4364,17 +4364,3 @@ msgstr "" #: ../Doc/library/ssl.rst:2777 msgid "Mozilla" msgstr "Mozilla" - -#~ msgid "" -#~ ":ref:`Availability `: LibreSSL ignores the environment " -#~ "vars :attr:`openssl_cafile_env` and :attr:`openssl_capath_env`." -#~ msgstr "" -#~ ":ref:`Disponibilidad `: LibreSSL ignora las variables de " -#~ "entorno :attr:`openssl_cafile_env` y :attr:`openssl_capath_env`." - -#~ msgid "" -#~ "This protocol is not be available if OpenSSL is compiled with the " -#~ "``OPENSSL_NO_SSLv3`` flag." -#~ msgstr "" -#~ "Este protocolo no está disponible si OpenSSL fue compilada con la opción " -#~ "``OPENSSL_NO_SSLv3``." diff --git a/library/statistics.po b/library/statistics.po index 0a015d06c2..cbafd81ddf 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -1505,15 +1505,3 @@ msgstr "" "La predicción final es la que tiene mayor probabilidad a posteriori. Este " "enfoque se denomina `máximo a posteriori `_ o MAP:" - -#~ msgid "" -#~ "The mean is strongly affected by outliers and is not a robust estimator " -#~ "for central location: the mean is not necessarily a typical example of " -#~ "the data points. For more robust measures of central location, see :func:" -#~ "`median` and :func:`mode`." -#~ msgstr "" -#~ "La media aritmética se ve fuertemente afectada por la presencia de " -#~ "valores atípicos en la muestra y no es un estimador robusto de tendencia " -#~ "central: la media no es necesariamente un ejemplo representativo de la " -#~ "muestra. Consulta :func:`median` y :func:`mode` para obtener medidas más " -#~ "robustas de tendencia central." diff --git a/library/stdtypes.po b/library/stdtypes.po index ce4da18c3c..dfeedffaf3 100755 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -8328,85 +8328,3 @@ msgid "" msgstr "" "Para formatear solo una tupla se debe, por tanto, usar una tupla conteniendo " "un único elemento, que sería la tupla a ser formateada." - -#~ msgid "" -#~ "For Python 2.x users: In the Python 2.x series, a variety of implicit " -#~ "conversions between 8-bit strings (the closest thing 2.x offers to a " -#~ "built-in binary data type) and Unicode strings were permitted. This was a " -#~ "backwards compatibility workaround to account for the fact that Python " -#~ "originally only supported 8-bit text, and Unicode text was a later " -#~ "addition. In Python 3.x, those implicit conversions are gone - " -#~ "conversions between 8-bit binary data and Unicode text must be explicit, " -#~ "and bytes and string objects will always compare unequal." -#~ msgstr "" -#~ "Para usuarios de Python 2.x: En la serie Python 2.x, se permitía una " -#~ "variedad de conversiones implícitas entre cadenas de caracteres de 8 bits " -#~ "(El tipo de datos más cercano que se podía usar en estas versiones) y " -#~ "cadenas de caracteres Unicode. Esto se implemento como una forma de " -#~ "compatibilidad hacia atrás para reflejar el hecho de que originalmente " -#~ "Python solo soportaba textos de 8 bits, siendo el texto Unicode un " -#~ "añadido posterior. En Python 3.x, estas conversiones implícitas se han " -#~ "eliminado: Todas las conversiones entre datos binarios y textos Unicode " -#~ "deben ser explícitas, y objetos de tipo *bytes* y objetos de tipo cadena " -#~ "de caracteres siempre serán considerados diferentes." - -#~ msgid "" -#~ "Dictionaries can be created by placing a comma-separated list of ``key: " -#~ "value`` pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}" -#~ "`` or ``{4098: 'jack', 4127: 'sjoerd'}``, or by the :class:`dict` " -#~ "constructor." -#~ msgstr "" -#~ "Los diccionarios se pueden crear colocando una lista separada por comas " -#~ "de pares ``key: value`` entre llaves, por ejemplo: ``{'jack': 4098, " -#~ "'sjoerd': 4127}`` o ``{4098: 'jack', 4127: 'sjoerd'}``, o por el " -#~ "constructor :class:`dict`." - -#~ msgid "" -#~ "``GenericAlias`` objects are created by subscripting a class (usually a " -#~ "container), such as ``list[int]``. They are intended primarily for :term:" -#~ "`type annotations `." -#~ msgstr "" -#~ "Los objetos ``GenericAlias`` se crean subindicando una clase (usualmente " -#~ "un contenedor), como ``list[int]``. Están destinados principalmente como :" -#~ "term:`anotaciones de tipo `." - -#~ msgid "" -#~ "Usually, the :ref:`subscription ` of container objects " -#~ "calls the method :meth:`__getitem__` of the object. However, the " -#~ "subscription of some containers' classes may call the classmethod :meth:" -#~ "`__class_getitem__` of the class instead. The classmethod :meth:" -#~ "`__class_getitem__` should return a ``GenericAlias`` object." -#~ msgstr "" -#~ "Usualmente, la :ref:`suscripción ` de objetos de " -#~ "contenedores llama al método :meth:`__getitem__` del objeto. Sin embargo, " -#~ "la suscripción de algunas clases de contenedores podrían llamar al método " -#~ "de clase :meth:`__class_getitem__` en su lugar. El método de clase :meth:" -#~ "`__class_getitem__` debe devolver un objeto ``GenericAlias``." - -#~ msgid "" -#~ "If the :meth:`__getitem__` of the class' metaclass is present, it will " -#~ "take precedence over the :meth:`__class_getitem__` defined in the class " -#~ "(see :pep:`560` for more details)." -#~ msgstr "" -#~ "Si el método :meth:`__getitem__` de la metaclase de la clase está " -#~ "presente, este tendrá prioridad sobre :meth:`__class_getitem__` definido " -#~ "en la clase (véase :pep:`560` para más detalles)." - -#~ msgid "" -#~ "Creates a ``GenericAlias`` representing a type ``T`` containing elements " -#~ "of types *X*, *Y*, and more depending on the ``T`` used. For example, a " -#~ "function expecting a :class:`list` containing :class:`float` elements::" -#~ msgstr "" -#~ "Crea un ``GenericAlias`` representando un tipo ``T`` que contiene " -#~ "elementos de tipos *X*, *Y*, y más dependiendo del tipo ``T`` usado. Por " -#~ "ejemplo, una función que espera una :class:`list` que contiene elementos :" -#~ "class:`float`::" - -#~ msgid "" -#~ ":meth:`__class_getitem__` -- Used to implement parameterized generics." -#~ msgstr "" -#~ ":meth:`__class_getitem__` -- Usado para implementar genéricos " -#~ "parametrizados." - -#~ msgid ":ref:`generics` -- Generics in the :mod:`typing` module." -#~ msgstr ":ref:`generics` -- Genéricos en el módulo :mod:`typing`." diff --git a/library/string.po b/library/string.po index a30b727641..0783b5e903 100644 --- a/library/string.po +++ b/library/string.po @@ -1529,21 +1529,3 @@ msgstr "" "*sep* está ausente o es ``None``, los espacios en blanco se reemplazarán con " "un único espacio y los espacios en blanco iniciales y finales se eliminarán; " "caso contrario, *sep* se usa para separar y unir las palabras." - -#~ msgid "" -#~ "The *precision* is a decimal number indicating how many digits should be " -#~ "displayed after the decimal point for a floating point value formatted " -#~ "with ``'f'`` and ``'F'``, or before and after the decimal point for a " -#~ "floating point value formatted with ``'g'`` or ``'G'``. For non-number " -#~ "types the field indicates the maximum field size - in other words, how " -#~ "many characters will be used from the field content. The *precision* is " -#~ "not allowed for integer values." -#~ msgstr "" -#~ "El argumento *precision* (precisión) es un número decimal que indica " -#~ "cuántos dígitos se deben mostrar después del punto decimal para un valor " -#~ "de punto flotante formateado con ``'f'`` y ``'F'``, o bien antes y " -#~ "después del punto decimal para un valor de punto flotante formateado con " -#~ "``'g'`` or ``'G'``. Para los tipos no numéricos, el campo indica el " -#~ "tamaño máximo del campo, es decir, cuántos caracteres se utilizarán del " -#~ "contenido del campo. El argumento *precision* no es admitido para los " -#~ "valores enteros." diff --git a/library/subprocess.po b/library/subprocess.po index eeb52e09d7..2591f2c9c9 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -2485,12 +2485,3 @@ msgstr "``_USE_POSIX_SPAWN``" #: ../Doc/library/subprocess.rst:1585 msgid "``_USE_VFORK``" msgstr "``_USE_VFORK``" - -#~ msgid "" -#~ "The :func:`run` function was added in Python 3.5; if you need to retain " -#~ "compatibility with older versions, see the :ref:`call-function-trio` " -#~ "section." -#~ msgstr "" -#~ "La función :func:`run` se añadió en Python 3.5; si necesita mantener la " -#~ "compatibilidad con versiones anteriores, consulte la sección :ref:`call-" -#~ "function-trio`." diff --git a/library/symtable.po b/library/symtable.po index 6f7d61a5f8..51443176d1 100644 --- a/library/symtable.po +++ b/library/symtable.po @@ -275,6 +275,3 @@ msgstr "" "Retorna el espacio de nombre vinculado a este nombre. Si hay más de un " "espacio de nombre vinculado o ninguno a ese nombre se levanta un :exc:" "`ValueError`." - -#~ msgid "Return a list of names of symbols in this table." -#~ msgstr "Retorna una lista con los nombres de los símbolos en esta tabla." diff --git a/library/sys.po b/library/sys.po index ef01f39ac5..63c5fb2127 100644 --- a/library/sys.po +++ b/library/sys.po @@ -3578,96 +3578,3 @@ msgstr "" "*ISO/IEC 9899:1999. \"Programming languages -- C.\" A public draft of this " "standard is available at http://www.open-std.org/jtc1/sc22/wg14/www/docs/" "n1256.pdf*\\ ." - -#~ msgid "" -#~ "This function returns a tuple of three values that give information about " -#~ "the exception that is currently being handled. The information returned " -#~ "is specific both to the current thread and to the current stack frame. " -#~ "If the current stack frame is not handling an exception, the information " -#~ "is taken from the calling stack frame, or its caller, and so on until a " -#~ "stack frame is found that is handling an exception. Here, \"handling an " -#~ "exception\" is defined as \"executing an except clause.\" For any stack " -#~ "frame, only information about the exception being currently handled is " -#~ "accessible." -#~ msgstr "" -#~ "Esta función retorna una tupla de tres valores que proporcionan " -#~ "información sobre la excepción que se está manejando actualmente. La " -#~ "información retornada es específica tanto del hilo actual como del marco " -#~ "de pila actual. Si el marco de pila actual no está manejando una " -#~ "excepción, la información se toma del marco de pila que llama, o de quien " -#~ "la llama, y así sucesivamente hasta que se encuentra un marco de pila que " -#~ "está manejando una excepción. Aquí, \"manejar una excepción\" se define " -#~ "como \"ejecutar una cláusula except\". Para cualquier marco de pila, solo " -#~ "se puede acceder a la información sobre la excepción que se maneja " -#~ "actualmente." - -#~ msgid "" -#~ "If no exception is being handled anywhere on the stack, a tuple " -#~ "containing three ``None`` values is returned. Otherwise, the values " -#~ "returned are ``(type, value, traceback)``. Their meaning is: *type* gets " -#~ "the type of the exception being handled (a subclass of :exc:" -#~ "`BaseException`); *value* gets the exception instance (an instance of the " -#~ "exception type); *traceback* gets a :ref:`traceback object ` which encapsulates the call stack at the point where the " -#~ "exception originally occurred." -#~ msgstr "" -#~ "Si no se maneja ninguna excepción en ninguna parte de la pila, se retorna " -#~ "una tupla que contiene tres valores ``None``. De lo contrario, los " -#~ "valores retornados son ``(type, value, traceback)``. Su significado es: " -#~ "*type* obtiene el tipo de excepción que se está manejando (una subclase " -#~ "de :exc:`BaseException`); *value* obtiene la instancia de excepción (una " -#~ "instancia del tipo de excepción); *traceback* obtiene un :ref:`objeto " -#~ "traceback ` que encapsula la pila de llamadas en el " -#~ "punto donde ocurrió originalmente la excepción." - -#~ msgid "" -#~ "Exit from Python. This is implemented by raising the :exc:`SystemExit` " -#~ "exception, so cleanup actions specified by finally clauses of :keyword:" -#~ "`try` statements are honored, and it is possible to intercept the exit " -#~ "attempt at an outer level." -#~ msgstr "" -#~ "Salir de Python. Esto se implementa lanzando la excepción :exc:" -#~ "`SystemExit`, por lo que las acciones de limpieza especificadas por las " -#~ "cláusulas finalmente de las declaraciones :keyword:`try` son respetadas y " -#~ "es posible interceptar el intento de salida en un nivel externo." - -#~ msgid "" -#~ "As initialized upon program startup, the first item of this list, " -#~ "``path[0]``, is the directory containing the script that was used to " -#~ "invoke the Python interpreter. If the script directory is not available " -#~ "(e.g. if the interpreter is invoked interactively or if the script is " -#~ "read from standard input), ``path[0]`` is the empty string, which directs " -#~ "Python to search modules in the current directory first. Notice that the " -#~ "script directory is inserted *before* the entries inserted as a result " -#~ "of :envvar:`PYTHONPATH`." -#~ msgstr "" -#~ "Como se inicializó al iniciar el programa, el primer elemento de esta " -#~ "lista, ``path[0]``, es el directorio que contiene el script que se " -#~ "utilizó para invocar al intérprete de Python. Si el directorio de la " -#~ "secuencia de comandos no está disponible (por ejemplo, si el intérprete " -#~ "se invoca de forma interactiva o si la secuencia de comandos se lee desde " -#~ "la entrada estándar), ``path[0]`` es la cadena de caracteres vacía, que " -#~ "dirige a Python a buscar módulos en el directorio actual primero. Observe " -#~ "que el directorio del script se inserta *antes* de las entradas " -#~ "insertadas como resultado de :envvar:`PYTHONPATH`." - -#~ msgid "" -#~ "A string giving the site-specific directory prefix where the platform " -#~ "independent Python files are installed; by default, this is the string " -#~ "``'/usr/local'``. This can be set at build time with the ``--prefix`` " -#~ "argument to the :program:`configure` script. The main collection of " -#~ "Python library modules is installed in the directory :file:`{prefix}/lib/" -#~ "python{X.Y}` while the platform independent header files (all except :" -#~ "file:`pyconfig.h`) are stored in :file:`{prefix}/include/python{X.Y}`, " -#~ "where *X.Y* is the version number of Python, for example ``3.2``." -#~ msgstr "" -#~ "Una cadena de caracteres que proporciona el prefijo de directorio " -#~ "específico del sitio donde se instalan los archivos Python independientes " -#~ "de la plataforma; por defecto, esta es la cadena de caracteres ``'/usr/" -#~ "local'``. Esto se puede configurar en el momento de la compilación con el " -#~ "argumento ``--prefijo`` del script :program:`configure`. La colección " -#~ "principal de módulos de la biblioteca de Python se instala en el " -#~ "directorio :file:`{prefijo}/lib/python{XY}` mientras que los archivos de " -#~ "encabezado independientes de la plataforma (todos excepto :file:`pyconfig." -#~ "h`) se almacenan en :file:`{prefix}/include/python{XY}`, donde *XY* es el " -#~ "número de versión de Python, por ejemplo, ``3.2``." diff --git a/library/syslog.po b/library/syslog.po index 7d4efe7531..d491a8d254 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -274,13 +274,3 @@ msgstr "" "Un ejemplo de configuración de varias opciones de registro, que incluirán el " "identificador del proceso en los mensajes registrados, y escribirán los " "mensajes a la facility de destino usada para el registro de correo::" - -#~ msgid "" -#~ "In previous versions, keyword arguments were not allowed, and *ident* was " -#~ "required. The default for *ident* was dependent on the system libraries, " -#~ "and often was ``python`` instead of the name of the Python program file." -#~ msgstr "" -#~ "En versiones anteriores, los argumentos nombrados no estaban permitidos, " -#~ "y *ident* era obligatorio. El valor por defecto de *ident* dependía de " -#~ "las librerías del sistema, y a menudo era ``python`` en lugar del nombre " -#~ "del fichero del programa en Python." diff --git a/library/test.po b/library/test.po index 29cc69bac3..ab24f6e4a3 100644 --- a/library/test.po +++ b/library/test.po @@ -2437,49 +2437,3 @@ msgstr "" "La clase utilizada para registrar advertencias para pruebas unitarias. " "Consulte la documentación de :func:`check_warnings` arriba para obtener más " "detalles." - -#~ msgid "" -#~ "Return ``True`` if running on CPython, not on Windows, and configuration " -#~ "not set with ``WITH_DOC_STRINGS``." -#~ msgstr "" -#~ "Retorna ``True`` si se ejecuta en CPython, no en Windows, y la " -#~ "configuración no está configurada con ``WITH_DOC_STRINGS``." - -#~ msgid "Check for presence of docstrings." -#~ msgstr "Verifica la presencia de cadenas de documentos (*docstrings*)." - -#~ msgid "Define match test with regular expression *patterns*." -#~ msgstr "" -#~ "Define una prueba de coincidencia con una expresión regular *patterns*." - -#~ msgid "" -#~ "A context manager that replaces ``sys.stderr`` with ``sys.__stderr__``." -#~ msgstr "" -#~ "Un administrador de contexto que remplaza ``sys.stderr`` con ``sys." -#~ "__stderr__``." - -#~ msgid "" -#~ "Return :func:`struct.calcsize` for ``nP{fmt}0n`` or, if " -#~ "``gettotalrefcount`` exists, ``2PnP{fmt}0P``." -#~ msgstr "" -#~ "Retorna :func:`struct.calcsize` para ``nP{fmt}0n`` o, si " -#~ "``gettotalrefcount`` existe, ``2PnP{fmt}0P``." - -#~ msgid "" -#~ "Return :func:`struct.calcsize` for ``nPn{fmt}0n`` or, if " -#~ "``gettotalrefcount`` exists, ``2PnPn{fmt}0P``." -#~ msgstr "" -#~ "Retorna :func:`struct.calcsize` para ``nPn{fmt}0n`` o, si " -#~ "``gettotalrefcount`` existe, ``2PnPn{fmt}0P``." - -#~ msgid "" -#~ "Context manager to start *threads*. It attempts to join the threads upon " -#~ "exit." -#~ msgstr "" -#~ "Administrador de contexto para iniciar *threads*. Intenta unir los hilos " -#~ "al salir." - -#~ msgid "Set to a filename containing the :data:`FS_NONASCII` character." -#~ msgstr "" -#~ "Establecido un nombre de archivo que contiene el carácter :data:" -#~ "`FS_NONASCII`." diff --git a/library/threading.po b/library/threading.po index c8404eb034..afa6e0f569 100644 --- a/library/threading.po +++ b/library/threading.po @@ -2019,10 +2019,3 @@ msgstr "" "Actualmente, los objetos :class:`Lock`, :class:`RLock`, :class:`Condition`, :" "class:`Semaphore`, y :class:`BoundedSemaphore` pueden ser utilizados como " "gestores de contexto con declaraciones :keyword:`with`." - -#~ msgid "" -#~ ":ref:`Availability `: Requires :func:`get_native_id` " -#~ "function." -#~ msgstr "" -#~ ":ref:`Disponibilidad `: Requiere la función :func:" -#~ "`get_native_id`." diff --git a/library/time.po b/library/time.po index 190df56129..cc5b4519c0 100644 --- a/library/time.po +++ b/library/time.po @@ -1781,57 +1781,3 @@ msgstr "" "práctica se trasladó a años de 4 dígitos mucho antes del año 2000. Después " "de eso, :rfc:`822` se volvió obsoleto y el año de 4 dígitos fue recomendado " "por primera vez por :rfc:`1123` y luego ordenado por :rfc:`2822`." - -#~ msgid "" -#~ "The :dfn:`epoch` is the point where the time starts, and is platform " -#~ "dependent. For Unix, the epoch is January 1, 1970, 00:00:00 (UTC). To " -#~ "find out what the epoch is on a given platform, look at ``time." -#~ "gmtime(0)``." -#~ msgstr "" -#~ "El :dfn:`epoch` es el punto donde comienza el tiempo, y depende de la " -#~ "plataforma. Para Unix, la época es el 1 de enero de 1970, 00:00:00 " -#~ "(UTC). Para averiguar cuál es la época en una plataforma determinada, " -#~ "mire ``time.gmtime(0)``." - -#~ msgid "" -#~ "Suspend execution of the calling thread for the given number of seconds. " -#~ "The argument may be a floating point number to indicate a more precise " -#~ "sleep time. The actual suspension time may be less than that requested " -#~ "because any caught signal will terminate the :func:`sleep` following " -#~ "execution of that signal's catching routine. Also, the suspension time " -#~ "may be longer than requested by an arbitrary amount because of the " -#~ "scheduling of other activity in the system." -#~ msgstr "" -#~ "Suspende la ejecución del hilo que lo invoca por el número de segundos " -#~ "dado. El argumento puede ser un número de punto flotante para indicar un " -#~ "tiempo de suspensión más preciso. El tiempo de suspensión real puede ser " -#~ "menor que el solicitado porque cualquier señal detectada terminará la " -#~ "función :func:`sleep` siguiendo la rutina de captura de la señal. El " -#~ "tiempo de suspensión también puede ser más largo que el solicitado por " -#~ "una cantidad arbitraria debido a la planificación de otra actividad en el " -#~ "sistema." - -#~ msgid "" -#~ "Return the time in seconds since the epoch_ as a floating point number. " -#~ "The specific date of the epoch and the handling of `leap seconds`_ is " -#~ "platform dependent. On Windows and most Unix systems, the epoch is " -#~ "January 1, 1970, 00:00:00 (UTC) and leap seconds are not counted towards " -#~ "the time in seconds since the epoch. This is commonly referred to as " -#~ "`Unix time `_. To find out what " -#~ "the epoch is on a given platform, look at ``gmtime(0)``." -#~ msgstr "" -#~ "Retorna el tiempo en segundos desde epoch_ como un número de coma " -#~ "flotante. La fecha específica de la época y el manejo de los `leap " -#~ "seconds`_ depende de la plataforma. En Windows y la mayoría de los " -#~ "sistemas Unix, la época es el 1 de enero de 1970, 00:00:00 (UTC) y los " -#~ "segundos intercalares no se cuentan para el tiempo en segundos desde la " -#~ "época. Esto se conoce comúnmente como `Tiempo Unix `_. Para saber cuál es la época en una plataforma " -#~ "determinada, mire ``gmtime(0)``." - -#~ msgid "" -#~ ":ref:`Availability `: Windows, Linux, Unix systems " -#~ "supporting ``CLOCK_THREAD_CPUTIME_ID``." -#~ msgstr "" -#~ ":ref:`Disponibilidad `: Windows, Linux, sistemas Unix que " -#~ "admiten `` CLOCK_THREAD_CPUTIME_ID``." diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 4bbf1d4250..6b3aa3aed7 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -2692,18 +2692,3 @@ msgstr "" "Especifica una lista de elementos para colocar dentro del elemento. Cada " "elemento es una tupla (u otro tipo de secuencia) donde el primer elemento es " "el nombre de diseño y el otro es un `Layout`_." - -#~ msgid "" -#~ "The :mod:`tkinter.ttk` module provides access to the Tk themed widget " -#~ "set, introduced in Tk 8.5. If Python has not been compiled against Tk " -#~ "8.5, this module can still be accessed if *Tile* has been installed. The " -#~ "former method using Tk 8.5 provides additional benefits including anti-" -#~ "aliased font rendering under X11 and window transparency (requiring a " -#~ "composition window manager on X11)." -#~ msgstr "" -#~ "El módulo :mod:`tkinter.ttk` proporciona acceso al conjunto de widgets " -#~ "temáticos Tk, introducido en Tk 8.5. Si Python no se ha compilado con Tk " -#~ "8.5, todavía se puede acceder a este módulo si se ha instalado *Tile*. El " -#~ "método anterior que utiliza Tk 8.5 proporciona ventajas adicionales, " -#~ "incluida la representación de fuentes suavizada en X11 y la transparencia " -#~ "de ventanas (requiere un administrador de ventanas de composición en X11)." diff --git a/library/token.po b/library/token.po index 5947e09795..4b30331e0a 100644 --- a/library/token.po +++ b/library/token.po @@ -151,144 +151,3 @@ msgstr "" "necesarios para dar soporte en la sintaxis de versiones más antiguas de " "Python para :func:`ast.parse` con ``feature_version`` establecido a 6 o " "menor)." - -#~ msgid "Token value for ``\"(\"``." -#~ msgstr "Valor de token para ``\"(\"``." - -#~ msgid "Token value for ``\")\"``." -#~ msgstr "Valor de token para ``\")\"``." - -#~ msgid "Token value for ``\"[\"``." -#~ msgstr "Valor de token para ``\"[\"``." - -#~ msgid "Token value for ``\"]\"``." -#~ msgstr "Valor de token para ``\"]\"``." - -#~ msgid "Token value for ``\":\"``." -#~ msgstr "Valor de token para ``\":\"``." - -#~ msgid "Token value for ``\",\"``." -#~ msgstr "Valor de token para ``\",\"``." - -#~ msgid "Token value for ``\";\"``." -#~ msgstr "Valor de token para ``\";\"``." - -#~ msgid "Token value for ``\"+\"``." -#~ msgstr "Valor de token para ``\"+\"``." - -#~ msgid "Token value for ``\"-\"``." -#~ msgstr "Valor de token para ``\"-\"``." - -#~ msgid "Token value for ``\"*\"``." -#~ msgstr "Valor de token para ``\"*\"``." - -#~ msgid "Token value for ``\"/\"``." -#~ msgstr "Valor de token para ``\"/\"``." - -#~ msgid "Token value for ``\"|\"``." -#~ msgstr "Valor de token para ``\"|\"``." - -#~ msgid "Token value for ``\"&\"``." -#~ msgstr "Valor de token para ``\"&\"``." - -#~ msgid "Token value for ``\"<\"``." -#~ msgstr "Valor de token para ``\"<\"``." - -#~ msgid "Token value for ``\">\"``." -#~ msgstr "Valor de token para ``\">\"``." - -#~ msgid "Token value for ``\"=\"``." -#~ msgstr "Valor de token para ``\"=\"``." - -#~ msgid "Token value for ``\".\"``." -#~ msgstr "Valor de token para ``\".\"``." - -#~ msgid "Token value for ``\"%\"``." -#~ msgstr "Valor de token para ``\"%\"``." - -#~ msgid "Token value for ``\"{\"``." -#~ msgstr "Valor de token para ``\"{\"``." - -#~ msgid "Token value for ``\"}\"``." -#~ msgstr "Valor de token para ``\"}\"``." - -#~ msgid "Token value for ``\"==\"``." -#~ msgstr "Valor de token para ``\"==\"``." - -#~ msgid "Token value for ``\"!=\"``." -#~ msgstr "Valor de token para ``\"!=\"``." - -#~ msgid "Token value for ``\"<=\"``." -#~ msgstr "Valor de token para ``\"<=\"``." - -#~ msgid "Token value for ``\">=\"``." -#~ msgstr "Valor de token para ``\">=\"``." - -#~ msgid "Token value for ``\"~\"``." -#~ msgstr "Valor de token para ``\"~\"``." - -#~ msgid "Token value for ``\"^\"``." -#~ msgstr "Valor de token para ``\"^\"``." - -#~ msgid "Token value for ``\"<<\"``." -#~ msgstr "Valor de token para ``\"<<\"``." - -#~ msgid "Token value for ``\">>\"``." -#~ msgstr "Valor de token para ``\">>\"``." - -#~ msgid "Token value for ``\"**\"``." -#~ msgstr "Valor de token para ``\"**\"``." - -#~ msgid "Token value for ``\"+=\"``." -#~ msgstr "Valor de token para ``\"+=\"``." - -#~ msgid "Token value for ``\"-=\"``." -#~ msgstr "Valor de token para ``\"-=\"``." - -#~ msgid "Token value for ``\"*=\"``." -#~ msgstr "Valor de token para ``\"*=\"``." - -#~ msgid "Token value for ``\"/=\"``." -#~ msgstr "Valor de token para ``\"/=\"``." - -#~ msgid "Token value for ``\"%=\"``." -#~ msgstr "Valor de token para ``\"%=\"``." - -#~ msgid "Token value for ``\"&=\"``." -#~ msgstr "Valor de token para ``\"&=\"``." - -#~ msgid "Token value for ``\"|=\"``." -#~ msgstr "Valor de token para ``\"|=\"``." - -#~ msgid "Token value for ``\"^=\"``." -#~ msgstr "Valor de token para ``\"^=\"``." - -#~ msgid "Token value for ``\"<<=\"``." -#~ msgstr "Valor de token para ``\"<<=\"``." - -#~ msgid "Token value for ``\">>=\"``." -#~ msgstr "Valor de token para ``\">>=\"``." - -#~ msgid "Token value for ``\"**=\"``." -#~ msgstr "Valor de token para ``\"**=\"``." - -#~ msgid "Token value for ``\"//\"``." -#~ msgstr "Valor de token para ``\"//\"``." - -#~ msgid "Token value for ``\"//=\"``." -#~ msgstr "Valor de token para ``\"//=\"``." - -#~ msgid "Token value for ``\"@\"``." -#~ msgstr "Valor de token para ``\"@\"``." - -#~ msgid "Token value for ``\"@=\"``." -#~ msgstr "Valor de token para ``\"@=\"``." - -#~ msgid "Token value for ``\"->\"``." -#~ msgstr "Valor de token para ``\"->\"``." - -#~ msgid "Token value for ``\"...\"``." -#~ msgstr "Valor de token para ``\"...\"``." - -#~ msgid "Token value for ``\":=\"``." -#~ msgstr "Valor de token para ``\":=\"``." diff --git a/library/typing.po b/library/typing.po index 147bedf60e..53c1b178ea 100644 --- a/library/typing.po +++ b/library/typing.po @@ -3778,50 +3778,3 @@ msgstr "3.11" #: ../Doc/library/typing.rst:2871 msgid ":gh:`92332`" msgstr ":gh:`92332`" - -#~ msgid "" -#~ "This module provides runtime support for type hints as specified by :pep:" -#~ "`484`, :pep:`526`, :pep:`544`, :pep:`586`, :pep:`589`, :pep:`591`, :pep:" -#~ "`612` and :pep:`613`. The most fundamental support consists of the types :" -#~ "data:`Any`, :data:`Union`, :data:`Tuple`, :data:`Callable`, :class:" -#~ "`TypeVar`, and :class:`Generic`. For full specification please see :pep:" -#~ "`484`. For a simplified introduction to type hints see :pep:`483`." -#~ msgstr "" -#~ "Este módulo proporciona soporte en tiempo de ejecución para sugerencias " -#~ "de tipo según lo especificado por :pep:`484`, :pep:`526`, :pep:`544`, :" -#~ "pep:`586`, :pep:`589`, :pep:`591`, :pep:`612` y :pep:`613`. El soporte " -#~ "más fundamental consiste en los tipos :data:`Any`, :data:`Union`, :data:" -#~ "`Tuple`, :data:`Callable`, :class:`TypeVar` y :class:`Generic`. Para " -#~ "obtener especificaciones completas, consulte :pep:`484`. Para obtener una " -#~ "introducción simplificada a las sugerencias de tipo, consulte :pep:`483`." - -# revisar constrained y que es una type variable en su contexto -#~ msgid "" -#~ "A generic type can have any number of type variables, and type variables " -#~ "may be constrained::" -#~ msgstr "" -#~ "Un tipo genérico puede tener un número indefinido de variables de tipo, y " -#~ "pueden limitarse a tipos concretos::" - -#~ msgid "" -#~ "The latter example's signature is essentially the overloading of ``(str, " -#~ "str) -> str`` and ``(bytes, bytes) -> bytes``. Also note that if the " -#~ "arguments are instances of some subclass of :class:`str`, the return type " -#~ "is still plain :class:`str`." -#~ msgstr "" -#~ "La signatura de los ejemplos anteriores es esencialmente la superposición " -#~ "de ``(str, str) -> str`` y ``(bytes, bytes) -> bytes``. Nótese también " -#~ "que aunque los argumentos sean instancias de alguna subclase de :class:" -#~ "`str`, el tipo retornado aún será una simple :class:`str`." - -#~ msgid "" -#~ "If ``from __future__ import annotations`` is used in Python 3.7 or later, " -#~ "annotations are not evaluated at function definition time. Instead, they " -#~ "are stored as strings in ``__annotations__``, This makes it unnecessary " -#~ "to use quotes around the annotation. (see :pep:`563`)." -#~ msgstr "" -#~ "Si ``from __future__ import annotations`` es usado en Python 3.7 o " -#~ "posterior, las anotaciones no son evaluadas en tiempo de definición de " -#~ "funciones. En cambio, son guardadas como cadenas de caracteres en " -#~ "``__annotations__``, esto hace innecesario usar comillas alrededor de la " -#~ "anotación. (véase :pep:`563`)." diff --git a/library/unittest.mock.po b/library/unittest.mock.po index b8b24e3731..f1a6dcbf6f 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -3396,17 +3396,3 @@ msgstr "" "Si una instancia simulada con un nombre o una especificación es asignada a " "un atributo no será considerada en la cadena de sellado. Esto permite evitar " "que seal fije partes del objeto simulado. ::" - -#~ msgid "" -#~ "*unsafe*: By default, accessing any attribute with name starting with " -#~ "*assert*, *assret*, *asert*, *aseert* or *assrt* will raise an :exc:" -#~ "`AttributeError`. Passing ``unsafe=True`` will allow access to these " -#~ "attributes." -#~ msgstr "" -#~ "*unsafe*: Por defecto, acceder a cualquier atributo con un nombre que " -#~ "empiece con *assert*, *assret*, *asert*, *aseert* o *assrt* lanzará un :" -#~ "exc:`AttributeError`. Pasar ``unsafe=True`` permitirá acceder a estos " -#~ "atributos." - -#~ msgid "``__getformat__`` and ``__setformat__``" -#~ msgstr "``__getformat__`` y ``__setformat__``" diff --git a/library/urllib.request.po b/library/urllib.request.po index 1cab3a5f97..20b6811b66 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -2522,18 +2522,3 @@ msgstr "Obsoleto en favor de :attr:`~addinfourl.headers`." #: ../Doc/library/urllib.request.rst:1635 msgid "Deprecated in favor of :attr:`~addinfourl.status`." msgstr "Obsoleto en favor de :attr:`~addinfourl.status`." - -#~ msgid "" -#~ "This method, if implemented, will be called by the parent :class:" -#~ "`OpenerDirector`. It should return a file-like object as described in " -#~ "the return value of the :meth:`open` of :class:`OpenerDirector`, or " -#~ "``None``. It should raise :exc:`~urllib.error.URLError`, unless a truly " -#~ "exceptional thing happens (for example, :exc:`MemoryError` should not be " -#~ "mapped to :exc:`URLError`)." -#~ msgstr "" -#~ "Este método, si se implementa, será invocado por el :class:" -#~ "`OpenerDirector` padre. Debe retornar un archivo como objeto tal y como " -#~ "se describe en el valor retornado por :meth:`open` de :class:" -#~ "`OpenerDirector` o ``None``. Debe generar :exc:`~urllib.error.URLError` a " -#~ "no ser que algo verdaderamente excepcional ocurra (por ejemplo, :exc:" -#~ "`MemoryError` no debe ser mapeado a :exc:`URLError`)." diff --git a/library/venv.po b/library/venv.po index 8c88f1126f..0c56c8c90b 100755 --- a/library/venv.po +++ b/library/venv.po @@ -720,303 +720,3 @@ msgid "" msgstr "" "Este script está también disponible para su descarga `online `_." - -#~ msgid "" -#~ "The :mod:`venv` module provides support for creating lightweight " -#~ "\"virtual environments\" with their own site directories, optionally " -#~ "isolated from system site directories. Each virtual environment has its " -#~ "own Python binary (which matches the version of the binary that was used " -#~ "to create this environment) and can have its own independent set of " -#~ "installed Python packages in its site directories." -#~ msgstr "" -#~ "El módulo :mod:`venv` proporciona soporte para crear \"entornos " -#~ "virtuales\" ligeros con sus propios directorios de ubicación, aislados " -#~ "opcionalmente de los directorios de ubicación del sistema. Cada entorno " -#~ "virtual tiene su propio binario Python (que coincide con la versión del " -#~ "binario que se utilizó para crear este entorno) y puede tener su propio " -#~ "conjunto independiente de paquetes Python instalados en sus directorios " -#~ "de ubicación." - -#~ msgid "" -#~ "Creation of :ref:`virtual environments ` is done by executing " -#~ "the command ``venv``::" -#~ msgstr "" -#~ "La creación de :ref:`entornos virtuales ` se realiza al " -#~ "ejecutar el comando ``venv``::" - -#~ msgid "" -#~ "Running this command creates the target directory (creating any parent " -#~ "directories that don't exist already) and places a ``pyvenv.cfg`` file in " -#~ "it with a ``home`` key pointing to the Python installation from which the " -#~ "command was run (a common name for the target directory is ``.venv``). " -#~ "It also creates a ``bin`` (or ``Scripts`` on Windows) subdirectory " -#~ "containing a copy/symlink of the Python binary/binaries (as appropriate " -#~ "for the platform or arguments used at environment creation time). It also " -#~ "creates an (initially empty) ``lib/pythonX.Y/site-packages`` subdirectory " -#~ "(on Windows, this is ``Lib\\site-packages``). If an existing directory is " -#~ "specified, it will be re-used." -#~ msgstr "" -#~ "Al ejecutar este comando crea el directorio de destino (la creación de " -#~ "los directorios principales que aún no existen) y coloca un archivo " -#~ "``pyvenv.cfg`` en él con una clave ``home`` que apunta a la instalación " -#~ "de Python desde la cual se ejecutó el comando (un nombre común para el " -#~ "directorio de destino es ``.venv``). También crea un subdirectorio " -#~ "``bin`` (o ``Scripts`` en Windows) que contiene una copia / enlace " -#~ "simbólico de los binarios Python (según sea apropiado para la plataforma " -#~ "o los argumentos que se usaron en el momento de la creación del entorno). " -#~ "También crea un subdirectorio (inicialmente vacío) ``lib/pythonX.Y/site-" -#~ "packages`` (``Lib\\site-packages`` en Windows). Si se especifica un " -#~ "directorio existente, se reutilizará." - -#~ msgid "" -#~ "``pyvenv`` was the recommended tool for creating virtual environments for " -#~ "Python 3.3 and 3.4, and is `deprecated in Python 3.6 `_." -#~ msgstr "" -#~ "``pyvenv`` fue la herramienta recomendada para la creación de entornos " -#~ "virtuales para Python 3.3 y 3.4, y es `obsoleta en Python 3.6 `_." - -#~ msgid "" -#~ "The use of ``venv`` is now recommended for creating virtual environments." -#~ msgstr "" -#~ "Ahora se recomienda el uso de ``venv`` para la creación de entornos " -#~ "virtuales." - -#~ msgid "On Windows, invoke the ``venv`` command as follows::" -#~ msgstr "En Windows, invoque el comando ``venv`` de la siguiente manera::" - -#~ msgid "" -#~ "Alternatively, if you configured the ``PATH`` and ``PATHEXT`` variables " -#~ "for your :ref:`Python installation `::" -#~ msgstr "" -#~ "Alternativamente, si configuró las variables ``PATH`` y ``PATHEXT`` para " -#~ "su :ref:`instalación Python `::" - -#~ msgid "The command, if run with ``-h``, will show the available options::" -#~ msgstr "" -#~ "El comando, si se ejecuta con ``-h``, mostrará las opciones disponibles::" - -#~ msgid "" -#~ "Add ``--upgrade-deps`` option to upgrade pip + setuptools to the latest " -#~ "on PyPI" -#~ msgstr "" -#~ "Agrega la opción ``--upgrade-deps`` para actualizar pip + setuptools a la " -#~ "última versión en PyPI" - -#~ msgid "" -#~ "Installs pip by default, added the ``--without-pip`` and ``--copies`` " -#~ "options" -#~ msgstr "" -#~ "Instala pip por defecto, se agregaron las opciones ``--without-pip`` y " -#~ "``--copies``" - -#~ msgid "" -#~ "In earlier versions, if the target directory already existed, an error " -#~ "was raised, unless the ``--clear`` or ``--upgrade`` option was provided." -#~ msgstr "" -#~ "En versiones anteriores, si el directorio de destino ya existía, se " -#~ "lanzaba un error, a menos que se proporcionara la opción ``--clear`` o " -#~ "``--upgrade``." - -#~ msgid "" -#~ "While symlinks are supported on Windows, they are not recommended. Of " -#~ "particular note is that double-clicking ``python.exe`` in File Explorer " -#~ "will resolve the symlink eagerly and ignore the virtual environment." -#~ msgstr "" -#~ "Aunque los enlaces simbólicos son compatibles en Windows, no se " -#~ "recomiendan. Es de interés particular que al hacer doble clic en ``python." -#~ "exe`` en el explorador de archivos, el enlace simbólico se resolverá e " -#~ "ignorará el entorno virtual." - -#~ msgid "" -#~ "On Microsoft Windows, it may be required to enable the ``Activate.ps1`` " -#~ "script by setting the execution policy for the user. You can do this by " -#~ "issuing the following PowerShell command:" -#~ msgstr "" -#~ "En Microsoft Windows puede ser necesario habilitar el script ``Activate." -#~ "ps1`` estableciendo la directiva de ejecución para el usuario. Puede " -#~ "hacer esto escribiendo el siguiente comando de PowerShell:" - -#~ msgid "" -#~ "PS C:\\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope " -#~ "CurrentUser" -#~ msgstr "" -#~ "PS C:\\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope " -#~ "CurrentUser" - -#~ msgid "" -#~ "See `About Execution Policies `_ for more information." -#~ msgstr "" -#~ "Ver `Acerca de las directivas de ejecución `_ para más información." - -#~ msgid "" -#~ "The created ``pyvenv.cfg`` file also includes the ``include-system-site-" -#~ "packages`` key, set to ``true`` if ``venv`` is run with the ``--system-" -#~ "site-packages`` option, ``false`` otherwise." -#~ msgstr "" -#~ "El archivo ``pyvenv.cfg`` creado también incluye la clave ``include-" -#~ "system-site-packages``, establecida en ``true`` si se ejecuta ``venv`` " -#~ "con la opción ``--system-site-packages``, ``false`` en caso contrario." - -#~ msgid "" -#~ "Unless the ``--without-pip`` option is given, :mod:`ensurepip` will be " -#~ "invoked to bootstrap ``pip`` into the virtual environment." -#~ msgstr "" -#~ "A menos que se proporcione la opción ``--without-pip``, se invocará :mod:" -#~ "`ensurepip` para arrancar ``pip`` en el entorno virtual." - -#~ msgid "" -#~ "Multiple paths can be given to ``venv``, in which case an identical " -#~ "virtual environment will be created, according to the given options, at " -#~ "each provided path." -#~ msgstr "" -#~ "Se pueden asignar múltiples rutas a ``venv``, en cuyo caso se creará un " -#~ "entorno virtual idéntico, de acuerdo a las opciones dadas, en cada ruta " -#~ "proporcionada." - -#~ msgid "" -#~ "Once a virtual environment has been created, it can be \"activated\" " -#~ "using a script in the virtual environment's binary directory. The " -#~ "invocation of the script is platform-specific (`` must be replaced " -#~ "by the path of the directory containing the virtual environment):" -#~ msgstr "" -#~ "Una vez que se ha creado un entorno virtual, se puede \"activar\" con un " -#~ "script en el directorio binario del entorno virtual. La invocación del " -#~ "script es específica de la plataforma (`` debe reemplazarse por la " -#~ "ruta del directorio que contiene el entorno virtual):" - -#~ msgid "PowerShell Core" -#~ msgstr "PowerShell Core" - -#~ msgid "" -#~ "When a virtual environment is active, the :envvar:`VIRTUAL_ENV` " -#~ "environment variable is set to the path of the virtual environment. This " -#~ "can be used to check if one is running inside a virtual environment." -#~ msgstr "" -#~ "Cuando un entorno virtual está activo, la variable de entorno :envvar:" -#~ "`VIRTUAL_ENV` se establece en la ruta del entorno virtual. Esto se puede " -#~ "usar para verificar si uno se está ejecutando dentro de un entorno " -#~ "virtual." - -#~ msgid "" -#~ "You don't specifically *need* to activate an environment; activation just " -#~ "prepends the virtual environment's binary directory to your path, so that " -#~ "\"python\" invokes the virtual environment's Python interpreter and you " -#~ "can run installed scripts without having to use their full path. However, " -#~ "all scripts installed in a virtual environment should be runnable without " -#~ "activating it, and run with the virtual environment's Python " -#~ "automatically." -#~ msgstr "" -#~ "No es *necesario* específicamente activar un entorno; la activación sólo " -#~ "antepone el directorio binario del entorno virtual a su ruta, así que " -#~ "\"python\" invoca el intérprete de Python del entorno virtual y puede " -#~ "ejecutar los scripts instalados sin tener que usar su ruta completa. Sin " -#~ "embargo, todos los scripts instalados en un entorno virtual deben poder " -#~ "ejecutarse sin activarlo y ejecutarse automáticamente con Python del " -#~ "entorno virtual." - -#~ msgid "" -#~ "A virtual environment is a Python environment such that the Python " -#~ "interpreter, libraries and scripts installed into it are isolated from " -#~ "those installed in other virtual environments, and (by default) any " -#~ "libraries installed in a \"system\" Python, i.e., one which is installed " -#~ "as part of your operating system." -#~ msgstr "" -#~ "Un entorno virtual es un entorno Python en el que el intérprete Python, " -#~ "las bibliotecas y los scripts instalados en él están aislados de los " -#~ "instalados en otros entornos virtuales, y (por defecto) cualquier " -#~ "biblioteca instalada en un \"sistema\" Python, es decir, uno que esté " -#~ "instalado como parte de tu sistema operativo." - -#~ msgid "" -#~ "A virtual environment is a directory tree which contains Python " -#~ "executable files and other files which indicate that it is a virtual " -#~ "environment." -#~ msgstr "" -#~ "Un entorno virtual es un árbol de directorios que contiene archivos " -#~ "ejecutables de Python y otros archivos que indican que es un entorno " -#~ "virtual." - -#~ msgid "" -#~ "When a virtual environment is active (i.e., the virtual environment's " -#~ "Python interpreter is running), the attributes :attr:`sys.prefix` and :" -#~ "attr:`sys.exec_prefix` point to the base directory of the virtual " -#~ "environment, whereas :attr:`sys.base_prefix` and :attr:`sys." -#~ "base_exec_prefix` point to the non-virtual environment Python " -#~ "installation which was used to create the virtual environment. If a " -#~ "virtual environment is not active, then :attr:`sys.prefix` is the same " -#~ "as :attr:`sys.base_prefix` and :attr:`sys.exec_prefix` is the same as :" -#~ "attr:`sys.base_exec_prefix` (they all point to a non-virtual environment " -#~ "Python installation)." -#~ msgstr "" -#~ "Cuando un entorno virtual está activo (es decir, el intérprete de Python " -#~ "del entorno virtual se está ejecutando), los atributos :attr:`sys.prefix` " -#~ "y :attr:`sys.exec_prefix` apuntan al directorio base del entorno virtual, " -#~ "mientras que :attr:`sys.base_prefix` y :attr:`sys.base_exec_prefix` " -#~ "apuntan a la instalación Python del entorno no virtual que se utilizó " -#~ "para crear el entorno virtual. Si un entorno virtual no está activo, " -#~ "entonces :attr:`sys.prefix` es lo mismo que :attr:`sys.base_prefix` y :" -#~ "attr:`sys.exec_prefix` es lo mismo que :attr:`sys.base_exec_prefix` " -#~ "(todos ellos apuntan a una instalación Python de entorno no virtual)." - -#~ msgid "" -#~ "When a virtual environment is active, any options that change the " -#~ "installation path will be ignored from all :mod:`distutils` configuration " -#~ "files to prevent projects being inadvertently installed outside of the " -#~ "virtual environment." -#~ msgstr "" -#~ "Cuando un entorno virtual está activo, cualquier opción que cambie la " -#~ "ruta de instalación será ignorada de todos los archivos de configuración " -#~ "de :mod:`distutils` para evitar que los proyectos se instalen " -#~ "inadvertidamente fuera del entorno virtual." - -#~ msgid "" -#~ "When working in a command shell, users can make a virtual environment " -#~ "active by running an ``activate`` script in the virtual environment's " -#~ "executables directory (the precise filename and command to use the file " -#~ "is shell-dependent), which prepends the virtual environment's directory " -#~ "for executables to the ``PATH`` environment variable for the running " -#~ "shell. There should be no need in other circumstances to activate a " -#~ "virtual environment; scripts installed into virtual environments have a " -#~ "\"shebang\" line which points to the virtual environment's Python " -#~ "interpreter. This means that the script will run with that interpreter " -#~ "regardless of the value of ``PATH``. On Windows, \"shebang\" line " -#~ "processing is supported if you have the Python Launcher for Windows " -#~ "installed (this was added to Python in 3.3 - see :pep:`397` for more " -#~ "details). Thus, double-clicking an installed script in a Windows Explorer " -#~ "window should run the script with the correct interpreter without there " -#~ "needing to be any reference to its virtual environment in ``PATH``." -#~ msgstr "" -#~ "Cuando se trabaja en una consola, las/los usuarias/os pueden hacer que un " -#~ "entorno virtual se active ejecutando un script ``activate`` en el " -#~ "directorio de ejecutables del entorno virtual (el nombre preciso del " -#~ "archivo y el comando para utilizarlo dependen del entorno de consola), " -#~ "que envía previamente el directorio de ejecutables del entorno virtual a " -#~ "la variable de entorno ``PATH`` para la consola en ejecución. En otras " -#~ "circunstancias no debería ser necesario activar un entorno virtual; los " -#~ "scripts instalados en entornos virtuales tienen una línea \"*shebang*\" " -#~ "que apunta al intérprete Python del entorno virtual. Esto significa que " -#~ "el script se ejecutará con ese intérprete sin importar el valor de " -#~ "``PATH``. En Windows, el procesamiento de la línea \"*shebang*\" está " -#~ "soportado si tienes instalado el Python *Launcher* para Windows (este fue " -#~ "añadido a Python en 3.3 - ver :pep:`397` para más detalles). Por lo " -#~ "tanto, al hacer doble clic en un script instalado en una ventana del " -#~ "Explorador de Windows se debería ejecutar el script con el intérprete " -#~ "correcto sin necesidad de que haya ninguna referencia a su entorno " -#~ "virtual en ``PATH``." - -#~ msgid "" -#~ "Creates the environment directory and all necessary directories, and " -#~ "returns a context object. This is just a holder for attributes (such as " -#~ "paths), for use by the other methods. The directories are allowed to " -#~ "exist already, as long as either ``clear`` or ``upgrade`` were specified " -#~ "to allow operating on an existing environment directory." -#~ msgstr "" -#~ "Crea el directorio del entorno y todos los directorios necesarios, y " -#~ "retorna un objeto de contexto. Esto es sólo un soporte para atributos " -#~ "(como rutas), para ser usado por los otros métodos. Se permite que los " -#~ "directorios ya existan, siempre y cuando se haya especificado ``clear`` o " -#~ "``upgrade`` para permitir operar en un directorio de entorno existente." diff --git a/library/warnings.po b/library/warnings.po index 65cac38bc6..9ba83a24dc 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -1000,20 +1000,3 @@ msgstr "" #: ../Doc/library/warnings.rst:528 msgid "Added the *action*, *category*, *lineno*, and *append* parameters." msgstr "Agrega los parámetros *action*, *category*, *lineno* y *append*." - -#~ msgid "" -#~ "*message* is a string containing a regular expression that the start of " -#~ "the warning message must match. The expression is compiled to always be " -#~ "case-insensitive." -#~ msgstr "" -#~ "*message* es una cadena que contiene una expresión regular que el inicio " -#~ "del mensaje de advertencia debe coincidir. La expresión está compilada " -#~ "para que siempre sea insensible a las mayúsculas y minúsculas." - -#~ msgid "" -#~ "*module* is a string containing a regular expression that the module name " -#~ "must match. The expression is compiled to be case-sensitive." -#~ msgstr "" -#~ "*module* es una cadena que contiene una expresión regular que el nombre " -#~ "del módulo debe coincidir. La expresión se compila para que distinga " -#~ "entre mayúsculas y minúsculas." diff --git a/library/wave.po b/library/wave.po index 8c9f0449cb..6d923973e9 100644 --- a/library/wave.po +++ b/library/wave.po @@ -357,12 +357,3 @@ msgstr "" "Tenga en cuenta que no es válido establecer ningún parámetro después de " "invocar a :meth:`writeframes` o :meth:`writeframesraw`, y cualquier intento " "de hacerlo levantará :exc:`wave.Error`." - -#~ msgid "" -#~ "The :mod:`wave` module provides a convenient interface to the WAV sound " -#~ "format. It does not support compression/decompression, but it does " -#~ "support mono/stereo." -#~ msgstr "" -#~ "El módulo :mod:`wave` proporciona una interfaz conveniente para el " -#~ "formato de sonido WAV. No es compatible con la compresión/descompresión, " -#~ "pero sí es compatible con mono/estéreo." diff --git a/library/winreg.po b/library/winreg.po index fd6c693680..042723b5a5 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -1233,14 +1233,3 @@ msgid "" msgstr "" "cerrará automáticamente *key* cuando el control abandone el bloque :keyword:" "`with`." - -#~ msgid "" -#~ "The :func:`DeleteKeyEx` function is implemented with the RegDeleteKeyEx " -#~ "Windows API function, which is specific to 64-bit versions of Windows. " -#~ "See the `RegDeleteKeyEx documentation `__." -#~ msgstr "" -#~ "La función :func:`DeleteKeyEx` se implementa con la función " -#~ "RegDeleteKeyEx de la API de Windows, que es específica de las versiones " -#~ "de Windows de 64 bits. Consulte la `RegDeleteKeyEx documentation `__." diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index 78ee137449..c438435b57 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -2102,13 +2102,3 @@ msgstr "" "\"UTF8\" no lo es. Consulte https://www.w3.org/TR/2006/REC-xml11-20060816/" "#NT-EncodingDecl y https://www.iana.org/assignments/character-sets/character-" "sets.xhtml." - -#~ msgid "Additional resources" -#~ msgstr "Recursos adicionales" - -#~ msgid "" -#~ "See http://effbot.org/zone/element-index.htm for tutorials and links to " -#~ "other docs." -#~ msgstr "" -#~ "Vea http://effbot.org/zone/element-index.htm para tutoriales y enlaces a " -#~ "otros documentos." diff --git a/library/zlib.po b/library/zlib.po index af9915eae0..42c1e91ae4 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -649,21 +649,3 @@ msgid "" msgstr "" "El manual de zlib explica la semántica y el uso de las numerosas funciones " "de la biblioteca." - -#~ msgid "" -#~ "Always returns an unsigned value. To generate the same numeric value " -#~ "across all Python versions and platforms, use ``adler32(data) & " -#~ "0xffffffff``." -#~ msgstr "" -#~ "Siempre retorna un valor sin signo. Para generar el mismo valor numérico " -#~ "en todas las versiones y plataformas de Python, utilice ``adler32(data) & " -#~ "0xffffffff``." - -#~ msgid "" -#~ "Always returns an unsigned value. To generate the same numeric value " -#~ "across all Python versions and platforms, use ``crc32(data) & " -#~ "0xffffffff``." -#~ msgstr "" -#~ "Siempre retorna un valor sin signo. Para generar el mismo valor numérico " -#~ "en todas las versiones y plataformas de Python, use ``crc32 (data) & " -#~ "0xffffffff``." diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 986be80244..a1875734bb 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -2491,90 +2491,3 @@ msgstr "" "Una cadena de caracteres literal que aparece como la primera sentencia en el " "cuerpo de la clase se transforma en el elemento del espacio de nombre " "``__doc__`` y, por lo tanto, de la clase :term:`docstring`." - -#~ msgid "" -#~ "The expression list is evaluated once; it should yield an iterable " -#~ "object. An iterator is created for the result of the " -#~ "``expression_list``. The suite is then executed once for each item " -#~ "provided by the iterator, in the order returned by the iterator. Each " -#~ "item in turn is assigned to the target list using the standard rules for " -#~ "assignments (see :ref:`assignment`), and then the suite is executed. " -#~ "When the items are exhausted (which is immediately when the sequence is " -#~ "empty or an iterator raises a :exc:`StopIteration` exception), the suite " -#~ "in the :keyword:`!else` clause, if present, is executed, and the loop " -#~ "terminates." -#~ msgstr "" -#~ "La lista de expresiones se evalúa una vez; debería producir un objeto " -#~ "iterable. Se crea un iterador para el resultado de la " -#~ "``expression_list``. La suite se ejecuta una vez para cada elemento " -#~ "proporcionado por el iterador, en el orden retornado por el iterador. " -#~ "Cada elemento a su vez se asigna a la lista utilizando las reglas " -#~ "estándar para las asignaciones (ver :ref:`assignment`), y luego se " -#~ "ejecuta la suite. Cuando los elementos están agotados (que es " -#~ "inmediatamente cuando la secuencia está vacía o un iterador lanza una " -#~ "excepción del tipo :exc:`StopIteration`), la suite en la cláusula :" -#~ "keyword:`!else`, si está presente, se ejecuta y el bucle termina." - -#~ msgid "" -#~ "There is a subtlety when the sequence is being modified by the loop (this " -#~ "can only occur for mutable sequences, e.g. lists). An internal counter " -#~ "is used to keep track of which item is used next, and this is incremented " -#~ "on each iteration. When this counter has reached the length of the " -#~ "sequence the loop terminates. This means that if the suite deletes the " -#~ "current (or a previous) item from the sequence, the next item will be " -#~ "skipped (since it gets the index of the current item which has already " -#~ "been treated). Likewise, if the suite inserts an item in the sequence " -#~ "before the current item, the current item will be treated again the next " -#~ "time through the loop. This can lead to nasty bugs that can be avoided by " -#~ "making a temporary copy using a slice of the whole sequence, e.g., ::" -#~ msgstr "" -#~ "Hay una sutileza cuando la secuencia está siendo modificada por el bucle " -#~ "(esto solo puede ocurrir para secuencias mutables, por ejemplo, listas). " -#~ "Se utiliza un contador interno para realizar un seguimiento de qué " -#~ "elemento se usa a continuación, y esto se incrementa en cada iteración. " -#~ "Cuando este contador ha alcanzado la longitud de la secuencia, el bucle " -#~ "termina. Esto significa que si la suite elimina el elemento actual (o " -#~ "anterior) de la secuencia, se omitirá el siguiente elemento (ya que " -#~ "obtiene el índice del elemento actual que ya ha sido tratado). Del mismo " -#~ "modo, si la suite inserta un elemento en la secuencia anterior al " -#~ "elemento actual, el elemento actual será tratado nuevamente la próxima " -#~ "vez a través del bucle. Esto puede conducir a errores graves que se " -#~ "pueden evitar haciendo una copia temporal usando una porción de la " -#~ "secuencia completa, por ejemplo, ::" - -#~ msgid "" -#~ "If the evaluation of an expression in the header of an except clause " -#~ "raises an exception, the original search for a handler is canceled and a " -#~ "search starts for the new exception in the surrounding code and on the " -#~ "call stack (it is treated as if the entire :keyword:`try` statement " -#~ "raised the exception)." -#~ msgstr "" -#~ "Si la evaluación de una expresión en el encabezado de una cláusula " -#~ "``except`` lanza una excepción, la búsqueda original de un gestor se " -#~ "cancela y se inicia la búsqueda de la nueva excepción en el código " -#~ "circundante y en la pila de llamadas (se trata como si toda la sentencia :" -#~ "keyword:`try` provocó la excepción)." - -#~ msgid "" -#~ "If :keyword:`finally` is present, it specifies a 'cleanup' handler. The :" -#~ "keyword:`try` clause is executed, including any :keyword:`except` and :" -#~ "keyword:`!else` clauses. If an exception occurs in any of the clauses " -#~ "and is not handled, the exception is temporarily saved. The :keyword:`!" -#~ "finally` clause is executed. If there is a saved exception it is re-" -#~ "raised at the end of the :keyword:`!finally` clause. If the :keyword:`!" -#~ "finally` clause raises another exception, the saved exception is set as " -#~ "the context of the new exception. If the :keyword:`!finally` clause " -#~ "executes a :keyword:`return`, :keyword:`break` or :keyword:`continue` " -#~ "statement, the saved exception is discarded::" -#~ msgstr "" -#~ "Si está presente :keyword:`finally`, esto especifica un gestor de " -#~ "'limpieza'. La cláusula :keyword:`try` se ejecuta, incluidas las " -#~ "cláusulas :keyword:`except` y :keyword:`!else`. Si se produce una " -#~ "excepción en cualquiera de las cláusulas y no se maneja, la excepción se " -#~ "guarda temporalmente. Se ejecuta la cláusula :keyword:`!finally`. Si hay " -#~ "una excepción guardada, se vuelve a lanzar al final de la cláusula :" -#~ "keyword:`!finally`. Si la cláusula :keyword:`!finally` lanza otra " -#~ "excepción, la excepción guardada se establece como el contexto de la " -#~ "nueva excepción. Si la cláusula :keyword:`!finally` ejecuta una " -#~ "sentencia :keyword:`return`, :keyword:`break` o :keyword:`continue`, la " -#~ "excepción guardada se descarta::" diff --git a/reference/datamodel.po b/reference/datamodel.po index 64c12cf1b1..8410f270ae 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -5077,84 +5077,3 @@ msgstr "" "Para operandos del mismo tipo, se asume que si el método no reflejado (como :" "meth:`__add__`) falla, la operación no es soportada, por lo cual el método " "reflejado no es llamado." - -#~ msgid "" -#~ "A string is a sequence of values that represent Unicode code points. All " -#~ "the code points in the range ``U+0000 - U+10FFFF`` can be represented in " -#~ "a string. Python doesn't have a :c:type:`char` type; instead, every code " -#~ "point in the string is represented as a string object with length ``1``. " -#~ "The built-in function :func:`ord` converts a code point from its string " -#~ "form to an integer in the range ``0 - 10FFFF``; :func:`chr` converts an " -#~ "integer in the range ``0 - 10FFFF`` to the corresponding length ``1`` " -#~ "string object. :meth:`str.encode` can be used to convert a :class:`str` " -#~ "to :class:`bytes` using the given text encoding, and :meth:`bytes.decode` " -#~ "can be used to achieve the opposite." -#~ msgstr "" -#~ "Una cadena de caracteres es una secuencia de valores que representan " -#~ "puntos de código *Unicode*. Todos los puntos de código en el rango " -#~ "``U+0000 - U+10FFFF`` se puede representar en una cadena de caracteres. " -#~ "Python no tiene un tipo :c:type:`char`; en cambio, cada punto de código " -#~ "en la cadena de caracteres se representa como un objeto de cadena de " -#~ "caracteres con longitud ``1``. La función incorporada :func:`ord` " -#~ "convierte un punto de código de su forma de cadena de caracteres a un " -#~ "entero en el rango ``0 - 10FFFF``; la función :func:`chr` convierte un " -#~ "entero en el rango ``0 - 10FFFF`` a la cadena de caracteres " -#~ "correspondiente de longitud ``1``. :meth:`str.encode` se puede usar para " -#~ "convertir un objeto de tipo :class:`str` a :class:`bytes` usando la " -#~ "codificación de texto dada, y :meth:`bytes.decode` se puede usar para " -#~ "lograr el caso inverso." - -#~ msgid "" -#~ "If ``a`` is an instance of :class:`super`, then the binding ``super(B, " -#~ "obj).m()`` searches ``obj.__class__.__mro__`` for the base class ``A`` " -#~ "immediately preceding ``B`` and then invokes the descriptor with the " -#~ "call: ``A.__dict__['m'].__get__(obj, obj.__class__)``." -#~ msgstr "" -#~ "Si ``a`` es una instancia de :class:`super`, entonces el enlace " -#~ "``super(B, obj).m()`` busca ``obj.__class__.__mro__`` la clase base ``A`` " -#~ "que precede inmediatamente ``B`` y luego invoca al descriptor con el " -#~ "llamado: ``A.__dict__[‘m’].__get__(obj, obj.__class__)``." - -#~ msgid "" -#~ "Any non-string iterable may be assigned to *__slots__*. Mappings may also " -#~ "be used; however, in the future, special meaning may be assigned to the " -#~ "values corresponding to each key." -#~ msgstr "" -#~ "Cualquier iterable sin cadena de caracteres puede ser asignado a " -#~ "*__slots__*. Mapeos también pueden ser utilizados; sin embargo, en el " -#~ "futuro, un significado especial puede ser asignado a los valores " -#~ "correspondientes para cada llave." - -#~ msgid "" -#~ "One can implement the generic class syntax as specified by :pep:`484` " -#~ "(for example ``List[int]``) by defining a special method:" -#~ msgstr "" -#~ "Uno puede implementar la sintaxis de clase genérica como lo especifica :" -#~ "pep:`484` (por ejemplo ``List[int]``) definiendo un método especial:" - -#~ msgid "" -#~ "This method is looked up on the class object itself, and when defined in " -#~ "the class body, this method is implicitly a class method. Note, this " -#~ "mechanism is primarily reserved for use with static type hints, other " -#~ "usage is discouraged." -#~ msgstr "" -#~ "Este método es buscado en el objeto de clase mismo, y cuando es definido " -#~ "en el cuerpo de la clase, este método es un método de clase implícito. " -#~ "Tome en cuenta que este mecanismo es ante todo reservado para su uso con " -#~ "sugerencias de tipo (*type hints*), no se aconseja otro uso." - -#~ msgid "" -#~ "Iterator objects also need to implement this method; they are required to " -#~ "return themselves. For more information on iterator objects, see :ref:" -#~ "`typeiter`." -#~ msgstr "" -#~ "Objetos iteradores también necesitan implementar este método; son " -#~ "requeridos para retornarse a sí mismos. Para mayor información sobre " -#~ "objetos iteradores, ver :ref:`typeiter`." - -#~ msgid "" -#~ "If :meth:`__int__` is not defined then the built-in function :func:`int` " -#~ "falls back to :meth:`__trunc__`." -#~ msgstr "" -#~ "Si :meth:`__int__` no es definido, entonces la función incorporada :func:" -#~ "`int` regresa a :meth:`__trunc__`." diff --git a/reference/executionmodel.po b/reference/executionmodel.po index 51c4e62b5c..c37f866707 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -508,25 +508,3 @@ msgid "" msgstr "" "Esta limitación se da porque el código ejecutado por estas operaciones no " "está disponible en el momento en que se compila el módulo." - -#~ msgid "" -#~ "The following constructs bind names: formal parameters to functions, :" -#~ "keyword:`import` statements, class and function definitions (these bind " -#~ "the class or function name in the defining block), and targets that are " -#~ "identifiers if occurring in an assignment, :keyword:`for` loop header, or " -#~ "after :keyword:`!as` in a :keyword:`with` statement or :keyword:`except` " -#~ "clause. The :keyword:`!import` statement of the form ``from ... import " -#~ "*`` binds all names defined in the imported module, except those " -#~ "beginning with an underscore. This form may only be used at the module " -#~ "level." -#~ msgstr "" -#~ "Las siguientes construcciones vinculan nombres: parámetros formales a las " -#~ "funciones, declaraciones :keyword:`import`, definiciones de función y de " -#~ "clase (éstas vinculan el nombre de la clase o función en el bloque de " -#~ "definición), y objetivos que son identificadores si ocurren en una " -#~ "asignación, encabezados de bucles :keyword:`for`, o luego de :keyword:`!" -#~ "as` en una declaración :keyword:`with` o una cláusula :keyword:`except`. " -#~ "La declaración :keyword:`!import` de la forma ``from ... import *`` " -#~ "vincula todos los nombres definidos en el módulo importado, excepto " -#~ "aquellos que comienzan con un guión bajo. Esta forma solamente puede ser " -#~ "usada a nivel de módulo." diff --git a/reference/expressions.po b/reference/expressions.po index 0ac1915fe9..559cdee57d 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -3147,96 +3147,3 @@ msgid "" msgstr "" "El operador ``%`` también es usado para formateo de cadenas; aplica la misma " "prioridad." - -#~ msgid "" -#~ "Calling one of the asynchronous generator's methods returns an :term:" -#~ "`awaitable` object, and the execution starts when this object is awaited " -#~ "on. At that time, the execution proceeds to the first yield expression, " -#~ "where it is suspended again, returning the value of :token:" -#~ "`expression_list` to the awaiting coroutine. As with a generator, " -#~ "suspension means that all local state is retained, including the current " -#~ "bindings of local variables, the instruction pointer, the internal " -#~ "evaluation stack, and the state of any exception handling. When the " -#~ "execution is resumed by awaiting on the next object returned by the " -#~ "asynchronous generator's methods, the function can proceed exactly as if " -#~ "the yield expression were just another external call. The value of the " -#~ "yield expression after resuming depends on the method which resumed the " -#~ "execution. If :meth:`~agen.__anext__` is used then the result is :const:" -#~ "`None`. Otherwise, if :meth:`~agen.asend` is used, then the result will " -#~ "be the value passed in to that method." -#~ msgstr "" -#~ "Invocar uno de los métodos de un generador asincrónico retorna un objeto :" -#~ "term:`awaitable` y la ejecución comienza cuando este objeto es esperado. " -#~ "En ese momento, la ejecución avanza a la primera expresión yield, donde " -#~ "es suspendida de nuevo, retornando el valor de :token:`expression_list` a " -#~ "la corrutina en espera. Como con un generador, la suspensión significa " -#~ "que todo el estado local es retenido, incluyendo los enlaces actuales de " -#~ "variables locales, el puntero de instrucción, la pila de evaluación " -#~ "interna y el estado de cualquier manejo de excepción. Cuando se reanuda " -#~ "la ejecución al espera al siguiente objeto retornado por los métodos del " -#~ "generador asincrónico, la función puede avanzar exactamente igual que si " -#~ "la expresión yield fuera otra invocación externa. El valor de la " -#~ "expresión yield después de la reanudación dependen del método que ha " -#~ "resumido la ejecución. Si se usa :meth:`~agen.__anext__` entonces el " -#~ "resultado es :const:`None`. De otra forma, si se usa :meth:`~agen.asend`, " -#~ "entonces el resultado será el valor pasado a ese método." - -#~ msgid "" -#~ "Subscription of a sequence (string, tuple or list) or mapping " -#~ "(dictionary) object usually selects an item from the collection:" -#~ msgstr "" -#~ "La suscripción de una secuencia (cadena, tupla o lista) o un objeto de " -#~ "mapeo (diccionario) generalmente selecciona un elemento de la colección:" - -#~ msgid "" -#~ "The primary must evaluate to an object that supports subscription (lists " -#~ "or dictionaries for example). User-defined objects can support " -#~ "subscription by defining a :meth:`__getitem__` method." -#~ msgstr "" -#~ "El primario debe evaluar a un objeto que soporta subscripción (listas o " -#~ "diccionarios por ejemplo). Los objetos definidos por usuarios pueden " -#~ "soportar subscripción definiendo un método :meth:`__getitem__`." - -#~ msgid "" -#~ "If the primary is a sequence, the expression list must evaluate to an " -#~ "integer or a slice (as discussed in the following section)." -#~ msgstr "" -#~ "Si el primario es una secuencia, la expresión de lista debe evaluar a un " -#~ "entero o a un segmento (como es discutido en la siguiente sección)." - -#~ msgid "" -#~ "The formal syntax makes no special provision for negative indices in " -#~ "sequences; however, built-in sequences all provide a :meth:`__getitem__` " -#~ "method that interprets negative indices by adding the length of the " -#~ "sequence to the index (so that ``x[-1]`` selects the last item of " -#~ "``x``). The resulting value must be a nonnegative integer less than the " -#~ "number of items in the sequence, and the subscription selects the item " -#~ "whose index is that value (counting from zero). Since the support for " -#~ "negative indices and slicing occurs in the object's :meth:`__getitem__` " -#~ "method, subclasses overriding this method will need to explicitly add " -#~ "that support." -#~ msgstr "" -#~ "La sintaxis formal no hace ninguna provisión especial para índices " -#~ "negativos en secuencias; sin embargo, todas las secuencias incorporadas " -#~ "proveen un método :meth:`__getitem__` que interpreta índices negativos " -#~ "añadiendo al largo de la secuencia al índice (así es que ``x[-1]`` " -#~ "selecciona el último elemento de ``x``). El valor resultante debe ser un " -#~ "entero no negativo menor que el número de elementos en la secuencia y la " -#~ "subscripción selecciona el elemento cuyo índice es ese valor (contando " -#~ "desde cero). Ya que el soporte para índices negativos y el troceado " -#~ "ocurre en el método del objeto :meth:`__getitem__`, las subclases que " -#~ "sobrescriben este método necesitarán añadir explícitamente ese soporte." - -#~ msgid "" -#~ "Subscription of certain :term:`classes ` or :term:`types ` " -#~ "creates a :ref:`generic alias `. In this case, user-" -#~ "defined classes can support subscription by providing a :meth:" -#~ "`__class_getitem__` classmethod." -#~ msgstr "" -#~ "La suscripción de ciertos :term:`clases ` o :term:`tipos ` " -#~ "crea un :ref:`alias genérico `. En este caso, las " -#~ "clases definidas por el usuario pueden admitir la suscripción " -#~ "proporcionando un método de clase :meth:`__class_getitem__`." - -#~ msgid ":keyword:`not` ``x``" -#~ msgstr ":keyword:`not` ``x``" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index d95fbb4d57..71a9da2701 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -1546,20 +1546,3 @@ msgstr "Notas al pie de página" #: ../Doc/reference/lexical_analysis.rst:1012 msgid "https://www.unicode.org/Public/11.0.0/ucd/NameAliases.txt" msgstr "https://www.unicode.org/Public/11.0.0/ucd/NameAliases.txt" - -#~ msgid "(1,3)" -#~ msgstr "(1,3)" - -#~ msgid "" -#~ "Top-level format specifiers may include nested replacement fields. These " -#~ "nested fields may include their own conversion fields and :ref:`format " -#~ "specifiers `, but may not include more deeply-nested " -#~ "replacement fields. The :ref:`format specifier mini-language " -#~ "` is the same as that used by the :meth:`str.format` method." -#~ msgstr "" -#~ "Los especificadores de formato de nivel superior pueden incluir campos de " -#~ "reemplazo anidados. Estos campos anidados pueden incluir sus propios " -#~ "campos de conversión y :ref:`especificadores de formato `, " -#~ "pero pueden no incluir campos de reemplazo más anidados. El :ref:" -#~ "`especificador de formato mini-lenguaje ` es el mismo que el " -#~ "utilizado por el método :meth:`str.format`." diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 2db308a3ee..408a658dcf 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -1510,24 +1510,3 @@ msgstr ":pep:`3104` - Acceso a Nombres de Ámbitos externos" #: ../Doc/reference/simple_stmts.rst:1014 msgid "The specification for the :keyword:`nonlocal` statement." msgstr "La especificación para la declaración :keyword:`nonlocal`." - -#~ msgid "" -#~ "If no expressions are present, :keyword:`raise` re-raises the last " -#~ "exception that was active in the current scope. If no exception is " -#~ "active in the current scope, a :exc:`RuntimeError` exception is raised " -#~ "indicating that this is an error." -#~ msgstr "" -#~ "Si no hay expresiones presentes, :keyword:`raise` vuelve a lanzar la " -#~ "última excepción que estaba activa en el ámbito actual. Si no hay " -#~ "ninguna excepción activa en el alcance actual, se lanza una :exc:" -#~ "`RuntimeError` que indica que se trata de un error." - -#~ msgid "" -#~ "A similar mechanism works implicitly if an exception is raised inside an " -#~ "exception handler or a :keyword:`finally` clause: the previous exception " -#~ "is then attached as the new exception's :attr:`__context__` attribute::" -#~ msgstr "" -#~ "Un mecanismo similar funciona implícitamente si se lanza una excepción " -#~ "dentro de un controlador de excepciones o una cláusula :keyword:" -#~ "`finally`: la excepción anterior se adjunta como el atributo :attr:" -#~ "`__context__` de la nueva excepción::" diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index f4b690f9cd..a6c6184ec6 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -495,18 +495,3 @@ msgid "" "easy::" msgstr "" "Los módulos :mod:`fractions` y :mod:`decimal` hacen fácil estos cálculos::" - -#~ msgid "" -#~ "Floating-point numbers are represented in computer hardware as base 2 " -#~ "(binary) fractions. For example, the decimal fraction ::" -#~ msgstr "" -#~ "Los números de punto flotante se representan en el hardware de la " -#~ "computadora en fracciones en base 2 (binario). Por ejemplo, la fracción " -#~ "decimal ::" - -#~ msgid "" -#~ "has value 1/10 + 2/100 + 5/1000, and in the same way the binary " -#~ "fraction ::" -#~ msgstr "" -#~ "...tiene el valor 1/10 + 2/100 + 5/1000, y de la misma manera la fracción " -#~ "binaria ::" diff --git a/tutorial/modules.po b/tutorial/modules.po index 2f925bd38a..c0f4efbdb1 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -878,30 +878,3 @@ msgstr "" "De hecho, las definiciones de funciones también son \"declaraciones\" que se " "\"ejecutan\"; la ejecución de una definición de función a nivel de módulo, " "añade el nombre de la función en el espacio de nombres global del módulo." - -#~ msgid "" -#~ "This does not enter the names of the functions defined in ``fibo`` " -#~ "directly in the current symbol table; it only enters the module name " -#~ "``fibo`` there. Using the module name you can access the functions::" -#~ msgstr "" -#~ "Esto no añade los nombres de las funciones definidas en ``fibo`` " -#~ "directamente en el espacio de nombres actual; sólo añade el nombre del " -#~ "módulo ``fibo``. Usando el nombre del módulo puedes acceder a las " -#~ "funciones::" - -#~ msgid "" -#~ "Each module has its own private symbol table, which is used as the global " -#~ "symbol table by all functions defined in the module. Thus, the author of " -#~ "a module can use global variables in the module without worrying about " -#~ "accidental clashes with a user's global variables. On the other hand, if " -#~ "you know what you are doing you can touch a module's global variables " -#~ "with the same notation used to refer to its functions, ``modname." -#~ "itemname``." -#~ msgstr "" -#~ "Cada módulo tiene su propio espacio de nombres, el cual es usado como " -#~ "espacio de nombres global para todas las funciones definidas en el " -#~ "módulo. Por lo tanto, el autor de un módulo puede usar variables globales " -#~ "en el módulo sin preocuparse acerca de conflictos con una variable global " -#~ "del usuario. Por otro lado, si sabes lo que estás haciendo puedes acceder " -#~ "a las variables globales de un módulo con la misma notación usada para " -#~ "referirte a sus funciones, ``nombremodulo.nombreitem``." diff --git a/tutorial/whatnow.po b/tutorial/whatnow.po index f0a51d866a..44ea8410e8 100644 --- a/tutorial/whatnow.po +++ b/tutorial/whatnow.po @@ -189,16 +189,3 @@ msgstr "" "La tienda de queso, *Cheese Shop*, es un chiste de *Monty Python*: un " "cliente entra a una tienda de queso pero para cualquier queso que pide, el " "vendedor le dice que no lo tienen." - -#~ msgid "" -#~ "https://www.python.org: The major Python web site. It contains code, " -#~ "documentation, and pointers to Python-related pages around the web. This " -#~ "web site is mirrored in various places around the world, such as Europe, " -#~ "Japan, and Australia; a mirror may be faster than the main site, " -#~ "depending on your geographical location." -#~ msgstr "" -#~ "https://www.python.org: el principal sitio web de Python. Contiene " -#~ "código, documentación y referencias a páginas relacionadas con Python en " -#~ "la web. Este sitio web se refleja en varios lugares del mundo, como " -#~ "Europa, Japón y Australia; un espejo puede ser más rápido que el sitio " -#~ "principal, dependiendo de su ubicación geográfica." diff --git a/using/cmdline.po b/using/cmdline.po index f1764f36e5..3b64159aee 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -1813,16 +1813,3 @@ msgid "" msgstr "" "Si se establece, Python volcará objetos y recuentos de referencias aún vivos " "después de apagar el intérprete." - -#~ msgid "" -#~ "Run Python in isolated mode. This also implies -E and -s. In isolated " -#~ "mode :data:`sys.path` contains neither the script's directory nor the " -#~ "user's site-packages directory. All :envvar:`PYTHON*` environment " -#~ "variables are ignored, too. Further restrictions may be imposed to " -#~ "prevent the user from injecting malicious code." -#~ msgstr "" -#~ "Ejecute Python en modo aislado. Esto también implica -E y -s. En modo " -#~ "aislado :data:`sys.path` no contiene ni el directorio del script ni el " -#~ "directorio site-packages del usuario. También se omiten todas las " -#~ "variables de entorno :envvar:`PYTHON*`. Se pueden imponer restricciones " -#~ "adicionales para evitar que el usuario inyecte código malicioso." diff --git a/using/configure.po b/using/configure.po index 29c4d9c2d4..7873dbfed5 100644 --- a/using/configure.po +++ b/using/configure.po @@ -1565,27 +1565,3 @@ msgid "Linker flags used for building the interpreter object files." msgstr "" "Banderas de vinculación que se utilizan para crear los archivos de objeto " "del intérprete." - -#~ msgid "" -#~ "By default, the number of bits is selected depending on " -#~ "``sizeof(void*)``: 30 bits if ``void*`` size is 64-bit or larger, 15 bits " -#~ "otherwise." -#~ msgstr "" -#~ "De forma predeterminada, el número de bits se selecciona según " -#~ "``sizeof(void*)``: 30 bits si el tamaño de ``void*`` es de 64 bits o " -#~ "mayor, 15 bits en caso contrario." - -#~ msgid "" -#~ "The default suffix is ``.exe`` on Windows and macOS (``python.exe`` " -#~ "executable), and an empty string on other platforms (``python`` " -#~ "executable)." -#~ msgstr "" -#~ "El sufijo por defecto es ``.exe`` en Windows y macOS (ejecutable ``python." -#~ "exe``), y una cadena de caracteres vacía en otras plataformas (ejecutable " -#~ "``python``)." - -#~ msgid "Override search for Tcl and Tk include files." -#~ msgstr "Sobreescribe la búsqueda de archivos incluidos de Tcl y Tk." - -#~ msgid "Override search for Tcl and Tk libraries." -#~ msgstr "Sobreescribe la búsqueda de bibliotecas Tcl y Tk." diff --git a/using/mac.po b/using/mac.po index 936b929683..6aac59c175 100644 --- a/using/mac.po +++ b/using/mac.po @@ -378,16 +378,3 @@ msgstr "Otro recurso útil es el wiki de MacPython:" #: ../Doc/using/mac.rst:177 msgid "https://wiki.python.org/moin/MacPython" msgstr "https://wiki.python.org/moin/MacPython" - -#~ msgid "" -#~ "macOS since version 10.8 comes with Python 2.7 pre-installed by Apple. " -#~ "If you wish, you are invited to install the most recent version of Python " -#~ "3 from the Python website (https://www.python.org). A current " -#~ "\"universal binary\" build of Python, which runs natively on the Mac's " -#~ "new Intel and legacy PPC CPU's, is available there." -#~ msgstr "" -#~ "macOS desde la versión 10.8 viene con Python 2.7 preinstalado por Apple. " -#~ "Si lo desea, está invitado a instalar la versión más reciente de Python 3 " -#~ "desde el sitio web de Python (https://www.python.org). Allí está " -#~ "disponible una compilación \"binaria universal\" actual de Python, que se " -#~ "ejecuta de forma nativa en las nuevas CPU Intel y PPC heredadas de Mac." diff --git a/using/windows.po b/using/windows.po index b5305c89c3..da12b05061 100644 --- a/using/windows.po +++ b/using/windows.po @@ -2778,182 +2778,3 @@ msgstr "" "Para obtener información detallada acerca de las plataformas con " "instaladores precompilados consulte `Python for Windows `_." - -#~ msgid "Install developer headers and libraries" -#~ msgstr "Instalar encabezados y bibliotecas de desarrollo" - -#~ msgid "Installs :ref:`launcher` for all users." -#~ msgstr "Instalar :ref:`launcher` para todos los usuarios." - -#~ msgid "" -#~ "Because of restrictions on Microsoft Store apps, Python scripts may not " -#~ "have full write access to shared locations such as ``TEMP`` and the " -#~ "registry. Instead, it will write to a private copy. If your scripts must " -#~ "modify the shared locations, you will need to install the full installer." -#~ msgstr "" -#~ "Debido a restricciones en las aplicaciones de Microsoft Store, los " -#~ "scripts de Python podrían no tener acceso completo de escritura en " -#~ "ubicaciones compartidas como ``TEMP`` o el registro. En su lugar, se " -#~ "escribirá en una copia privada. Si sus scripts deben modificar las " -#~ "ubicaciones compartidas, necesitará instalar el instalador completo." - -#~ msgid "" -#~ "The embedded distribution does not include the `Microsoft C Runtime " -#~ "`_ and it " -#~ "is the responsibility of the application installer to provide this. The " -#~ "runtime may have already been installed on a user's system previously or " -#~ "automatically via Windows Update, and can be detected by finding " -#~ "``ucrtbase.dll`` in the system directory." -#~ msgstr "" -#~ "La distribución incrustable no incluye el `Microsoft C Runtime `_ y la " -#~ "responsabilidad de proporcionarlo recae sobre el instalador de la " -#~ "aplicación. El runtime puede haber sido previamente instalado en el " -#~ "sistema de un usuario, o automáticamente vía Windows Update, y puede ser " -#~ "detectado encontrando ``ucrtbase.dll`` en el directorio del sistema." - -#~ msgid "" -#~ "A \"comprehensive Python analysis environment\" with editors and other " -#~ "development tools." -#~ msgstr "" -#~ "Un \"entorno de análisis integral de Python\" con editores y otras " -#~ "herramientas de desarrollo." - -#~ msgid "https://technet.microsoft.com/en-us/library/cc754250.aspx" -#~ msgstr "https://technet.microsoft.com/en-us/library/cc754250.aspx" - -#~ msgid "https://technet.microsoft.com/en-us/library/cc755104.aspx" -#~ msgstr "https://technet.microsoft.com/en-us/library/cc755104.aspx" - -#~ msgid "" -#~ "https://support.microsoft.com/en-us/help/310519/how-to-manage-environment-" -#~ "variables-in-windows-xp" -#~ msgstr "" -#~ "https://support.microsoft.com/en-us/help/310519/how-to-manage-environment-" -#~ "variables-in-windows-xp" - -#~ msgid "How To Manage Environment Variables in Windows XP" -#~ msgstr "Cómo gestionar variables de entorno en Windows XP" - -#~ msgid "https://www.chem.gla.ac.uk/~louis/software/faq/q1.html" -#~ msgstr "https://www.chem.gla.ac.uk/~louis/software/faq/q1.html" - -#~ msgid "Setting Environment variables, Louis J. Farrugia" -#~ msgstr "Configurar variables de entorno, Louis J. Farrugia" - -#~ msgid "" -#~ "The ``/usr/bin/env`` form of shebang line has one further special " -#~ "property. Before looking for installed Python interpreters, this form " -#~ "will search the executable :envvar:`PATH` for a Python executable. This " -#~ "corresponds to the behaviour of the Unix ``env`` program, which performs " -#~ "a :envvar:`PATH` search." -#~ msgstr "" -#~ "La forma ``/usr/bin/env`` de la línea shebang tiene un significado " -#~ "especial más. Antes de buscar intérpretes de Python instalados, esta " -#~ "forma buscará el ejecutable de Python en :envvar:`PATH`. Esto se " -#~ "corresponde con el comportamiento en Unix del programa ``env``, el cual " -#~ "realiza una búsqueda en :envvar:`PATH`." - -#~ msgid "" -#~ "Python usually stores its library (and thereby your site-packages folder) " -#~ "in the installation directory. So, if you had installed Python to :file:" -#~ "`C:\\\\Python\\\\`, the default library would reside in :file:`C:\\" -#~ "\\Python\\\\Lib\\\\` and third-party modules should be stored in :file:`C:" -#~ "\\\\Python\\\\Lib\\\\site-packages\\\\`." -#~ msgstr "" -#~ "Python generalmente almacena su biblioteca (y por lo tanto el directorio " -#~ "site-packages) en el directorio de instalación. Por lo tanto si Python " -#~ "fue instalado en :file:`C:\\\\Python\\\\`, la biblioteca predeterminada " -#~ "residirá en :file:`C:\\\\Python\\\\Lib\\\\` y los módulos de terceros " -#~ "deberían almacenarse en :file:`C:\\\\Python\\\\Lib\\\\site-packages\\\\`." - -#~ msgid "" -#~ "To completely override :data:`sys.path`, create a ``._pth`` file with the " -#~ "same name as the DLL (``python37._pth``) or the executable (``python." -#~ "_pth``) and specify one line for each path to add to :data:`sys.path`. " -#~ "The file based on the DLL name overrides the one based on the executable, " -#~ "which allows paths to be restricted for any program loading the runtime " -#~ "if desired." -#~ msgstr "" -#~ "Para sobrescribir :data:`sys.path` completamente, crear un archivo ``." -#~ "_pth`` con el mismo nombre que la DLL (``python37._pth``) o el ejecutable " -#~ "(``python._pth``) y especificar una línea por cada ruta a agregar a :data:" -#~ "`sys.path`. El archivo basado en el nombre de la DLL tiene precedencia " -#~ "sobre el basado en el ejecutable, lo que permite restringir las rutas " -#~ "para cualquier programa que cargue el tiempo de ejecución si se desea." - -#~ msgid "" -#~ "When the file exists, all registry and environment variables are ignored, " -#~ "isolated mode is enabled, and :mod:`site` is not imported unless one line " -#~ "in the file specifies ``import site``. Blank paths and lines starting " -#~ "with ``#`` are ignored. Each path may be absolute or relative to the " -#~ "location of the file. Import statements other than to ``site`` are not " -#~ "permitted, and arbitrary code cannot be specified." -#~ msgstr "" -#~ "Cuando el archivo existe, se ignoran todas las variables de entorno y del " -#~ "registro, se activa el modo aislado, y no se importa :mod:`site` a menos " -#~ "que una línea en el archivo especifique ``import site``. Rutas en blanco " -#~ "y líneas que comiencen con ``#`` son ignoradas. Cada ruta puede ser " -#~ "absoluta o relativa a la ubicación del archivo. No se permiten " -#~ "declaraciones de importación más que la de ``site``, y no se puede " -#~ "especificar código arbitrario." - -#~ msgid "" -#~ "Note that ``.pth`` files (without leading underscore) will be processed " -#~ "normally by the :mod:`site` module when ``import site`` has been " -#~ "specified." -#~ msgstr "" -#~ "Tenga en cuenta que los archivos ``.pth`` (sin guion bajo al inicio) " -#~ "serán procesados normalmente por el módulo :mod:`site` cuando ``import " -#~ "site`` haya sido especificado." - -#~ msgid "WConio" -#~ msgstr "WConio" - -#~ msgid "" -#~ "Since Python's advanced terminal handling layer, :mod:`curses`, is " -#~ "restricted to Unix-like systems, there is a library exclusive to Windows " -#~ "as well: Windows Console I/O for Python." -#~ msgstr "" -#~ "Dado que la capa de manejo avanzado de terminales de Python, :mod:" -#~ "`curses`, se encuentra restringida a sistemas tipo Unix, también hay una " -#~ "biblioteca exclusiva para Windows: Windows Console I/O para Python." - -#~ msgid "" -#~ "`WConio `_ is a " -#~ "wrapper for Turbo-C's :file:`CONIO.H`, used to create text user " -#~ "interfaces." -#~ msgstr "" -#~ "`WConio `_ es un " -#~ "contenedor para :file:`CONIO.H` de Turbo-C, utilizado para crear " -#~ "interfaces de usuario de texto." - -#~ msgid "" -#~ "`Python + Windows + distutils + SWIG + gcc MinGW `_" -#~ msgstr "" -#~ "`Python + Windows + distutils + SWIG + gcc MinGW `_" - -#~ msgid "" -#~ "or \"Creating Python extensions in C/C++ with SWIG and compiling them " -#~ "with MinGW gcc under Windows\" or \"Installing Python extension with " -#~ "distutils and without Microsoft Visual C++\" by Sébastien Sauvage, 2003" -#~ msgstr "" -#~ "o \"Creating Python extensions in C/C++ with SWIG and compiling them with " -#~ "MinGW gcc under Windows\" o \"Installing Python extension with distutils " -#~ "and without Microsoft Visual C++\" por Sébastien Sauvage, 2003" - -#~ msgid "`Windows CE `_ is still supported." -#~ msgstr "`Windows CE `_ es aún soportado." - -#~ msgid "" -#~ "The `Cygwin `_ installer offers to install the " -#~ "Python interpreter as well (cf. `Cygwin package source `_, " -#~ "`Maintainer releases `_)" -#~ msgstr "" -#~ "El instalador de `Cygwin `_ también ofrece instalar " -#~ "el intérprete de Python (consulte `Cygwin package source `_, " -#~ "`Maintainer releases `_)" diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index 3cc7c3e430..1e0426d1a3 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -1516,16 +1516,3 @@ msgstr "" "varios borradores de este artículo: Graeme Cross, David Goodger, Jay Graves, " "Michael Hudson, Marc-André Lemburg, Fredrik Lundh, Neil Schemenauer, Thomas " "Wouters." - -#~ msgid "" -#~ "A common complaint from Python users is that there's no single catalog of " -#~ "all the Python modules in existence. T. Middleton's Vaults of Parnassus " -#~ "at http://www.vex.net/parnassus/ are the largest catalog of Python " -#~ "modules, but registering software at the Vaults is optional, and many " -#~ "people don't bother." -#~ msgstr "" -#~ "Una queja común de los usuarios de Python es que no hay un catálogo único " -#~ "de todos los módulos de Python existentes. Las Bóvedas de Parnaso de T. " -#~ "Middleton en http://www.vex.net/parnassus/ son el mayor catálogo de " -#~ "módulos de Python, pero registrar el software en las Bóvedas es opcional, " -#~ "y mucha gente no se molesta." diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index 8bfce617d7..b91a9848cf 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -4031,6 +4031,3 @@ msgstr "" "Grosse-Kunstleve, Kent Johnson, Iain Lowe, Martin von Löwis, Fredrik Lundh, " "Andrew McNamara, Skip Montanaro, Gustavo Niemeyer, Paul Prescod, James " "Pryor, Mike Rovner, Scott Weikart, Barry Warsaw, Thomas Wouters." - -#~ msgid "http://www.wsgi.org" -#~ msgstr "http://www.wsgi.org" diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 6553b654c9..cdce3c792e 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -4930,15 +4930,3 @@ msgstr "" "El autor desea agradecer a las siguientes personas sus sugerencias, " "correcciones y ayuda en varios borradores de este artículo: Nick Coghlan, " "Philip Jenvey, Ryan Lovett, R. David Murray y Hugh Secker-Walker." - -#~ msgid "" -#~ "The ElementTree library, :mod:`xml.etree`, no longer escapes ampersands " -#~ "and angle brackets when outputting an XML processing instruction (which " -#~ "looks like ``) or comment (which looks " -#~ "like ``). (Patch by Neil Muller; :issue:`2746`.)" -#~ msgstr "" -#~ "La biblioteca ElementTree, :mod:`xml.etree`, ya no escapa los ampersands " -#~ "y los paréntesis angulares cuando se emite una instrucción de " -#~ "procesamiento XML (que se parece a ``) " -#~ "o un comentario (que se parece a ``). (Parche de Neil " -#~ "Muller; :issue:`2746`.)" diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 0601b91f26..9606a2929f 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -4282,38 +4282,3 @@ msgid "" msgstr "" "El miembro ``PyThreadState.use_tracing`` se ha eliminado para optimizar " "Python. (Contribuido por Mark Shannon en :issue:`43760`.)" - -#~ msgid "" -#~ "This article explains the new features in Python 3.10, compared to 3.9." -#~ msgstr "" -#~ "Este artículo explica las nuevas funciones de Python 3.10, en comparación " -#~ "con 3.9." - -#~ msgid "For full details, see the :ref:`changelog `." -#~ msgstr "" -#~ "Para obtener detalles completos, consulte el :ref:`changelog `." - -#~ msgid "" -#~ "We expect to backport these shell changes to a future 3.9 maintenance " -#~ "release." -#~ msgstr "" -#~ "Esperamos respaldar estos cambios de shell a una futura versión de " -#~ "mantenimiento 3.9." - -#~ msgid "" -#~ "The presence of newline or tab characters in parts of a URL allows for " -#~ "some forms of attacks. Following the WHATWG specification that updates :" -#~ "rfc:`3986`, ASCII newline ``\\n``, ``\\r`` and tab ``\\t`` characters are " -#~ "stripped from the URL by the parser in :mod:`urllib.parse` preventing " -#~ "such attacks. The removal characters are controlled by a new module level " -#~ "variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :issue:" -#~ "`43882`)" -#~ msgstr "" -#~ "La presencia de caracteres de nueva línea o tabulación en partes de una " -#~ "URL permite algunas formas de ataques. Siguiendo la especificación WHATWG " -#~ "que actualiza: rfc: `3986`, la nueva línea ASCII ``\\n``, ``\\r`` y los " -#~ "caracteres de tabulación ``\\t`` son eliminados de la URL por el " -#~ "analizador en :mod:`urllib.parse` para prevenir tales ataques. Los " -#~ "caracteres de eliminación están controlados por una nueva variable de " -#~ "nivel de módulo ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (Ver :issue:" -#~ "`43882`)" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 4097f1815d..d3160f7f92 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -5157,26 +5157,3 @@ msgstr "" "parse_multipart` ya que utilizan las funciones afectadas internamente. Para " "obtener más detalles, consulte su documentación respectiva. (Contribuido por " "Adam Goldschmidt, Senthil Kumaran y Ken Jin en :issue:`42967`.)" - -#~ msgid "" -#~ "The new :option:`-X` ``importtime`` option or the :envvar:" -#~ "`PYTHONPROFILEIMPORTTIME` environment variable can be used to show the " -#~ "timing of each module import. (Contributed by Victor Stinner in :issue:" -#~ "`31415`.)" -#~ msgstr "" -#~ "La nueva opción :option:`-X` ``importtime`` o la variable de entorno :" -#~ "envvar:`PYTHONPROFILEIMPORTTIME` se puede utilizar para mostrar la " -#~ "sincronización de cada importación de módulo. (Contribuido por *Victor " -#~ "Stinner* en :issue:`31415`.)" - -#~ msgid "" -#~ "CPython's own :source:`CI configuration file <.travis.yml>` provides an " -#~ "example of using the SSL :source:`compatibility testing infrastructure " -#~ "` in CPython's test suite to build and link " -#~ "against OpenSSL 1.1.0 rather than an outdated system provided OpenSSL." -#~ msgstr "" -#~ "El propio :source:`archivo de configuración CI <.travis.yml>` de CPython " -#~ "proporciona un ejemplo del uso de SSL :source:`compatibilidad con la " -#~ "estructura de testing ` en el conjunto de " -#~ "pruebas de CPython para compilar y vincular contra OpenSSL 1.1.0 en lugar " -#~ "de un sistema obsoleto proporcionado OpenSSL." diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 8ea08a2463..14af78fade 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -3210,12 +3210,3 @@ msgstr "" "que utilizan las funciones afectadas internamente. Para obtener más " "detalles, consulte su documentación respectiva. (Contribuido por Adam " "Goldschmidt, Senthil Kumaran y Ken Jin en :issue:`42967`.)" - -#~ msgid "" -#~ ":c:func:`PyType_HasFeature` now always calls :c:func:`PyType_GetFlags`. " -#~ "Previously, it accessed directly the :c:member:`PyTypeObject.tp_flags` " -#~ "member when the limited C API was not used." -#~ msgstr "" -#~ ":c:func:`PyType_HasFeature` ahora siempre llama a :c:func:" -#~ "`PyType_GetFlags`. Anteriormente, accedía directamente al miembro :c:" -#~ "member:`PyTypeObject.tp_flags` cuando no se usaba la API C limitada." From 9d9c35c95846c47f774a749f0cf4fa241977e076 Mon Sep 17 00:00:00 2001 From: Francisco Mora <121241637+fmoradev@users.noreply.github.com> Date: Mon, 8 May 2023 13:55:16 -0400 Subject: [PATCH 21/30] Traducido archivo library/fcntl (#2376) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Listo para revisión. closes #1957 --- library/fcntl.po | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/library/fcntl.po b/library/fcntl.po index 87e46330d6..22e76026bb 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-12-15 10:56+0800\n" -"Last-Translator: Rodrigo Tobar \n" -"Language: es_ES\n" +"PO-Revision-Date: 2023-05-08 13:38-0400\n" +"Last-Translator: Francisco Mora \n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/fcntl.rst:2 msgid ":mod:`fcntl` --- The ``fcntl`` and ``ioctl`` system calls" @@ -37,8 +38,10 @@ msgstr "" "`ioctl`. Para una completa descripción de estas llamadas, ver las páginas " "del manual de Unix :manpage:`fcntl(2)` y :manpage:`ioctl(2)`." +# Dejo fuzzy por que no pasa el pipeline test. Otros archivos tienen esta misma linea como fuzzy. +#, fuzzy msgid ":ref:`Availability `: not Emscripten, not WASI." -msgstr "" +msgstr ":ref:`Disponibilidad `: no Emscripten, no WASI." #: ../Doc/library/cpython/Doc/includes/wasm-notavail.rst:5 msgid "" @@ -46,6 +49,9 @@ msgid "" "``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for " "more information." msgstr "" +"Este módulo no funciona o no está disponible en las plataformas WebAssembly " +"``wasm32-emscripten`` y ``wasm32-wasi``. Consulte :ref:`wasm-availability` " +"para obtener más información." #: ../Doc/library/fcntl.rst:23 msgid "" @@ -80,7 +86,6 @@ msgstr "" "func:`os.memfd_create`." #: ../Doc/library/fcntl.rst:38 -#, fuzzy msgid "" "On macOS, the fcntl module exposes the ``F_GETPATH`` constant, which obtains " "the path of a file from a file descriptor. On Linux(>=3.15), the fcntl " @@ -109,6 +114,9 @@ msgid "" "``F_DUP2FD_CLOEXEC`` constants, which allow to duplicate a file descriptor, " "the latter setting ``FD_CLOEXEC`` flag in addition." msgstr "" +"En FreeBSD, el módulo fcntl expone las constantes ``F_DUP2FD`` y " +"``F_DUP2FD_CLOEXEC``, que permiten duplicar un descriptor de archivo, este " +"último configurando además el indicador ``FD_CLOEXEC``." #: ../Doc/library/fcntl.rst:55 msgid "The module defines the following functions:" From d3cc92576234ad54cac01c9c50143a55bf3635dd Mon Sep 17 00:00:00 2001 From: Carlos Carrasco Varas Date: Tue, 9 May 2023 15:15:23 -0400 Subject: [PATCH 22/30] traducido archivo library/pprint (#2351) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ya he realizado las traducciones favor dar retroalimentación Closes #1922 --- TRANSLATORS | 1 + library/pprint.po | 40 ++++++++++++++++++++++++---------------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 11ed6dc63a..23039fb9b4 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -38,6 +38,7 @@ Camilo Baquero (@camilooob) Carlos A. Crespo (@cacrespo) Carlos AlMa (@carlosalma) Carlos Bernad (@carlos-bernad) +Carlos Enrique Carrasco Varas (@KrlitosForever) Carlos Joel Delgado Pizarro (@c0x6a) Carlos Martel Lamas (@Letram) Catalina Arrey Amunátegui (@CatalinaArrey) diff --git a/library/pprint.po b/library/pprint.po index e39ae651a2..0741c47aeb 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-10-29 22:00-0500\n" +"PO-Revision-Date: 2023-05-07 18:59-0400\n" "Last-Translator: Pedro Aarón \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.0.1\n" #: ../Doc/library/pprint.rst:2 msgid ":mod:`pprint` --- Data pretty printer" @@ -95,7 +96,9 @@ msgid "" "returns." msgstr "" "*stream* (por defecto ``sys.stdout``) es un :term:`file-like object` el cual " -"la salida va a ser escrita usando el método :meth:`write`." +"la salida va a ser escrita usando el :meth:`write`. Si tanto *stream* como " +"``sys.stdout`` son ``None``, entonces :meth:`~PrettyPrinter.pprint` retorna " +"el resultado sin mostrar nada." #: ../Doc/library/pprint.rst:52 msgid "" @@ -180,20 +183,22 @@ msgid "Added the *underscore_numbers* parameter." msgstr "Se agregó el parámetro *underscore_numbers*." #: ../Doc/library/pprint.rst:89 +#, fuzzy msgid "No longer attempts to write to ``sys.stdout`` if it is ``None``." -msgstr "" +msgstr "Ya no intenta escribir en ``sys.stdout`` si es ``None``." #: ../Doc/library/pprint.rst:118 -#, fuzzy msgid "" "Return the formatted representation of *object* as a string. *indent*, " "*width*, *depth*, *compact*, *sort_dicts* and *underscore_numbers* are " "passed to the :class:`PrettyPrinter` constructor as formatting parameters " "and their meanings are as described in its documentation above." msgstr "" -"Retorna la representación formateada de *object* como una cadena. *indent*, " -"*width*, *depth*, *compact*, *sort_dicts* y *underscore_numbers* se pasarán " -"al constructor :class:`PrettyPrinter` como parámetros de formato." +"Retorna la representación formateada de *object* como una cadena de " +"caracteres. *indent*, *width*, *depth*, *compact*, *sort_dicts* y " +"*underscore_numbers* se pasan al constructor de :class:`PrettyPrinter` como " +"parámetros de formato y su significado es el descrito en su documentación " +"anterior." #: ../Doc/library/pprint.rst:126 msgid "" @@ -218,21 +223,24 @@ msgid "" "inspecting values (you can even reassign ``print = pprint.pprint`` for use " "within a scope)." msgstr "" -"Imprime la representación formateada de *object* en *stream*, seguida de una " -"nueva línea. Si *stream* es ``None``, se utiliza ``sys.stdout``. Esto se " -"puede usar en el intérprete interactivo en lugar de la función :func:`print` " -"para inspeccionar valores (incluso puede reasignar ``print = pprint.pprint`` " -"para usarlo dentro de un alcance). *indent*, *width*, *depth*, *compact*, " -"*sort_dicts* y *underscore_numbers* se pasarán al constructor :class:" -"`PrettyPrinter` como parámetros de formato." +"Imprime la representación formateada de *object* en *stream*, seguido de un " +"salto de línea. Si *stream* es ``None``, se utiliza ``sys.stdout``. Esto " +"puede ser utilizado en el intérprete interactivo en lugar de la función :" +"func:`print` para inspeccionar valores (incluso puedes reasignar ``print = " +"pprint.pprint`` para usarlo dentro de un alcance)." #: ../Doc/library/pprint.rst:144 +#, fuzzy msgid "" "The configuration parameters *stream*, *indent*, *width*, *depth*, " "*compact*, *sort_dicts* and *underscore_numbers* are passed to the :class:" "`PrettyPrinter` constructor and their meanings are as described in its " "documentation above." msgstr "" +"Los parámetros de configuración *stream*, *indent*, *width*, *depth*, " +"*compact*, *sort_dicts* y *underscore_numbers* se pasan al constructor de " +"la :class:`PrettyPrinter` y su significado se describe en la documentación " +"mencionada anteriormente." #: ../Doc/library/pprint.rst:164 msgid "" From d2ea601ca2fa58fbd8fe0192cf2037b566534c88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Fri, 12 May 2023 16:17:27 +0200 Subject: [PATCH 23/30] Traducido library/os (#2269) Closes #1959 --------- Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- library/os.po | 348 ++++++++++++++++++++++++++------------------------ 1 file changed, 184 insertions(+), 164 deletions(-) diff --git a/library/os.po b/library/os.po index 9d5c7afc89..5e04633aad 100644 --- a/library/os.po +++ b/library/os.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2021-08-19 21:45-0500\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/os.rst:2 @@ -100,6 +100,12 @@ msgid "" "nice`) are not available. Others like :func:`~os.getuid` and :func:`~os." "getpid` are emulated or stubs." msgstr "" +"En las plataformas WebAssembly ``wasm32-emscripten`` y ``wasm32-wasi``, gran " +"parte del módulo :mod:`os` no está disponible o se comporta de manera " +"diferente. La API relacionada con procesos (por ejemplo, :func:`~os.fork`, :" +"func:`~os.execve`), señales (por ejemplo, :func:`~os.kill`, :func:`~os." +"wait`) y recursos (por ejemplo, :func:`~os.nice`) no están disponibles. " +"Otros como :func:`~os.getuid` y :func:`~os.getpid` son emulados o stubs." #: ../Doc/library/os.rst:47 msgid "" @@ -233,17 +239,15 @@ msgstr "" "de errores `." #: ../Doc/library/os.rst:116 -#, fuzzy msgid ":func:`sys.getfilesystemencoding()` returns ``'utf-8'``." -msgstr ":func:`sys.getfilesystemencoding()` retorna ``'UTF-8'``." +msgstr ":func:`sys.getfilesystemencoding()` retorna ``'utf-8'``." #: ../Doc/library/os.rst:117 -#, fuzzy msgid "" ":func:`locale.getpreferredencoding()` returns ``'utf-8'`` (the " "*do_setlocale* argument has no effect)." msgstr "" -":func:`locale.getpreferredencoding()` retorna ``'UTF-8'`` (el argumento " +":func:`locale.getpreferredencoding()` retorna ``'utf-8'`` (el argumento " "*do_setlocale* no tiene ningún efecto)." #: ../Doc/library/os.rst:119 @@ -261,12 +265,11 @@ msgstr "" "predeterminado de reconocimiento de configuración regional)" #: ../Doc/library/os.rst:124 -#, fuzzy msgid "" "On Unix, :func:`os.device_encoding` returns ``'utf-8'`` rather than the " "device encoding." msgstr "" -"En Unix, :func:`os.device_encoding` retorna ``'UTF-8'``. en lugar de la " +"En Unix, :func:`os.device_encoding` retorna ``'utf-8'``. en lugar de la " "codificación del dispositivo." #: ../Doc/library/os.rst:127 @@ -369,11 +372,11 @@ msgstr "" #: ../Doc/library/os.rst:164 msgid ":pep:`686`" -msgstr "" +msgstr ":pep:`686`" #: ../Doc/library/os.rst:165 msgid "Python 3.15 will make :ref:`utf8-mode` default." -msgstr "" +msgstr "Python 3.15 hará que :ref:`utf8-mode` sea el predeterminado." #: ../Doc/library/os.rst:171 msgid "Process Parameters" @@ -435,22 +438,21 @@ msgstr "" #: ../Doc/library/os.rst:4650 ../Doc/library/os.rst:4659 #, fuzzy msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." -msgstr ":ref:`Disponibilidad `: Unix, Windows." +msgstr ":ref:`Disponibilidad `: Unix, no Emscripten, no WASI." #: ../Doc/library/os.rst:186 -#, fuzzy msgid "" "A :term:`mapping` object where keys and values are strings that represent " "the process environment. For example, ``environ['HOME']`` is the pathname " "of your home directory (on some platforms), and is equivalent to " "``getenv(\"HOME\")`` in C." msgstr "" -"Un objeto :term:`mapeado` que representa el entorno en cadenas de texto. Por " -"ejemplo, ``environ['HOME']`` es la ruta de tu directorio personal (en " -"algunas plataformas), y es equivalente a ``getenv(\"HOME\")`` en C." +"Un objeto :term:`mapping` donde las claves y los valores son cadenas que " +"representan el entorno del proceso. Por ejemplo, ``environ['HOME']`` es el " +"nombre de ruta de su directorio de inicio (en algunas plataformas) y es " +"equivalente a ``getenv(\"HOME\")`` en C." #: ../Doc/library/os.rst:191 -#, fuzzy msgid "" "This mapping is captured the first time the :mod:`os` module is imported, " "typically during Python startup as part of processing :file:`site.py`. " @@ -458,11 +460,11 @@ msgid "" "`os.environ`, except for changes made by modifying :data:`os.environ` " "directly." msgstr "" -"Este mapeo se captura la primera vez que se importa el módulo :mod:`os`, " -"típicamente durante el inicio de Python como parte de procesar :file:`site." -"py`. Los cambios realizados en el ambiente luego de este primer momento no " -"se ven reflejados en ``os.environ``, exceptuando aquellos que se realizan " -"modificando directamente a ``os.environ``." +"Esta asignación se captura la primera vez que se importa el módulo :mod:" +"`os`, normalmente durante el inicio de Python como parte del procesamiento " +"de :file:`site.py`. Los cambios en el entorno realizados después de este " +"tiempo no se reflejan en :data:`os.environ`, excepto los cambios realizados " +"modificando :data:`os.environ` directamente." #: ../Doc/library/os.rst:196 msgid "" @@ -485,13 +487,12 @@ msgstr "" "`environb` si se quiere usar una codificación diferente." #: ../Doc/library/os.rst:206 -#, fuzzy msgid "" "Calling :func:`putenv` directly does not change :data:`os.environ`, so it's " "better to modify :data:`os.environ`." msgstr "" -"Llamar directamente a la función :func:`putenv` no cambia a ``os.environ``, " -"así que es mejor modificar ``os.environ``." +"Llamar a :func:`putenv` directamente no cambia :data:`os.environ`, por lo " +"que es mejor modificar :data:`os.environ`." #: ../Doc/library/os.rst:211 msgid "" @@ -503,17 +504,16 @@ msgstr "" "para :c:func:`putenv`." #: ../Doc/library/os.rst:215 -#, fuzzy msgid "" "You can delete items in this mapping to unset environment variables. :func:" "`unsetenv` will be called automatically when an item is deleted from :data:" "`os.environ`, and when one of the :meth:`pop` or :meth:`clear` methods is " "called." msgstr "" -"Puedes eliminar elementos en este mapeo para remover variables de entorno. :" -"func:`unsetenv` va a ser llamado automáticamente cuando el elemento es " -"eliminado de ``os.environ``, y cuando uno de los métodos :meth:`pop` o :meth:" -"`clear` son llamados." +"Puede eliminar elementos en esta asignación para desactivar las variables de " +"entorno. :func:`unsetenv` se llamará automáticamente cuando se elimine un " +"elemento de :data:`os.environ` y cuando se llame a uno de los métodos :meth:" +"`pop` o :meth:`clear`." #: ../Doc/library/os.rst:220 ../Doc/library/os.rst:236 msgid "" @@ -529,6 +529,10 @@ msgid "" "data:`environ` and :data:`environb` are synchronized (modifying :data:" "`environb` updates :data:`environ`, and vice versa)." msgstr "" +"Versión de bytes de :data:`environ`: un objeto :term:`mapping` donde tanto " +"las claves como los valores son objetos :class:`bytes` que representan el " +"entorno del proceso. :data:`environ` y :data:`environb` están sincronizados " +"(modificando :data:`environb` actualiza :data:`environ`, y viceversa)." #: ../Doc/library/os.rst:231 msgid "" @@ -619,6 +623,11 @@ msgid "" "also captured on import, and the function may not reflect future environment " "changes." msgstr "" +"Devuelve el valor de la variable de entorno *key* como una cadena si existe, " +"o *default* si no existe. *key* es una cadena. Tenga en cuenta que dado que :" +"func:`getenv` usa :data:`os.environ`, la asignación de :func:`getenv` " +"también se captura de manera similar en la importación, y es posible que la " +"función no refleje futuros cambios en el entorno." #: ../Doc/library/os.rst:313 msgid "" @@ -649,6 +658,11 @@ msgid "" "similarly also captured on import, and the function may not reflect future " "environment changes." msgstr "" +"Devuelve el valor de la variable de entorno *key* como bytes si existe, o " +"*default* si no existe. *key* debe ser bytes. Tenga en cuenta que dado que :" +"func:`getenvb` usa :data:`os.environb`, la asignación de :func:`getenvb` " +"también se captura de manera similar en la importación, y es posible que la " +"función no refleje futuros cambios en el entorno." #: ../Doc/library/os.rst:329 msgid "" @@ -715,18 +729,20 @@ msgid "" "The function is a stub on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." msgstr "" +"La función es un código auxiliar en Emscripten y WASI, consulte :ref:`wasm-" +"availability` para obtener más información." #: ../Doc/library/os.rst:379 -#, fuzzy msgid "" "Return list of group ids that *user* belongs to. If *group* is not in the " "list, it is included; typically, *group* is specified as the group ID field " "from the password record for *user*, because that group ID will otherwise be " "potentially omitted." msgstr "" -"Retorna la lista de *ids* de grupos al que el usuario pertenece. Si el grupo " -"*group* no está en la lista, se incluirá; típicamente *group* se especifica " -"como en el campo *ID* de grupo del registro de claves del usuario." +"Devuelve la lista de ID de grupo a los que pertenece *user*. Si *group* no " +"está en la lista, se incluye; normalmente, *group* se especifica como el " +"campo de ID de grupo del registro de contraseña para *user*, porque de lo " +"contrario, esa ID de grupo podría omitirse." #: ../Doc/library/os.rst:391 msgid "" @@ -787,7 +803,8 @@ msgstr "" #, fuzzy msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." -msgstr ":ref:`Disponibilidad `: Unix, Windows." +msgstr "" +":ref:`Disponibilidad `: Unix, Windows, no Emscripten, no WASI." #: ../Doc/library/os.rst:426 msgid "" @@ -886,7 +903,6 @@ msgstr "" "con :func:`os.system`, :func:`popen` o :func:`fork` y :func:`execv`." #: ../Doc/library/os.rst:542 -#, fuzzy msgid "" "Assignments to items in :data:`os.environ` are automatically translated into " "corresponding calls to :func:`putenv`; however, calls to :func:`putenv` " @@ -895,10 +911,13 @@ msgid "" "`getenvb`, which respectively use :data:`os.environ` and :data:`os.environb` " "in their implementations." msgstr "" -"La asignación a elementos en ``os.environ`` es automáticamente traducida en " -"llamadas correspondientes a :func:`putenv`; sin embardo, llamadas a :func:" -"`putenv` no actualizan ``os.environ``, así que es preferible asignar a " -"elementos de ``os.environ``." +"Las asignaciones a elementos en :data:`os.environ` se traducen " +"automáticamente en llamadas correspondientes a :func:`putenv`; sin embargo, " +"las llamadas a :func:`putenv` no actualizan :data:`os.environ`, por lo que " +"en realidad es preferible asignar elementos de :data:`os.environ`. Esto " +"también se aplica a :func:`getenv` y :func:`getenvb`, que utilizan " +"respectivamente :data:`os.environ` y :data:`os.environb` en sus " +"implementaciones." #: ../Doc/library/os.rst:550 msgid "" @@ -1131,17 +1150,16 @@ msgstr "" "func:`popen` o :func:`fork` y :func:`execv`." #: ../Doc/library/os.rst:748 -#, fuzzy msgid "" "Deletion of items in :data:`os.environ` is automatically translated into a " "corresponding call to :func:`unsetenv`; however, calls to :func:`unsetenv` " "don't update :data:`os.environ`, so it is actually preferable to delete " "items of :data:`os.environ`." msgstr "" -"La eliminación de elementos en ``os.environ`` es automáticamente traducida a " -"llamadas correspondiente a :func:`unsetenv`; sin embardo, llamadas a :func:" -"`unsetenv` no actualizan ``os.environ``, así que es realmente preferible " -"eliminar elementos de ``os.environ``." +"La eliminación de elementos en :data:`os.environ` se traduce automáticamente " +"en una llamada correspondiente a :func:`unsetenv`; sin embargo, las llamadas " +"a :func:`unsetenv` no actualizan :data:`os.environ`, por lo que en realidad " +"es preferible eliminar elementos de :data:`os.environ`." #: ../Doc/library/os.rst:753 msgid "" @@ -1288,8 +1306,7 @@ msgstr "" #: ../Doc/library/os.rst:838 #, fuzzy msgid ":ref:`Availability `: Linux >= 4.5 with glibc >= 2.27." -msgstr "" -":ref:`Disponibilidad `: Kernel de Linux >= 4.5 o glibc >= 2.27." +msgstr ":ref:`Disponibilidad `: Linux >= 4.5 con glibc >= 2.27." #: ../Doc/library/os.rst:844 msgid "" @@ -1330,7 +1347,7 @@ msgstr "" #: ../Doc/library/os.rst:864 ../Doc/library/os.rst:877 #, fuzzy msgid ":ref:`Availability `: not WASI." -msgstr ":ref:`Disponibilidad `: Unix." +msgstr ":ref:`Disponibilidad `: no WASI." #: ../Doc/library/os.rst:865 ../Doc/library/os.rst:1089 msgid "The new file descriptor is now non-inheritable." @@ -1383,6 +1400,8 @@ msgid "" "The function is limited on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." msgstr "" +"La función está limitada en Emscripten y WASI, consulte :ref:`wasm-" +"availability` para obtener más información." #: ../Doc/library/os.rst:901 msgid "" @@ -1572,6 +1591,10 @@ msgid "" "Make the calling process a session leader; make the tty the controlling tty, " "the stdin, the stdout, and the stderr of the calling process; close fd." msgstr "" +"Prepare el tty del cual fd es un descriptor de archivo para una nueva sesión " +"de inicio de sesión. Convierta el proceso de convocatoria en un líder de " +"sesión; hacer que el tty sea el tty controlador, el stdin, el stdout y el " +"stderr del proceso de llamada; cerrar fd." #: ../Doc/library/os.rst:1053 msgid "" @@ -1806,7 +1829,7 @@ msgstr "" #: ../Doc/library/os.rst:1227 #, fuzzy msgid ":ref:`Availability `: Unix, not Emscripten." -msgstr ":ref:`Disponibilidad `: Unix, Windows." +msgstr ":ref:`Disponibilidad `: Unix, no Emscripten." #: ../Doc/library/os.rst:1233 msgid "" @@ -1906,12 +1929,12 @@ msgid "" ":ref:`Availability `: Linux >= 2.6.30, FreeBSD >= 6.0, OpenBSD " ">= 2.7, AIX >= 7.1." msgstr "" -":ref:`Disponibilidad `: Kernel de Linux >= 2.6.17 y glibc >= " -"2.5." +":ref:`Disponibilidad `: Linux >= 2.6.30, FreeBSD >= 6.0, " +"OpenBSD >= 2.7, AIX >= 7.1." #: ../Doc/library/os.rst:1297 ../Doc/library/os.rst:1367 msgid "Using flags requires Linux >= 4.6." -msgstr "" +msgstr "El uso de banderas requiere Linux >= 4.6." #: ../Doc/library/os.rst:1304 msgid "" @@ -1936,7 +1959,7 @@ msgstr "" #: ../Doc/library/os.rst:1313 #, fuzzy msgid ":ref:`Availability `: Linux >= 4.14." -msgstr ":ref:`Disponibilidad `: Linux 5.4+" +msgstr ":ref:`Disponibilidad `: Linux >= 4.14." #: ../Doc/library/os.rst:1319 msgid "" @@ -1958,7 +1981,7 @@ msgstr "" #: ../Doc/library/os.rst:1327 #, fuzzy msgid ":ref:`Availability `: Linux >= 4.6." -msgstr ":ref:`Disponibilidad `: Linux 5.4+" +msgstr ":ref:`Disponibilidad `: Linux >= 4.6." #: ../Doc/library/os.rst:1333 msgid "" @@ -2019,7 +2042,7 @@ msgstr "" #: ../Doc/library/os.rst:1378 ../Doc/library/os.rst:1388 #, fuzzy msgid ":ref:`Availability `: Linux >= 4.7." -msgstr ":ref:`Disponibilidad `: Linux 5.4+" +msgstr ":ref:`Disponibilidad `: Linux > 4.7." #: ../Doc/library/os.rst:1384 msgid "" @@ -2049,7 +2072,7 @@ msgstr "" #: ../Doc/library/os.rst:1402 #, fuzzy msgid ":ref:`Availability `: Linux >= 4.16." -msgstr ":ref:`Disponibilidad `: Linux 5.4+" +msgstr ":ref:`Disponibilidad `: Linux >= 4.16." #: ../Doc/library/os.rst:1408 msgid "Read at most *n* bytes from file descriptor *fd*." @@ -2166,13 +2189,14 @@ msgstr "" "Parámetros para la función :func:`sendfile`, si la implementación los admite." #: ../Doc/library/os.rst:1494 -#, fuzzy msgid "" "Parameter to the :func:`sendfile` function, if the implementation supports " "it. The data won't be cached in the virtual memory and will be freed " "afterwards." msgstr "" -"Parámetros para la función :func:`sendfile`, si la implementación los admite." +"Parámetro a la función :func:`sendfile`, si la implementación lo admite. Los " +"datos no se almacenarán en caché en la memoria virtual y se liberarán " +"después." #: ../Doc/library/os.rst:1504 msgid "" @@ -2214,8 +2238,7 @@ msgstr "" #, fuzzy msgid ":ref:`Availability `: Linux >= 2.6.17 with glibc >= 2.5" msgstr "" -":ref:`Disponibilidad `: Kernel de Linux >= 2.6.17 y glibc >= " -"2.5." +":ref:`Disponibilidad `: Linux >= 2.6.17 con glibc >= 2.5." #: ../Doc/library/os.rst:1537 msgid "" @@ -2240,7 +2263,7 @@ msgstr "" #: ../Doc/library/os.rst:1558 ../Doc/library/os.rst:1566 #, fuzzy msgid ":ref:`Availability `: Unix, not WASI." -msgstr ":ref:`Disponibilidad `: Windows." +msgstr ":ref:`Disponibilidad `: Unix, no WASI." #: ../Doc/library/os.rst:1563 msgid "" @@ -2394,6 +2417,8 @@ msgid "" "On WebAssembly platforms ``wasm32-emscripten`` and ``wasm32-wasi``, the file " "descriptor cannot be modified." msgstr "" +"En las plataformas WebAssembly ``wasm32-emscripten`` y ``wasm32-wasi``, el " +"descriptor de archivo no se puede modificar." #: ../Doc/library/os.rst:1679 msgid "" @@ -3102,15 +3127,13 @@ msgid "Create a directory named *path* with numeric mode *mode*." msgstr "Cree un directorio llamado *path* con modo numérico *mode*." #: ../Doc/library/os.rst:2122 -#, fuzzy msgid "" "If the directory already exists, :exc:`FileExistsError` is raised. If a " "parent directory in the path does not exist, :exc:`FileNotFoundError` is " "raised." msgstr "" -"Quite (elimine) el archivo *path*. Si *path* es un directorio, se genera un :" -"exc:`IsADirectoryError`. Utilice :func:`rmdir` para eliminar directorios. Si " -"el archivo no existe, se lanza un :exc:`FileNotFoundError`." +"Si el directorio ya existe, se genera :exc:`FileExistsError`. Si no existe " +"un directorio principal en la ruta, se genera :exc:`FileNotFoundError`." #: ../Doc/library/os.rst:2127 msgid "" @@ -3152,7 +3175,6 @@ msgstr "" "el directorio hoja." #: ../Doc/library/os.rst:2157 -#, fuzzy msgid "" "The *mode* parameter is passed to :func:`mkdir` for creating the leaf " "directory; see :ref:`the mkdir() description ` for how it is " @@ -3161,14 +3183,13 @@ msgid "" "file permission bits of existing parent directories are not changed." msgstr "" "El parámetro *mode* se pasa a :func:`mkdir` para crear el directorio hoja; " -"ver :ref:`la descripción de mkdir() ` por cómo se " +"consulte :ref:`the mkdir() description ` para saber cómo se " "interpreta. Para configurar los bits de permiso de archivo de cualquier " -"directorio padre recién creado, puede configurar la umask antes de invocar :" +"directorio principal recién creado, puede configurar umask antes de invocar :" "func:`makedirs`. Los bits de permiso de archivo de los directorios " "principales existentes no se modifican." #: ../Doc/library/os.rst:2163 -#, fuzzy msgid "" "If *exist_ok* is ``False`` (the default), a :exc:`FileExistsError` is raised " "if the target directory already exists." @@ -3205,7 +3226,6 @@ msgstr "" "implementar de forma segura, se eliminó en Python 3.4.1. Ver :issue:`21082`." #: ../Doc/library/os.rst:2188 -#, fuzzy msgid "" "The *mode* argument no longer affects the file permission bits of newly " "created intermediate-level directories." @@ -3449,7 +3469,6 @@ msgstr "" "En Windows, si *dst* existe a :exc:`FileExistsError` siempre se genera." #: ../Doc/library/os.rst:2376 -#, fuzzy msgid "" "On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:" "`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised " @@ -3461,14 +3480,14 @@ msgid "" "operation (this is a POSIX requirement)." msgstr "" "En Unix, si *src* es un archivo y *dst* es un directorio o viceversa, se " -"lanzará un :exc:`IsADirectoryError` o un :exc:`NotADirectoryError` " -"respectivamente. Si ambos son directorios y *dst* está vacío, *dst* será " -"reemplazado silenciosamente. Si *dst* es un directorio no vacío, se genera " -"un :exc:`OSError`. Si ambos son archivos, *dst* se reemplazará en silencio " -"si el usuario tiene permiso. La operación puede fallar en algunos sabores de " -"Unix si *src* y *dst* están en diferentes sistemas de archivos. Si tiene " -"éxito, el cambio de nombre será una operación atómica (este es un requisito " -"POSIX)." +"generará un :exc:`IsADirectoryError` o un :exc:`NotADirectoryError` " +"respectivamente. Si ambos son directorios y *dst* está vacío, *dst* se " +"reemplazará silenciosamente. Si *dst* no es un directorio vacío, se genera " +"un :exc:`OSError`. Si ambos son archivos, *dst* se reemplazará " +"silenciosamente si el usuario tiene permiso. La operación puede fallar en " +"algunos tipos de Unix si *src* y *dst* están en sistemas de archivos " +"diferentes. Si tiene éxito, el cambio de nombre será una operación atómica " +"(este es un requisito POSIX)." #: ../Doc/library/os.rst:2385 ../Doc/library/os.rst:2425 msgid "" @@ -3535,19 +3554,24 @@ msgid "" "fail if *src* and *dst* are on different filesystems. If successful, the " "renaming will be an atomic operation (this is a POSIX requirement)." msgstr "" +"Cambie el nombre del archivo o directorio *src* a *dst*. Si *dst* no es un " +"directorio vacío, se generará :exc:`OSError`. Si *dst* existe y es un " +"archivo, se reemplazará de forma silenciosa si el usuario tiene permiso. La " +"operación puede fallar si *src* y *dst* están en sistemas de archivos " +"diferentes. Si tiene éxito, el cambio de nombre será una operación atómica " +"(este es un requisito POSIX)." #: ../Doc/library/os.rst:2438 -#, fuzzy msgid "" "Remove (delete) the directory *path*. If the directory does not exist or is " "not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised " "respectively. In order to remove whole directory trees, :func:`shutil." "rmtree` can be used." msgstr "" -"Elimina (*delete*) el directorio *path*. Si el directorio no existe o no " -"está vacío, se genera un :exc:`FileNotFoundError` o un :exc:`OSError` " +"Suprime (elimina) el directorio *path*. Si el directorio no existe o no está " +"vacío, se genera un :exc:`FileNotFoundError` o un :exc:`OSError` " "respectivamente. Para eliminar árboles de directorios completos, se puede " -"usar :func:`shutil.rmtree`." +"utilizar :func:`shutil.rmtree`." #: ../Doc/library/os.rst:2446 msgid "" @@ -3656,7 +3680,6 @@ msgstr "" "realizará una llamada adicional al sistema::" #: ../Doc/library/os.rst:2511 -#, fuzzy msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -3666,13 +3689,14 @@ msgid "" "aspx>`_ and `FindNextFileW `_ functions." msgstr "" -"En sistemas basados en Unix, :func:`scandir` usa el `opendir() del sistema " -"`_ y " -"`readdir() `_ funciones. En Windows, utiliza el Win32 `FindFirstFileW " -"`_ y `FindNextFileW `_ funciones." +"En los sistemas basados ​​en Unix, :func:`scandir` usa las funciones " +"`opendir() `_ y `readdir() `_ del sistema. En Windows, " +"utiliza las funciones Win32 `FindFirstFileW `_ y `FindNextFileW " +"`_." #: ../Doc/library/os.rst:2523 msgid "" @@ -4752,7 +4776,6 @@ msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "Es un error especificar tuplas para *times* y *ns*." #: ../Doc/library/os.rst:3178 -#, fuzzy msgid "" "Note that the exact times you set here may not be returned by a subsequent :" "func:`~os.stat` call, depending on the resolution with which your operating " @@ -4761,12 +4784,12 @@ msgid "" "fields from the :func:`os.stat` result object with the *ns* parameter to :" "func:`utime`." msgstr "" -"Tenga en cuenta que las horas exactas que establezca aquí pueden no ser " -"retornadas por una llamada posterior :func:`~os.stat`, dependiendo de la " -"resolución con la que su sistema operativo registre los tiempos de acceso y " -"modificación; ver :func:`~os.stat`. La mejor manera de preservar los tiempos " -"exactos es usar los campos *st_atime_ns* y *st_mtime_ns* del objeto de " -"resultado :func:`os.stat` con el parámetro *ns* para `utime`." +"Tenga en cuenta que es posible que las horas exactas que establezca aquí no " +"se devuelvan en una llamada :func:`~os.stat` posterior, dependiendo de la " +"resolución con la que su sistema operativo registre las horas de acceso y " +"modificación; ver :func:`~os.stat`. La mejor manera de conservar las horas " +"exactas es usar los campos *st_atime_ns* y *st_mtime_ns* del objeto de " +"resultado :func:`os.stat` con el parámetro *ns* a :func:`utime`." #: ../Doc/library/os.rst:3189 msgid "" @@ -4797,7 +4820,6 @@ msgstr "" "tupla de 3 tuplas ``(dirpath, dirnames, filenames)``." #: ../Doc/library/os.rst:3210 -#, fuzzy msgid "" "*dirpath* is a string, the path to the directory. *dirnames* is a list of " "the names of the subdirectories in *dirpath* (including symlinks to " @@ -4811,15 +4833,16 @@ msgid "" "unspecified." msgstr "" "*dirpath* es una cadena, la ruta al directorio. *dirnames* es una lista de " -"los nombres de los subdirectorios en *dirpath* (excluyendo ``'.'`` y " -"``'..'``). *filenames* es una lista de los nombres de los archivos que no " -"son un directorio en *dirpath*. Tenga en cuenta que los nombres en las " -"listas no contienen componentes de ruta. Para obtener una ruta completa (que " -"comienza con *top*) a un archivo o directorio en *dirpath*, haga ``os.path." -"join(dirpath, name)``. El hecho de que las lista esta ordenada o no depende " -"del sistema de archivos. Si un archivo es removido de o agregado al " -"directorio *dirpath* mientras se generan las listas, no se especifica si el " -"nombre para el archivo será incluido." +"los nombres de los subdirectorios en *dirpath* (incluidos los enlaces " +"simbólicos a los directorios y excluyendo ``'.'`` y ``'..'``). *filenames* " +"es una lista de los nombres de los archivos que no son de directorio en " +"*dirpath*. Tenga en cuenta que los nombres de las listas no contienen " +"componentes de ruta. Para obtener una ruta completa (que comienza con *top*) " +"a un archivo o directorio en *dirpath*, ejecute ``os.path.join(dirpath, " +"name)``. Que las listas estén ordenadas o no depende del sistema de " +"archivos. Si un archivo se elimina o se agrega al directorio *dirpath* " +"durante la generación de las listas, no se especifica si se incluirá un " +"nombre para ese archivo." #: ../Doc/library/os.rst:3221 msgid "" @@ -5038,8 +5061,7 @@ msgstr "" #: ../Doc/library/os.rst:3377 #, fuzzy msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27." -msgstr "" -":ref:`Disponibilidad `: Kernel de Linux >= 4.5 o glibc >= 2.27." +msgstr ":ref:`Disponibilidad `: Linux >= 3.17 con glibc >= 2.27." #: ../Doc/library/os.rst:3399 msgid "These flags can be passed to :func:`memfd_create`." @@ -5047,12 +5069,11 @@ msgstr "Estas flags se pueden pasar a :func:`memfd_create`." #, fuzzy msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27" -msgstr "" -":ref:`Disponibilidad `: Kernel de Linux >= 4.5 o glibc >= 2.27." +msgstr ":ref:`Disponibilidad `: Linux >= 3.17 con glibc >= 2.27." #: ../Doc/library/os.rst:3403 msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14." -msgstr "" +msgstr "Las banderas ``MFD_HUGE*`` solo están disponibles desde Linux 4.14." #: ../Doc/library/os.rst:3410 msgid "" @@ -5130,8 +5151,7 @@ msgstr "" #, fuzzy msgid ":ref:`Availability `: Linux >= 2.6.27 with glibc >= 2.8" msgstr "" -":ref:`Disponibilidad `: Kernel de Linux >= 2.6.17 y glibc >= " -"2.5." +":ref:`Disponibilidad `: Linux >= 2.6.27 con glibc >= 2.8." #: ../Doc/library/os.rst:3461 msgid "" @@ -5145,7 +5165,7 @@ msgstr "" #: ../Doc/library/os.rst:3482 ../Doc/library/os.rst:3491 #, fuzzy msgid ":ref:`Availability `: Linux >= 2.6.27" -msgstr ":ref:`Disponibilidad `: Linux 5.4+" +msgstr ":ref:`Disponibilidad `: Linux >= 2.6.27" #: ../Doc/library/os.rst:3470 msgid "" @@ -5181,7 +5201,7 @@ msgstr "" #: ../Doc/library/os.rst:3500 #, fuzzy msgid ":ref:`Availability `: Linux >= 2.6.30" -msgstr ":ref:`Disponibilidad `: Linux 5.3+" +msgstr ":ref:`Disponibilidad `: Linux >= 2.6.30" #: ../Doc/library/os.rst:3505 msgid "Linux extended attributes" @@ -5361,15 +5381,14 @@ msgid "Add a path to the DLL search path." msgstr "Agregue una ruta a la ruta de búsqueda de DLL." #: ../Doc/library/os.rst:3631 -#, fuzzy msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through :data:`sys.path`), and also " "by :mod:`ctypes`." msgstr "" "Esta ruta de búsqueda se utiliza al resolver dependencias para módulos de " -"extensión importados (el módulo en sí se resuelve a través de sys.path), y " -"también mediante :mod:`ctypes`." +"extensión importados (el propio módulo se resuelve mediante :data:`sys." +"path`) y también mediante :mod:`ctypes`." #: ../Doc/library/os.rst:3635 msgid "" @@ -5579,6 +5598,9 @@ msgid "" "Exit code that means no error occurred. May be taken from the defined value " "of ``EXIT_SUCCESS`` on some platforms. Generally has a value of zero." msgstr "" +"Código de salida que significa que no ocurrió ningún error. Puede tomarse " +"del valor definido de ``EXIT_SUCCESS`` en algunas plataformas. Generalmente " +"tiene un valor de cero." #: ../Doc/library/os.rst:3752 msgid "" @@ -5828,7 +5850,7 @@ msgstr "Ver la página manual de :manpage:`pidfd_open(2)` para mas detalles." #: ../Doc/library/os.rst:3963 #, fuzzy msgid ":ref:`Availability `: Linux >= 5.3" -msgstr ":ref:`Disponibilidad `: Linux 5.3+" +msgstr ":ref:`Disponibilidad `: Linux >= 5.3" #: ../Doc/library/os.rst:3969 msgid "" @@ -5839,7 +5861,6 @@ msgstr "" "````) determina qué segmentos están bloqueados." #: ../Doc/library/os.rst:3977 -#, fuzzy msgid "" "Open a pipe to or from command *cmd*. The return value is an open file " "object connected to the pipe, which can be read or written depending on " @@ -5848,11 +5869,11 @@ msgid "" "`open` function. The returned file object reads or writes text strings " "rather than bytes." msgstr "" -"Abra una tubería hacia o desde el comando *cmd*. El valor de retorno es un " -"objeto de archivo abierto conectado a la tubería, que puede leerse o " -"escribirse dependiendo de si *mode* es ``'r'`` (predeterminado) o ``'w'``. " -"El argumento *buffering* tiene el mismo significado que el argumento " -"correspondiente a la función incorporada :func:`open`. El objeto de archivo " +"Abre una tubería hacia o desde el comando *cmd*. El valor retornado es un " +"objeto de archivo abierto conectado a la canalización, que se puede leer o " +"escribir dependiendo de si *mode* es ``'r'`` (predeterminado) o ``'w'``. El " +"argumento *buffering* tiene el mismo significado que el argumento " +"correspondiente a la función integrada :func:`open`. El objeto de archivo " "retornado lee o escribe cadenas de texto en lugar de bytes." #: ../Doc/library/os.rst:3985 @@ -5900,13 +5921,15 @@ msgstr "" #: ../Doc/library/os.rst:4005 #, fuzzy msgid ":ref:`Availability `: not Emscripten, not WASI." -msgstr ":ref:`Disponibilidad `: Windows." +msgstr ":ref:`Disponibilidad `: no Emscripten, no WASI." #: ../Doc/library/os.rst:4007 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." msgstr "" +"El :ref:`Python UTF-8 Mode ` afecta las codificaciones utilizadas " +"para *cmd* y el contenido de la canalización." #: ../Doc/library/os.rst:4010 msgid "" @@ -5914,6 +5937,9 @@ msgid "" "class:`subprocess.Popen` or :func:`subprocess.run` to control options like " "encodings." msgstr "" +":func:`popen` es un contenedor simple alrededor de :class:`subprocess." +"Popen`. Use :class:`subprocess.Popen` o :func:`subprocess.run` para " +"controlar opciones como codificaciones." #: ../Doc/library/os.rst:4019 msgid "Wraps the :c:func:`posix_spawn` C library API for use from Python." @@ -6033,7 +6059,6 @@ msgstr "" "C :c:data:`POSIX_SPAWN_RESETIDS`." #: ../Doc/library/os.rst:4074 -#, fuzzy msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:data:`POSIX_SPAWN_SETSID` or :c:data:" @@ -6041,8 +6066,8 @@ msgid "" "raised." msgstr "" "Si el argumento *setsid* es ``True``, creará una nueva ID de sesión para " -"`posix_spawn`. *setsid* requiere :c:data:`POSIX_SPAWN_SETSID` o flag :c:data:" -"`POSIX_SPAWN_SETSID_NP`. De lo contrario, se excita :exc:" +"``posix_spawn``. *setsid* requiere el indicador :c:data:`POSIX_SPAWN_SETSID` " +"o :c:data:`POSIX_SPAWN_SETSID_NP`. De lo contrario, se genera :exc:" "`NotImplementedError`." #: ../Doc/library/os.rst:4079 @@ -6109,13 +6134,11 @@ msgstr "" #, fuzzy msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." -msgstr ":ref:`Disponibilidad `: Unix, Windows." +msgstr ":ref:`Disponibilidad `: POSIX, no Emscripten, no WASI." #: ../Doc/library/os.rst:4117 -#, fuzzy msgid "See :func:`posix_spawn` documentation." -msgstr "" -":ref:`Disponibilidad `: Ver documentación :func:`posix_spawn`." +msgstr "Consulte la documentación de :func:`posix_spawn`." #: ../Doc/library/os.rst:4123 msgid "" @@ -6306,6 +6329,10 @@ msgid "" "thread-safe on Windows; we advise you to use the :mod:`subprocess` module " "instead." msgstr "" +":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` y :func:`spawnvpe` no " +"están disponibles en Windows. :func:`spawnle` y :func:`spawnve` no son " +"seguros para subprocesos en Windows; le recomendamos que utilice el módulo :" +"mod:`subprocess` en su lugar." #: ../Doc/library/os.rst:4231 msgid "" @@ -6543,46 +6570,39 @@ msgstr "" "objeto con cinco atributos:" #: ../Doc/library/os.rst:4349 -#, fuzzy msgid ":attr:`!user` - user time" -msgstr ":attr:`user` - tiempo de usuario" +msgstr ":attr:`!user` - tiempo de usuario" #: ../Doc/library/os.rst:4350 -#, fuzzy msgid ":attr:`!system` - system time" -msgstr ":mod:`os` --- Interfaces misceláneas del sistema operativo" +msgstr ":attr:`!system` - tiempo de sistema" #: ../Doc/library/os.rst:4351 -#, fuzzy msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -":attr:`children_user` - tiempo de usuario de todos los procesos secundarios" +":attr:`!children_user` - tiempo de usuario de todos los procesos secundarios" #: ../Doc/library/os.rst:4352 -#, fuzzy msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -":attr:`children_system` - hora del sistema de todos los procesos secundarios" +":attr:`!children_system` - hora del sistema de todos los procesos secundarios" #: ../Doc/library/os.rst:4353 -#, fuzzy msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -":attr:`elapsed` - tiempo real transcurrido desde un punto fijo en el pasado" +":attr:`!elapsed`: tiempo real transcurrido desde un punto fijo en el pasado" #: ../Doc/library/os.rst:4355 -#, fuzzy msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`, :attr:`!" "children_system`, and :attr:`!elapsed` in that order." msgstr "" "Por compatibilidad con versiones anteriores, este objeto también se comporta " -"como una tupla que contiene :attr:`user`, :attr:`system`, :attr:" -"`children_user`, :attr:`children_system`, y :attr:`elapsed` en ese orden." +"como una tupla de cinco que contiene :attr:`!user`, :attr:`!system`, :attr:`!" +"children_user`, :attr:`!children_system` y :attr:`!elapsed` en ese orden." #: ../Doc/library/os.rst:4359 -#, fuzzy msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -6591,11 +6611,12 @@ msgid "" "Windows, only :attr:`!user` and :attr:`!system` are known; the other " "attributes are zero." msgstr "" -"Consulte la página de manual de Unix :manpage:`times(2)` y :manpage:" -"`times(3)` página de manual en Unix o `MSDN de GetProcessTimes `_ en Windows. En Windows, solo se conocen :attr:`user` y :" -"attr:`system`; Los otros atributos son cero." +"Consulte la página del manual de Unix :manpage:`times(2)` y la página del " +"manual de `times(3) `_ en Unix " +"o `the GetProcessTimes MSDN `_ en Windows. En " +"Windows, solo se conocen :attr:`!user` y :attr:`!system`; los otros " +"atributos son cero." #: ../Doc/library/os.rst:4373 msgid "" @@ -6668,7 +6689,7 @@ msgstr "" #: ../Doc/library/os.rst:4424 #, fuzzy msgid ":ref:`Availability `: Linux >= 5.4" -msgstr ":ref:`Disponibilidad `: Linux 5.4+" +msgstr ":ref:`Disponibilidad `: Linux >= 5.4" #: ../Doc/library/os.rst:4431 msgid "" @@ -6871,7 +6892,7 @@ msgstr "" #: ../Doc/library/os.rst:4571 msgid "Some Unix systems." -msgstr "" +msgstr "Algunos sistemas Unix." #: ../Doc/library/os.rst:4576 msgid "" @@ -7246,7 +7267,7 @@ msgstr "" #: ../Doc/library/os.rst:4856 msgid "Add ``'SC_MINSIGSTKSZ'`` name." -msgstr "" +msgstr "Agregue el nombre ``'SC_MINSIGSTKSZ'``." #: ../Doc/library/os.rst:4859 msgid "" @@ -7418,25 +7439,23 @@ msgstr "" "data:`GRND_NONBLOCK`." #: ../Doc/library/os.rst:4974 -#, fuzzy msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -"Consulte también la página del manual `Linux getrandom() `_." +"Véase también el `Linux getrandom() manual page `_." #: ../Doc/library/os.rst:4978 #, fuzzy msgid ":ref:`Availability `: Linux >= 3.17." -msgstr ":ref:`Disponibilidad `: Linux 5.4+" +msgstr ":ref:`Disponibilidad `: Linux >= 3.17." #: ../Doc/library/os.rst:4983 -#, fuzzy msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -"Retorna una cadena de *size* bytes aleatorios adecuados para uso " +"Retorna una cadena de bytes de bytes aleatorios *size* adecuados para uso " "criptográfico." #: ../Doc/library/os.rst:4985 @@ -7478,9 +7497,8 @@ msgstr "" "es legible, se genera la excepción :exc:`NotImplementedError`." #: ../Doc/library/os.rst:5000 -#, fuzzy msgid "On Windows, it will use ``BCryptGenRandom()``." -msgstr "En Windows, usará ``CryptGenRandom()``." +msgstr "En Windows, usará ``BCryptGenRandom()``." #: ../Doc/library/os.rst:5003 msgid "" @@ -7524,6 +7542,8 @@ msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" +"En Windows, se utiliza ``BCryptGenRandom()`` en lugar de " +"``CryptGenRandom()``, que está en desuso." #: ../Doc/library/os.rst:5027 msgid "" From a96ee14975c34c34ae4701ac99196b7c6b240d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 17 May 2023 01:57:57 +0200 Subject: [PATCH 24/30] Traducido library/ctypes (#2271) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Se dejan como fuzzy las entradas de auditing-event. Se encontró un typo en la documentación oficial, donde ya sugerí el cambio Closes #1968 --------- Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- library/ctypes.po | 350 ++++++++++++++++++++-------------------------- 1 file changed, 155 insertions(+), 195 deletions(-) diff --git a/library/ctypes.po b/library/ctypes.po index 27ed91ac06..f2958601b4 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2021-08-07 16:58+0200\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/library/ctypes.rst:2 @@ -263,7 +263,6 @@ msgstr "" "segmentación producidos por llamadas erróneas a la biblioteca C)." #: ../Doc/library/ctypes.rst:197 -#, fuzzy msgid "" "``None``, integers, bytes objects and (unicode) strings are the only native " "Python objects that can directly be used as parameters in these function " @@ -273,13 +272,13 @@ msgid "" "platforms default C :c:expr:`int` type, their value is masked to fit into " "the C type." msgstr "" -"Los objetos ``None``, enteros, bytes y cadenas (unicode) son los únicos " -"objetos nativos de Python que pueden ser usados directamente como parámetros " -"en estas llamadas a funciones. ``None`` se pasa como puntero de C ``NULL``, " -"los objetos bytes y las cadenas se pasan como puntero al bloque de memoria " -"que contiene sus datos (:c:type:`char *` o :c:type:`wchar_t *`). Los enteros " -"de Python se pasan como por defecto en la plataforma como tipo :c:type:`int` " -"de C, su valor se enmascara para que encuadre en el tipo C." +"``None``, enteros, objetos de bytes y cadenas (unicode) son los únicos " +"objetos nativos de Python que se pueden usar directamente como parámetros en " +"estas llamadas a funciones. ``None`` se pasa como puntero C ``NULL``, " +"objetos de bytes y cadenas se pasan como puntero al bloque de memoria que " +"contiene sus datos (:c:expr:`char *` or :c:expr:`wchar_t *`). Los enteros de " +"Python se pasan como el tipo C :c:expr:`int` predeterminado de la " +"plataforma, su valor se enmascara para encajar en el tipo C." #: ../Doc/library/ctypes.rst:204 msgid "" @@ -316,9 +315,8 @@ msgid ":class:`c_bool`" msgstr ":class:`c_bool`" #: ../Doc/library/ctypes.rst:218 -#, fuzzy msgid ":c:expr:`_Bool`" -msgstr ":c:type:`_Bool`" +msgstr ":c:expr:`_Bool`" #: ../Doc/library/ctypes.rst:218 msgid "bool (1)" @@ -329,9 +327,8 @@ msgid ":class:`c_char`" msgstr ":class:`c_char`" #: ../Doc/library/ctypes.rst:220 ../Doc/library/ctypes.rst:224 -#, fuzzy msgid ":c:expr:`char`" -msgstr ":c:type:`char`" +msgstr ":c:expr:`char`" #: ../Doc/library/ctypes.rst:220 msgid "1-character bytes object" @@ -342,9 +339,8 @@ msgid ":class:`c_wchar`" msgstr ":class:`c_wchar`" #: ../Doc/library/ctypes.rst:222 -#, fuzzy msgid ":c:expr:`wchar_t`" -msgstr ":c:type:`wchar_t`" +msgstr ":c:expr:`wchar_t`" #: ../Doc/library/ctypes.rst:222 msgid "1-character string" @@ -368,108 +364,96 @@ msgid ":class:`c_ubyte`" msgstr ":class:`c_ubyte`" #: ../Doc/library/ctypes.rst:226 -#, fuzzy msgid ":c:expr:`unsigned char`" -msgstr ":c:type:`unsigned char`" +msgstr ":c:expr:`unsigned char`" #: ../Doc/library/ctypes.rst:228 msgid ":class:`c_short`" msgstr ":class:`c_short`" #: ../Doc/library/ctypes.rst:228 -#, fuzzy msgid ":c:expr:`short`" -msgstr ":c:type:`short`" +msgstr ":c:expr:`short`" #: ../Doc/library/ctypes.rst:230 msgid ":class:`c_ushort`" msgstr ":class:`c_ushort`" #: ../Doc/library/ctypes.rst:230 -#, fuzzy msgid ":c:expr:`unsigned short`" -msgstr ":c:type:`unsigned short`" +msgstr ":c:expr:`unsigned short`" #: ../Doc/library/ctypes.rst:232 msgid ":class:`c_int`" msgstr ":class:`c_int`" #: ../Doc/library/ctypes.rst:232 -#, fuzzy msgid ":c:expr:`int`" -msgstr ":c:type:`int`" +msgstr ":c:expr:`int`" #: ../Doc/library/ctypes.rst:234 msgid ":class:`c_uint`" msgstr ":class:`c_uint`" #: ../Doc/library/ctypes.rst:234 -#, fuzzy msgid ":c:expr:`unsigned int`" -msgstr ":c:type:`unsigned int`" +msgstr ":c:expr:`unsigned int`" #: ../Doc/library/ctypes.rst:236 msgid ":class:`c_long`" msgstr ":class:`c_long`" #: ../Doc/library/ctypes.rst:236 -#, fuzzy msgid ":c:expr:`long`" -msgstr ":c:type:`long`" +msgstr ":c:expr:`long`" #: ../Doc/library/ctypes.rst:238 msgid ":class:`c_ulong`" msgstr ":class:`c_ulong`" #: ../Doc/library/ctypes.rst:238 -#, fuzzy msgid ":c:expr:`unsigned long`" -msgstr ":c:type:`unsigned long`" +msgstr ":c:expr:`unsigned long`" #: ../Doc/library/ctypes.rst:240 msgid ":class:`c_longlong`" msgstr ":class:`c_longlong`" #: ../Doc/library/ctypes.rst:240 -#, fuzzy msgid ":c:expr:`__int64` or :c:expr:`long long`" -msgstr ":c:type:`__int64` o :c:type:`long long`" +msgstr ":c:expr:`__int64` o :c:expr:`long long`" #: ../Doc/library/ctypes.rst:242 msgid ":class:`c_ulonglong`" msgstr ":class:`c_ulonglong`" #: ../Doc/library/ctypes.rst:242 -#, fuzzy msgid ":c:expr:`unsigned __int64` or :c:expr:`unsigned long long`" -msgstr ":c:type:`unsigned __int64` o :c:type:`unsigned long long`" +msgstr ":c:expr:`unsigned __int64` o :c:expr:`unsigned long long`" #: ../Doc/library/ctypes.rst:245 msgid ":class:`c_size_t`" msgstr ":class:`c_size_t`" #: ../Doc/library/ctypes.rst:245 -#, fuzzy msgid ":c:expr:`size_t`" -msgstr ":c:type:`size_t`" +msgstr ":c:expr:`size_t`" #: ../Doc/library/ctypes.rst:247 msgid ":class:`c_ssize_t`" msgstr ":class:`c_ssize_t`" #: ../Doc/library/ctypes.rst:247 -#, fuzzy msgid ":c:expr:`ssize_t` or :c:expr:`Py_ssize_t`" -msgstr ":c:type:`ssize_t` o :c:type:`Py_ssize_t`" +msgstr ":c:expr:`ssize_t` o :c:expr:`Py_ssize_t`" #: ../Doc/library/ctypes.rst:250 msgid ":class:`c_float`" msgstr ":class:`c_float`" #: ../Doc/library/ctypes.rst:250 -#, fuzzy msgid ":c:expr:`float`" -msgstr ":c:type:`float`" +msgstr ":c:expr:`float`" #: ../Doc/library/ctypes.rst:250 ../Doc/library/ctypes.rst:252 #: ../Doc/library/ctypes.rst:254 @@ -481,18 +465,16 @@ msgid ":class:`c_double`" msgstr ":class:`c_double`" #: ../Doc/library/ctypes.rst:252 -#, fuzzy msgid ":c:expr:`double`" -msgstr ":c:type:`double`" +msgstr ":c:expr:`double`" #: ../Doc/library/ctypes.rst:254 msgid ":class:`c_longdouble`" msgstr ":class:`c_longdouble`" #: ../Doc/library/ctypes.rst:254 -#, fuzzy msgid ":c:expr:`long double`" -msgstr ":c:type:`long double`" +msgstr ":c:expr:`long double`" #: ../Doc/library/ctypes.rst:256 msgid ":class:`c_char_p`" @@ -523,9 +505,8 @@ msgid ":class:`c_void_p`" msgstr ":class:`c_void_p`" #: ../Doc/library/ctypes.rst:260 -#, fuzzy msgid ":c:expr:`void *`" -msgstr ":c:type:`void *`" +msgstr ":c:expr:`void *`" #: ../Doc/library/ctypes.rst:260 msgid "int or ``None``" @@ -585,6 +566,10 @@ msgid "" "block containing unicode characters of the C type :c:expr:`wchar_t`, use " "the :func:`create_unicode_buffer` function." msgstr "" +"La función :func:`create_string_buffer` reemplaza la antigua función :func:" +"`c_buffer` (que todavía está disponible como alias). Para crear un bloque de " +"memoria mutable que contenga caracteres Unicode del tipo C :c:expr:" +"`wchar_t`, use la función :func:`create_unicode_buffer`." #: ../Doc/library/ctypes.rst:342 msgid "Calling functions, continued" @@ -702,15 +687,14 @@ msgid "Return types" msgstr "Tipos de retorno" #: ../Doc/library/ctypes.rst:446 -#, fuzzy msgid "" "By default functions are assumed to return the C :c:expr:`int` type. Other " "return types can be specified by setting the :attr:`restype` attribute of " "the function object." msgstr "" -"Por defecto, se supone que las funciones retornan el tipo C :c:type:`int`. " -"Se pueden especificar otros tipos de retorno estableciendo el atributo :attr:" -"`restype` del objeto de la función." +"Por defecto, se supone que las funciones retornan el tipo C :c:expr:`int`. " +"Se pueden especificar otros tipos de retorno configurando el atributo :attr:" +"`restype` del objeto de función." #: ../Doc/library/ctypes.rst:450 msgid "" @@ -1367,7 +1351,6 @@ msgid "Quoting the docs for that value:" msgstr "Citando los documentos para ese valor:" #: ../Doc/library/ctypes.rst:1077 -#, fuzzy msgid "" "This pointer is initialized to point to an array of :c:struct:`_frozen` " "records, terminated by one whose members are all ``NULL`` or zero. When a " @@ -1375,11 +1358,11 @@ msgid "" "could play tricks with this to provide a dynamically created collection of " "frozen modules." msgstr "" -"Este puntero está inicializado para apuntar a un arreglo de registros :c:" -"type:`struct _frozen`, terminada por uno cuyos miembros son todos ``NULL`` o " -"cero. Cuando se importa un módulo congelado, se busca en esta tabla. El " -"código de terceros podría jugar con esto para proporcionar una colección " -"creada dinámicamente de módulos congelados." +"Este puntero se inicializa para apuntar a un arreglo de registros :c:struct:" +"`_frozen`, terminados por uno cuyos miembros son todos ``NULL`` o cero. " +"Cuando se importa un módulo congelado, se busca en esta tabla. El código de " +"terceros podría jugar trucos con esto para proporcionar una colección de " +"módulos congelados creada dinámicamente." #: ../Doc/library/ctypes.rst:1082 msgid "" @@ -1391,13 +1374,12 @@ msgstr "" "mod:`ctypes`::" #: ../Doc/library/ctypes.rst:1096 -#, fuzzy msgid "" "We have defined the :c:struct:`_frozen` data type, so we can get the pointer " "to the table::" msgstr "" -"Hemos definido el tipo de datos :c:type:`struct _frozen`, para que podamos " -"obtener el puntero de la tabla::" +"Hemos definido el tipo de datos :c:struct:`_frozen`, por lo que podemos " +"obtener el puntero a la tabla::" #: ../Doc/library/ctypes.rst:1103 msgid "" @@ -1676,15 +1658,14 @@ msgstr "" "Python. Una forma es instanciar una de las siguientes clases:" #: ../Doc/library/ctypes.rst:1324 -#, fuzzy msgid "" "Instances of this class represent loaded shared libraries. Functions in " "these libraries use the standard C calling convention, and are assumed to " "return :c:expr:`int`." msgstr "" "Las instancias de esta clase representan bibliotecas compartidas cargadas. " -"Las funciones de estas bibliotecas usan la convención estándar de llamada C, " -"y se asume que retornan :c:type:`int`." +"Las funciones en estas bibliotecas utilizan la convención de llamada " +"estándar de C y se supone que retornan :c:expr:`int`." #: ../Doc/library/ctypes.rst:1328 msgid "" @@ -1701,7 +1682,7 @@ msgstr "" "si existe el nombre de la DLL. Cuando no se encuentra una DLL dependiente de " "la DLL cargada, se lanza un error :exc:`OSError` con el mensaje *\"[WinError " "126] No se pudo encontrar el módulo especificado\".* Este mensaje de error " -"no contiene el nombre de DLL que falta porque la API de Windows no devuelve " +"no contiene el nombre de DLL que falta porque la API de Windows no retorna " "esta información, lo que dificulta el diagnóstico de este error. Para " "resolver este error y determinar qué DLL no se encuentra, debe buscar la " "lista de DLL dependientes y determinar cuál no se encuentra utilizando las " @@ -1738,15 +1719,15 @@ msgid ":exc:`WindowsError` used to be raised." msgstr ":exc:`WindowsError` solía ser lanzado." #: ../Doc/library/ctypes.rst:1359 -#, fuzzy msgid "" "Windows only: Instances of this class represent loaded shared libraries, " "functions in these libraries use the ``stdcall`` calling convention, and are " "assumed to return :c:expr:`int` by default." msgstr "" -"Sólo Windows: Las instancias de esta clase representan bibliotecas " -"compartidas cargadas, las funciones de estas bibliotecas usan la convención " -"de llamada ``stdcall``, y se supone que retornan :c:type:`int` por defecto." +"Solo Windows: las instancias de esta clase representan bibliotecas " +"compartidas cargadas, las funciones en estas bibliotecas utilizan la " +"convención de llamadas ``stdcall`` y se supone que retornan :c:expr:`int` de " +"forma predeterminada." #: ../Doc/library/ctypes.rst:1363 msgid "" @@ -1990,20 +1971,20 @@ msgstr "" "biblioteca compartida de Python listo-para-usar:" #: ../Doc/library/ctypes.rst:1515 -#, fuzzy msgid "" "An instance of :class:`PyDLL` that exposes Python C API functions as " "attributes. Note that all these functions are assumed to return C :c:expr:" "`int`, which is of course not always the truth, so you have to assign the " "correct :attr:`restype` attribute to use these functions." msgstr "" -"Una instancia de :class:`PyDLL` que expone las funciones de la API C de " -"Python como atributos. Ten en cuenta que se supone que todas estas funciones " -"retornan C :c:type:`int`, lo que por supuesto no siempre es cierto, así que " -"tienes que asignar el atributo correcto :attr:`restype` para usar estas " +"Una instancia de :class:`PyDLL` que expone las funciones de la API de Python " +"C como atributos. Tenga en cuenta que se supone que todas estas funciones " +"retornan C :c:expr:`int`, lo que, por supuesto, no siempre es cierto, por lo " +"que debe asignar el atributo :attr:`restype` correcto para usar estas " "funciones." #: ../Doc/library/ctypes.rst:1520 +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``ctypes.dlopen`` with argument " "``name``." @@ -2012,6 +1993,7 @@ msgstr "" "``name``." #: ../Doc/library/ctypes.rst:1522 +#, fuzzy msgid "" "Loading a library through any of these objects raises an :ref:`auditing " "event ` ``ctypes.dlopen`` with string argument ``name``, the name " @@ -2027,10 +2009,11 @@ msgid "" "Raises an :ref:`auditing event ` ``ctypes.dlsym`` with arguments " "``library``, ``name``." msgstr "" -"Lanza un :ref:`auditing event ` ``ctypes.dlopen`` con argumento " -"``name``." +"Lanza un :ref:`auditing event ` ``ctypes.dlsym`` con argumento " +"``library``, ``name``." #: ../Doc/library/ctypes.rst:1528 +#, fuzzy msgid "" "Accessing a function on a loaded library raises an auditing event ``ctypes." "dlsym`` with arguments ``library`` (the library object) and ``name`` (the " @@ -2046,8 +2029,8 @@ msgid "" "Raises an :ref:`auditing event ` ``ctypes.dlsym/handle`` with " "arguments ``handle``, ``name``." msgstr "" -"Lanza un :ref:`auditing event ` ``ctypes.dlopen`` con argumento " -"``name``." +"Lanza un :ref:`auditing event ` ``ctypes.dlsym/handle`` con " +"argumento ``handle``, ``name``." #: ../Doc/library/ctypes.rst:1534 msgid "" @@ -2100,16 +2083,14 @@ msgstr "" "especiales del objeto de la función foránea." #: ../Doc/library/ctypes.rst:1562 -#, fuzzy msgid "" "Assign a ctypes type to specify the result type of the foreign function. Use " "``None`` for :c:expr:`void`, a function not returning anything." msgstr "" -"Asigne un tipo de ctypes para especificar el tipo de resultado de la función " -"externa. Usa ``None`` para :c:type:`void`, una función que no retorna nada." +"Asigne un tipo ctypes para especificar el tipo de resultado de la función " +"externa. Use ``None`` para :c:expr:`void`, una función que no retorna nada." #: ../Doc/library/ctypes.rst:1565 -#, fuzzy msgid "" "It is possible to assign a callable Python object that is not a ctypes type, " "in this case the function is assumed to return a C :c:expr:`int`, and the " @@ -2118,13 +2099,13 @@ msgid "" "or error checking use a ctypes data type as :attr:`restype` and assign a " "callable to the :attr:`errcheck` attribute." msgstr "" -"Es posible asignar un objeto Python invocable que no sea de tipo ctypes, en " -"este caso se supone que la función retorna un C :c:type:`int`, y el " -"invocable se llamará con este entero, lo que permite un posterior " -"procesamiento o comprobación de errores. El uso de esto está obsoleto, para " -"un postprocesamiento más flexible o para la comprobación de errores utilice " -"un tipo de datos ctypes como :attr:`restype` y asigne un invocable al " -"atributo :attr:`errcheck`." +"Es posible asignar un objeto de Python invocable que no sea del tipo ctypes, " +"en este caso se supone que la función retorna un C :c:expr:`int`, y el " +"invocable se llamará con este entero, lo que permite un mayor procesamiento " +"o comprobación de errores. El uso de esto es obsoleto, para un procesamiento " +"posterior más flexible o una verificación de errores, use un tipo de datos " +"ctypes como :attr:`restype` y asigne un invocable al atributo :attr:" +"`errcheck`." #: ../Doc/library/ctypes.rst:1574 msgid "" @@ -2221,27 +2202,29 @@ msgstr "" "Esta excepción se lanza cuando una llamada a una función foránea no puede " "convertir uno de los argumentos pasados." +# Typo en la versión original, se envió un PR para corregirlo #: ../Doc/library/ctypes.rst:1623 #, fuzzy msgid "" -"Raises an :ref:`auditing event ` ``ctypes.seh_exception`` with " +"Raises an :ref:`auditing event ` ``ctypes.set_exception`` with " "argument ``code``." msgstr "" -"Lanza un :ref:`auditing event ` ``ctypes.set_errno`` con argumento " -"``errno``." +"Lanza un :ref:`auditing event ` ``ctypes.set_exception`` con " +"argumento ``code``." +# Typo en la versión original, se envió un PR para corregirlo #: ../Doc/library/ctypes.rst:1625 msgid "" "On Windows, when a foreign function call raises a system exception (for " "example, due to an access violation), it will be captured and replaced with " "a suitable Python exception. Further, an auditing event ``ctypes." -"seh_exception`` with argument ``code`` will be raised, allowing an audit " +"set_exception`` with argument ``code`` will be raised, allowing an audit " "hook to replace the exception with its own." msgstr "" "En Windows, cuando una llamada a una función foránea plantea una excepción " "de sistema (por ejemplo, debido a una violación de acceso), será capturada y " "sustituida por una excepción Python adecuada. Además, un evento de auditoría " -"``ctypes.seh_exception`` con el argumento ``code`` será levantado, " +"``ctypes.set_exception`` con el argumento ``code`` será levantado, " "permitiendo que un gancho de auditoría reemplace la excepción con la suya " "propia." @@ -2251,8 +2234,8 @@ msgid "" "Raises an :ref:`auditing event ` ``ctypes.call_function`` with " "arguments ``func_pointer``, ``arguments``." msgstr "" -"Lanza un :ref:`auditing event ` ``ctypes.create_unicode_buffer`` " -"con argumentos ``init``, ``size``." +"Genera un :ref:`auditing event ` ``ctypes.call_function`` con " +"argumentos ``func_pointer``, ``arguments``." #: ../Doc/library/ctypes.rst:1633 msgid "" @@ -2303,14 +2286,15 @@ msgstr "" "de error de Windows." #: ../Doc/library/ctypes.rst:1662 -#, fuzzy msgid "" "Windows only: The returned function prototype creates functions that use the " "``stdcall`` calling convention. The function will release the GIL during " "the call. *use_errno* and *use_last_error* have the same meaning as above." msgstr "" -"El prototipo de función retornado crea funciones que usan la convención de " -"llamadas de Python. La función *no* liberará el GIL durante la llamada." +"Solo Windows: el prototipo de función retornada crea funciones que utilizan " +"la convención de llamada ``stdcall``. La función liberará el GIL durante la " +"llamada. *use_errno* y *use_last_error* tienen el mismo significado que el " +"anterior." #: ../Doc/library/ctypes.rst:1670 msgid "" @@ -2721,15 +2705,14 @@ msgstr "" "error llamando a la función de api de Windows GetLastError." #: ../Doc/library/ctypes.rst:1936 -#, fuzzy msgid "" "Windows only: Returns the last error code set by Windows in the calling " "thread. This function calls the Windows ``GetLastError()`` function " "directly, it does not return the ctypes-private copy of the error code." msgstr "" -"Sólo Windows: retorna el último código de error establecido por Windows en " +"Solo Windows: retorna el último código de error establecido por Windows en " "el hilo de llamada. Esta función llama directamente a la función " -"`GetLastError()` de Windows, no retorna la copia ctypes-private del código " +"``GetLastError()`` de Windows, no retorna la copia privada ctypes del código " "de error." #: ../Doc/library/ctypes.rst:1942 @@ -3155,67 +3138,61 @@ msgid "These are the fundamental ctypes data types:" msgstr "Estos son los tipos de datos fundamentales de ctypes:" #: ../Doc/library/ctypes.rst:2179 -#, fuzzy msgid "" "Represents the C :c:expr:`signed char` datatype, and interprets the value as " "small integer. The constructor accepts an optional integer initializer; no " "overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`signed char`, e interpreta el valor " -"como un entero pequeño. El constructor acepta un inicializador de entero " -"opcional; no se hace ninguna comprobación de desbordamiento." +"Representa el tipo de datos C :c:expr:`signed char` e interpreta el valor " +"como un entero pequeño. El constructor acepta un inicializador entero " +"opcional; no se realiza ninguna comprobación de desbordamiento." #: ../Doc/library/ctypes.rst:2186 -#, fuzzy msgid "" "Represents the C :c:expr:`char` datatype, and interprets the value as a " "single character. The constructor accepts an optional string initializer, " "the length of the string must be exactly one character." msgstr "" -"Representa el tipo de datos C :c:type:`char`, e interpreta el valor como un " +"Representa el tipo de datos C :c:expr:`char` e interpreta el valor como un " "solo carácter. El constructor acepta un inicializador de cadena opcional, la " "longitud de la cadena debe ser exactamente un carácter." #: ../Doc/library/ctypes.rst:2193 -#, fuzzy msgid "" "Represents the C :c:expr:`char *` datatype when it points to a zero-" "terminated string. For a general character pointer that may also point to " "binary data, ``POINTER(c_char)`` must be used. The constructor accepts an " "integer address, or a bytes object." msgstr "" -"Representa el tipo de datos C :c:type:`char *` cuando apunta a una cadena " +"Representa el tipo de datos C :c:expr:`char *` cuando apunta a una cadena " "terminada en cero. Para un puntero de carácter general que también puede " "apuntar a datos binarios, se debe usar ``POINTER(c_char)``. El constructor " -"acepta una dirección entera, o un objeto de bytes." +"acepta una dirección entera o un objeto de bytes." #: ../Doc/library/ctypes.rst:2201 -#, fuzzy msgid "" "Represents the C :c:expr:`double` datatype. The constructor accepts an " "optional float initializer." msgstr "" -"Representa el tipo de datos C :c:type:`double`. El constructor acepta un " +"Representa el tipo de datos C :c:expr:`double`. El constructor acepta un " "inicializador flotante opcional." #: ../Doc/library/ctypes.rst:2207 -#, fuzzy msgid "" "Represents the C :c:expr:`long double` datatype. The constructor accepts an " "optional float initializer. On platforms where ``sizeof(long double) == " "sizeof(double)`` it is an alias to :class:`c_double`." msgstr "" -"Representa el tipo de datos C :c:type:`long double`. El constructor acepta " -"un inicializador flotante opcional. En las plataformas donde ``sizeof(long " +"Representa el tipo de datos C :c:expr:`long double`. El constructor acepta " +"un inicializador flotante opcional. En plataformas donde ``sizeof(long " "double) == sizeof(double)`` es un alias de :class:`c_double`." #: ../Doc/library/ctypes.rst:2213 -#, fuzzy msgid "" "Represents the C :c:expr:`float` datatype. The constructor accepts an " "optional float initializer." msgstr "" -"Representa el tipo de datos C :c:type:`float`. El constructor acepta un " +"Representa el tipo de datos C :c:expr:`float`. El constructor acepta un " "inicializador flotante opcional." #: ../Doc/library/ctypes.rst:2219 @@ -3224,71 +3201,68 @@ msgid "" "optional integer initializer; no overflow checking is done. On platforms " "where ``sizeof(int) == sizeof(long)`` it is an alias to :class:`c_long`." msgstr "" +"Representa el tipo de datos C :c:expr:`signed int`. El constructor acepta un " +"inicializador entero opcional; no se realiza ninguna comprobación de " +"desbordamiento. En plataformas donde ``sizeof(int) == sizeof(long)`` es un " +"alias de :class:`c_long`." #: ../Doc/library/ctypes.rst:2226 -#, fuzzy msgid "" "Represents the C 8-bit :c:expr:`signed int` datatype. Usually an alias for :" "class:`c_byte`." msgstr "" -"Representa el tipo de datos C 8-bit :c:type:`signed int`. Normalmente un " -"alias para :class:`c_byte`." +"Representa el tipo de datos :c:expr:`signed int` de C de 8 bits. Por lo " +"general, un alias para :class:`c_byte`." #: ../Doc/library/ctypes.rst:2232 -#, fuzzy msgid "" "Represents the C 16-bit :c:expr:`signed int` datatype. Usually an alias " "for :class:`c_short`." msgstr "" -"Representa el tipo de datos C 16-bit :c:type:`signed int`. Normalmente un " -"alias para :class:`c_short`." +"Representa el tipo de datos :c:expr:`signed int` de C de 16 bits. Por lo " +"general, un alias para :class:`c_short`." #: ../Doc/library/ctypes.rst:2238 -#, fuzzy msgid "" "Represents the C 32-bit :c:expr:`signed int` datatype. Usually an alias " "for :class:`c_int`." msgstr "" -"Representa el tipo de datos C 32-bit :c:type:`signed int`. Normalmente un " -"alias para :class:`c_int`." +"Representa el tipo de datos :c:expr:`signed int` de C de 32 bits. Por lo " +"general, un alias para :class:`c_int`." #: ../Doc/library/ctypes.rst:2244 -#, fuzzy msgid "" "Represents the C 64-bit :c:expr:`signed int` datatype. Usually an alias " "for :class:`c_longlong`." msgstr "" -"Representa el tipo de datos C 64-bit :c:type:`signed int`. Normalmente un " -"alias para :class:`c_longlong`." +"Representa el tipo de datos :c:expr:`signed int` de C de 64 bits. Por lo " +"general, un alias para :class:`c_longlong`." #: ../Doc/library/ctypes.rst:2250 -#, fuzzy msgid "" "Represents the C :c:expr:`signed long` datatype. The constructor accepts an " "optional integer initializer; no overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`signed long`. El constructor acepta " -"un inicializador entero opcional; no se hace ninguna comprobación de " +"Representa el tipo de datos C :c:expr:`signed long`. El constructor acepta " +"un inicializador entero opcional; no se realiza ninguna comprobación de " "desbordamiento." #: ../Doc/library/ctypes.rst:2256 -#, fuzzy msgid "" "Represents the C :c:expr:`signed long long` datatype. The constructor " "accepts an optional integer initializer; no overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`signed long long`. El constructor " -"acepta un inicializador entero opcional; no se hace ninguna comprobación de " -"desbordamiento." +"Representa el tipo de datos C :c:expr:`signed long long`. El constructor " +"acepta un inicializador entero opcional; no se realiza ninguna comprobación " +"de desbordamiento." #: ../Doc/library/ctypes.rst:2262 -#, fuzzy msgid "" "Represents the C :c:expr:`signed short` datatype. The constructor accepts " "an optional integer initializer; no overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`signed short`. El constructor acepta " -"un inicializador entero opcional; no se hace ninguna comprobación de " +"Representa el tipo de datos C :c:expr:`signed short`. El constructor acepta " +"un inicializador entero opcional; no se realiza ninguna comprobación de " "desbordamiento." #: ../Doc/library/ctypes.rst:2268 @@ -3300,15 +3274,14 @@ msgid "Represents the C :c:type:`ssize_t` datatype." msgstr "Representa el tipo de datos C :c:type:`ssize_t`." #: ../Doc/library/ctypes.rst:2280 -#, fuzzy msgid "" "Represents the C :c:expr:`unsigned char` datatype, it interprets the value " "as small integer. The constructor accepts an optional integer initializer; " "no overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`unsigned char`, interpreta el valor " +"Representa el tipo de datos C :c:expr:`unsigned char`, interpreta el valor " "como un entero pequeño. El constructor acepta un inicializador entero " -"opcional; no se hace ninguna comprobación de desbordamiento." +"opcional; no se realiza ninguna comprobación de desbordamiento." #: ../Doc/library/ctypes.rst:2287 msgid "" @@ -3316,115 +3289,108 @@ msgid "" "an optional integer initializer; no overflow checking is done. On platforms " "where ``sizeof(int) == sizeof(long)`` it is an alias for :class:`c_ulong`." msgstr "" +"Representa el tipo de datos C :c:expr:`unsigned int`. El constructor acepta " +"un inicializador entero opcional; no se realiza ninguna comprobación de " +"desbordamiento. En plataformas donde ``sizeof(int) == sizeof(long)`` es un " +"alias para :class:`c_ulong`." #: ../Doc/library/ctypes.rst:2294 -#, fuzzy msgid "" "Represents the C 8-bit :c:expr:`unsigned int` datatype. Usually an alias " "for :class:`c_ubyte`." msgstr "" -"Representa el tipo de datos C 8-bit :c:type:`unsigned int`. Normalmente un " -"alias para :class:`c_ubyte`." +"Representa el tipo de datos :c:expr:`unsigned int` de C de 8 bits. Por lo " +"general, un alias para :class:`c_ubyte`." #: ../Doc/library/ctypes.rst:2300 -#, fuzzy msgid "" "Represents the C 16-bit :c:expr:`unsigned int` datatype. Usually an alias " "for :class:`c_ushort`." msgstr "" -"Representa el tipo de datos C 16-bit :c:type:`unsigned int`. Normalmente un " -"alias para :class:`c_ushort`." +"Representa el tipo de datos :c:expr:`unsigned int` de C de 16 bits. Por lo " +"general, un alias para :class:`c_ushort`." #: ../Doc/library/ctypes.rst:2306 -#, fuzzy msgid "" "Represents the C 32-bit :c:expr:`unsigned int` datatype. Usually an alias " "for :class:`c_uint`." msgstr "" -"Representa el tipo de datos C 32-bit :c:type:`unsigned int`. Normalmente un " -"alias para :class:`c_uint`." +"Representa el tipo de datos :c:expr:`unsigned int` de C de 32 bits. Por lo " +"general, un alias para :class:`c_uint`." #: ../Doc/library/ctypes.rst:2312 -#, fuzzy msgid "" "Represents the C 64-bit :c:expr:`unsigned int` datatype. Usually an alias " "for :class:`c_ulonglong`." msgstr "" -"Representa el tipo de datos C 64-bit :c:type:`unsigned int`. Normalmente un " -"alias para :class:`c_ulonglong`." +"Representa el tipo de datos :c:expr:`unsigned int` de C de 64 bits. Por lo " +"general, un alias para :class:`c_ulonglong`." #: ../Doc/library/ctypes.rst:2318 -#, fuzzy msgid "" "Represents the C :c:expr:`unsigned long` datatype. The constructor accepts " "an optional integer initializer; no overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`unsigned long`. El constructor acepta " -"un inicializador entero opcional; no se hace ninguna comprobación de " +"Representa el tipo de datos C :c:expr:`unsigned long`. El constructor acepta " +"un inicializador entero opcional; no se realiza ninguna comprobación de " "desbordamiento." #: ../Doc/library/ctypes.rst:2324 -#, fuzzy msgid "" "Represents the C :c:expr:`unsigned long long` datatype. The constructor " "accepts an optional integer initializer; no overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`unsigned long long`. El constructor " -"acepta un inicializador entero opcional; no se hace ninguna comprobación de " -"desbordamiento." +"Representa el tipo de datos C :c:expr:`unsigned long long`. El constructor " +"acepta un inicializador entero opcional; no se realiza ninguna comprobación " +"de desbordamiento." #: ../Doc/library/ctypes.rst:2330 -#, fuzzy msgid "" "Represents the C :c:expr:`unsigned short` datatype. The constructor accepts " "an optional integer initializer; no overflow checking is done." msgstr "" -"Representa el tipo de datos C :c:type:`unsigned short`. El constructor " -"acepta un inicializador entero opcional; no se hace ninguna comprobación de " -"desbordamiento." +"Representa el tipo de datos C :c:expr:`unsigned short`. El constructor " +"acepta un inicializador entero opcional; no se realiza ninguna comprobación " +"de desbordamiento." #: ../Doc/library/ctypes.rst:2336 -#, fuzzy msgid "" "Represents the C :c:expr:`void *` type. The value is represented as " "integer. The constructor accepts an optional integer initializer." msgstr "" -"Representa el tipo C :c:type:`void *`. El valor se representa como un " +"Representa el tipo C :c:expr:`void *`. El valor se representa como un número " "entero. El constructor acepta un inicializador entero opcional." #: ../Doc/library/ctypes.rst:2342 -#, fuzzy msgid "" "Represents the C :c:expr:`wchar_t` datatype, and interprets the value as a " "single character unicode string. The constructor accepts an optional string " "initializer, the length of the string must be exactly one character." msgstr "" -"Representa el tipo de datos C :c:type:`wchar_t`, e interpreta el valor como " -"una cadena unicode de un solo carácter. El constructor acepta un " +"Representa el tipo de datos C :c:expr:`wchar_t` e interpreta el valor como " +"una cadena Unicode de un solo carácter. El constructor acepta un " "inicializador de cadena opcional, la longitud de la cadena debe ser " -"exactamente de un carácter." +"exactamente un carácter." #: ../Doc/library/ctypes.rst:2349 -#, fuzzy msgid "" "Represents the C :c:expr:`wchar_t *` datatype, which must be a pointer to a " "zero-terminated wide character string. The constructor accepts an integer " "address, or a string." msgstr "" -"Representa el tipo de datos C :c:type:`wchar_t *`, que debe ser un puntero a " -"una cadena de caracteres anchos con terminación cero. El constructor acepta " -"una dirección entera, o una cadena." +"Representa el tipo de datos C :c:expr:`wchar_t *`, que debe ser un puntero a " +"una cadena de caracteres anchos terminada en cero. El constructor acepta una " +"dirección entera o una cadena." #: ../Doc/library/ctypes.rst:2356 -#, fuzzy msgid "" "Represent the C :c:expr:`bool` datatype (more accurately, :c:expr:`_Bool` " "from C99). Its value can be ``True`` or ``False``, and the constructor " "accepts any object that has a truth value." msgstr "" -"Representa el tipo de datos C :c:type:`bool` (más exactamente, :c:type:" +"Representa el tipo de dato C :c:expr:`bool` (más precisamente, :c:expr:" "`_Bool` de C99). Su valor puede ser ``True`` o ``False``, y el constructor " -"acepta cualquier objeto que tenga un valor verdadero." +"acepta cualquier objeto que tenga un valor de verdad." #: ../Doc/library/ctypes.rst:2363 msgid "" @@ -3435,13 +3401,12 @@ msgstr "" "información de éxito o error para una llamada de función o método." #: ../Doc/library/ctypes.rst:2369 -#, fuzzy msgid "" "Represents the C :c:expr:`PyObject *` datatype. Calling this without an " "argument creates a ``NULL`` :c:expr:`PyObject *` pointer." msgstr "" -"Representa el tipo de datos C :c:type:`PyObject *`. Llamar esto sin un " -"argumento crea un puntero ``NULL`` :c:type:`PyObject *`." +"Representa el tipo de dato de C :c:expr:`PyObject *`. Llamar esto sin un " +"argumento crea un puntero :c:expr:`PyObject *` ``NULL``." #: ../Doc/library/ctypes.rst:2372 msgid "" @@ -3464,15 +3429,12 @@ msgid "Abstract base class for unions in native byte order." msgstr "Clase base abstracta para uniones en orden de bytes nativos." #: ../Doc/library/ctypes.rst:2390 -#, fuzzy msgid "Abstract base class for unions in *big endian* byte order." -msgstr "Clase base abstracta para estructuras en orden de bytes *big endian*." +msgstr "Clase base abstracta para uniones en orden de bytes *big endian*." #: ../Doc/library/ctypes.rst:2396 -#, fuzzy msgid "Abstract base class for unions in *little endian* byte order." -msgstr "" -"Clase base abstracta para estructuras en orden de bytes *little endian*." +msgstr "Clase base abstracta para uniones en orden de bytes *little endian*." #: ../Doc/library/ctypes.rst:2402 msgid "Abstract base class for structures in *big endian* byte order." @@ -3484,14 +3446,13 @@ msgstr "" "Clase base abstracta para estructuras en orden de bytes *little endian*." #: ../Doc/library/ctypes.rst:2409 -#, fuzzy msgid "" "Structures and unions with non-native byte order cannot contain pointer type " "fields, or any other data types containing pointer type fields." msgstr "" -"Las estructuras con un orden de bytes no nativo no pueden contener campos de " -"tipo puntero, o cualquier otro tipo de datos que contenga campos de tipo " -"puntero." +"Las estructuras y uniones con un orden de bytes no nativo no pueden contener " +"campos de tipo puntero ni ningún otro tipo de datos que contenga campos de " +"tipo puntero." #: ../Doc/library/ctypes.rst:2415 msgid "Abstract base class for structures in *native* byte order." @@ -3659,7 +3620,6 @@ msgid "Abstract base class for arrays." msgstr "Clase base abstracta para arreglos." #: ../Doc/library/ctypes.rst:2521 -#, fuzzy msgid "" "The recommended way to create concrete array types is by multiplying any :" "mod:`ctypes` data type with a non-negative integer. Alternatively, you can " @@ -3669,11 +3629,11 @@ msgid "" "an :class:`Array`." msgstr "" "La forma recomendada de crear tipos de arreglos concretos es multiplicando " -"cualquier tipo de datos :mod:`ctypes` con un número entero positivo. " -"Alternativamente, puedes subclasificar este tipo y definir las variables de " -"clase :attr:`_length_` y :attr:`_type_`. Los elementos del arreglo pueden " -"ser leídos y escritos usando subíndices estándar y accesos slice; para las " -"lecturas slice, el objeto resultante *no es* en sí mismo un :class:`Array`." +"cualquier tipo de datos :mod:`ctypes` con un número entero no negativo. Como " +"alternativa, puede subclasificar este tipo y definir variables de clase :" +"attr:`_length_` y :attr:`_type_`. Los elementos del arreglo se pueden leer y " +"escribir utilizando subíndices estándar y accesos de segmento; para lecturas " +"de segmentos, el objeto resultante *no es* en sí mismo, un :class:`Array`." #: ../Doc/library/ctypes.rst:2531 msgid "" From 75d095b4b829915d1ceda04d4606dc0b4d13806b Mon Sep 17 00:00:00 2001 From: Jimmy Tzuc Date: Tue, 23 May 2023 03:24:24 -0600 Subject: [PATCH 25/30] Traducido archivo library/unittest.mock (#2374) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #1966 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: Cristián Maureira-Fredes --- TRANSLATORS | 1 + dictionaries/library_unittest.mock.txt | 1 + library/unittest.mock.po | 50 +++++++++++++------------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 23039fb9b4..815613b8e2 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -112,6 +112,7 @@ Jaume Montané (@jaumemy) Javier Artiga Garijo (@jartigag) Javier Daza (@javierdaza) Jhonatan Barrera (@iam3mer) +Jimmy Tzuc (@JimmyTzuc) Jonathan Aguilar (@drawsoek) Jorge Luis McDonald Stevens (@jmaxter) Jorge Maldonado Ventura (@jorgesumle) diff --git a/dictionaries/library_unittest.mock.txt b/dictionaries/library_unittest.mock.txt index 2553681c09..0bc5447190 100644 --- a/dictionaries/library_unittest.mock.txt +++ b/dictionaries/library_unittest.mock.txt @@ -13,6 +13,7 @@ MagicMock mock parcheadores Parcheadores +parcharlos patch Patch preconfigurados diff --git a/library/unittest.mock.po b/library/unittest.mock.po index f1a6dcbf6f..2b9c2e0175 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-10-29 22:00-0500\n" +"PO-Revision-Date: 2023-05-02 21:52-0600\n" "Last-Translator: Pedro Aarón \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/library/unittest.mock.rst:3 msgid ":mod:`unittest.mock` --- mock object library" @@ -386,6 +387,10 @@ msgid "" "`AttributeError`. Passing ``unsafe=True`` will allow access to these " "attributes." msgstr "" +"*unsafe*: Por defecto, el acceso a cualquier atributo cuyo nombre comience " +"por *assert*, *assret*, *asert*, *aseert* o *assrt* generará un error :exc:" +"`AttributeError`. Si se pasa ``unsafe=True`` se permitirá el acceso a estos " +"atributos." #: ../Doc/library/unittest.mock.rst:272 msgid "" @@ -2185,7 +2190,6 @@ msgid "Patching Descriptors and Proxy Objects" msgstr "Parcheando descriptores y objetos proxy" #: ../Doc/library/unittest.mock.rst:1943 -#, fuzzy msgid "" "Both patch_ and patch.object_ correctly patch and restore descriptors: class " "methods, static methods and properties. You should patch these on the " @@ -2194,13 +2198,12 @@ msgid "" "archive.org/web/20200603181648/http://www.voidspace.org.uk/python/weblog/" "arch_d7_2010_12_04.shtml#e1198>`_." msgstr "" -"Tanto patch_ como patch.object_ parchean descriptores correctamente y los " -"restauran posteriormente: métodos de clase, métodos estáticos y propiedades. " -"Los descriptores deben ser parcheados en la *clase* y no en una instancia. " -"También funcionan con *algunos* objetos que actúan como proxy en el acceso a " -"atributos, como el objeto de configuraciones de django (`django settings " -"object `_)." +"Tanto patch_ como patch.object_ parchean y restauran correctamente los " +"descriptores: métodos de clase, métodos estáticos y propiedades. Debe " +"parcharlos en el *class* en lugar de una instancia. También funcionan con " +"objetos *some* que acceden a atributos de proxy, como `django settings " +"object `_." #: ../Doc/library/unittest.mock.rst:1951 msgid "MagicMock and magic method support" @@ -2317,18 +2320,16 @@ msgid "Unary numeric methods: ``__neg__``, ``__pos__`` and ``__invert__``" msgstr "Métodos numéricos unarios: ``__neg__``, ``__pos__`` y ``__invert__``" #: ../Doc/library/unittest.mock.rst:2022 -#, fuzzy msgid "" "The numeric methods (including right hand and in-place variants): " "``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__truediv__``, " "``__floordiv__``, ``__mod__``, ``__divmod__``, ``__lshift__``, " "``__rshift__``, ``__and__``, ``__xor__``, ``__or__``, and ``__pow__``" msgstr "" -"Los métodos numéricos (incluyendo los métodos estándar y las variantes in-" -"place): ``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__div__``, " -"``__truediv__``, ``__floordiv__``, ``__mod__``, ``__divmod__``, " -"``__lshift__``, ``__rshift__``, ``__and__``, ``__xor__``, ``__or__``, y " -"``__pow__``" +"Los métodos numéricos (incluidas las variantes de mano derecha e in situ): " +"``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__truediv__``, " +"``__floordiv__``, ``__mod__``, ``__divmod__``, ``__lshift__``, " +"``__rshift__``, ``__and__``, ``__xor__``, ``__or__`` y ``__pow__``" #: ../Doc/library/unittest.mock.rst:2026 msgid "" @@ -2614,9 +2615,8 @@ msgstr "" "``__getstate__`` y ``__setstate__``" #: ../Doc/library/unittest.mock.rst:2168 -#, fuzzy msgid "``__getformat__``" -msgstr "``__format__``" +msgstr "``__getformat__``" #: ../Doc/library/unittest.mock.rst:2172 msgid "" @@ -2904,7 +2904,6 @@ msgid "FILTER_DIR" msgstr "FILTER_DIR" #: ../Doc/library/unittest.mock.rst:2383 -#, fuzzy msgid "" ":data:`FILTER_DIR` is a module level variable that controls the way mock " "objects respond to :func:`dir`. The default is ``True``, which uses the " @@ -2912,12 +2911,11 @@ msgid "" "filtering, or need to switch it off for diagnostic purposes, then set ``mock." "FILTER_DIR = False``." msgstr "" -":data:`FILTER_DIR` es una variable definida a nivel de módulo que controla " -"la forma en la que los objetos simulados responden a :func:`dir` (solo para " -"Python 2.6 y en adelante). El valor predeterminado es ``True``, que utiliza " -"el filtrado descrito a continuación, con la finalidad de mostrar solo los " -"miembros considerados como útiles. Si no te gusta este filtrado, o necesitas " -"desactivarlo con fines de diagnóstico, simplemente establece ``mock." +":data:`FILTER_DIR` es una variable de nivel de módulo que controla la forma " +"en que los objetos simulados responden a :func:`dir`. El valor " +"predeterminado es ``True``, que utiliza el filtrado que se describe a " +"continuación para mostrar solo los miembros útiles. Si no le gusta este " +"filtrado o necesita desactivarlo con fines de diagnóstico, configure ``mock." "FILTER_DIR = False``." #: ../Doc/library/unittest.mock.rst:2389 From 20a4fd3cec759b43ded8408e21dfc612d8e53c24 Mon Sep 17 00:00:00 2001 From: Ruben Espinosa Date: Tue, 23 May 2023 13:59:04 +0200 Subject: [PATCH 26/30] Traducido archivo faq/windows (#2239) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://github.com/python/python-docs-es/issues/2050 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: Cristián Maureira-Fredes --- TRANSLATORS | 1 + dictionaries/faq_windows.txt | 3 ++- faq/windows.po | 18 ++++++++++++------ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 815613b8e2..e90ad3b6fc 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -204,6 +204,7 @@ Rodrigo Poblete Diaz (@rodpoblete) Rodrigo Tobar (@rtobar) roluisker Rubén de Celis Hernández (@RDCH106) +Rubén Espinosa Perez (@rubenesp87) Samantha Valdez A. (@samvaldez) Santiago E Fraire Willemoes (@Woile) Santiago Piccinini (@spiccinini) diff --git a/dictionaries/faq_windows.txt b/dictionaries/faq_windows.txt index a58de753ac..f7fafd994c 100644 --- a/dictionaries/faq_windows.txt +++ b/dictionaries/faq_windows.txt @@ -4,4 +4,5 @@ lib Coff Omf Indent -size \ No newline at end of file +size +crt diff --git a/faq/windows.po b/faq/windows.po index a6b027d6ce..172f216459 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -11,14 +11,14 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-11-21 15:09-0600\n" -"Last-Translator: Cristián Maureira-Fredes \n" -"Language: es_AR\n" +"PO-Revision-Date: 2022-12-06 09:09+0100\n" +"Last-Translator: Ruben Espinosa Perez \n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es_AR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/faq/windows.rst:9 @@ -45,7 +45,6 @@ msgstr "" "orientación." #: ../Doc/faq/windows.rst:28 -#, fuzzy msgid "" "Unless you use some sort of integrated development environment, you will end " "up *typing* Windows commands into what is referred to as a \"Command prompt " @@ -290,7 +289,7 @@ msgstr "" #: ../Doc/faq/windows.rst:170 msgid "" -"Do _not_ build Python into your .exe file directly. On Windows, Python must " +"Do _not_ build Python into your .exe file directly. On Windows, Python must " "be a DLL to handle importing modules that are themselves DLL's. (This is " "the first key undocumented fact.) Instead, link to :file:`python{NN}.dll`; " "it is typically installed in ``C:\\Windows\\System``. *NN* is the Python " @@ -513,6 +512,7 @@ msgstr "" #: ../Doc/faq/windows.rst:281 msgid "How do I solve the missing api-ms-win-crt-runtime-l1-1-0.dll error?" msgstr "" +"¿Cómo resuelvo el error de api-ms-win-crt-runtime-l1-1-0.dll no encontrado?" #: ../Doc/faq/windows.rst:283 msgid "" @@ -522,3 +522,9 @@ msgid "" "issue, visit the `Microsoft support page `_ for guidance on manually installing the C Runtime update." msgstr "" +"Esto puede ocurrir en Python 3.5 y posteriores usando Windows 8.1 o " +"anteriores sin que todas las actualizaciones hayan sido instaladas. Primero " +"asegúrese que su sistema operativo sea compatible y esté actualizado, y si " +"eso no resuelve el problema, visite la `Página de soporte de Microsoft " +"`_ para obtener " +"orientación sobre como instalar manualmente la actualización de C Runtime." From c6aff481a3ff2bd325913900636bd4ee2e6a2ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Mart=C3=ADnez?= <104402745+igmtz@users.noreply.github.com> Date: Mon, 7 Aug 2023 15:58:40 -0600 Subject: [PATCH 27/30] Traducido archivo c-api/type.po (#2370) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2053 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: Andrea Alegre Co-authored-by: Cristián Maureira-Fredes --- TRANSLATORS | 1 + c-api/type.po | 41 +++++++++++++++++++++------------- dictionaries/whatsnew_3.11.txt | 7 ++++++ 3 files changed, 34 insertions(+), 15 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index e90ad3b6fc..5c595cbd18 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -94,6 +94,7 @@ Gibran Herrera (@gibranhl) Ginés Salar Ibáñez (@Ibnmardanis24) gmdeluca Gonzalo Delgado (@gonzalodelgado) +Gonzalo Martínez (@igmtz) Gonzalo Tixilima (@javoweb) Gustavo Adolfo Huarcaya Delgado (@diavolo) Héctor Canto (@hectorcanto) diff --git a/c-api/type.po b/c-api/type.po index 7b386ef717..67b45360e6 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-08-02 01:37+0200\n" -"Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" +"PO-Revision-Date: 2023-04-12 00:54-0600\n" +"Last-Translator: Gonzalo Martinez \n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2.2\n" #: ../Doc/c-api/type.rst:6 msgid "Type Objects" @@ -66,7 +67,6 @@ msgstr "" "versión actual." #: ../Doc/c-api/type.rst:42 -#, fuzzy msgid "" "Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This " "function is primarily meant for use with ``Py_LIMITED_API``; the individual " @@ -75,9 +75,9 @@ msgid "" msgstr "" "Retorna el miembro :c:member:`~PyTypeObject.tp_flags` de *type*. Esta " "función está destinada principalmente para su uso con `Py_LIMITED_API`; se " -"garantiza que los bits de bandera (*flag*) individuales serán estables en " -"las versiones de Python, pero el acceso a :c:member:`~PyTypeObject.tp_flags` " -"en sí mismo no forma parte de la API limitada." +"garantiza que los bits de bandera individuales serán estables en las " +"versiones de Python, pero el acceso a :c:member:`~PyTypeObject.tp_flags` en " +"sí mismo no forma parte de la API limitada." #: ../Doc/c-api/type.rst:49 msgid "The return type is now ``unsigned long`` rather than ``long``." @@ -179,12 +179,16 @@ msgid "" "Return the type's name. Equivalent to getting the type's ``__name__`` " "attribute." msgstr "" +"Retorna el nombre del tipo. Equivalente a obtener el atributo ``__name__`` " +"del tipo." #: ../Doc/c-api/type.rst:117 msgid "" "Return the type's qualified name. Equivalent to getting the type's " "``__qualname__`` attribute." msgstr "" +"Retorna el nombre adecuado del tipo de objeto. Equivalente a obtener el " +"atributo ``__qualname__`` del objeto tipo." #: ../Doc/c-api/type.rst:124 msgid "" @@ -230,7 +234,6 @@ msgstr "" "`TypeError` y retorna ``NULL``." #: ../Doc/c-api/type.rst:146 -#, fuzzy msgid "" "This function is usually used to get the module in which a method is " "defined. Note that in such a method, ``PyType_GetModule(Py_TYPE(self))`` may " @@ -245,8 +248,9 @@ msgstr "" "``PyType_GetModule(Py_TYPE(self))`` no retorne el resultado deseado. " "``Py_TYPE(self)`` puede ser una *subclass* de la clase deseada, y las " "subclases no están necesariamente definidas en el mismo módulo que su " -"superclase. Consulte :c:type:`PyCMethod` para obtener la clase que define el " -"método." +"superclase. Consulte :c:func:`PyCMethod` para obtener la clase que define el " +"método. Ver ::c:func:`PyType_GetModuleByDef` para los casos en los que no se " +"puede usar ``PyCMethod``." #: ../Doc/c-api/type.rst:159 msgid "" @@ -271,14 +275,15 @@ msgid "" "Find the first superclass whose module was created from the given :c:type:" "`PyModuleDef` *def*, and return that module." msgstr "" +"Encuentra la primer superclase cuyo módulo fue creado a partir del :c:type:" +"`PyModuleDef` *def* dado, y retorna ese módulo." #: ../Doc/c-api/type.rst:176 -#, fuzzy msgid "" "If no module is found, raises a :py:class:`TypeError` and returns ``NULL``." msgstr "" -"Si no hay ningún módulo asociado con el tipo dado, establece :py:class:" -"`TypeError` y retorna ``NULL``." +"Si no se encuentra ningún módulo, lanza :py:class:`TypeError` y retorna " +"``NULL``." #: ../Doc/c-api/type.rst:178 msgid "" @@ -288,6 +293,11 @@ msgid "" "other places where a method's defining class cannot be passed using the :c:" "type:`PyCMethod` calling convention." msgstr "" +"Esta función está pensada para ser utilizada junto con :c:func:" +"`PyModule_GetState()` para obtener el estado del módulo de los métodos de " +"ranura (como :c:member:`~PyTypeObject.tp_init` o :c:member:`~PyNumberMethods." +"nb_add`) y en otros lugares donde la clase que define a un método no se " +"puede pasar utilizando la convención de llamada :c:type:`PyCMethod`." #: ../Doc/c-api/type.rst:188 msgid "Creating Heap-Allocated Types" @@ -500,7 +510,6 @@ msgstr "" "*bases* de :py:func:`PyType_FromSpecWithBases` en su lugar." #: ../Doc/c-api/type.rst:299 -#, fuzzy msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API." msgstr "" "Las ranuras en :c:type:`PyBufferProcs` se pueden configurar en la API " @@ -511,6 +520,8 @@ msgid "" ":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." "bf_releasebuffer` are now available under the limited API." msgstr "" +":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." +"bf_releasebuffer` ahora están disponibles en la API limitada." #: ../Doc/c-api/type.rst:308 msgid "" diff --git a/dictionaries/whatsnew_3.11.txt b/dictionaries/whatsnew_3.11.txt index 0c0ea14266..82065b9b85 100644 --- a/dictionaries/whatsnew_3.11.txt +++ b/dictionaries/whatsnew_3.11.txt @@ -49,8 +49,11 @@ Srinivasan Szőke Taneli Thatiparthy +Tier Tornetta Volochii +alternative +annotating asíncio blobs brandt @@ -58,8 +61,11 @@ bucher correlacionar dennis fibonacci +guidance +instance liblzma libsqlite +migration nanosegundo pyperformance pyrendimiento @@ -67,3 +73,4 @@ rutalib shannon superinstrucción sweeney +tier From b15d5cb010ab7a645261571543df3cca0a3d4256 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 07:39:02 +0800 Subject: [PATCH 28/30] Bump actions/checkout from 3 to 4 (#2378) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
Release notes

Sourced from actions/checkout's releases.

v4.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v4.0.0

v3.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3.5.3...v3.6.0

v3.5.3

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v3.5.3

v3.5.2

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v3.5.1...v3.5.2

v3.5.1

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6f7012093..e8e7dd1474 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: name: Test runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Preparar Python v3.11 uses: actions/setup-python@v4 with: From 4a02cae44e7cbf03dd39e741c43ddfcd7c10d03d Mon Sep 17 00:00:00 2001 From: Andrea Alegre Date: Mon, 9 Oct 2023 22:04:36 +0100 Subject: [PATCH 29/30] =?UTF-8?q?No=20ignorar=20archivos=20que=20tienen=20?= =?UTF-8?q?s=C3=B3lo=20entradas=20fuzzy=20(#2377)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Me di cuenta que en la página de [progreso de la traducción](https://python-docs-es.readthedocs.io/es/3.11/progress.html) quedan muchos archivos que sólo tienen entradas fuzzy para verificar, pero no hay un issue creado. En esta PR agrego una condición al script `create_issue.py` para que esos archivos no sean ignorados. Además, actualizo un import que no funciona con la version actual de `potodo`. --- scripts/create_issue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/create_issue.py b/scripts/create_issue.py index d3fa95af8b..9bf6a7dd5d 100644 --- a/scripts/create_issue.py +++ b/scripts/create_issue.py @@ -6,7 +6,7 @@ from pathlib import Path from github import Github -from potodo._po_file import PoFileStats +from potodo.potodo import PoFileStats if len(sys.argv) != 2: print('Specify PO filename') @@ -32,7 +32,7 @@ if answer != 'y': sys.exit(1) -if any([ +if pofile.fuzzy == 0 and any([ pofile.translated_nb == pofile.po_file_size, pofile.untranslated_nb == 0, ]): From 169b71e2847a5c679b5e08b213c2581fa0035bb7 Mon Sep 17 00:00:00 2001 From: "Erick G. Islas-Osuna" Date: Tue, 17 Oct 2023 13:50:36 -0600 Subject: [PATCH 30/30] Add stale action for PR and Issues (#2383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Esta es una propuesta de reemplazo a ladibug para gestionar el estado de Issues y PRs que han estado sin movimiento en un periodo de tiempo. Closes #628 Reemplaza #629 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: Carlos A. Crespo --- .github/workflows/stale.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000000..490e313bab --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,18 @@ +name: 'Cierra issues y PRs antiguos' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-pr-label: 'needs decision' + stale-issue-label: 'stale' + days-before-issue-stale: 10 + days-before-pr-stale: 7 + days-before-pr-close: 21 + stale-issue-message: 'Este issue lleva un tiempo sin actualizaciones. ¿Estás trabajando todavía?\nSi necesitas ayuda :sos: no dudes en contactarnos en nuestro [grupo de Telegram](https://t.me/python_docs_es).' + stale-pr-message: 'Este PR lleva un tiempo sin actualizaciones. Vamos a pedir a un admin de nuestro equipo que decida si alguien más puede finalizarlo o si tenemos que cerrarlo.\nPor favor, avisanos en caso de que aún puedas terminarlo.'