Skip to content

Traduccion codec #3384

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions c-api/codec.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
"PO-Revision-Date: 2021-10-18 22:40-0300\n"
"Last-Translator: Cristián Maureira-Fredes <[email protected]>\n"
"Language: es\n"
"PO-Revision-Date: 2025-04-12 00:04+0100\n"
"Last-Translator: David Spindola\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.13.0\n"
"X-Generator: Poedit 3.6\n"

#: ../Doc/c-api/codec.rst:4
msgid "Codec registry and support functions"
Expand All @@ -30,13 +31,12 @@ msgid "Register a new codec search function."
msgstr "Registra una nueva función de búsqueda de códec."

#: ../Doc/c-api/codec.rst:10
#, fuzzy
msgid ""
"As side effect, this tries to load the :mod:`!encodings` package, if not yet "
"done, to make sure that it is always first in the list of search functions."
msgstr ""
"Como efecto secundario, intenta cargar el paquete :mod:`encodings`, si aún "
"no lo ha hecho, para asegurarse de que siempre esté primero en la lista de "
"Como efecto secundario, intenta cargar el paquete :mod:`!encodings`, si aún "
"no se ha hecho, para asegurarse de que siempre esté primero en la lista de "
"funciones de búsqueda."

#: ../Doc/c-api/codec.rst:15
Expand Down Expand Up @@ -66,8 +66,8 @@ msgstr "API de codificación genérica basada en códec."
msgid ""
"*object* is passed through the encoder function found for the given "
"*encoding* using the error handling method defined by *errors*. *errors* "
"may be ``NULL`` to use the default method defined for the codec. Raises a :"
"exc:`LookupError` if no encoder can be found."
"may be ``NULL`` to use the default method defined for the codec. Raises "
"a :exc:`LookupError` if no encoder can be found."
msgstr ""
"*object* se pasa a través de la función de codificador encontrada por el "
"*encoding* dado usando el método de manejo de errores definido por *errors*. "
Expand All @@ -83,8 +83,8 @@ msgstr "API de decodificación basada en códec genérico."
msgid ""
"*object* is passed through the decoder function found for the given "
"*encoding* using the error handling method defined by *errors*. *errors* "
"may be ``NULL`` to use the default method defined for the codec. Raises a :"
"exc:`LookupError` if no encoder can be found."
"may be ``NULL`` to use the default method defined for the codec. Raises "
"a :exc:`LookupError` if no encoder can be found."
msgstr ""
"*object* se pasa a través de la función de decodificador encontrada por el "
"*encoding* dado usando el método de manejo de errores definido por *errors*. "
Expand All @@ -100,14 +100,14 @@ msgstr "API de búsqueda de códec"
msgid ""
"In the following functions, the *encoding* string is looked up converted to "
"all lower-case characters, which makes encodings looked up through this "
"mechanism effectively case-insensitive. If no codec is found, a :exc:"
"`KeyError` is set and ``NULL`` returned."
"mechanism effectively case-insensitive. If no codec is found, "
"a :exc:`KeyError` is set and ``NULL`` returned."
msgstr ""
"En las siguientes funciones, la cadena de caracteres *encoding* se busca "
"convertida a todos los caracteres en minúscula, lo que hace que las "
"codificaciones se busquen a través de este mecanismo sin distinción entre "
"mayúsculas y minúsculas. Si no se encuentra ningún códec, se establece un :"
"exc:`KeyError` y se retorna ``NULL``."
"mayúsculas y minúsculas. Si no se encuentra ningún códec, se establece "
"un :exc:`KeyError` y se retorna ``NULL``."

#: ../Doc/c-api/codec.rst:55
msgid "Get an encoder function for the given *encoding*."
Expand Down Expand Up @@ -166,19 +166,19 @@ msgstr ""

#: ../Doc/c-api/codec.rst:88
msgid ""
"The callback gets a single argument, an instance of :exc:"
"`UnicodeEncodeError`, :exc:`UnicodeDecodeError` or :exc:"
"`UnicodeTranslateError` that holds information about the problematic "
"The callback gets a single argument, an instance "
"of :exc:`UnicodeEncodeError`, :exc:`UnicodeDecodeError` "
"or :exc:`UnicodeTranslateError` that holds information about the problematic "
"sequence of characters or bytes and their offset in the original string "
"(see :ref:`unicodeexceptions` for functions to extract this information). "
"The callback must either raise the given exception, or return a two-item "
"tuple containing the replacement for the problematic sequence, and an "
"integer giving the offset in the original string at which encoding/decoding "
"should be resumed."
msgstr ""
"La devolución de llamada obtiene un único argumento, una instancia de :exc:"
"`UnicodeEncodeError`, :exc:`UnicodeDecodeError` o :exc:"
"`UnicodeTranslateError` que contiene información sobre la secuencia "
"La devolución de llamada obtiene un único argumento, una instancia "
"de :exc:`UnicodeEncodeError`, :exc:`UnicodeDecodeError` "
"o :exc:`UnicodeTranslateError` que contiene información sobre la secuencia "
"problemática de caracteres o bytes y su desplazamiento en la cadena original "
"(consulte :ref:`unicodeexceptions` para funciones para extraer esta "
"información). La devolución de llamada debe lanzar la excepción dada o "
Expand Down