Skip to content

Commit 58be2f4

Browse files
committed
Merge branch '3.8' of https://github.com/python/python-docs-es into pr-451
2 parents 186f4f6 + d1b8ed0 commit 58be2f4

24 files changed

+2231
-338
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ coverage.xml
6565
.idea/
6666
/translation-memory.po
6767
/locale/
68+
*.swp
69+
*~
6870

6971
# OSX
7072
.DS_Store

.overrides/faq.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ pospell. Pospell puede ser instalada en tu entorno de Python empleando pip
2626
Una vez instalado, para chequear el fichero .po sobre el que estás trabajando,
2727
ejecuta desde el directorio principal del repo::
2828

29-
pospell -p dict -l es_AR -l es_ES path/tu_fichero.po
29+
awk 1 dict dictionaries/*.txt > dict.txt
30+
pospell -p dict.txt -l es_AR -l es_ES path/tu_fichero.po
3031

3132
pospell emplea la herramienta de diccionarios hunspell. Si pospell falla dando
3233
como error que no tiene hunspell instalado, lo puedes instalar así:

.overrides/reviewers-guide.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
================================
24
Guía para revisar una traducción
35
================================

.overrides/translation-memory.rst

+20-23
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Términos y bigramas
6363

6464
key
6565
clave
66-
66+
6767
keyword argument
6868
argumento por palabra clave / argumento de palabra clave
6969

@@ -72,7 +72,7 @@ Términos y bigramas
7272

7373
handle exception
7474
gestionar excepción. ``tutorial/inputoutput.po``
75-
75+
7676
i. e.
7777
en otras palabras. ``library/sqlite3.po``
7878

@@ -81,9 +81,9 @@ Términos y bigramas
8181

8282
library
8383
biblioteca. ``library/sqlite3.po``
84-
84+
8585
list comprehension / list comprehensions
86-
lista por comprensión / listas por comprensión.
86+
lista por comprensión / listas por comprensión.
8787

8888
locale
8989
Configuración regional. ``library/functions.po`` and others
@@ -99,10 +99,10 @@ Términos y bigramas
9999

100100
named tuple
101101
tupla nombrada ``glossary.po``
102-
102+
103103
overload, overloading
104104
sobrecargar, sobrecarga
105-
105+
106106
override, overriding
107107
sobreescribir, sobreescritura
108108

@@ -112,19 +112,31 @@ Términos y bigramas
112112
raise
113113
lanzar, lanza. (referido a excepciones) ``library/functions.po``, ``c-api``
114114

115-
realease
115+
release
116116
version ``HOWTO``
117-
117+
118118
return
119119
retorna. ``library/sqlite3.po``
120120

121121
runtime
122122
tiempo de ejecución ``tutorial/classes.po``
123123

124+
slice
125+
segmento ``datamodel.po``
126+
127+
slicing
128+
segmentación ``datamodel.po``
129+
124130
static type checker
125131
Validador estático de tipos
126132
Notas: mantener la mayúscula, usar validación cuando se refiera a la acción y no al agente.
127133

134+
string
135+
cadena de caracteres ``datamodel.po``
136+
137+
strings
138+
cadenas de caracteres ``datamodel.po``
139+
128140
third-party
129141
de terceros ``library/typing.po``
130142

@@ -135,21 +147,6 @@ Términos y bigramas
135147
anotación de tipo
136148
Nota: úsese como sinónimo de *type hint*
137149

138-
release
139-
version ``HOWTO``
140-
141-
slice
142-
segmento ``datamodel.po``
143-
144-
slicing
145-
segmentación ``datamodel.po``
146-
147-
string
148-
cadena de caracteres ``datamodel.po``
149-
150-
strings
151-
cadenas de caracteres ``datamodel.po``
152-
153150
underscore
154151
guión bajo ``glossary.po``
155152

.readthedocs.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ python:
1818
install:
1919
- requirements: requirements.txt
2020

21-
formats:
22-
- pdf
21+
formats: []
2322

2423
submodules:
2524
include: all

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ script:
1212
- powrap --check --quiet **/*.po
1313
- awk 1 dict dictionaries/*.txt > dict.txt
1414
- pospell -p dict.txt -l es_AR -l es_ES **/*.po
15-
- make build
15+
- pip install -q -r requirements.txt
16+
- PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
1617
branches:
1718
only:
1819
- /^3\.\d$/

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ help:
4141
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
4242
.PHONY: build
4343
build: setup
44-
PYTHONWARNINGS=ignore::FutureWarning $(VENV)/bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML)
44+
PYTHONWARNINGS=ignore::FutureWarning $(VENV)/bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML) && \
4545
@echo "Success! Open file://`pwd`/$(OUTPUT_HTML)/index.html, " \
4646
"or run 'make serve' to see them in http://localhost:8000";
4747

@@ -89,8 +89,8 @@ progress: venv
8989

9090
.PHONY: spell
9191
spell: venv
92-
# 'cat' tenia el problema que algunos archivos no tenían una nueva línea al final
93-
# 'awk 1' agregará una nueva línea en caso que falte.
92+
# 'cat' tenia el problema que algunos archivos no tenían una nueva línea al final
93+
# 'awk 1' agregará una nueva línea en caso que falte.
9494
awk 1 dict dictionaries/*.txt > dict.txt
9595
$(VENV)/bin/pospell -p dict.txt -l es_ES **/*.po
9696

cpython

Submodule cpython updated 1810 files

0 commit comments

Comments
 (0)