diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index c3114e584fa942..9f99eea6f3c773 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -1,5 +1,5 @@ {% extends "layout.html" %} -{% set title = 'Download' %} +{% set title = _('Download') %} {% if daily is defined %} {% set dlbase = pathto('archives', 1) %} {% else %} @@ -11,58 +11,68 @@ {% endif %} {% block body %} -
Last updated on: {{ last_updated }}.
{% endif %} +{% if last_updated %}{% trans %}Last updated on: {{ last_updated }}.{% endtrans %}
{% endif %} -To download an archive containing all the documents for this version of -Python in one of various formats, follow one of links in this table.
+{% trans %}To download an archive containing all the documents for this version of +Python in one of various formats, follow one of links in this table.{% endtrans %}
Format | Packed as .zip | Packed as .tar.bz2 |
---|---|---|
PDF (US-Letter paper size) | -Download (ca. 17 MiB) | -Download (ca. 17 MiB) | +
{% trans %}Format{% endtrans %} | +{% trans %}Packed as .zip{% endtrans %} | +{% trans %}Packed as .tar.bz2{% endtrans %} |
PDF (A4 paper size) | -Download (ca. 17 MiB) | -Download (ca. 17 MiB) | +
{% trans %}PDF (US-Letter paper size){% endtrans %} | +{% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} | +{% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} |
HTML | -Download (ca. 13 MiB) | -Download (ca. 8 MiB) | +
{% trans %}PDF (A4 paper size){% endtrans %} | +{% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} | +{% trans download_size="17" %}Download (ca. {{ download_size }} MiB){% endtrans %} |
Plain text | -Download (ca. 4 MiB) | -Download (ca. 3 MiB) | +
{% trans %}HTML{% endtrans %} | +{% trans download_size="13" %}Download (ca. {{ download_size }} MiB){% endtrans %} | +{% trans download_size="8" %}Download (ca. {{ download_size }} MiB){% endtrans %} |
Texinfo | -Download (ca. 9 MiB) | -Download (ca. 7 MiB) | +
{% trans %}Plain text{% endtrans %} | +{% trans download_size="4" %}Download (ca. {{ download_size }} MiB){% endtrans %} | +{% trans download_size="3" %}Download (ca. {{ download_size }} MiB){% endtrans %} | +
{% trans %}Texinfo{% endtrans %} | +{% trans download_size="9" %}Download (ca. {{ download_size }} MiB){% endtrans %} | +{% trans download_size="7" %}Download (ca. {{ download_size }} MiB){% endtrans %} |
EPUB | -Download (ca. 6 MiB) | +|
{% trans %}EPUB{% endtrans %} | +{% trans download_size="6" %}Download (ca. {{ download_size }} MiB){% endtrans %} |
These archives contain all the content in the documentation.
+{% trans %}These archives contain all the content in the documentation.{% endtrans %}
-Unix users should download the .tar.bz2 archives; these are bzipped tar +
{% trans %}Unix users should download the .tar.bz2 archives; these are bzipped tar archives and can be handled in the usual way using tar and the bzip2 program. The Info-ZIP unzip program can be used to handle the ZIP archives if desired. The .tar.bz2 archives provide the -best compression and fastest download times.
+best compression and fastest download times.{% endtrans %} -Windows users can use the ZIP archives since those are customary on that -platform. These are created on Unix using the Info-ZIP zip program.
+{% trans %}Windows users can use the ZIP archives since those are customary on that +platform. These are created on Unix using the Info-ZIP zip program.{% endtrans %}
-If you have comments or suggestions for the Python documentation, please send -email to docs@python.org.
+{% trans %}If you have comments or suggestions for the Python documentation, please send +email to docs@python.org.{% endtrans %}
{% endblock %}