Skip to content

Traducido archivo library/sndhdr #1142

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 13 commits into from
Nov 21, 2020
Merged
Prev Previous commit
Next Next commit
Wrap at 79
  • Loading branch information
enrique-zarate-itti committed Nov 14, 2020
commit 718792c72b7b8bf1b6cb71e86a048143f5aa518a
90 changes: 42 additions & 48 deletions library/sndhdr.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
"PO-Revision-Date: 2020-11-13 22:33-0300\n"
"PO-Revision-Date: 2020-11-14 11:58-0300\n"
"Language-Team: python-doc-es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand All @@ -29,63 +29,57 @@ msgstr "**Código fuente:** :source:`Lib/sndhdr.py`"

#: ../Doc/library/sndhdr.rst:18
msgid ""
"The :mod:`sndhdr` provides utility functions which attempt to "
"determine the type of sound data which is in a file. When these "
"functions are able to determine what type of sound data is stored "
"in a file, they return a :func:`~collections.namedtuple`, "
"containing five attributes: (``filetype``, ``framerate``, "
"``nchannels``, ``nframes``, ``sampwidth``). The value for *type* "
"indicates the data type and will be one of the strings ``'aifc'``, "
"``'aiff'``, ``'au'``, ``'hcom'``, ``'sndr'``, ``'sndt'``, "
"``'voc'``, ``'wav'``, ``'8svx'``, ``'sb'``, ``'ub'``, or ``'ul'``. "
"The *sampling_rate* will be either the actual value or ``0`` if "
"unknown or difficult to decode. Similarly, *channels* will be "
"either the number of channels or ``0`` if it cannot be determined "
"or if the value is difficult to decode. The value for *frames* "
"will be either the number of frames or ``-1``. The last item in "
"the tuple, *bits_per_sample*, will either be the sample size in "
"bits or ``'A'`` for A-LAW or ``'U'`` for u-LAW."
"The :mod:`sndhdr` provides utility functions which attempt to determine the "
"type of sound data which is in a file. When these functions are able to "
"determine what type of sound data is stored in a file, they return a :func:"
"`~collections.namedtuple`, containing five attributes: (``filetype``, "
"``framerate``, ``nchannels``, ``nframes``, ``sampwidth``). The value for "
"*type* indicates the data type and will be one of the strings ``'aifc'``, "
"``'aiff'``, ``'au'``, ``'hcom'``, ``'sndr'``, ``'sndt'``, ``'voc'``, "
"``'wav'``, ``'8svx'``, ``'sb'``, ``'ub'``, or ``'ul'``. The *sampling_rate* "
"will be either the actual value or ``0`` if unknown or difficult to decode. "
"Similarly, *channels* will be either the number of channels or ``0`` if it "
"cannot be determined or if the value is difficult to decode. The value for "
"*frames* will be either the number of frames or ``-1``. The last item in "
"the tuple, *bits_per_sample*, will either be the sample size in bits or "
"``'A'`` for A-LAW or ``'U'`` for u-LAW."
msgstr ""
"El :mod:`sndhdr` proporciona funciones de utilidad que intentan "
"determinar el tipo de datos de sonido que hay en un archivo. Cuando "
"estas funciones son capaces de determinar qué tipo de datos sonoros "
"se almacenan en un archivo, devuelven un :func:`~collections."
"namedtuple`, que contiene cinco atributos: (``filetype``, "
"``framerate``, ``nchannels``, ``nframes``, ``sampwidth``). El valor "
"de *type* indica el tipo de datos y será una de las cadenas "
"siguientes cadenas: ``'aifc'``, ``'aiff'``, ``'au'``, ``'hcom'``, "
"``'sndr'``, ``'sndt'``, ``'voc'``, ``'wav'``, ``'8svx'``, ``'sb'``, "
"``'ub'``, o ``'ul'``. El *sampling_rate* será el valor actual o "
"``0`` si es desconocido o difícil de decodificar. De forma similar, "
"*channels* será el número de canales o ``0`` si no se puede "
"determinar o si el valor es difícil de decodificar. El valor de "
"*frames* será el número de fotogramas o ``-1``. El último elemento "
"de la tupla, *bits_per_sample*, será el tamaño de la muestra en "
"bits, ``'A'`` para A-LAW o ``'U'`` para u-LAW."
"El :mod:`sndhdr` proporciona funciones de utilidad que intentan determinar "
"el tipo de datos de sonido que hay en un archivo. Cuando estas funciones son "
"capaces de determinar qué tipo de datos sonoros se almacenan en un archivo, "
"devuelven un :func:`~collections.namedtuple`, que contiene cinco atributos: "
"(``filetype``, ``framerate``, ``nchannels``, ``nframes``, ``sampwidth``). El "
"valor de *type* indica el tipo de datos y será una de las cadenas siguientes "
"cadenas: ``'aifc'``, ``'aiff'``, ``'au'``, ``'hcom'``, ``'sndr'``, "
"``'sndt'``, ``'voc'``, ``'wav'``, ``'8svx'``, ``'sb'``, ``'ub'``, o "
"``'ul'``. El *sampling_rate* será el valor actual o ``0`` si es desconocido "
"o difícil de decodificar. De forma similar, *channels* será el número de "
"canales o ``0`` si no se puede determinar o si el valor es difícil de "
"decodificar. El valor de *frames* será el número de fotogramas o ``-1``. El "
"último elemento de la tupla, *bits_per_sample*, será el tamaño de la muestra "
"en bits, ``'A'`` para A-LAW o ``'U'`` para u-LAW."

#: ../Doc/library/sndhdr.rst:35
msgid ""
"Determines the type of sound data stored in the file *filename* "
"using :func:`whathdr`. If it succeeds, returns a namedtuple as "
"described above, otherwise ``None`` is returned."
"Determines the type of sound data stored in the file *filename* using :func:"
"`whathdr`. If it succeeds, returns a namedtuple as described above, "
"otherwise ``None`` is returned."
msgstr ""
"Determina el tipo de datos de sonido almacenados en el archivo "
"*filename* usando :func:`whathdr`. Si se tiene éxito, devuelve una "
"namedtuple como se describe arriba, de lo contrario devuelve "
"``None``."
"Determina el tipo de datos de sonido almacenados en el archivo *filename* "
"usando :func:`whathdr`. Si se tiene éxito, devuelve una namedtuple como se "
"describe arriba, de lo contrario devuelve ``None``."

#: ../Doc/library/sndhdr.rst:39 ../Doc/library/sndhdr.rst:49
msgid "Result changed from a tuple to a namedtuple."
msgstr "El resultado cambió de una tupla a una *namedtuple*."

#: ../Doc/library/sndhdr.rst:45
msgid ""
"Determines the type of sound data stored in a file based on the "
"file header. The name of the file is given by *filename*. This "
"function returns a namedtuple as described above on success, or "
"``None``."
"Determines the type of sound data stored in a file based on the file "
"header. The name of the file is given by *filename*. This function returns "
"a namedtuple as described above on success, or ``None``."
msgstr ""
"Determina el tipo de dato de sonido almacenado en un archivo basado "
"en el encabezado del archivo. El nombre del archivo viene dado por "
"*filename*. Esta función devuelve una *namedtuple* como se ha "
"descrito anteriormente en caso de éxito o ``None``."
"Determina el tipo de dato de sonido almacenado en un archivo basado en el "
"encabezado del archivo. El nombre del archivo viene dado por *filename*. "
"Esta función devuelve una *namedtuple* como se ha descrito anteriormente en "
"caso de éxito o ``None``."