Skip to content

Commit 9b49f6c

Browse files
authored
Merge branch '3.12' into traduccion-compound_stmts.po
2 parents bba9663 + 23991c3 commit 9b49f6c

26 files changed

+762
-841
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- 3.*
77
pull_request:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
name: Test
@@ -21,7 +24,7 @@ jobs:
2124

2225
# Instalación de dependencias
2326
- name: Preparar Python v3.11
24-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2528
with:
2629
python-version: "3.11"
2730
cache: "pip"
@@ -31,6 +34,7 @@ jobs:
3134
run: sudo sed -i '/postgresql-common/d' /var/lib/dpkg/triggers/File
3235
- name: Instalar dependencias de sistema
3336
run: |
37+
sudo apt-get update
3438
sudo apt-get install -y hunspell hunspell-es gettext language-pack-es locales-all
3539
- name: Instalar dependencias de Python
3640
run: |

.github/workflows/pr-comment.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,41 @@ name: Agrega comentario a PR
33
on:
44
pull_request_target:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
7-
pr-comment:
10+
define-comment:
811
name: Entradas sin traducción
912
runs-on: ubuntu-22.04
13+
outputs:
14+
any_changed: ${{ steps.changed-files.outputs.any_changed }}
15+
comment: ${{ steps.create-pr-comment.outputs.comment }}
1016
steps:
1117
- uses: actions/checkout@v4
1218
with:
13-
ref: ${{ github.event.pull_request.merge_commit_sha }}
19+
ref: ${{ github.event.pull_request.head.sha }}
1420
persist-credentials: false
1521
- name: Preparar Python v3.11
16-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
1723
with:
1824
python-version: "3.11"
1925
cache: "pip"
26+
# checkout these files from the base branch to guarantee they haven't been
27+
# modified by the PR
28+
- uses: actions/checkout@v4
29+
with:
30+
path: base-branch
31+
sparse-checkout-cone-mode: false
32+
sparse-checkout: |
33+
requirements.txt
34+
scripts/list_missing_entries.py
2035
- name: Instalar dependencias
2136
run: |
22-
python -m pip install -r requirements.txt
37+
python -m pip install -r base-branch/requirements.txt
2338
- name: Obtiene lista de archivos con cambios
2439
id: changed-files
25-
uses: tj-actions/changed-files@v39
40+
uses: tj-actions/changed-files@v40
2641
with:
2742
files: |
2843
**/*.po
@@ -34,12 +49,20 @@ jobs:
3449
run: |
3550
{
3651
echo 'comment<<EOF'
37-
python scripts/list_missing_entries.py --github $CHANGED_PO_FILES
52+
python base-branch/scripts/list_missing_entries.py --github $CHANGED_PO_FILES
3853
echo EOF
3954
} >> "$GITHUB_OUTPUT"
55+
56+
write-comment:
57+
runs-on: ubuntu-22.04
58+
needs: [define-comment]
59+
if: needs.define-comment.outputs.any_changed == 'true'
60+
permissions:
61+
issues: write
62+
pull-requests: write
63+
steps:
4064
- name: Agregar comentario con entradas faltantes
41-
if: steps.changed-files.outputs.any_changed == 'true'
4265
uses: thollander/actions-comment-pull-request@v2
4366
with:
44-
message: ${{ steps.create-pr-comment.outputs.comment }}
67+
message: ${{ needs.define-comment.outputs.comment }}
4568
comment_tag: missing-entries

.github/workflows/stale.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ on:
33
schedule:
44
- cron: '30 1 * * *'
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
stale:
811
runs-on: ubuntu-latest
12+
permissions:
13+
issues: write
14+
pull-requests: write
915
steps:
10-
- uses: actions/stale@v8
16+
- uses: actions/stale@v9
1117
with:
1218
stale-pr-label: 'needs decision'
1319
stale-issue-label: 'stale'

TRANSLATORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ Jimmy Tzuc (@JimmyTzuc)
120120
Jonathan Aguilar (@drawsoek)
121121
Jorge Luis McDonald Stevens (@jmaxter)
122122
Jorge Maldonado Ventura (@jorgesumle)
123+
José Carlos Álvarez González (@jcaalzago)
123124
José Daniel Gonzalez (@jdgc14)
124125
Jose Ignacio Riaño Chico
125126
José Luis Cantilo (@jcantilo)

about.po

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
14-
"PO-Revision-Date: 2019-12-22 12:23+0100\n"
15-
"Last-Translator: \n"
16-
"Language: es\n"
14+
"PO-Revision-Date: 2023-11-26 19:02+0100\n"
15+
"Last-Translator: Marcos Medrano <marcosmedrano0@gmail.com>\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.10.3\n"
23+
"X-Generator: Poedit 3.4.1\n"
2324

2425
#: ../Doc/about.rst:3
2526
msgid "About these documents"
@@ -59,22 +60,20 @@ msgstr ""
5960
"herramientas de Python y escritor de gran parte del contenido;"
6061

6162
#: ../Doc/about.rst:24
62-
#, fuzzy
6363
msgid ""
6464
"the `Docutils <https://docutils.sourceforge.io/>`_ project for creating "
6565
"reStructuredText and the Docutils suite;"
6666
msgstr ""
67-
"el proyecto `Docutils <http://docutils.sourceforge.net/>`_ para creación de "
68-
"reStructuredText y el juego de Utilidades de Documentación;"
67+
"el proyecto `Docutils <https://docutils.sourceforge.io/>`_ para creación de "
68+
"reStructuredText y la suite Docutils;"
6969

7070
#: ../Doc/about.rst:26
71-
#, fuzzy
7271
msgid ""
7372
"Fredrik Lundh for his Alternative Python Reference project from which Sphinx "
7473
"got many good ideas."
7574
msgstr ""
76-
"Fredrik Lundh por su proyecto `Referencia Alternativa de Python <http://"
77-
"effbot.org/zone/pyref.htm>`_ para la cual Sphinx tuvo muchas ideas."
75+
"Fredrik Lundh por su proyecto Referencia Alternativa de Python del que "
76+
"Sphinx obtuvo muchas buenas ideas."
7877

7978
#: ../Doc/about.rst:31
8079
msgid "Contributors to the Python Documentation"

bugs.po

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
14-
"PO-Revision-Date: 2020-06-28 01:03+0200\n"
15-
"Last-Translator: \n"
16-
"Language: es\n"
14+
"PO-Revision-Date: 2023-11-26 21:55+0100\n"
15+
"Last-Translator: Marcos Medrano <marcosmedrano0@gmail.com>\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.13.0\n"
23+
"X-Generator: Poedit 3.4.1\n"
2324

2425
#: ../Doc/bugs.rst:5
2526
msgid "Dealing with Bugs"
@@ -66,6 +67,8 @@ msgid ""
6667
"You can also open a discussion item on our `Documentation Discourse forum "
6768
"<https://discuss.python.org/c/documentation/26>`_."
6869
msgstr ""
70+
"También puede abrir una discusión en nuestro `foro de Documentación de "
71+
"Discourse <https://discuss.python.org/c/documentation/26>`_."
6972

7073
#: ../Doc/bugs.rst:25
7174
msgid ""
@@ -119,19 +122,20 @@ msgstr ""
119122
"Python."
120123

121124
#: ../Doc/bugs.rst:41
122-
#, fuzzy
123125
msgid ""
124126
"`Documentation Translations <https://devguide.python.org/documenting/"
125127
"#translating>`_"
126128
msgstr ""
127-
"`Ayudar con la documentación <https://devguide.python.org/docquality/"
128-
"#helping-with-documentation>`_"
129+
"`Traducciones de la Documentación <https://devguide.python.org/documenting/"
130+
"#translating>`_"
129131

130132
#: ../Doc/bugs.rst:42
131133
msgid ""
132134
"A list of GitHub pages for documentation translation and their primary "
133135
"contacts."
134136
msgstr ""
137+
"Una lista de páginas de GitHub para la traducción de documentación y sus "
138+
"contactos principales."
135139

136140
#: ../Doc/bugs.rst:48
137141
msgid "Using the Python issue tracker"
@@ -144,9 +148,12 @@ msgid ""
144148
"tracker offers a web form which allows pertinent information to be entered "
145149
"and submitted to the developers."
146150
msgstr ""
151+
"Los informes de incidencias de Python deben enviarse a través del gestor de "
152+
"incidencias de GitHub (https://github.com/python/cpython/issues). El gestor "
153+
"de incidencias de GitHub ofrece un formulario web que permite introducir la "
154+
"información pertinente y enviarla a los desarrolladores."
147155

148156
#: ../Doc/bugs.rst:55
149-
#, fuzzy
150157
msgid ""
151158
"The first step in filing a report is to determine whether the problem has "
152159
"already been reported. The advantage in doing so, aside from saving the "
@@ -156,14 +163,13 @@ msgid ""
156163
"can!). To do this, search the tracker using the search box at the top of the "
157164
"page."
158165
msgstr ""
159-
"El primer paso para rellenar un informe es determinar si el problema ya ha "
166+
"El primer paso para completar un informe es determinar si el problema ya ha "
160167
"sido descrito previamente. La ventaja de hacer esto, aparte de ahorrar "
161-
"tiempo a los desarrolladores, te permite aprender qué cambios se han "
168+
"tiempo a los desarrolladores, es que te permite aprender qué cambios se han "
162169
"realizado para repararlo; puede que el problema se haya reparado para la "
163-
"siguiente publicación, o que sea necesaria información adicional (en ese "
164-
"caso, ¡te damos la bienvenida a incluirla si puedes!). Para hacerlo, busca "
165-
"en la base de datos de errores usando la zona de búsqueda al principio de "
166-
"esta página."
170+
"siguiente versión, o que sea necesaria información adicional (en ese caso, "
171+
"¡te invitamos a incluirla si puedes!). Para hacerlo, busca en la base de "
172+
"datos de errores usando la zona de búsqueda al principio de esta página."
167173

168174
#: ../Doc/bugs.rst:62
169175
msgid ""
@@ -172,25 +178,31 @@ msgid ""
172178
"using the \"Sign up\" link. It is not possible to submit a bug report "
173179
"anonymously."
174180
msgstr ""
181+
"Si el problema del que informa no está ya en la lista, inicie sesión en "
182+
"GitHub. Si aún no tienes una cuenta en GitHub, crea una nueva a través del "
183+
"enlace \"Regístrate\". No es posible enviar un informe de error de forma "
184+
"anónima."
175185

176186
#: ../Doc/bugs.rst:67
177-
#, fuzzy
178187
msgid ""
179188
"Being now logged in, you can submit an issue. Click on the \"New issue\" "
180189
"button in the top bar to report a new issue."
181190
msgstr ""
182-
"Una vez dentro, puedes enviar el error. Selecciona el enlace \"Create New\" "
183-
"en la barra lateral para abrir el formulario del informe de errores."
191+
"Ahora que has iniciado sesión, puedes enviar un informe de error. Haz clic "
192+
"en el botón \"New issue\" de la barra superior para notificar un nuevo "
193+
"informe de error."
184194

185195
#: ../Doc/bugs.rst:70
186196
msgid "The submission form has two fields, \"Title\" and \"Comment\"."
187-
msgstr ""
197+
msgstr "El formulario de envío tiene dos campos: \"Title\" y \"Comment\"."
188198

189199
#: ../Doc/bugs.rst:72
190200
msgid ""
191201
"For the \"Title\" field, enter a *very* short description of the problem; "
192202
"fewer than ten words is good."
193203
msgstr ""
204+
"En el campo \"Title\", introduzca una descripción *muy* breve del problema; "
205+
"menos de diez palabras es suficiente."
194206

195207
#: ../Doc/bugs.rst:75
196208
msgid ""
@@ -205,15 +217,14 @@ msgstr ""
205217
"hardware y software estás usando (incluyendo las versiones correspondientes)."
206218

207219
#: ../Doc/bugs.rst:80
208-
#, fuzzy
209220
msgid ""
210221
"Each issue report will be reviewed by a developer who will determine what "
211222
"needs to be done to correct the problem. You will receive an update each "
212223
"time an action is taken on the issue."
213224
msgstr ""
214-
"Cada informe de errores será asignado a un desarrollador que determinará qué "
225+
"Cada informe de error será asignado a un desarrollador que determinará qué "
215226
"es necesario hacer para corregir el problema. Recibirás una actualización "
216-
"cada vez que una acción nueva sea aplicada."
227+
"cada vez que se tome una medida al respecto."
217228

218229
#: ../Doc/bugs.rst:89
219230
msgid ""

copyright.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
14-
"PO-Revision-Date: 2021-08-04 10:56+0200\n"
15-
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
16-
"Language: es\n"
14+
"PO-Revision-Date: 2023-11-26 19:06+0100\n"
15+
"Last-Translator: Marcos Medrano <marcosmedrano0@gmail.com>\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.13.0\n"
23+
"X-Generator: Poedit 3.4.1\n"
2324

2425
#: ../Doc/copyright.rst:3
2526
msgid "Copyright"
@@ -30,10 +31,9 @@ msgid "Python and this documentation is:"
3031
msgstr "Python y esta documentación es:"
3132

3233
#: ../Doc/copyright.rst:7
33-
#, fuzzy
3434
msgid "Copyright © 2001-2023 Python Software Foundation. All rights reserved."
3535
msgstr ""
36-
"Derechos de autor © 2001-2021 Python Software Foundation. Todos los derechos "
36+
"Derechos de autor © 2001-2023 Python Software Foundation. Todos los derechos "
3737
"reservados."
3838

3939
#: ../Doc/copyright.rst:9

dictionaries/about.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Fred
22
Sphinx
3+
Docutils
34
Drake
4-
Jr
5+
Jr

dictionaries/license.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Corporation
55
Creations
66
Initiatives
77
Keio
8+
License
89
Majkowski
910
Marek
1011
Mathematisch

0 commit comments

Comments
 (0)