Skip to content

Commit f9ea106

Browse files
Merge branch '3.7' into tutorial_clases
2 parents eb56019 + 2cfd151 commit f9ea106

File tree

484 files changed

+3372
-2723
lines changed

Some content is hidden

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

484 files changed

+3372
-2723
lines changed

.overrides/CONTRIBUTING.rst

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
Guía para contribuir en la traducción
2+
=====================================
3+
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.
6+
7+
Actualmente se puede colaborar utilizando una de las dos siguientes formas que:
8+
9+
#. Utilizando el repositorio de GitHub y el editor poedit_
10+
#. Realizando traducciones directamente en Transifex
11+
12+
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+
.. _repositorio: https://github.com/PyCampES/python-docs-es
24+
25+
.. note::
26+
27+
Puedes consular la `ayuda oficial de GitHub`_, si lo deseas.
28+
29+
.. _ayuda oficial de GitHub: https://help.github.com/es/github/getting-started-with-github/fork-a-repo
30+
31+
#. Clona el repositorio::
32+
33+
git clone git@github.com:<TU-USUARIO>/python-docs-es.git
34+
35+
#. Ingresa en la carpeta que `git clone` creó en tu computadora::
36+
37+
cd python-docs-es/
38+
39+
#. Agrega el repositorio original como "upstream"::
40+
41+
git remote add upstream https://github.com/pycampes/python-docs-es.git
42+
43+
#. Crea una branch nueva en base al artículo en el que vayas a trabajar.
44+
45+
git checkout -b traduccion_glosario
46+
47+
#. Mira que archivo necesita ser traducido. El siguiente comando te mostrará una lista de archivos y los porcentajes traducidos.
48+
Elige uno que no esté completo::
49+
50+
make progress
51+
52+
#. Una vez que hayas elegido el archivo, lo puedes abrir con el editor poedit_ y empezar a traducir.
53+
54+
#. Cuando hayas terminado tu sesión, debes guardar tus cambios y enviarlos a GitHub de nuevo::
55+
56+
git commit -am 'Traducido archivo {nombre de archivo}'
57+
git push origin traduccion_glosario
58+
59+
#. Luego ve a tu página de GitHub y propone hacer un Pull Request
60+
61+
.. note::
62+
63+
Puedes consultar la `ayuda oficial de GitHub para crear un Pull Request`_ si lo deseas.
64+
65+
.. _ayuda oficial de GitHub para crear un Pull Request: https://help.github.com/es/github/collaborating-with-issues-and-pull-requests/about-pull-requests
66+
67+
68+
.. _poedit: https://poedit.net/
69+
70+
71+
72+
Previsualizar los cambios
73+
~~~~~~~~~~~~~~~~~~~~~~~~~
74+
75+
Hay dos formas de visualizar, junto con el resultado final de la documentación, los cambios que has hecho.
76+
77+
Read the Docs
78+
`````````````
79+
80+
Una vez que hayas hecho un Pull Request en GitHub, este mostrará al final de página una sección de "check".
81+
Ahí, debería haber uno que diga `docs/readthedocs.org:python-docs-es`, y al lado un link de "Details".
82+
Haciendo click en ese link, deberías poder ver una versión de la documentación con tus cambios.
83+
84+
Construcción local
85+
``````````````````
86+
87+
Desde el mismo directorio `python-docs-es/` que se creó cuando hiciste `git clone`, puedes ejecutar::
88+
89+
make build
90+
91+
Este comando demorará unos minutos y generará toda la documentación en formato HTML en tu computadora.
92+
Puedes ver el con tu navegador de internet (Firefox, Chrome, etc) ejecutando::
93+
94+
make serve
95+
96+
Y luego accediendo a http://localhost:8000/
97+
98+
99+
Utilizando Transifex
100+
--------------------
101+
102+
ToDo.

.overrides/README.rst

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Overrides
2+
=========
3+
4+
This directory is recursively copied into `cpython/Doc`.
5+
It needs to have the same structure than `cpython/Doc`.
6+
7+
It allows us
8+
9+
- to have our own `CONTRIBUTING.rst` guide
10+
- change the index sidebar with links that are interesting for translators
11+
- etc
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{%- if show_source and has_source and sourcename %}
2+
<div role="note" aria-label="source link">
3+
<h3>{{ _('This Page') }}</h3>
4+
<ul class="this-page-menu">
5+
<li><a href="{{ pathto('bugs') }}">{% trans %}Report a Bug{% endtrans %}</a></li>
6+
<li>
7+
<a href="https://github.com/PyCampES/python-docs-es/blob/{{ version }}/{{ sourcename|replace('.rst.txt', '.po') }}"
8+
rel="nofollow">{{ _('Show Source') }}
9+
</a>
10+
</li>
11+
</ul>
12+
</div>
13+
{%- endif %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<h3>¡Ayúdanos a traducir!</h3>
2+
<ul>
3+
<li><a href="CONTRIBUTING.html">Guía para contribuir</a></li>
4+
</ul>
5+
6+
<h3>Recursos</h3>
7+
<ul>
8+
<li><a href="https://mail.python.org/mailman3/lists/docs-es.python.org/">Lista de correos</a></li>
9+
<li><a href="https://t.me/python_docs_es">Canal de Télegram</a></li>
10+
<li><a href="https://github.com/PyCampES/python-docs-es">Repositorio GitHub</a></li>
11+
</ul>

.pre-commit-config.yaml

+12
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

-38
This file was deleted.

about.po

+6-5
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

+5-4
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

+5-4
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

+5-4
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

+5-4
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

+5-4
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

+5-4
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

+5-4
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

+5-4
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)