Skip to content

Traducido library/fileinput.po #1780

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 6 commits into from
Dec 30, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
powrap
  • Loading branch information
cacrespo committed Dec 29, 2021
commit a7c6d1b21f12cadcb477b92f95b60c0e52668e17
79 changes: 39 additions & 40 deletions library/fileinput.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
"PO-Revision-Date: 2020-08-14 15:10-0300\n"
"PO-Revision-Date: 2021-12-29 10:44-0300\n"
"Last-Translator: \n"
"Language: es_AR\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 3.0\n"

#: ../Doc/library/fileinput.rst:2
msgid ":mod:`fileinput` --- Iterate over lines from multiple input streams"
msgstr ""
":mod:`fileinput` --- Iterar sobre líneas de múltiples flujos de entrada"
msgstr ":mod:`fileinput` --- Iterar sobre líneas de múltiples flujos de entrada"

#: ../Doc/library/fileinput.rst:10
msgid "**Source code:** :source:`Lib/fileinput.py`"
Expand All @@ -33,8 +33,8 @@ msgstr "**Código fuente:** :source:`Lib/fileinput.py`"
#: ../Doc/library/fileinput.rst:14
msgid ""
"This module implements a helper class and functions to quickly write a loop "
"over standard input or a list of files. If you just want to read or write "
"one file see :func:`open`."
"over standard input or a list of files. If you just want to read or write one "
"file see :func:`open`."
msgstr ""
"Este módulo implementa una clase auxiliar y funciones para escribir "
"rápidamente un bucle sobre una entrada estándar o una lista de archivos. Si "
Expand All @@ -49,9 +49,8 @@ msgid ""
"This iterates over the lines of all files listed in ``sys.argv[1:]``, "
"defaulting to ``sys.stdin`` if the list is empty. If a filename is ``'-'``, "
"it is also replaced by ``sys.stdin`` and the optional arguments *mode* and "
"*openhook* are ignored. To specify an alternative list of filenames, pass "
"it as the first argument to :func:`.input`. A single file name is also "
"allowed."
"*openhook* are ignored. To specify an alternative list of filenames, pass it "
"as the first argument to :func:`.input`. A single file name is also allowed."
msgstr ""
"Esto itera sobre las líneas de todos los archivos enumerados en ``sys."
"argv[1:]``, por defecto a ``sys.stdin``si la lista está vacía. Si un nombre "
Expand Down Expand Up @@ -89,12 +88,12 @@ msgstr ""
#: ../Doc/library/fileinput.rst:42
msgid ""
"Empty files are opened and immediately closed; the only time their presence "
"in the list of filenames is noticeable at all is when the last file opened "
"is empty."
"in the list of filenames is noticeable at all is when the last file opened is "
"empty."
msgstr ""
"Los archivos vacíos se abren e inmediatamente se cierran; la única vez que "
"su presencia en la lista de nombres de archivo es notable es cuando el "
"último archivo abierto está vacío."
"Los archivos vacíos se abren e inmediatamente se cierran; la única vez que su "
"presencia en la lista de nombres de archivo es notable es cuando el último "
"archivo abierto está vacío."

#: ../Doc/library/fileinput.rst:46
msgid ""
Expand All @@ -109,17 +108,17 @@ msgid ""
"You can control how files are opened by providing an opening hook via the "
"*openhook* parameter to :func:`fileinput.input` or :class:`FileInput()`. The "
"hook must be a function that takes two arguments, *filename* and *mode*, and "
"returns an accordingly opened file-like object. If *encoding* and/or "
"*errors* are specified, they will be passed to the hook as additional "
"keyword arguments. This module provides a :func:`hook_compressed` to support "
"returns an accordingly opened file-like object. If *encoding* and/or *errors* "
"are specified, they will be passed to the hook as additional keyword "
"arguments. This module provides a :func:`hook_compressed` to support "
"compressed files."
msgstr ""
"Puede controlar cómo se abren los archivos proporcionando un enlace de "
"apertura a través del parámetro *openhook* a :func:`fileinput.input` o :"
"class:`FileInput()`. El enlace debe ser una función que tome dos argumentos, "
"*filename* y *mode*, y en consecuencia retorna un objeto similar a un "
"archivo abierto. Si *encoding* y/o *errors* son especificados, serán pasados "
"al enlace como argumentos de palabras clave adicionales. Este módulo "
"apertura a través del parámetro *openhook* a :func:`fileinput.input` o :class:"
"`FileInput()`. El enlace debe ser una función que tome dos argumentos, "
"*filename* y *mode*, y en consecuencia retorna un objeto similar a un archivo "
"abierto. Si *encoding* y/o *errors* son especificados, serán pasados al "
"enlace como argumentos de palabras clave adicionales. Este módulo "
"proporciona :func:`hook_compressed` para admitir archivos comprimidos."

#: ../Doc/library/fileinput.rst:56
Expand All @@ -133,9 +132,9 @@ msgid ""
"to use during iteration. The parameters to this function will be passed "
"along to the constructor of the :class:`FileInput` class."
msgstr ""
"Crea una instancia de la clase :class:`FileInput`. La instancia se usará "
"como estado global para las funciones de este módulo y también se volverá a "
"usar durante la iteración. Los parámetros de esta función se pasarán al "
"Crea una instancia de la clase :class:`FileInput`. La instancia se usará como "
"estado global para las funciones de este módulo y también se volverá a usar "
"durante la iteración. Los parámetros de esta función se pasarán al "
"constructor de la clase :class:`FileInput`."

#: ../Doc/library/fileinput.rst:66
Expand Down Expand Up @@ -241,8 +240,8 @@ msgstr ""
"contarán para el recuento de líneas acumuladas. El nombre del archivo no se "
"cambia hasta que se haya leído la primera línea del siguiente archivo. Antes "
"de que se haya leído la primera línea, esta función no tiene efecto; no se "
"puede usar para omitir el primer archivo. Después de leer la última línea "
"del último archivo, esta función no tiene efecto."
"puede usar para omitir el primer archivo. Después de leer la última línea del "
"último archivo, esta función no tiene efecto."

#: ../Doc/library/fileinput.rst:138
msgid "Close the sequence."
Expand All @@ -260,12 +259,12 @@ msgstr ""
msgid ""
"Class :class:`FileInput` is the implementation; its methods :meth:"
"`filename`, :meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:"
"`isfirstline`, :meth:`isstdin`, :meth:`nextfile` and :meth:`close` "
"correspond to the functions of the same name in the module. In addition it "
"has a :meth:`~io.TextIOBase.readline` method which returns the next input "
"line, and a :meth:`__getitem__` method which implements the sequence "
"behavior. The sequence must be accessed in strictly sequential order; random "
"access and :meth:`~io.TextIOBase.readline` cannot be mixed."
"`isfirstline`, :meth:`isstdin`, :meth:`nextfile` and :meth:`close` correspond "
"to the functions of the same name in the module. In addition it has a :meth:"
"`~io.TextIOBase.readline` method which returns the next input line, and a :"
"meth:`__getitem__` method which implements the sequence behavior. The "
"sequence must be accessed in strictly sequential order; random access and :"
"meth:`~io.TextIOBase.readline` cannot be mixed."
msgstr ""
"La Clase :class:`FileInput` es la implementación; sus métodos :meth:"
"`filename`, :meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:"
Expand Down Expand Up @@ -334,10 +333,10 @@ msgid ""
"input file (if a file of the same name as the backup file already exists, it "
"will be replaced silently). This makes it possible to write a filter that "
"rewrites its input file in place. If the *backup* parameter is given "
"(typically as ``backup='.<some extension>'``), it specifies the extension "
"for the backup file, and the backup file remains around; by default, the "
"extension is ``'.bak'`` and it is deleted when the output file is closed. "
"In-place filtering is disabled when standard input is read."
"(typically as ``backup='.<some extension>'``), it specifies the extension for "
"the backup file, and the backup file remains around; by default, the "
"extension is ``'.bak'`` and it is deleted when the output file is closed. In-"
"place filtering is disabled when standard input is read."
msgstr ""
"**Filtrado al instante opcional:** si el argumento de la palabra clave "
"``inplace=True`` se pasa a :func:`fileinput.input` o al constructor :class:"
Expand Down Expand Up @@ -365,9 +364,9 @@ msgid ""
msgstr ""
"Abre de forma transparente archivos comprimidos con *gzip* y *bzip2* "
"(reconocidos por las extensiones ``'.gz'`` and ``'.bz2'``) utilizando los "
"módulos :mod:`gzip` y :mod:`bz2`. Si la extensión del nombre de archivo no "
"es ``'.gz'`` or ``'.bz2'``, el archivo se abre normalmente (es decir, "
"usando :func:`open` sin descompresión)."
"módulos :mod:`gzip` y :mod:`bz2`. Si la extensión del nombre de archivo no es "
"``'.gz'`` or ``'.bz2'``, el archivo se abre normalmente (es decir, usando :"
"func:`open` sin descompresión)."

#: ../Doc/library/fileinput.rst:208
msgid ""
Expand Down