mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Added more improvements about i18n from Pull request reviews
This commit is contained in:
parent
e6008cecdd
commit
8e835304d8
@ -16,25 +16,24 @@
|
||||
<p>
|
||||
{%- if show_copyright %}
|
||||
{%- if hasdoc('copyright') %}
|
||||
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
|
||||
{% set path = pathto('copyright') %}
|
||||
{% set copyright = copyright|e %}
|
||||
© <a href="{{ path }}">{% trans %}Copyright{% endtrans %}</a> {{ copyright }}.
|
||||
{%- else %}
|
||||
{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}
|
||||
{% set copyright = copyright|e %}
|
||||
© {% trans %}Copyright{% endtrans %} {{ copyright }}.
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
||||
{%- if build_id and build_url %}
|
||||
{% trans build_url=build_url, build_id=build_id %}
|
||||
<span class="build">
|
||||
Build
|
||||
<a href="{{ build_url }}">{{ build_id }}</a>.
|
||||
</span>
|
||||
{% endtrans %}
|
||||
<span class="build">
|
||||
{% trans %}Build{% endtrans %}
|
||||
<a href="{{ build_url }}">{{ build_id }}</a>.
|
||||
</span>
|
||||
{%- elif commit %}
|
||||
{% trans commit=commit %}
|
||||
<span class="commit">
|
||||
Revision <code>{{ commit }}</code>.
|
||||
</span>
|
||||
{% endtrans %}
|
||||
<span class="commit">
|
||||
{% trans %}Revision{% endtrans %} <code>{{ commit }}</code>.
|
||||
</span>
|
||||
{%- elif last_updated %}
|
||||
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
|
||||
{%- endif %}
|
||||
@ -43,7 +42,9 @@
|
||||
</div>
|
||||
|
||||
{%- if show_sphinx %}
|
||||
{% trans %}Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>{% endtrans %}.
|
||||
{% set sphinx_web = '<a href="http://sphinx-doc.org/">Sphinx</a>' %}
|
||||
{% set readthedocs_web = '<a href="https://readthedocs.org">Read the Docs</a>' %}
|
||||
{% trans sphinx_web=sphinx_web, readthedocs_web=readthedocs_web %}Built with {{ sphinx_web }} using a{% endtrans %} <a href="https://github.com/rtfd/sphinx_rtd_theme">{% trans %}theme{% endtrans %}</a> {% trans %}provided by {{ readthedocs_web }}{% endtrans %}.
|
||||
{%- endif %}
|
||||
|
||||
{%- block extrafooter %} {% endblock %}
|
||||
|
@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: sphinx_rtd_theme 0.3.0\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2018-04-16 18:43-0400\n"
|
||||
"PO-Revision-Date: 2018-04-16 12:39-0400\n"
|
||||
"POT-Creation-Date: 2018-04-18 17:43-0400\n"
|
||||
"PO-Revision-Date: 2018-04-18 17:34-0400\n"
|
||||
"Last-Translator: Leonardo J. Caballero G. <leonardocaballero@gmail.com>\n"
|
||||
"Language: es\n"
|
||||
"Language-Team: es\n"
|
||||
@ -46,62 +46,37 @@ msgstr "Próximo"
|
||||
msgid "Previous"
|
||||
msgstr "Anterior"
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:19
|
||||
#, python-format
|
||||
msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
|
||||
msgstr "© <a href=\\\"%(path)s\\\">Derechos de autor</a> %(copyright)s."
|
||||
#: sphinx_rtd_theme/footer.html:21 sphinx_rtd_theme/footer.html:24
|
||||
#: sphinx_rtd_theme/layout.html:70
|
||||
msgid "Copyright"
|
||||
msgstr "Derechos de autor"
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:21
|
||||
#, python-format
|
||||
msgid "© Copyright %(copyright)s."
|
||||
msgstr "© Derechos de autor %(copyright)s."
|
||||
#: sphinx_rtd_theme/footer.html:30
|
||||
msgid "Build"
|
||||
msgstr "Construido"
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:26
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span class=\"build\">\n"
|
||||
" Build\n"
|
||||
" <a href=\"%(build_url)s\">%(build_id)s</a>.\n"
|
||||
" </span>\n"
|
||||
" "
|
||||
msgstr ""
|
||||
"\n"
|
||||
" <span class=\"build\">\n"
|
||||
" Construido\n"
|
||||
" <a href=\"%(build_url)s\">%(build_id)s</a>.\n"
|
||||
" </span>\n"
|
||||
" "
|
||||
#: sphinx_rtd_theme/footer.html:35
|
||||
msgid "Revision"
|
||||
msgstr "Revisión"
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:33
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span class=\"commit\">\n"
|
||||
" Revision <code>%(commit)s</code>.\n"
|
||||
" </span>\n"
|
||||
" "
|
||||
msgstr ""
|
||||
"\n"
|
||||
" <span class=\"commit\">\n"
|
||||
" Revisión <code>%(commit)s</code>.\n"
|
||||
" </span>\n"
|
||||
" "
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:39
|
||||
#: sphinx_rtd_theme/footer.html:38
|
||||
#, python-format
|
||||
msgid "Last updated on %(last_updated)s."
|
||||
msgstr "Actualizado por última vez en %(last_updated)s."
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:46
|
||||
msgid ""
|
||||
"Built with <a href=\"http://sphinx-doc.org/\">Sphinx</a> using a <a "
|
||||
"href=\"https://github.com/rtfd/sphinx_rtd_theme\">theme</a> provided by "
|
||||
"<a href=\"https://readthedocs.org\">Read the Docs</a>"
|
||||
msgstr ""
|
||||
"Construido con <a href=\"http://sphinx-doc.org/\">Sphinx</a> usando un <a"
|
||||
" href=\"https://github.com/rtfd/sphinx_rtd_theme\">tema</a> proporcionado"
|
||||
" por <a href=\"https://readthedocs.org\">Read the Docs</a>"
|
||||
#: sphinx_rtd_theme/footer.html:47
|
||||
#, python-format
|
||||
msgid "Built with %(sphinx_web)s using a"
|
||||
msgstr "Construido con %(sphinx_web)s usando un"
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:47
|
||||
msgid "theme"
|
||||
msgstr "tema"
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:47
|
||||
#, python-format
|
||||
msgid "provided by %(readthedocs_web)s"
|
||||
msgstr "proporcionado por %(readthedocs_web)s"
|
||||
|
||||
#: sphinx_rtd_theme/layout.html:37
|
||||
#, python-format
|
||||
@ -120,21 +95,13 @@ msgstr "Índice"
|
||||
msgid "Search"
|
||||
msgstr "Búsqueda"
|
||||
|
||||
#: sphinx_rtd_theme/layout.html:70
|
||||
msgid "Copyright"
|
||||
msgstr "Derechos de autor"
|
||||
|
||||
#: sphinx_rtd_theme/layout.html:107
|
||||
msgid "Logo"
|
||||
msgstr "Logotipo"
|
||||
|
||||
#: sphinx_rtd_theme/search.html:26
|
||||
msgid ""
|
||||
"Please activate JavaScript to enable the search\n"
|
||||
" functionality."
|
||||
msgstr ""
|
||||
"Por favor, active JavaScript para habilitar la funcionalidad\n"
|
||||
" de búsqueda."
|
||||
msgid "Please activate JavaScript to enable the search functionality."
|
||||
msgstr "Por favor, active JavaScript para habilitar la funcionalidad de búsqueda."
|
||||
|
||||
#: sphinx_rtd_theme/search.html:33
|
||||
msgid "Search Results"
|
||||
@ -174,10 +141,5 @@ msgid "Builds"
|
||||
msgstr "Construcciones"
|
||||
|
||||
#: sphinx_rtd_theme/versions.html:32
|
||||
msgid ""
|
||||
"Free document hosting provided by <a "
|
||||
"href=\"http://www.readthedocs.org\">Read the Docs</a>."
|
||||
msgstr ""
|
||||
"Alojamiento gratuito de documentos proporcionado por <a "
|
||||
"href=\"http://www.readthedocs.org\">Read the Docs</a>."
|
||||
|
||||
msgid "Free document hosting provided by"
|
||||
msgstr "Alojamiento gratuito de documentos proporcionado por"
|
||||
|
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: sphinx_rtd_theme 0.3.0\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2018-04-16 18:43-0400\n"
|
||||
"POT-Creation-Date: 2018-04-18 17:43-0400\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -46,47 +46,36 @@ msgstr ""
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:19
|
||||
#, python-format
|
||||
msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
|
||||
#: sphinx_rtd_theme/footer.html:21 sphinx_rtd_theme/footer.html:24
|
||||
#: sphinx_rtd_theme/layout.html:70
|
||||
msgid "Copyright"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:21
|
||||
#, python-format
|
||||
msgid "© Copyright %(copyright)s."
|
||||
#: sphinx_rtd_theme/footer.html:30
|
||||
msgid "Build"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:26
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span class=\"build\">\n"
|
||||
" Build\n"
|
||||
" <a href=\"%(build_url)s\">%(build_id)s</a>.\n"
|
||||
" </span>\n"
|
||||
" "
|
||||
#: sphinx_rtd_theme/footer.html:35
|
||||
msgid "Revision"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:33
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span class=\"commit\">\n"
|
||||
" Revision <code>%(commit)s</code>.\n"
|
||||
" </span>\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:39
|
||||
#: sphinx_rtd_theme/footer.html:38
|
||||
#, python-format
|
||||
msgid "Last updated on %(last_updated)s."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:46
|
||||
msgid ""
|
||||
"Built with <a href=\"http://sphinx-doc.org/\">Sphinx</a> using a <a "
|
||||
"href=\"https://github.com/rtfd/sphinx_rtd_theme\">theme</a> provided by "
|
||||
"<a href=\"https://readthedocs.org\">Read the Docs</a>"
|
||||
#: sphinx_rtd_theme/footer.html:47
|
||||
#, python-format
|
||||
msgid "Built with %(sphinx_web)s using a"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:47
|
||||
msgid "theme"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/footer.html:47
|
||||
#, python-format
|
||||
msgid "provided by %(readthedocs_web)s"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/layout.html:37
|
||||
@ -106,18 +95,12 @@ msgstr ""
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/layout.html:70
|
||||
msgid "Copyright"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/layout.html:107
|
||||
msgid "Logo"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/search.html:26
|
||||
msgid ""
|
||||
"Please activate JavaScript to enable the search\n"
|
||||
" functionality."
|
||||
msgid "Please activate JavaScript to enable the search functionality."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/search.html:33
|
||||
@ -155,8 +138,6 @@ msgid "Builds"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx_rtd_theme/versions.html:32
|
||||
msgid ""
|
||||
"Free document hosting provided by <a "
|
||||
"href=\"http://www.readthedocs.org\">Read the Docs</a>."
|
||||
msgid "Free document hosting provided by"
|
||||
msgstr ""
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
<noscript>
|
||||
<div id="fallback" class="admonition warning">
|
||||
<p class="last">
|
||||
{% trans %}Please activate JavaScript to enable the search
|
||||
{% trans trimmed %}Please activate JavaScript to enable the search
|
||||
functionality.{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -29,7 +29,7 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<hr/>
|
||||
{% trans %}Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>.{% endtrans %}
|
||||
{% trans %}Free document hosting provided by{% endtrans %} <a href="http://www.readthedocs.org">Read the Docs</a>.
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user