Skip to content

Makefile fixes #713

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 5 commits into from
Aug 23, 2020
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .overrides/reviewers-guide.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

================================
Guía para revisar una traducción
================================
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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$/
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions library/array.po
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ msgid ""
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
"``typecode``, ``initializer``."
msgstr ""
"Lanza un ref:`evento auditor <auditing>` ``array.__new__`` con argumentos "
"``typecode``, ``initializer``."
"Lanza un :ref:`evento de auditoría <auditing>` ``array.__new__`` con "
"argumentos ``typecode``, ``initializer``."

#: ../Doc/library/array.rst:83
msgid "A string with all available type codes."
Expand Down
2 changes: 1 addition & 1 deletion library/asyncio-eventloop.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions library/ctypes.po
Original file line number Diff line number Diff line change
Expand Up @@ -1964,6 +1964,7 @@ msgstr ""
"tienes que asignar el atributo correcto :attr:`restype` para usar estas "
"funciones."

#, fuzzy
msgid ""
"Raises an :ref:`auditing event <auditing>` ``ctypes.dlopen`` with argument "
"``name``."
Expand All @@ -1981,6 +1982,7 @@ msgstr ""
"`evento de auditoría <auditing>` ``ctypes.dlopen`` con el argumento de "
"cadena ``name``, el nombre usado para cargar la biblioteca."

#, fuzzy
msgid ""
"Raises an :ref:`auditing event <auditing>` ``ctypes.dlsym`` with arguments "
"``library``, ``name``."
Expand All @@ -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 <auditing>` ``ctypes.dlsym/handle`` with "
"arguments ``handle``, ``name``."
Expand Down Expand Up @@ -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 <auditing>` ``ctypes.seh_exception`` with "
"argument ``code``."
Expand All @@ -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 <auditing>` ``ctypes.call_function`` with "
"arguments ``func_pointer``, ``arguments``."
Expand Down Expand Up @@ -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 <auditing>` ``ctypes.cdata`` with argument "
"``address``."
Expand Down
4 changes: 4 additions & 0 deletions library/functions.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <auditing>` ``compile`` with arguments "
"``source``, ``filename``."
Expand Down Expand Up @@ -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 <auditing>` ``exec`` with argument "
"``code_object``."
Expand Down Expand Up @@ -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 <auditing>` ``builtins.input`` with argument "
"``prompt``."
Expand All @@ -1561,6 +1564,7 @@ msgstr ""
"Lanza un :ref:`evento de auditoría <auditing>` ``builtins.input`` con el "
"argumento ``prompt`` antes de leer entrada"

#, fuzzy
msgid ""
"Raises an :ref:`auditing event <auditing>` ``builtins.input/result`` with "
"argument ``result``."
Expand Down
2 changes: 1 addition & 1 deletion library/io.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <auditing>` ``open`` con los "
"Esta función lanza un :ref:`evento de auditoría <auditing>` ``open`` con los "
"argumentos ``path``, ``mode`` y ``flags``. Los argumentos``mode`` y "
"``flags`` pueden haber sido modificados o inferido desde el pedido original."

Expand Down
4 changes: 2 additions & 2 deletions library/os.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -2660,7 +2660,7 @@ msgid ""
"Raises an :ref:`auditing event <auditing>` ``os.listdir`` with argument "
"``path``."
msgstr ""
"Lanza un : ef:`evento de auditoría <auditing>` ``os.listdir`` con el "
"Lanza un :ref:`evento de auditoría <auditing>` ``os.listdir`` con el "
"argumento ``ruta``."

#: ../Doc/library/os.rst:1843
Expand Down
6 changes: 3 additions & 3 deletions library/shlex.po
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ 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 ""
"The returned value is shell-escaped to protect against injection "
"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 ""
Expand Down Expand Up @@ -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 ""
Expand Down
8 changes: 4 additions & 4 deletions library/telnetlib.po
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ msgid ""
"Raises an :ref:`auditing event <auditing>` ``telnetlib.Telnet.open`` with "
"arguments ``self``, ``host``, ``port``."
msgstr ""
"Genera un :ref:`auditing event <auditing>` ``telnetlib. Telnet.open`` con "
"argumentos ``self``, ``host``, ``port``."
"Genera un :ref:`evento de auditoría <auditing>` ``telnetlib. Telnet.open`` "
"con argumentos ``self``, ``host``, ``port``."

#: ../Doc/library/telnetlib.rst:149
msgid ""
Expand Down Expand Up @@ -289,8 +289,8 @@ msgid ""
"Raises an :ref:`auditing event <auditing>` ``telnetlib.Telnet.write`` with "
"arguments ``self``, ``buffer``."
msgstr ""
"Lanza un :ref:`<auditing>` ``telnetlib.Telnet.write`` con argumentos "
"``self``, ``buffer``."
"Lanza un :ref:`evento de auditoría <auditing>` ``telnetlib.Telnet.write`` "
"con argumentos ``self``, ``buffer``."

#: ../Doc/library/telnetlib.rst:183
msgid ""
Expand Down