diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 66e09cc..2a885d7 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -7,55 +7,96 @@ {% endif %} {% block body %} -

Download Python {{ release }} Documentation

+

{% trans %}Download Python {{ release }} Documentation{% endtrans %}

-{% if last_updated %}

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. The numbers -in the table are the size of the download files in megabytes.

+

{% 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. The numbers in the table are the size of the download +files in megabytes.{% endtrans %}

- - - - + + + + + + + - - - + + + - - - + + + - - - + + + +
FormatPacked as .zipPacked as .tar.bz2
PDF (US-Letter paper size)Download (ca. 8 MB)Download (ca. 8 MB)
{% trans %}Format{% endtrans %}{% trans %}Packed as .zip{% endtrans %}{% trans %}Packed as .tar.bz2{% endtrans %}
{% trans %}PDF (US-Letter paper size){% endtrans %} + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %} + + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %} +
PDF (A4 paper size)Download (ca. 8 MB)Download (ca. 8 MB)
{% trans %}PDF (A4 paper size){% endtrans %} + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %} + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %}
HTMLDownload (ca. 6 MB)Download (ca. 4 MB)
{% trans %}HTML{% endtrans %} + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 6 MB){% endtrans %} + + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 4 MB){% endtrans %} +
Plain TextDownload (ca. 2 MB)Download (ca. 1.5 MB)
{% trans %}Plain Text{% endtrans %} + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 2 MB){% endtrans %} + + + {% trans %}Download{% endtrans %} + {% trans %}(ca. 1.5 MB){% endtrans %} +
-

These archives contain all the content in the documentation.

+

{% trans %}These archives contain all the content in the +documentation.{% endtrans %}

-

HTML Help (.chm) files are made available in the "Windows" section -on the Python -download page.

+

{% trans download_page="https://www.python.org/download/releases/{{ release[:5] }}/" %}HTML Help +(.chm) files are made available in the "Windows" section +on the Python download page.{% endtrans %}

-

Unpacking

+

{% trans %}Unpacking{% endtrans %}

-

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 InfoZIP unzip program can be -used to handle the ZIP archives if desired. The .tar.bz2 archives provide the -best compression and fastest download times.

+

{% 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 InfoZIP unzip +program can be used to handle the ZIP archives if desired. The +.tar.bz2 archives provide the 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 InfoZIP zip program.

+

{% trans %}Windows users can use the ZIP archives since those are +customary on that platform. These are created on Unix using the +InfoZIP zip program.{% endtrans %}

-

Problems

+

{% trans %}Problems{% 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 %} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 7f85470..3da2605 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -1,59 +1,59 @@ {% extends "defindex.html" %} {% block tables %} -

Parts of the documentation:

+

{% trans %}Parts of the documentation:{% endtrans %}

- - - - - - + + + + + + - - - - - + + + + +
-

Indices and tables:

+

{% trans %}Indices and tables:{% endtrans %}

- - - + + + - - + +
-

Meta information:

+

{% trans %}Meta information:{% endtrans %}

- - + + - - + +
{% endblock %} diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html index 4e10d69..d93021d 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -1,17 +1,17 @@ -

Download

-

Download these documents

-

Docs for other versions

+

{% trans %}Download{% endtrans %}

+

{% trans %}Download these documents{% endtrans %}

+

{% trans %}Docs for other versions{% endtrans %}

-

Other resources

+

{% trans %}Other resources{% endtrans %}

diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html index ec29ca2..78b3b27 100644 --- a/Doc/tools/templates/layout.html +++ b/Doc/tools/templates/layout.html @@ -6,7 +6,7 @@
  • {%- if versionswitcher is defined %} {{ release }} - Documentation{{ reldelim1 }} + {% trans %}Documentation{% endtrans %}{{ reldelim1 }} {%- else %} {{ shorttitle }}{{ reldelim1 }} {%- endif %} @@ -28,24 +28,24 @@ {% endblock %} {% block footer %} {% endblock %} {% block sidebarsourcelink %} {%- if show_source and has_source and sourcename %}

    {{ _('This Page') }}

    {%- endif %} {% endblock %}