|
1 | 1 | {% extends "layout.html" %} |
2 | | -{% set title = 'Download' %} |
| 2 | +{% set title = _('Download') %} |
3 | 3 | {% if daily is defined %} |
4 | 4 | {% set dlbase = pathto('archives', 1) %} |
5 | 5 | {% else %} |
|
11 | 11 | {% endif %} |
12 | 12 |
|
13 | 13 | {% block body %} |
14 | | -<h1>Download Python {{ release }} Documentation</h1> |
| 14 | +<h1>{% trans %}Download Python {{ release }} Documentation{% endtrans %}</h1> |
15 | 15 |
|
16 | | -{% if last_updated %}<p><b>Last updated on: {{ last_updated }}.</b></p>{% endif %} |
| 16 | +{% if last_updated %}<p><b>{% trans %}Last updated on: {{ last_updated }}.{% endtrans %}</b></p>{% endif %} |
17 | 17 |
|
18 | | -<p>To download an archive containing all the documents for this version of |
19 | | -Python in one of various formats, follow one of links in this table.</p> |
| 18 | +<p>{% trans %}To download an archive containing all the documents for this version of |
| 19 | +Python in one of various formats, follow one of links in this table.{% endtrans %}</p> |
20 | 20 |
|
21 | 21 | <table class="docutils"> |
22 | | - <tr><th>Format</th><th>Packed as .zip</th><th>Packed as .tar.bz2</th></tr> |
23 | | - <tr><td>PDF (US-Letter paper size)</td> |
24 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. 17 MiB)</td> |
25 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. 17 MiB)</td> |
| 22 | + <tr> |
| 23 | + <th>{% trans %}Format{% endtrans %}</th> |
| 24 | + <th>{% trans %}Packed as .zip{% endtrans %}</th> |
| 25 | + <th>{% trans %}Packed as .tar.bz2{% endtrans %}</th> |
26 | 26 | </tr> |
27 | | - <tr><td>PDF (A4 paper size)</td> |
28 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. 17 MiB)</td> |
29 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. 17 MiB)</td> |
| 27 | + <tr> |
| 28 | + <td>{% trans %}PDF (US-Letter paper size){% endtrans %}</td> |
| 29 | + <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
| 30 | + <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-letter.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
30 | 31 | </tr> |
31 | | - <tr><td>HTML</td> |
32 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> (ca. 13 MiB)</td> |
33 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-html.tar.bz2">Download</a> (ca. 8 MiB)</td> |
| 32 | + <tr> |
| 33 | + <td>{% trans %}PDF (A4 paper size){% endtrans %}</td> |
| 34 | + <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
| 35 | + <td>{% trans download_size="17" %}<a href="{{ dlbase }}/python-{{ release }}-docs-pdf-a4.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
34 | 36 | </tr> |
35 | | - <tr><td>Plain text</td> |
36 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> (ca. 4 MiB)</td> |
37 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-text.tar.bz2">Download</a> (ca. 3 MiB)</td> |
| 37 | + <tr> |
| 38 | + <td>{% trans %}HTML{% endtrans %}</td> |
| 39 | + <td>{% trans download_size="13" %}<a href="{{ dlbase }}/python-{{ release }}-docs-html.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
| 40 | + <td>{% trans download_size="8" %}<a href="{{ dlbase }}/python-{{ release }}-docs-html.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
38 | 41 | </tr> |
39 | | - <tr><td>Texinfo</td> |
40 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-texinfo.zip">Download</a> (ca. 9 MiB)</td> |
41 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs-texinfo.tar.bz2">Download</a> (ca. 7 MiB)</td> |
| 42 | + <tr> |
| 43 | + <td>{% trans %}Plain text{% endtrans %}</td> |
| 44 | + <td>{% trans download_size="4" %}<a href="{{ dlbase }}/python-{{ release }}-docs-text.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
| 45 | + <td>{% trans download_size="3" %}<a href="{{ dlbase }}/python-{{ release }}-docs-text.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
| 46 | + </tr> |
| 47 | + <tr> |
| 48 | + <td>{% trans %}Texinfo{% endtrans %}</td> |
| 49 | + <td>{% trans download_size="9" %}<a href="{{ dlbase }}/python-{{ release }}-docs-texinfo.zip">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
| 50 | + <td>{% trans download_size="7" %}<a href="{{ dlbase }}/python-{{ release }}-docs-texinfo.tar.bz2">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
42 | 51 | </tr> |
43 | | - <tr><td>EPUB</td> |
44 | | - <td><a href="{{ dlbase }}/python-{{ release }}-docs.epub">Download</a> (ca. 6 MiB)</td> |
| 52 | + <tr> |
| 53 | + <td>{% trans %}EPUB{% endtrans %}</td> |
| 54 | + <td>{% trans download_size="6" %}<a href="{{ dlbase }}/python-{{ release }}-docs.epub">Download</a> (ca. {{ download_size }} MiB){% endtrans %}</td> |
45 | 55 | <td></td> |
46 | 56 | </tr> |
47 | 57 | </table> |
48 | 58 |
|
49 | | -<p>These archives contain all the content in the documentation.</p> |
| 59 | +<p>{% trans %}These archives contain all the content in the documentation.{% endtrans %}</p> |
50 | 60 |
|
51 | 61 |
|
52 | | -<h2>Unpacking</h2> |
| 62 | +<h2>{% trans %}Unpacking{% endtrans %}</h2> |
53 | 63 |
|
54 | | -<p>Unix users should download the .tar.bz2 archives; these are bzipped tar |
| 64 | +<p>{% trans %}Unix users should download the .tar.bz2 archives; these are bzipped tar |
55 | 65 | archives and can be handled in the usual way using tar and the bzip2 |
56 | 66 | program. The <a href="https://infozip.sourceforge.net">Info-ZIP</a> unzip program can be |
57 | 67 | used to handle the ZIP archives if desired. The .tar.bz2 archives provide the |
58 | | -best compression and fastest download times.</p> |
| 68 | +best compression and fastest download times.{% endtrans %}</p> |
59 | 69 |
|
60 | | -<p>Windows users can use the ZIP archives since those are customary on that |
61 | | -platform. These are created on Unix using the Info-ZIP zip program.</p> |
| 70 | +<p>{% trans %}Windows users can use the ZIP archives since those are customary on that |
| 71 | +platform. These are created on Unix using the Info-ZIP zip program.{% endtrans %}</p> |
62 | 72 |
|
63 | 73 |
|
64 | | -<h2>Problems</h2> |
| 74 | +<h2>{% trans %}Problems{% endtrans %}</h2> |
65 | 75 |
|
66 | | -<p>If you have comments or suggestions for the Python documentation, please send |
67 | | -email to <a href=" mailto:[email protected]" >[email protected]</a>. </p> |
| 76 | +<p>{% trans %}If you have comments or suggestions for the Python documentation, please send |
| 77 | +email to <a href=" mailto:[email protected]" >[email protected]</a>. {% endtrans %}</p> |
68 | 78 | {% endblock %} |
0 commit comments