Skip to content

Commit 7038128

Browse files
authored
Merge branch '3.7' into claudia_dev_py37
2 parents 54cf6b3 + fcc30db commit 7038128

File tree

480 files changed

+3567
-3293
lines changed

Some content is hidden

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

480 files changed

+3567
-3293
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/humitos/powrap
3+
rev: pre-commit
4+
hooks:
5+
- id: powrap
6+
7+
# This one requires package ``hunspell-es_es`` in Archlinux
8+
- repo: https://github.com/humitos/pospell
9+
rev: pre-commit
10+
hooks:
11+
- id: pospell
12+
args: ['--personal-dict', 'dict', '--modified', '--language', 'es_ES']

CONTRIBUTING.rst

Lines changed: 81 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,96 @@
1-
Guía para contribuir en la documentación utilizando Github
2-
===========================================================
1+
Guía para contribuir en la traducción
2+
=====================================
33

4-
Crea un fork y clona el repositorio
5-
-----------------------------------
4+
¡Muchas gracias por tu interés en participar de la traducción de la documentación oficial de Python al Español!
5+
Necesitamos *mucho* de tu ayuda para poder seguir adelante con este proyecto.
66

7-
https://help.github.com/en/github/getting-started-with-github/fork-a-repo
7+
Actualmente se puede colaborar utilizando una de las dos siguientes formas que:
88

9-
Luego de tener un fork clonalo en tu maquina
9+
#. Utilizando el repositorio de GitHub y el editor poedit_
10+
#. Realizando traducciones directamente en Transifex
1011

11-
.. code-block:: bash
1212

13-
# Git clone your github fork using ssh (replace raulcd):
14-
# Clona el repositorio en tu maquina ejecutando
15-
git@github.com:<TU_USUARIO>/python-docs-es.git
13+
.. note::
14+
15+
Si tienes cualquier duda, puedes enviarnos un email a docs-es@python.org.
16+
17+
18+
Desde GitHub
19+
------------
20+
21+
#. Crea un fork del repositorio.
22+
23+
.. note::
24+
25+
Puedes consular la `ayuda oficial de GitHub`_, si lo deseas.
26+
27+
.. _ayuda oficial de GitHub: https://help.github.com/es/github/getting-started-with-github/fork-a-repo
28+
29+
#. Clona el repositorio::
30+
31+
git clone git@github.com:<TU-USUARIO>/python-docs-es.git
32+
33+
#. Ingresa en la carpeta que `git clone` creó en tu computadora::
1634

17-
# Ingresá al nuevo directorio con el repo
1835
cd python-docs-es/
1936

20-
# Agregá el repositorio original como upstream.
21-
git remote add upstream https://github.com/raulcd/python-docs-es.git
37+
#. Agrega el repositorio original como "upstream"::
2238

39+
git remote add upstream https://github.com/pycampes/python-docs-es.git
2340

24-
Crear un build local
25-
--------------------
41+
#. Mira que archivo necesita ser traducido. El siguiente comando te mostrará una lista de archivos y los porcentajes traducidos.
42+
Elige uno que no esté completo::
43+
44+
make progress
45+
46+
#. Una vez que hayas elegido el archivo, lo puedes abrir con el editor poedit_ y empezar a traducir.
47+
48+
#. Cuando hayas terminado tu sesión, debes guardar tus cambios y enviarlos a GitHub de nuevo::
49+
50+
git commit -am 'Traducido archivo {nombre de archivo}'
51+
git push origin update-translation
52+
53+
#. Luego ve a tu página de GitHub y propone hacer un Pull Request
2654

27-
Hay un script para automatizar estos pasos el mismo va a:
55+
.. note::
2856

29-
- Crear un virtualenv dentro del directorio del repositorio e instalar en el mismo las librearias necesarias
30-
- Clonar el repositorio oficial de cpython para construir ("biuldear") la documentación.
57+
Puedes consultar la `ayuda oficial de GitHub para crear un Pull Request`_ si lo deseas.
3158

32-
.. code-block:: bash
59+
.. _ayuda oficial de GitHub para crear un Pull Request: https://help.github.com/es/github/collaborating-with-issues-and-pull-requests/about-pull-requests
3360

34-
make build
3561

36-
# luego para poder ver la documentación ejecuta el siguiente comando y podes luego ir a http://localhost:8000 para ver la documentación
37-
# recién construida.
38-
make serve
62+
.. _poedit: https://poedit.net/
63+
64+
65+
66+
Previsualizar los cambios
67+
~~~~~~~~~~~~~~~~~~~~~~~~~
68+
69+
Hay dos formas de visualizar, junto con el resultado final de la documentación, los cambios que has hecho.
70+
71+
Read the Docs
72+
`````````````
73+
74+
Una vez que hayas hecho un Pull Request en GitHub, este mostrará al final de página una sección de "check".
75+
Ahí, debería haber uno que diga `docs/readthedocs.org:python-docs-es`, y al lado un link de "Details".
76+
Haciendo click en ese link, deberías poder ver una versión de la documentación con tus cambios.
77+
78+
Construcción local
79+
``````````````````
80+
81+
Desde el mismo directorio `python-docs-es/` que se creó cuando hiciste `git clone`, puedes ejecutar::
82+
83+
make build
84+
85+
Este comando demorará unos minutos y generará toda la documentación en formato HTML en tu computadora.
86+
Puedes ver el con tu navegador de internet (Firefox, Chrome, etc) ejecutando::
87+
88+
make serve
89+
90+
Y luego accediendo a http://localhost:8000/
91+
92+
93+
Utilizando Transifex
94+
--------------------
95+
96+
ToDo.

about.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
msgid ""
78
msgstr ""
@@ -14,8 +15,8 @@ msgstr ""
1415
"Content-Transfer-Encoding: 8bit\n"
1516
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1617
"Last-Translator: \n"
17-
"Language-Team: \n"
18-
"Language: es_MX\n"
18+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
19+
"Language: es\n"
1920
"X-Generator: Poedit 2.2.4\n"
2021

2122
#: ../Doc/about.rst:3

bugs.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
msgid ""
78
msgstr ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Content-Transfer-Encoding: 8bit\n"
1516
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1617
"Last-Translator: \n"
17-
"Language-Team: \n"
18+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1819
"Language: es\n"
1920
"X-Generator: Poedit 2.3\n"
2021

c-api/abstract.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/allocation.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/apiabiversion.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/arg.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/bool.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/buffer.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/bytearray.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/bytes.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/capsule.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

c-api/cell.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
1+
# Copyright (C) 2001-2020, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3+
# Maintained by the python-doc-es workteam.
4+
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5+
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
56
#
67
#, fuzzy
78
msgid ""
@@ -11,7 +12,7 @@ msgstr ""
1112
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
1213
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1314
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"

0 commit comments

Comments
 (0)