Skip to content

Commit bed430c

Browse files
authored
Merge branch '3.11' into traduccion-asyncio
2 parents 5f38463 + 0f81ec9 commit bed430c

File tree

139 files changed

+3835
-3273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+3835
-3273
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
diff -Naur TRANSLATORS <(LANG=es python scripts/sort.py < TRANSLATORS)
3333
- name: Powrap
3434
run: powrap --check --quiet **/*.po
35+
- name: Sphinx lint
36+
run: |
37+
sphinx-lint */*.po
3538
- name: Pospell
3639
run: |
3740
python scripts/check_spell.py

.overrides/coc.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ Este Código de conducta se aplica a los siguientes espacios en línea:
169169

170170
* listas de correo python-ideas, core-mentorship, python-dev, docs
171171
* Todas las demás listas de correo alojadas en python.org
172-
* Servidor de chat *Zulip* de la *Python Software Foundation*
173172
* Servidor *Discourse* alojado en discuss.python.org
174173
* Repositorios de código, rastreadores de problemas y solicitudes de extracción realizadas contra
175174
cualquier organización GitHub controlada por la *Python Software Foundation*

.overrides/reviewers-guide.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,43 @@ Tres razones por las que puede fallar el *build* de Travis:
4848

4949
Para facilitar la comparación de ficheros se emplea este programa que va a hacer que todas las líneas tengan el mismo tamaño. Solucionar este problema en nuestra traducción es muy sencillo, solo hay que instalar la herramienta powrap en nuestro entorno y ejecutar el comando ``powrap nuestro_fichero.po``
5050

51+
``sphinx-lint`` falla
52+
---------------------
53+
54+
El formato en el que la documentación de python está escrito
55+
(`reStructredText <https://es.wikipedia.org/wiki/ReStructuredText>`_ , o rst)
56+
puede ser difícil de manejar y escribir correctamente.
57+
``sphinx-lint`` ayuda a encontrar errores comunes al momento de escribir
58+
entradas en este formato, y advierte al respecto.
59+
60+
Entre los errores más comunes están:
61+
62+
* Textos literales no están separados por un espacio
63+
respecto a las palabras que lo rodean:
64+
65+
* Mal: :literal:`no hay espacio antes del\`\`literal\`\``
66+
* Mal: :literal:`después del \`\`literal \`\`no hay un espacio`
67+
* Bien: :literal:`hay espacio antes del \`\`literal\`\` y después también`
68+
69+
* Textos literales comienzan o terminan con espacios:
70+
71+
* Mal: :literal:`\`\` literal empieza con un espacio\`\``
72+
* Mal: :literal:`\`\`literal termina con un espacio \`\``
73+
* Bien: :literal:`\`\`literal no termina ni empieza con espacios\`\``
74+
75+
* Textos literales no están delineados con dos acentos fuertes:
76+
77+
* Mal: :literal:`\`\`falta uno al final :(\``
78+
* Mal: :literal:`\`falta uno al principio :(\`\``
79+
* Bien: :literal:`\`\`todo bien :)\`\``
80+
81+
* Enlaces no terminan en un guión bajo:
82+
83+
* Mal: :literal:`\`<https://python.org>\``
84+
* Mal: :literal:`\`Python <https://python.org>\``
85+
* Bien: :literal:`\`<https://python.org>\`_`
86+
* Bien: :literal:`\`Python <https://python.org>\`_`
87+
5188

5289
``pospell`` falla
5390
---------------------

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ repos:
1111
language: python
1212
additional_dependencies: ['pospell>=1.1']
1313
files: \.po$
14+
- id: lint
15+
name: Run sphinx linting
16+
entry: sphinx-lint
17+
language: python
18+
additional_dependencies: ['sphinx-lint==0.6.7']
19+
files: \.po$

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ progress: venv
9999
spell: venv
100100
$(VENV)/bin/python scripts/check_spell.py
101101

102+
.PHONY: lint
103+
lint: venv
104+
$(VENV)/bin/python -m sphinxlint */*.po
105+
102106

103107
.PHONY: wrap
104108
wrap: venv

TRANSLATORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Daniel F. Moisset (@dmoisset)
5353
Daniel Vera Nieto (@dveni)
5454
Daniela Zuluaga Ocampo (@Nany262)
5555
Darwing Medina Lacayo (@darwing1210)
56+
David Jaimes (@henrzven)
5657
David Lorenzo (@David-Lor)
5758
David Revillas (@r3v1)
5859
David Silva (@dvidsilva)
@@ -80,6 +81,7 @@ Fnar
8081
Fonso
8182
Francisco Ecatl Melo Valle
8283
Francisco Jesús Sevilla García (@fjsevilla-dev)
84+
Francisco Mora (@fmoradev)
8385
Francisco Mora (@framorac)
8486
Frank Montalvo Ochoa (@fmontalvoo)
8587
G0erman
@@ -125,6 +127,7 @@ Juan E. D. (@j-e-d)
125127
Juan Elias Rodriguez (@Juerodriguez)
126128
Juan Ignacio Rodríguez de León (@euribates)
127129
Juan Molina Riddell
130+
Juan Pablo Esparza R.
128131
Juan Perdomo(@JuanPerdomo00)
129132
Juan Sebastián Marquez (@juansemarquez)
130133
JuanD

c-api/bool.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ msgstr ""
2424

2525
#: ../Doc/c-api/bool.rst:6
2626
msgid "Boolean Objects"
27-
msgstr "Objetos Booleanos"
27+
msgstr "Objetos booleanos"
2828

2929
#: ../Doc/c-api/bool.rst:8
3030
msgid ""

c-api/buffer.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ msgstr ""
2424

2525
#: ../Doc/c-api/buffer.rst:11
2626
msgid "Buffer Protocol"
27-
msgstr "Protocolo Búfer"
27+
msgstr "Protocolo búfer"
2828

2929
#: ../Doc/c-api/buffer.rst:18
3030
msgid ""

c-api/bytes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ msgstr ""
2424

2525
#: ../Doc/c-api/bytes.rst:6
2626
msgid "Bytes Objects"
27-
msgstr "Objetos Bytes"
27+
msgstr "Objetos bytes"
2828

2929
#: ../Doc/c-api/bytes.rst:8
3030
msgid ""

c-api/cell.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ msgstr ""
2424

2525
#: ../Doc/c-api/cell.rst:6
2626
msgid "Cell Objects"
27-
msgstr "Objetos Celda"
27+
msgstr "Objetos celda"
2828

2929
#: ../Doc/c-api/cell.rst:8
3030
msgid ""

0 commit comments

Comments
 (0)