Moved into sphinx_rtd_theme the locale directory

This commit is contained in:
Leonardo J. Caballero G 2018-04-17 18:05:34 -04:00
parent 45b72fa616
commit 326a12eb56
5 changed files with 38 additions and 44 deletions

View File

@ -1,9 +1,6 @@
include *.txt
include babel.cfg
include LICENSE
recursive-include locale *.mo
recursive-include locale *.pot
recursive-include locale *.po
recursive-include sphinx_rtd_theme *.conf
recursive-include sphinx_rtd_theme *.css
recursive-include sphinx_rtd_theme *.eot
@ -13,4 +10,5 @@ recursive-include sphinx_rtd_theme *.svg
recursive-include sphinx_rtd_theme *.ttf
recursive-include sphinx_rtd_theme *.woff
recursive-include sphinx_rtd_theme *.woff2
recursive-include sphinx_rtd_theme/locale *.pot *.po *.mo
prune build

View File

@ -1,22 +1,22 @@
[bdist_wheel]
universal = 1
# How setup this file for babel configurations
# Babel configurations for setup.py scripts
# http://babel.pocoo.org/en/latest/setup.html
[compile_catalog]
domain = sphinx
directory = locale/
[extract_messages]
mapping_file = babel.cfg
output_file = locale/sphinx.pot
output_file = sphinx_rtd_theme/locale/sphinx.pot
keywords = _ l_ lazy_gettext
[init_catalog]
input_file = locale/sphinx.pot
output_file = locale/$LANG/LC_MESSAGES/sphinx.po
input_file = sphinx_rtd_theme/locale/sphinx.pot
output_file = sphinx_rtd_theme/locale/$LANG/LC_MESSAGES/sphinx.po
[update_catalog]
domain = sphinx
input_file = locale/sphinx.pot
output_dir = locale/
input_file = sphinx_rtd_theme/locale/sphinx.pot
output_dir = sphinx_rtd_theme/locale/
[compile_catalog]
domain = sphinx
directory = sphinx_rtd_theme/locale/

View File

@ -1,18 +1,17 @@
# Spanish translations for sphinx_rtd_theme.
# Copyright (C) 2017 Read the Docs
# Copyright (C) 2018 Read the Docs
# This file is distributed under the same license as the sphinx_rtd_theme
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
# Leonardo Caballero <leonardocaballero@gmail.com>, 2017.
# Leonardo J. Caballero G. <leonardocaballero@gmail.com>, 2017, 2018.
msgid ""
msgstr ""
"Project-Id-Version: sphinx_rtd_theme 0.2.4\n"
"Project-Id-Version: sphinx_rtd_theme 0.3.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2018-04-14 15:30-0400\n"
"PO-Revision-Date: 2017-03-26 18:40-0400\n"
"Last-Translator: Leonardo Caballero <leonardocaballero@gmail.com>\n"
"POT-Creation-Date: 2018-04-16 18:43-0400\n"
"PO-Revision-Date: 2018-04-16 12:39-0400\n"
"Last-Translator: Leonardo J. Caballero G. <leonardocaballero@gmail.com>\n"
"Language: es\n"
"Language-Team: Spanish Team\n"
"Language-Team: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
@ -39,23 +38,23 @@ msgstr "Editar en GitLab"
msgid "View page source"
msgstr "Ver página de código fuente"
#: sphinx_rtd_theme/footer.html:5
#: sphinx_rtd_theme/breadcrumbs.html:74 sphinx_rtd_theme/footer.html:5
msgid "Next"
msgstr "Próximo"
#: sphinx_rtd_theme/footer.html:8
#: sphinx_rtd_theme/breadcrumbs.html:77 sphinx_rtd_theme/footer.html:8
msgid "Previous"
msgstr "Anterior"
#: sphinx_rtd_theme/footer.html:19
#, python-format
msgid "&copy; <a href=\"%(path)s\">Copyright</a> %(copyright)s."
msgstr "&copy; <a href=\\\"%(path)s\\\">Copyright</a> %(copyright)s."
msgstr "&copy; <a href=\\\"%(path)s\\\">Derechos de autor</a> %(copyright)s."
#: sphinx_rtd_theme/footer.html:21
#, python-format
msgid "&copy; Copyright %(copyright)s."
msgstr "&copy; Copyright %(copyright)s."
msgstr "&copy; Derechos de autor %(copyright)s."
#: sphinx_rtd_theme/footer.html:26
#, python-format
@ -95,15 +94,14 @@ msgid "Last updated on %(last_updated)s."
msgstr "Actualizado por última vez en %(last_updated)s."
#: sphinx_rtd_theme/footer.html:46
#, fuzzy
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/snide/sphinx_rtd_theme\">tema</a> "
"proporcionado por <a href=\"https://readthedocs.org\">Read the Docs</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/layout.html:37
#, python-format
@ -112,7 +110,7 @@ msgstr "Buscar en %(docstitle)s"
#: sphinx_rtd_theme/layout.html:61
msgid "About these documents"
msgstr "Sobre este documento"
msgstr "Sobre esta documentación"
#: sphinx_rtd_theme/layout.html:64
msgid "Index"
@ -124,7 +122,11 @@ msgstr "Búsqueda"
#: sphinx_rtd_theme/layout.html:70
msgid "Copyright"
msgstr "Copyright"
msgstr "Derechos de autor"
#: sphinx_rtd_theme/layout.html:107
msgid "Logo"
msgstr "Logotipo"
#: sphinx_rtd_theme/search.html:26
msgid ""
@ -179,13 +181,3 @@ msgstr ""
"Alojamiento gratuito de documentos proporcionado por <a "
"href=\"http://www.readthedocs.org\">Read the Docs</a>."
#~ msgid "Navigation"
#~ msgstr "Navegación"
#~ msgid ""
#~ "Created using <a href=\"http://sphinx-"
#~ "doc.org/\">Sphinx</a> %(sphinx_version)s."
#~ msgstr ""
#~ "Creado usando <a href=\"http://sphinx-"
#~ "doc.org/\">Sphinx</a> %(sphinx_version)s."

View File

@ -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-14 15:30-0400\n"
"POT-Creation-Date: 2018-04-16 18: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"
@ -38,11 +38,11 @@ msgstr ""
msgid "View page source"
msgstr ""
#: sphinx_rtd_theme/footer.html:5
#: sphinx_rtd_theme/breadcrumbs.html:74 sphinx_rtd_theme/footer.html:5
msgid "Next"
msgstr ""
#: sphinx_rtd_theme/footer.html:8
#: sphinx_rtd_theme/breadcrumbs.html:77 sphinx_rtd_theme/footer.html:8
msgid "Previous"
msgstr ""
@ -110,6 +110,10 @@ msgstr ""
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"

View File

@ -1,7 +1,7 @@
[theme]
inherit = basic
stylesheet = css/theme.css
pygments_style = default
pygments_style = sphinx
[options]
canonical_url =