[3.13] gh-122384: Mark strings from Download page for translation (GH-122385) (#122553)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2024-08-01 11:49:49 +02:00 committed by GitHub
parent 4588980221
commit be970f607c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 42 additions and 32 deletions

View File

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