diff --git a/.overrides/reviewers-guide.rst b/.overrides/reviewers-guide.rst index 3e2999c341..f3392c02d8 100644 --- a/.overrides/reviewers-guide.rst +++ b/.overrides/reviewers-guide.rst @@ -1,3 +1,5 @@ +:orphan: + ================================ Guía para revisar una traducción ================================ diff --git a/.travis.yml b/.travis.yml index 88619193f8..d4b73e2897 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,8 @@ script: - powrap --check --quiet **/*.po - awk 1 dict dictionaries/*.txt > dict.txt - pospell -p dict.txt -l es_AR -l es_ES **/*.po - - make build + - pip install -q -r requirements.txt + - PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html branches: only: - /^3\.\d$/ diff --git a/Makefile b/Makefile index 8282bd9216..d743d87d34 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ help: # treated as errors, which is good to skip simple Sphinx syntax mistakes. .PHONY: build build: setup - PYTHONWARNINGS=ignore::FutureWarning $(VENV)/bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML) + PYTHONWARNINGS=ignore::FutureWarning $(VENV)/bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML) && \ @echo "Success! Open file://`pwd`/$(OUTPUT_HTML)/index.html, " \ "or run 'make serve' to see them in http://localhost:8000"; @@ -89,8 +89,8 @@ progress: venv .PHONY: spell spell: venv - # 'cat' tenia el problema que algunos archivos no tenían una nueva línea al final - # 'awk 1' agregará una nueva línea en caso que falte. + # 'cat' tenia el problema que algunos archivos no tenían una nueva línea al final + # 'awk 1' agregará una nueva línea en caso que falte. awk 1 dict dictionaries/*.txt > dict.txt $(VENV)/bin/pospell -p dict.txt -l es_ES **/*.po diff --git a/library/array.po b/library/array.po index 9e959eb8d5..c5f41d3f14 100644 --- a/library/array.po +++ b/library/array.po @@ -266,8 +266,8 @@ msgid "" "Raises an :ref:`auditing event ` ``array.__new__`` with arguments " "``typecode``, ``initializer``." msgstr "" -"Lanza un ref:`evento auditor ` ``array.__new__`` con argumentos " -"``typecode``, ``initializer``." +"Lanza un :ref:`evento de auditoría ` ``array.__new__`` con " +"argumentos ``typecode``, ``initializer``." #: ../Doc/library/array.rst:83 msgid "A string with all available type codes." diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index bde18bea5a..f3b3054e96 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -31,7 +31,7 @@ msgid "" "**Source code:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/" "base_events.py`" msgstr "" -"**Código fuente:** :fuente:`Lib/asyncio/events.py`, :fuente:`Lib/asyncio/" +"**Código fuente:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/" "base_events.py`" #: ../Doc/library/asyncio-eventloop.rst:14 diff --git a/library/ctypes.po b/library/ctypes.po index b0707e94cc..f7a309449d 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -1964,6 +1964,7 @@ msgstr "" "tienes que asignar el atributo correcto :attr:`restype` para usar estas " "funciones." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``ctypes.dlopen`` with argument " "``name``." @@ -1981,6 +1982,7 @@ msgstr "" "`evento de auditoría ` ``ctypes.dlopen`` con el argumento de " "cadena ``name``, el nombre usado para cargar la biblioteca." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``ctypes.dlsym`` with arguments " "``library``, ``name``." @@ -1998,6 +2000,7 @@ msgstr "" "auditoría ``ctypes.dlsym`` con argumentos ``library`` (el objeto de la " "biblioteca) y ``name`` (el nombre del símbolo como cadena o entero)." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``ctypes.dlsym/handle`` with " "arguments ``handle``, ``name``." @@ -2175,6 +2178,7 @@ msgstr "" "Esta excepción se lanza cuando una llamada a una función foránea no puede " "convertir uno de los argumentos pasados." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``ctypes.seh_exception`` with " "argument ``code``." @@ -2197,6 +2201,7 @@ msgstr "" "permitiendo que un gancho de auditoría reemplace la excepción con la suya " "propia." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``ctypes.call_function`` with " "arguments ``func_pointer``, ``arguments``." @@ -2947,6 +2952,7 @@ msgstr "" "Este método retorna una instancia de tipo ctypes utilizando la memoria " "especificada por *address* que debe ser un entero." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``ctypes.cdata`` with argument " "``address``." diff --git a/library/functions.po b/library/functions.po index 9eee49be66..b650294f69 100644 --- a/library/functions.po +++ b/library/functions.po @@ -725,6 +725,7 @@ msgstr "" "Si quieres transformar código Python a su representación AST, revisa :func:" "`ast.parse`." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``compile`` with arguments " "``source``, ``filename``." @@ -1096,6 +1097,7 @@ msgstr "" "Véase :func:`ast.literal_eval`, una función que puede evaluar de forma " "segura cadenas con expresiones que contienen solo literales." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``exec`` with argument " "``code_object``." @@ -1546,6 +1548,7 @@ msgstr "" "para proporcionar características más elaboradas de edición de líneas e " "historiales." +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt``." @@ -1561,6 +1564,7 @@ msgstr "" "Lanza un :ref:`evento de auditoría ` ``builtins.input`` con el " "argumento ``prompt`` antes de leer entrada" +#, fuzzy msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " "argument ``result``." diff --git a/library/io.po b/library/io.po index 2c66dcd2e4..f7751df89c 100644 --- a/library/io.po +++ b/library/io.po @@ -231,7 +231,7 @@ msgid "" "arguments ``path``, ``mode`` and ``flags``. The ``mode`` and ``flags`` " "arguments may have been modified or inferred from the original call." msgstr "" -"Esta función lanza un ref:`auditing event ` ``open`` con los " +"Esta función lanza un :ref:`evento de auditoría ` ``open`` con los " "argumentos ``path``, ``mode`` y ``flags``. Los argumentos``mode`` y " "``flags`` pueden haber sido modificados o inferido desde el pedido original." diff --git a/library/os.po b/library/os.po index 1d1453a237..181d0b6103 100644 --- a/library/os.po +++ b/library/os.po @@ -2117,7 +2117,7 @@ msgid "" msgstr "" "Puede verificar si *path* se puede especificar o no como un descriptor de " "archivo para una función particular en su plataforma usando :data:`os." -"supports_fd`. Si esta funcionalidad no está disponible, su uso generará un : " +"supports_fd`. Si esta funcionalidad no está disponible, su uso generará un :" "exc:`NotImplementedError`." #: ../Doc/library/os.rst:1507 @@ -2660,7 +2660,7 @@ msgid "" "Raises an :ref:`auditing event ` ``os.listdir`` with argument " "``path``." msgstr "" -"Lanza un : ef:`evento de auditoría ` ``os.listdir`` con el " +"Lanza un :ref:`evento de auditoría ` ``os.listdir`` con el " "argumento ``ruta``." #: ../Doc/library/os.rst:1843 diff --git a/library/shlex.po b/library/shlex.po index 8c692ad85f..4a13f20ea5 100644 --- a/library/shlex.po +++ b/library/shlex.po @@ -80,7 +80,7 @@ msgid "" "function is the inverse of :func:`split`." msgstr "" "Concatena los tokens de la lista *split_command* y retorna una cadena. Esta " -"función es la inversa de :func:'split'." +"función es la inversa de :func:`split`." #: ../Doc/library/shlex.rst:49 msgid "" @@ -88,7 +88,7 @@ msgid "" "vulnerabilities (see :func:`quote`)." msgstr "" "El valor retornado se escapa del intérprete de comandos para protegerlo " -"contra vulnerabilidades de inyección (consulte :func:'quote')." +"contra vulnerabilidades de inyección (consulte :func:`quote`)." #: ../Doc/library/shlex.rst:57 msgid "" @@ -370,7 +370,7 @@ msgstr "" "en los parámetros de la línea de comandos, también se incluirán en este " "atributo, y cualquier carácter que aparezca en ``punctuation_chars`` será " "eliminado de ``wordchars`` si están presentes allí. Si :attr:" -"``whitespace_split`` se establece en ``True``, esto no tendrá ningún efecto." +"`whitespace_split` se establece en ``True``, esto no tendrá ningún efecto." #: ../Doc/library/shlex.rst:236 msgid "" diff --git a/library/telnetlib.po b/library/telnetlib.po index 785c447d80..f4a60fcabc 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -240,8 +240,8 @@ msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.open`` with " "arguments ``self``, ``host``, ``port``." msgstr "" -"Genera un :ref:`auditing event ` ``telnetlib. Telnet.open`` con " -"argumentos ``self``, ``host``, ``port``." +"Genera un :ref:`evento de auditoría ` ``telnetlib. Telnet.open`` " +"con argumentos ``self``, ``host``, ``port``." #: ../Doc/library/telnetlib.rst:149 msgid "" @@ -289,8 +289,8 @@ msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.write`` with " "arguments ``self``, ``buffer``." msgstr "" -"Lanza un :ref:`` ``telnetlib.Telnet.write`` con argumentos " -"``self``, ``buffer``." +"Lanza un :ref:`evento de auditoría ` ``telnetlib.Telnet.write`` " +"con argumentos ``self``, ``buffer``." #: ../Doc/library/telnetlib.rst:183 msgid ""