Skip to content

Traduccion Mejora library/internet #1

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

Open
wants to merge 205 commits into
base: 3.11
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
b83f1b0
Actualización a Python 3.12 (#2384)
mmmarcos Oct 12, 2023
73ce8a4
Bump requirements (#2662)
cmaureir Oct 13, 2023
5038f8b
Fix fuzzy entries and last translations whatsnew/2.5 (#2658)
cmaureir Oct 14, 2023
f58caff
Traducido urllib.error.po, entradas 15/15, fuzzy 0 (#2654)
JPC501 Oct 14, 2023
29870f8
Fix fuzzy entries and last translations whatsnew/2.6 (#2655)
cmaureir Oct 14, 2023
892210d
Fix fuzzy entries and last translations whatsnew/2.3 (#2657)
cmaureir Oct 14, 2023
1bcb23e
Fix fuzzy entries and last translations whatsnew/2.4 (#2656)
cmaureir Oct 14, 2023
2d69e9a
traducido archivo library/aifc.po (#2666)
JPC501 Oct 14, 2023
0948190
Remove tutorialpyar dependency (#2663)
cmaureir Oct 14, 2023
07a97c4
Bump sphinx-lint to 0.7.0 (#2664)
rtobar Oct 14, 2023
2adb878
traducido archivo library/tk.po (#2665)
JPC501 Oct 14, 2023
498a2d5
Traducido tutorial/floatingpoint.po (#2669)
cacrespo Oct 15, 2023
8907190
traducido archvio using/unix.po (#2668)
JPC501 Oct 15, 2023
5160600
traducción archivo library/string.po (#2667)
Alfareiza Oct 15, 2023
fb453db
Traducido archivo using/configure (#2670)
xooseph Oct 16, 2023
a9d11b7
Minor: Update CONTRIBUTING to reference v.3.12 (#2684)
Yenniferh Oct 16, 2023
981c7cd
traducción archivo library/uuid.po (#2682)
Alfareiza Oct 17, 2023
43318e8
fix error in macOS (#2671)
sofide Oct 17, 2023
5abcb6d
traducido library/syslog (#2688)
JPC501 Oct 17, 2023
03cd73e
traducido using/windows (#2687)
JPC501 Oct 17, 2023
0573058
Traducido archivo `howto/regex.po` (#2686)
Yenniferh Oct 17, 2023
2d3809f
translate tutorial/classes.po (#2689)
cacrespo Oct 17, 2023
2b08fc6
Fix fuzzy entries and last translations whatsnew/3.3 (#2659)
cmaureir Oct 17, 2023
6dc3bdc
Fix fuzzy entries and last translations whatsnew/3.8 (#2660)
cmaureir Oct 17, 2023
cfbd274
translate tutorial/introduction.po (#2674)
cacrespo Oct 17, 2023
4a50514
Traducido archivo library/unittest.po (#2683)
Yenniferh Oct 17, 2023
0a9a78c
Traducido archivo library/functions (#2676)
xooseph Oct 17, 2023
ebc5a34
Traducido archivo `howto/annotations.po` (#2693)
Yenniferh Oct 18, 2023
41735d0
Stale Action para 3.12 (#2696)
erickisos Oct 18, 2023
d5b8b92
traduccion library/copy (#2695)
Sublian Oct 19, 2023
b5174c5
traducido library/logging-handlers (#2697)
JPC501 Oct 20, 2023
f27ed5f
Saltos de línea correctos en stale.yaml (#2699)
rtobar Oct 20, 2023
8820e8b
traducción archivo using/cmdline.po (#2681)
Alfareiza Oct 20, 2023
c6c919e
Traducido archivo library/calendar (#2679)
xooseph Oct 20, 2023
5a48e1c
Traduccion tutorial stdlib v3.12 (#2690)
Sublian Oct 20, 2023
9d66913
traducido multiprocessing (#2700)
JPC501 Oct 21, 2023
89d3e10
Completada traduccion del archivo library/netrc (#2701)
joseignaciorc Oct 21, 2023
4502887
Traducción de library/platform (#2704)
joseignaciorc Oct 23, 2023
162decb
Traducido archivo library/struct (#2678)
xooseph Oct 23, 2023
96387b7
Marca issues/PRs como stale sólo si tiene alguien asignado (#2705)
rtobar Oct 23, 2023
76ab97e
translate tutorial/modules.po (#2707)
cacrespo Oct 23, 2023
f54fb29
translate tutorial/inputoutput.po (#2694)
cacrespo Oct 24, 2023
b0964ff
Traducido archivo `howto/logging.po` (#2713)
Yenniferh Oct 25, 2023
17c4446
Traducido archivo using/mac.po (#2712)
isacben Oct 25, 2023
0a5666d
Traducción library/internet.po (#2673)
psolenny Oct 25, 2023
29703bb
Traducción library/sched (#2711)
joseignaciorc Oct 26, 2023
e60245f
Traducción de library/wsgiref.po (#2715)
joseignaciorc Oct 28, 2023
f5b7231
traducción archivo library/concurrent.futures.po y agregado mi nombre…
Alfareiza Oct 28, 2023
7f5d59d
fix find_in_po. Make it Windows compatible (#2714)
cacrespo Oct 28, 2023
8cd7ed3
Traducción library/tkinter (#2717)
martorelli617 Oct 30, 2023
d5abc38
Don't auto-close stale issues (#2718)
rtobar Oct 30, 2023
85076ab
Traducción library/math (#2720)
martorelli617 Oct 31, 2023
c6f3745
Fix fuzzy entries and last translations whatsnew/3.11 (#2661)
cmaureir Nov 1, 2023
216decb
Fix fuzzy entries in tutorial/* files (#2728)
mmmarcos Nov 1, 2023
9351169
Fix fuzzy entries in asyncio-* files (#2727)
mmmarcos Nov 1, 2023
f95af90
Traducido archivo reference/import (#2675)
isacben Nov 1, 2023
d1048e9
Traducidolibrary/importlib.metadata.po (#2730)
gomezgleonardob Nov 3, 2023
8e11bd3
Traducción library/cgitb (#2709)
Sublian Nov 3, 2023
a6d7355
Traducción library/atexit (#2708)
Sublian Nov 3, 2023
33eca8b
Update instructions on upgrading to Python 3.12 (#2379)
mmmarcos Nov 3, 2023
2240cd0
traduccion library/sys.monitoring.po (#2710)
Alfareiza Nov 3, 2023
c86e67a
Traducción faq/design (#2722)
martorelli617 Nov 4, 2023
9ec2d57
Traducido archivo library/weakref (#2733)
aandrea Nov 6, 2023
811360b
Acelera las ejecuciones en CI (#2702)
rtobar Nov 6, 2023
7680210
Agrega comentario a PR con entradas faltantes (#2726)
rtobar Nov 6, 2023
a5a4427
Fix more fuzzy entries in library directory (#2734)
mmmarcos Nov 6, 2023
33a5e9c
Traducción library/re.po (#2723)
JPC501 Nov 7, 2023
458f1da
Traduccion library gc (#2738)
martorelli617 Nov 9, 2023
f3c0675
Traduccion de howto/argparse.po (#2729)
Alfareiza Nov 10, 2023
84dfa77
Traducido `howto/enum.po` (#2741)
Yenniferh Nov 14, 2023
a761633
Bump tj-actions/changed-files from 39 to 40 (#2743)
dependabot[bot] Nov 14, 2023
87f4069
traduccion library-runpy (#2737)
Sublian Nov 15, 2023
ff4d861
Traducido `library/faulthandler.po` (#2747)
Yenniferh Nov 18, 2023
063cbee
Traducido `library/zoneinfo.po` (#2742)
Yenniferh Nov 18, 2023
7b9360b
Traduccion de howto perf_profiling.po (#2744)
Alfareiza Nov 19, 2023
97502d7
Traducción library/zipapp.po (#2692)
rtobar Nov 19, 2023
77826f0
Traducido `library/asyncio-policy.po` (#2750)
Yenniferh Nov 20, 2023
ef81535
Traducido `library/email.utils.po` (#2748)
Yenniferh Nov 20, 2023
ca3cc74
traduccion de library-bisect (#2735)
Sublian Nov 20, 2023
ff774a0
Obtiene SHA correcto para calcular entradas faltantes (#2751)
rtobar Nov 20, 2023
963d144
Traducido archivo library/decimal (#2752)
jcaalzago Nov 25, 2023
10341cc
traduccion inicial (#2740)
JPC501 Nov 26, 2023
5734bfb
Traducido `license.po` (#2758)
mmmarcos Nov 26, 2023
7c41d0e
Traducido `bugs.po` (#2756)
mmmarcos Nov 26, 2023
74760d9
Fix fuzzy entry in `copyright.po` (#2759)
mmmarcos Nov 26, 2023
8defc7d
Traducido `library/zipimport.po` (#2760)
Yenniferh Nov 27, 2023
16697e6
Traducido `library/zlib.po` (#2749)
Yenniferh Nov 27, 2023
e3447bb
Traducido `about.po` (#2755)
mmmarcos Nov 27, 2023
8bc640a
Traducido archivo library/tkinter.tix.po (#2768)
jcaalzago Dec 5, 2023
dc99b6c
traduccion completada (#2771)
JPC501 Dec 6, 2023
c5908f4
Ejecuta apt update antes de apt install (#2776)
rtobar Dec 11, 2023
d88bff3
Set minimal workflow token permissions (#2773)
pnacht Dec 12, 2023
a605891
Bump actions/stale from 8 to 9 (#2774)
dependabot[bot] Dec 12, 2023
8eb00d7
Bump actions/setup-python from 4 to 5 (#2775)
dependabot[bot] Dec 12, 2023
23991c3
Traducido archivo library/binascii.po (#2769)
jcaalzago Dec 12, 2023
c4da8b5
Traducido library/warnings.po (#2764)
lenriquezt Dec 13, 2023
453257b
Traducido archivo library/collections.abc.po (#2767)
jcaalzago Dec 13, 2023
58364e2
script to search for and complete probable 'index entries' (#2706)
cacrespo Dec 14, 2023
ffef2fb
Notas migración (#2731)
aandrea Dec 23, 2023
aabd070
Traduccion audioop.po (#2779)
carlosm00 Dec 23, 2023
00262c7
Traducido archivo library/configparser.po (#2782)
jcaalzago Dec 31, 2023
d506715
Traducido archivo library/winreg.po (#2783)
jcaalzago Dec 31, 2023
15a5e9c
Traducido el archivo library/imaplib.po (#2785)
jcaalzago Dec 31, 2023
89c8b15
Traducido el archivo library/optparse.po (#2784)
jcaalzago Dec 31, 2023
9d48a34
Traducido archivo library/traceback.po (#2781)
jcaalzago Dec 31, 2023
1800d19
Bump tj-actions/changed-files from 40 to 41 in /.github/workflows (#2…
dependabot[bot] Jan 3, 2024
c5d3403
Corrijo error en un ejemplo de código (#2780)
mmmarcos Jan 3, 2024
010c229
Traducción tutorial/controlflow.po (#2763)
cacrespo Jan 3, 2024
1729986
Traducido archivo library/msilib.po (#2791)
carlosm00 Jan 5, 2024
dc412d3
Traducido archivo library/cgi.po (#2770)
jcaalzago Jan 5, 2024
e43a7c9
Traducido archivo reference/executionmodel (#2721)
rodpoblete Jan 5, 2024
144f539
Traducido archivo library/zipfile (#2777)
MateoCamara Jan 5, 2024
8e727ca
update distributing/index.po translate to spanish (#2685)
statick88 Jan 5, 2024
b05721c
Traducción de xml.sax.utils.po (#2739)
joseignaciorc Jan 5, 2024
7d7f77d
Traduccion textwrap (#2792)
carlosm00 Jan 5, 2024
7a16d04
Traducido whatsnew/3.12 (#2672)
cmaureir Jan 5, 2024
0ed2a24
Traducido archivo library/ast (#2703)
gomezgleonardob Jan 6, 2024
c226174
Traducido `glossary.po` (#2757)
mmmarcos Jan 6, 2024
4a1c89c
Correccion de algunas traducciones, traducido. library/socket.po (#2761)
JuanPerdomo00 Jan 6, 2024
13a6418
Traducción library-sys (#2732)
gomezgleonardob Jan 6, 2024
fc3aa91
Actualiza Sphinx a última versión, fija versión para sphinx-tabs (#2796)
rtobar Jan 17, 2024
6ade4af
Fija versión para docutils y sphinx-tabs (#2804)
cacrespo Jan 22, 2024
968ae0e
Bump tj-actions/changed-files from 41 to 42 (#2806)
dependabot[bot] Jan 22, 2024
191a697
Traduccion gzip (#2795)
carlosm00 Jan 26, 2024
389c55f
Traducido `library/mimetypes.po` (#2803)
Yenniferh Jan 26, 2024
42604de
Traducido `library/pyexpat.po` (#2802)
Yenniferh Jan 26, 2024
86e86ff
Ajuste '//' por 'división entera a la baja' (#2798)
cacrespo Jan 26, 2024
a752393
Traducido archivo reference/introduction (#2716)
JsMelix Jan 27, 2024
7f5fbd4
Añadir a la memoria de traducción "floor division" (#2808)
jcaalzago Jan 27, 2024
72ef42c
Ajuste '//' por 'división entera a la baja' (#2799)
jcaalzago Jan 27, 2024
a721a18
Ajuste '//' por 'división entera a la baja' (#2801)
jcaalzago Jan 28, 2024
4717496
Ajuste '//' por 'división entera a la baja' (#2800)
jcaalzago Jan 28, 2024
cf071e5
Traduccion chunk (#2807)
carlosm00 Jan 28, 2024
f1c07e0
Traducido archivo library/csv (#2809)
UlisesAlexanderAM Jan 30, 2024
2a61ba8
Homogeneizar division entera a la baja en glossary y howto/pyporting …
MateoCamara Feb 1, 2024
98ad6a0
Traduccion doctest (#2810)
carlosm00 Feb 2, 2024
1f41098
Traduccion library/unittest.mock-examples.po (#2816)
carlosm00 Feb 16, 2024
06e6db4
Traduccion library/urllib.request.po (#2815)
carlosm00 Feb 16, 2024
c81c447
Bump tj-actions/changed-files from 42 to 43 (#2817)
dependabot[bot] Mar 19, 2024
668269b
Bump tj-actions/changed-files from 43 to 44 (#2820)
dependabot[bot] Apr 1, 2024
411cf8a
Traduccion webbrowser (#2818)
carlosm00 Apr 3, 2024
4fcce46
Traduccion timeit (#2819)
carlosm00 Apr 3, 2024
5e95bd0
Traducido reference/datamodel (#2267)
cmaureir Apr 5, 2024
2de6209
Traducido library/asyncio-task (#2268)
cmaureir Apr 5, 2024
2b9599d
traduccion library/asyncio-runner (#2787)
Sublian Apr 6, 2024
8c558f4
Traducido archivo library/idle (#2788)
oicaroabreu Apr 6, 2024
2273520
traduccion library fcntl (#2765)
Sublian Apr 6, 2024
a2b3ae3
Update badges link to 3.12 branch in README.md (#2821)
rffontenelle Apr 21, 2024
dcc5fd4
Traducido archivo library/threading (#2811)
May 6, 2024
1c211c5
Traduccion library/urllib.parse.po (#2822)
carlosm00 May 15, 2024
774f3ff
Traduccion library/tempfile.po (#2823)
carlosm00 May 15, 2024
723a126
Traducido archivo library/stdtypes (#2828)
MelchDev Jul 24, 2024
63847d4
Traduccion library/logging (#2826)
carlosm00 Jul 24, 2024
469b470
Bump tj-actions/changed-files from 44 to 45 (#2829)
dependabot[bot] Aug 26, 2024
1bab395
Traducción library/codecs.po (#2830)
carlosm00 Sep 10, 2024
0d82516
contextmanager: Fix typo: aenter->enter (#2831)
zeehio Sep 13, 2024
91f4ccc
Bump thollander/actions-comment-pull-request from 2 to 3 (#2834)
dependabot[bot] Oct 14, 2024
e6e926c
Traducido archivo library/token (#2837)
xooseph Oct 22, 2024
e3cbf3b
Traduccion ftplib (#2839)
Alfareiza Oct 23, 2024
16ce6f7
Traducción library/statistics.po (#2838)
carlosm00 Oct 25, 2024
2e4ceff
Traduccion Update _thread.po (#2835)
RiveroDev Oct 26, 2024
841721e
traduccion de socketserver.po (#2840)
RiveroDev Oct 27, 2024
8714f4b
Traduccion de asyncio-subprocess (#2842)
RiveroDev Oct 27, 2024
bca6822
taduccion y correciones (#2843)
RiveroDev Oct 28, 2024
6f134dd
taduccion de dbm.po (#2844)
RiveroDev Oct 28, 2024
bddc34c
traduccion de tokenize.po (#2845)
RiveroDev Oct 28, 2024
c50dc6a
Traduccion de c-api/marshal.po (#2846)
RiveroDev Oct 29, 2024
a92137a
traduccion de library/asyncio.po (#2847)
RiveroDev Oct 29, 2024
0877c3a
Traduccion bytearray.po (#2851)
RiveroDev Oct 31, 2024
23da62f
traduccion de c-api/memoryview.po (#2850)
RiveroDev Oct 31, 2024
8f812f5
Traducido archivo library/errno (#2853)
xooseph Oct 31, 2024
25a5882
Traducido archivo library/unicodedata (#2854)
xooseph Oct 31, 2024
2c846fe
traduccion de palabras (#2857)
RiveroDev Oct 31, 2024
d6c7de6
traduccion del archivo (#2856)
RiveroDev Oct 31, 2024
b8c0539
Traducido archivo library/symtable (#2855)
xooseph Oct 31, 2024
ca83c82
traduccion sndhdr.po (#2859)
RiveroDev Nov 1, 2024
73ff1c5
traduccion xdrlib.po (#2860)
RiveroDev Nov 1, 2024
2ae2d45
Cumplir la traducción de contextvars.po (#2841)
kbiggers Nov 1, 2024
fc5ebcd
Traducido archivo library/http (#2858)
xooseph Nov 1, 2024
2506aa1
traduccion slice.po (#2861)
RiveroDev Nov 2, 2024
7d376a2
traduccion tkinter.ttk.po (#2862)
RiveroDev Nov 2, 2024
b65884e
traduccion telnetlib.po (#2864)
RiveroDev Nov 3, 2024
d4228f4
Traducido archivo library/argparse (#2852)
xooseph Nov 4, 2024
49689c3
Terminar con la traducción de contextlib.po (#2863)
kbiggers Nov 5, 2024
9e127b6
Traduccion library/exceptions.po (#2849)
carlosm00 Nov 6, 2024
c8fc245
traduccion cmd.po (#2865)
RiveroDev Nov 6, 2024
0b87c8d
Traducido archivo library/pathlib (#2848)
xooseph Nov 6, 2024
2e31eca
Terminar con la traducción de tuple.po (#2866)
kbiggers Nov 7, 2024
724071c
traduccion termios.po (#2867)
RiveroDev Nov 8, 2024
9c23aad
traduccion profile.po (#2869)
RiveroDev Nov 8, 2024
2685a7e
Tranducir pickle.po (#2868)
kbiggers Nov 8, 2024
dc457f4
Traducido archivo c-api/float.po (#2833)
julio-reyes11 Nov 8, 2024
de16a1a
traduccion linecache.po (#2870)
RiveroDev Nov 9, 2024
88c4f4c
Pequeñas mejoras al proceso de construcción (#2874)
rtobar Nov 15, 2024
875e5df
Remove include:: replacements hack (#2875)
rtobar Nov 18, 2024
a65f03e
Arregla y wrapea library/re.po (#2873)
rtobar Nov 18, 2024
b057b69
Fix (many) more fuzzy entries in the library directory (#2736)
mmmarcos Nov 18, 2024
8d4cbf4
Translated a couple phrases for fractions.po (#2824)
abgutierrez24 Nov 18, 2024
067424e
Traducido archivo library/smtplib.po (#2753)
dporta97 Nov 18, 2024
44c4d4d
Traducido reference/expressions (#2283)
cmaureir Nov 18, 2024
b689484
Traducción archivo referencecompound_stmts (#2778)
dporta97 Nov 19, 2024
05975a4
Traducir datetime.po (#2871)
kbiggers Nov 20, 2024
30a3564
Fix create issue script (#2876)
sofide Nov 21, 2024
4ccb195
Traduccion types (#2794)
JuanPerdomo00 Nov 21, 2024
faeebfb
traducción library/typing.po (#2872)
Alfareiza Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
77 changes: 58 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,48 +6,87 @@ on:
- 3.*
pull_request:

permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
# Obtención del código
- uses: actions/checkout@v4
with:
submodules: 'true'
# Necesario para que tj-actions/changed-files se ejecute
# dentro de un tiempo adecuado
fetch-depth: 2

# Instalación de dependencias
- name: Preparar Python v3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Sincronizar con CPython
run: |
git submodule update --init --depth=1 cpython
- name: Instalar dependencias
- name: Configura dpkg/apt para ejecutarse de manera eficiente
uses: abbbi/github-actions-tune@v1
- name: Deshabilita triggers de postgresql-common
run: sudo sed -i '/postgresql-common/d' /var/lib/dpkg/triggers/File
- name: Instalar dependencias de sistema
run: |
sudo apt-get update
sudo apt-get install -y hunspell hunspell-es gettext language-pack-es
sudo apt-get install -y hunspell hunspell-es gettext language-pack-es locales-all
- name: Instalar dependencias de Python
run: |
python -m pip install -r requirements.txt
- name: Listar paquetes y versiones
run: |
pip list
pospell --version
powrap --version

# Cálculo de los archivos .po a verificar.
# En el caso de un PR, sólo se chequean los .po que se están editando,
# mientras que en caseo de un push a las ramas 3.* queremos revisar
# todos los archivos
- name: Obtiene la lista de archivos .po con cambios (sólo en PRs)
if: github.event_name == 'pull_request'
id: changed-po-files
uses: tj-actions/changed-files@v45
with:
files: |
**/*.po
- name: Calcula lista de archivos .po a revisar
id: po-files-to-check
env:
PO_FILES_TO_CHECK: ${{ steps.changed-po-files.conclusion == 'skipped' && '**/*.po' || steps.changed-po-files.outputs.all_changed_files }}
run: |
echo "po_files_to_check=$PO_FILES_TO_CHECK" >> $GITHUB_OUTPUT
echo "any_po_files_to_check=`test -n \"$PO_FILES_TO_CHECK\" && echo true || echo false`" >> $GITHUB_OUTPUT
- name: Muestra outputs de steps anteriores para debugueo
env:
CHANGED_PO_FILES: ${{ toJson(steps.changed-po-files) }}
PO_FILES_TO_CHECK: ${{ toJson(steps.po-files-to-check) }}
run: |
echo "steps.changed-po-files=$PO_FILES_TO_CHECK"
echo "steps.po-files-to-change.$CHANGED_PO_FILES"

# Chequeos a realizar
- name: TRANSLATORS
run: |
diff -Naur TRANSLATORS <(LANG=es python scripts/sort.py < TRANSLATORS)
- name: Powrap
run: powrap --check --quiet **/*.po
if: steps.po-files-to-check.outputs.any_po_files_to_check == 'true'
run: powrap --diff --check --quiet ${{ steps.po-files-to-check.outputs.po_files_to_check }}
- name: Sphinx lint
run: |
sphinx-lint */*.po
if: steps.po-files-to-check.outputs.any_po_files_to_check == 'true'
run: sphinx-lint ${{ steps.po-files-to-check.outputs.po_files_to_check }}
- name: Pospell
run: |
python scripts/check_spell.py
if: steps.po-files-to-check.outputs.any_po_files_to_check == 'true'
run: python scripts/check_spell.py ${{ steps.po-files-to-check.outputs.po_files_to_check }}

# Construcción de la documentación
- name: Construir documentación
run: |
# FIXME: Relative paths for includes in 'cpython'
sed -i -e 's|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/**/*.rst
sed -i -e 's|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
sed -i -e 's|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
sed -i -e 's|.. include:: token-list.inc|.. include:: ../../../token-list.inc|g' cpython/Doc/**/*.rst
sed -i -e 's|.. include:: ../../using/venv-create.inc|.. include:: ../using/venv-create.inc|g' cpython/Doc/**/*.rst
sed -i -e 's|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/**/*.rst
sed -i -e 's|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/**/*.rst
# Normal build
PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
68 changes: 68 additions & 0 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Agrega comentario a PR

on:
pull_request_target:

permissions:
contents: read

jobs:
define-comment:
name: Entradas sin traducción
runs-on: ubuntu-22.04
outputs:
any_changed: ${{ steps.changed-files.outputs.any_changed }}
comment: ${{ steps.create-pr-comment.outputs.comment }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Preparar Python v3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
# checkout these files from the base branch to guarantee they haven't been
# modified by the PR
- uses: actions/checkout@v4
with:
path: base-branch
sparse-checkout-cone-mode: false
sparse-checkout: |
requirements.txt
scripts/list_missing_entries.py
- name: Instalar dependencias
run: |
python -m pip install -r base-branch/requirements.txt
- name: Obtiene lista de archivos con cambios
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: |
**/*.po
- name: Calcular entradas faltantes
if: steps.changed-files.outputs.any_changed == 'true'
id: create-pr-comment
env:
CHANGED_PO_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
{
echo 'comment<<EOF'
python base-branch/scripts/list_missing_entries.py --github $CHANGED_PO_FILES
echo EOF
} >> "$GITHUB_OUTPUT"

write-comment:
runs-on: ubuntu-22.04
needs: [define-comment]
if: needs.define-comment.outputs.any_changed == 'true'
permissions:
issues: write
pull-requests: write
steps:
- name: Agregar comentario con entradas faltantes
uses: thollander/actions-comment-pull-request@v3
with:
message: ${{ needs.define-comment.outputs.comment }}
comment-tag: missing-entries
27 changes: 27 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Cierra issues y PRs antiguos'
on:
schedule:
- cron: '30 1 * * *'

permissions:
contents: read

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
stale-pr-label: 'needs decision'
stale-issue-label: 'stale'
days-before-issue-stale: 10
# don't close issues, lest we miss translations
days-before-issue-close: -1
days-before-pr-stale: 7
days-before-pr-close: 21
stale-issue-message: "Este issue lleva un tiempo sin actualizaciones. ¿Estás trabajando todavía?\nSi necesitas ayuda :sos: no dudes en contactarnos en nuestro [grupo de Telegram](https://t.me/python_docs_es)."
stale-pr-message: "Este PR lleva un tiempo sin actualizaciones. Vamos a pedir a un admin de nuestro equipo que decida si alguien más puede finalizarlo o si tenemos que cerrarlo.\nPor favor, avisanos en caso de que aún puedas terminarlo."
include-only-assigned: true
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@
url = https://github.com/python/cpython.git
branch = 3.9
shallow = true
[submodule "tutorialpyar"]
path = .migration/tutorialpyar
url = https://github.com/pyar/tutorial.git
1 change: 0 additions & 1 deletion .migration/tutorialpyar
Submodule tutorialpyar deleted from e2b122
4 changes: 2 additions & 2 deletions .overrides/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ Paso 2: ¡Comienza a traducir!

#. Tener un :ref:`archivo asignado para traducir <que-archivo-traducir>`.

#. Verifica que estás en la rama principal del repositorio, **3.11** (esto es muy
#. Verifica que estás en la rama principal del repositorio, **3.12** (esto es muy
importante para evitar crear una nueva rama a partir de una traducción
anterior)::

git checkout 3.11
git checkout 3.12

#. Crea una rama nueva en base al artículo en el que vayas a trabajar. Por
ejemplo, si vas a trabajar en el archivo ``library/ast.po``, usa un nombre
Expand Down
6 changes: 3 additions & 3 deletions .overrides/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ repositorio principal de la traducción). Se hace de la siguiente manera::

Luego nos vamos a nuestra rama local, confirmamos e impactamos esos cambios::

git checkout 3.11
git merge upstream/3.11
git push origin 3.11
git checkout 3.12
git merge upstream/3.12
git push origin 3.12

¡Eso es todo!

Expand Down
2 changes: 1 addition & 1 deletion .overrides/progress.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ y otras estadísticas.

.. note::

Estas listas se actualiza automáticamente cuando Pull Requests se *mergean* a la rama ``3.11``.
Estas listas se actualiza automáticamente cuando Pull Requests se *mergean* a la rama ``3.12``.


En progreso
Expand Down
7 changes: 7 additions & 0 deletions .overrides/translation-memory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ Dividimos esta sección en dos partes, los términos que se traducen y los que m
docstring
docstring. ``library/idle.po``

floor division
división entera a la baja
En este `issue`_ más información al respecto.

key
clave

Expand Down Expand Up @@ -318,3 +322,6 @@ Estas son las reglas de estilo que hemos convenido hasta el momento:
extranjerismos.

Referencia: https://www.fundeu.es/recomendacion/locuciones-latinas-latinismos-errores-frecuentes-621/


.. _issue: https://github.com/python/python-docs-es/issues/2754
56 changes: 30 additions & 26 deletions .overrides/upgrade-python-version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,32 @@
How to update to a new Python version
=====================================

We are currently in branch 3.10, and we want to update the strings from 3.11.
We are currently in branch 3.11, and we want to update the strings from 3.12.

#. Make sure you are in a clean state of the branch 3.11

#. Make sure you are in a clean state of the branch 3.10

#. Create a new branch called ``3.11``
#. Create a new branch called ``3.12``

#. Initialize the submodules::

git submodule init
git submodule update

#. Fetch the `latest commit of 3.11 branch <https://github.com/python/cpython/commit/b3cafb60afeb2300002af9982d43703435b8302d>`_::
#. Fetch the `latest commit of 3.12 branch <https://github.com/python/cpython/commit/0fb18b02c8ad56299d6a2910be0bab8ad601ef24>`_::

cd cpython/
git fetch --depth 1 origin b3cafb60afeb2300002af9982d43703435b8302d
git fetch --depth 1 origin 0fb18b02c8ad56299d6a2910be0bab8ad601ef24

.. note:: you could also base the hash on the 'git tag' from the desired
version: ``git checkout tags/v3.11.0 -b 3.11`` considering that
``3.11`` doesn't exist locally.
version: ``git checkout tags/v3.12.0 -b 3.12`` considering that
``3.12`` doesn't exist locally.

#. Checkout that commit locally::

git checkout b3cafb60afeb2300002af9982d43703435b8302d
git checkout 0fb18b02c8ad56299d6a2910be0bab8ad601ef24

#. Update the branch on the ``Makefile`` and check the ``requirements.txt`` from
the cpython repository, to see if upgrades on the modules like sphinx is
``./cpython/Doc`` directory, to see if upgrades on the modules like sphinx is
needed.

#. Commit the update of the submodule change::
Expand All @@ -40,10 +39,16 @@ We are currently in branch 3.10, and we want to update the strings from 3.11.
.. note:: This is important, so the later ``make build`` step will not reset
the cpython submodule to the previous hash on the old branch.

#. Create a virtual environment and install the dependencies of the project::

python -m venv env
source env/bin/activate # Windows: env\Scripts\activate.bat
pip install -r requirements.txt

#. Verify that the docs build with the new versions you changed from
``requirements.txt`` mainly the sphinx version::

make html
make build

.. note::

Expand All @@ -54,28 +59,21 @@ We are currently in branch 3.10, and we want to update the strings from 3.11.

#. Clean possible garbage (form previous builds)::

rm -rf _build ../python-docs-es-pot cpython/Doc/CONTRIBUTING.rst cpython/Doc/upgrade-python-version.rst
rm -rf _build ../python-docs-es-pot cpython/Doc/CONTRIBUTING.rst cpython/Doc/upgrade-python-version.rst reviewers-guide.rst

.. note::

The 'python-docs-es-pot' is a temporary directory that is created
in the next step. It's included here because it might be a leftover
from previous attempts on your machine.

#. Create a virtual environment and install the dependencies of the project::

python -m venv env
source env/bin/activate # Windows: env\Scripts\activate.bat
pip install -r requirements.txt


#. Create the .po files from the new source code. This will generate all the .po files for version 3.11::

SPHINX_GETTEXT=True sphinx-build -j auto -b gettext -d _build/doctrees . ../python-docs-es-pot

.. note::

In ``../python-docs-es-pot`` directory, we will have the new .pot files with new strings from 3.11 branch.
In ``../python-docs-es-pot`` directory, we will have the new .pot files with new strings from 3.12 branch.
All these strings will be *untranslated* at this point.

#. Now, we update our translated files form the source language (English) with new strings::
Expand All @@ -85,8 +83,8 @@ We are currently in branch 3.10, and we want to update the strings from 3.11.
#. At this point, all the ``.po`` files will have a different comment on each translation phrase,
for example::

-#: ../python-docs-es/cpython/Doc/whatsnew/3.11.rst:3
+#: ../Doc/whatsnew/3.11.rst:3
-#: ../python-docs-es/cpython/Doc/whatsnew/3.12.rst:3
+#: ../Doc/whatsnew/3.12.rst:3

As you can see, it added the path of the local repository, but you can
remove it from it with this regular expression::
Expand Down Expand Up @@ -115,10 +113,16 @@ We are currently in branch 3.10, and we want to update the strings from 3.11.
of the new branch is done. So prepare a cup of any hot beverage
and fix them.

**Once the process is completely and you are happy with the results,
there are a few extra steps to finish the process**

Once the process is completely and you are happy with the results,
there are a few extra steps to finish the process::
#. Upgrade GitHub Actions to use Python 3.12, by updating Python version to 3.12 in the ``.github/workflows/main.yml`` file.

#. Upgrade GitHub Actions to use Python 3.11
#. Update the *Read the Docs* project to use 3.12 in the build and also as default branch/version.

#. Commit all the newly created files locally.

#. Create branch 3.12 in the repository in order to merge changes there.

#. Inside the github project settings, set 3.12 branch as the default branch for the repository.

#. Update Read the Docs project to use 3.11 in the build and also as default branch/version
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/JulienPalard/powrap
rev: v0.4.0
- repo: https://git.afpy.org/AFPy/powrap
rev: v1.0.2
hooks:
- id: powrap
- repo: local
Expand Down
Loading