Skip to content

Commit

Permalink
Trial translated documentation setup
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed May 28, 2021
1 parent 41ba380 commit 026509d
Show file tree
Hide file tree
Showing 56 changed files with 2,901 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,10 @@ def setup(app):
},
True
)
app.add_transform(AutoStructify)
app.add_transform(AutoStructify)


# https://docs.readthedocs.io/en/stable/guides/manage-translations.html#create-translatable-files
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-gettext_uuid
gettext_uuid = True
gettext_compact = False
Binary file added docs/locales/fi/LC_MESSAGES/index.mo
Binary file not shown.
51 changes: 51 additions & 0 deletions docs/locales/fi/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020, Wagtail contributors
# This file is distributed under the same license as the Sphinx Wagtail
# theme package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Sphinx Wagtail theme 5.0.0a1.dev0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-28 15:26+0100\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

# ed0f2df6b4564c40a7d76faf023189d3
#: ../../index.rst:10
msgid "Welcome to \"Sphinx Wagtail theme\" documentation!"
msgstr "Tervetuloa \"Sphinx Wagtail teema\" -dokumentaatioon!"

# f17519631a514b3382279ceaa3beeb32
#: ../../index.rst:29
msgid "Indices and tables"
msgstr "Indeksit ja taulukot
"

# 2a25e2295e2440bb95f094cbda9918c6
#: ../../index.rst:30
msgid ":ref:`genindex`"
msgstr ""

# 6aef2275ff314b569e5b57d12ade6cde
#: ../../index.rst:31
msgid ":ref:`modindex`"
msgstr ""

# baa45c269b664eb58e64a47edba5ebe2
#: ../../index.rst:32
msgid ":ref:`search`"
msgstr ""

# 1316a13ce87e4f04a6302a8d3cb4386d
#: ../../index.rst:34
msgid "Documentation rendered: |today|"
msgstr "Luodut asiakirjat: |today|"

Binary file added docs/locales/fr/LC_MESSAGES/authors.mo
Binary file not shown.
60 changes: 60 additions & 0 deletions docs/locales/fr/LC_MESSAGES/authors.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020, Wagtail contributors
# This file is distributed under the same license as the Sphinx Wagtail
# theme package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Sphinx Wagtail theme 5.0.0a1.dev0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-28 15:26+0100\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

# 008cbe643e0d47828616550c9421912d
#: ../../../AUTHORS.rst:4
msgid "Authors"
msgstr "Auteurs"

# 0e98e24bdc154fe8aa089c006527fdd4
#: ../../../AUTHORS.rst:6
msgid "Thibaud Colas"
msgstr ""

# e9634604a2a344d9bd657e4efe51f68e
#: ../../../AUTHORS.rst:7
msgid "Storm Heg"
msgstr ""

# cadaf020ce80437e9ddfa55b90725a0c
#: ../../../AUTHORS.rst:8
msgid "Tibor Leupold"
msgstr ""

# 8646e2f64e0d4ffe866211c1aba4debf
#: ../../../AUTHORS.rst:9
msgid "Coen van der Kamp"
msgstr ""

# 608f7d8be6bf4c97bea21e93be8fe577
#: ../../../AUTHORS.rst:11
msgid "Sphinx Wagtail theme is based on Sphinx Typo3 theme written by:"
msgstr "Sphinx Wagtail thème est basé sur Sphinx Typo3 thème écri par:"

# 2a679394c18f42368f763315811f376a
#: ../../../AUTHORS.rst:13
msgid "Martin Bless"
msgstr ""

# b5f3028611744cb6bc4e0f908f269e5f
#: ../../../AUTHORS.rst:14
msgid "Benjamin Kott"
msgstr ""

Binary file added docs/locales/fr/LC_MESSAGES/contributing.mo
Binary file not shown.
84 changes: 84 additions & 0 deletions docs/locales/fr/LC_MESSAGES/contributing.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020, Wagtail contributors
# This file is distributed under the same license as the Sphinx Wagtail
# theme package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Sphinx Wagtail theme 5.0.0a1.dev0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-28 15:26+0100\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

# d28eeb330ff14cb08c3acafd53eb7fd8
#: ../../../CONTRIBUTING.rst:3
msgid "Contributing"
msgstr "Contribuer"

# 5fdd8904468344f9aa16a6c99a1b0b24
#: ../../../CONTRIBUTING.rst:5
msgid "This repository handles the theme for docs.wagtail.io."
msgstr "Ce dépôt se charge du thème de docs.wagtail.io."

# fe9957868c8e40f18e4b814f48881d6f
#: ../../../CONTRIBUTING.rst:9
msgid "Theme development"
msgstr "Développement du thème"

# fa5183e883144e729deb7038e1df38c2
#: ../../../CONTRIBUTING.rst:11
msgid ""
"If you would like to contribute and to help improve the theme feel free "
"to fork this project and create a pull request when you're happy with "
"your changes."
msgstr ""
"Si vous souhaitez contribuer et aider à améliorer le thème vous êtes libre de"
"dupliquer ce projet et créer une requête de tirage quand vous êtes satisfait de"
"vos changements."

# 126553d019bc410489fd0e5a27f6d1c0
#: ../../../CONTRIBUTING.rst:14
msgid ""
"You may as well check the `list of issues "
"<https://github.com/wagtail/sphinx_wagtail_theme/issues>`_ to see whether"
" somebody else is already addressing your problem. If not, don't hesitate"
" to create a new issue for your problem."
msgstr ""
"Vous pouvez aussi consulter la `liste de problèmes"
"<https://github.com/wagtail/sphinx_wagtail_theme/issues>`_ pour voir si"
" quelqu’un d’autre est déjà entrain de s’occuper de votre problème. Sinon, n’hésitez pas"
" à créer une nouvelle entrée pour votre problème."

# afed6413b9924bd6839c0d0e3b8fc268
#: ../../../CONTRIBUTING.rst:19
msgid "See also :ref:`About development <development>` in this documentation."
msgstr "Voir aussi :ref:`À propos du développement <development>` dans cette documentation."

# aa8d507245c84c709b772a008780a02f
#: ../../../CONTRIBUTING.rst:23
msgid "Contribute to Wagtail Documentation"
msgstr "Contribuer à la documentation de Wagtail"

# 8eb84c15eb4144c48779e658bf4cbc98
#: ../../../CONTRIBUTING.rst:26
msgid "Create Issues"
msgstr "Créer des entrées de problèmes"

# 300363bfc75a4573997d80054bac1c70
#: ../../../CONTRIBUTING.rst:28
msgid ""
"Issues on the documentation theme: "
"https://github.com/wagtail/sphinx_wagtail_theme/issues Issues on the "
"documentation contents: https://github.com/wagtail/wagtail/issues"
msgstr ""
"Problèmes avec le thème de la documentation: "
"https://github.com/wagtail/sphinx_wagtail_theme/issues Problèmes avec le"
"contenu de la documentation: https://github.com/wagtail/wagtail/issues"
Binary file added docs/locales/fr/LC_MESSAGES/development.mo
Binary file not shown.
118 changes: 118 additions & 0 deletions docs/locales/fr/LC_MESSAGES/development.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020, Wagtail contributors
# This file is distributed under the same license as the Sphinx Wagtail
# theme package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Sphinx Wagtail theme 5.0.0a1.dev0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-28 15:26+0100\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

# 3bddac6875e943efaba4a580fa6eaebf
#: ../../development.rst:7
msgid "Development"
msgstr ""

# 329cc5fd68e64cc6b28cc31f00cf6b4d
#: ../../development.rst:10
msgid ""
"For local development you need a system with Node v14.x, Yarn, Python3, "
"Git and make. It is strongly recommended to use a Python virtual "
"environment (`venv`_). The build process derives the version from "
"repository data, so it's necessary to clone the repository and not just "
"download a single snapshot."
msgstr ""

# 71840792171b4ca59cd1a47b8189fe31
#: ../../development.rst:15
msgid "Start with `make`::"
msgstr ""

# 11c67bbab6f64baf96234e412cf6659f
#: ../../development.rst:20
msgid "Install requirements and fulfill Python and Node demands (repeatable)::"
msgstr ""

# b78a495d3a484e7bb124013206079ee0
#: ../../development.rst:24
msgid "When doing frontend development compile your changes at any time::"
msgstr ""

# d6fb9eeedfd94e3aab2b3ce94da4b8ca
#: ../../development.rst:28
msgid "Build and install the package::"
msgstr ""

# 8782a302a5be4fb3aefc1f850c490d5f
#: ../../development.rst:32
msgid ""
"Don't forget to update the docs. Render the documentation and show in "
"browser::"
msgstr ""

# 6ba53890f550465ba6dee68d277d7d32
#: ../../development.rst:36
msgid "Without opening the browser::"
msgstr ""

# 2d46b8d514c446aaa5436c22c717c69d
#: ../../development.rst:40
msgid ""
"Check the Python code. The CI workflow requires `lint-minimal` to "
"succeed::"
msgstr ""

# 590d1281fa1442dd85ac564f5d7f2ae1
#: ../../development.rst:48
msgid "Run Python unit tests::"
msgstr ""

# 3c13f5fb5cfe4e9ca809b1a19bc7d29d
#: ../../development.rst:52
msgid "Rebuild and install from Python wheel package::"
msgstr ""

# 2131fec16ec54bc6b293969f96421966
#: ../../development.rst:60
msgid ""
"To find out whether the created wheel package passes the `twine check` "
"test and can be uploaded to PyPi run::"
msgstr ""

# c3a41478af624e98b107d9f5a36ac5ea
#: ../../development.rst:70
msgid "Theme stress test"
msgstr ""

# 8c2bf36522764d5498d43444c6fae6c1
#: ../../development.rst:72
msgid ""
"There is a demo manual `t3SphinxThemeRtdDemoDocs`_ under construction. It"
" serves as a \"stress test\" for this `sphinx_wagtail_theme`_ and tries "
"to use as many reStructuredText examples as possible and covered by the "
"theme. **Documentation writers** may want to have a look at those pages "
"to understand what reST markup can be used and what the visual effect "
"will be. **Theme contributors** should use the demo manual for testing "
"and *visually* check the rendering."
msgstr ""

# bb5b3f0539a2491da3b8c772fa7f63cc
#: ../../development.rst:85
msgid "Javascript package management"
msgstr ""

# c34c24de57bd4ba2a743e7744da248cd
#: ../../development.rst:87
msgid "Use `npm` for package management."
msgstr ""

Binary file added docs/locales/fr/LC_MESSAGES/examples/admonitions.mo
Binary file not shown.
35 changes: 35 additions & 0 deletions docs/locales/fr/LC_MESSAGES/examples/admonitions.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020, Wagtail contributors
# This file is distributed under the same license as the Sphinx Wagtail
# theme package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Sphinx Wagtail theme 5.0.0a1.dev0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-28 15:26+0100\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

# c69494a277bd42cabd6cf0c4a1299b9f
#: ../../examples/admonitions.md:1
msgid "Admonitions"
msgstr ""

# 5f432be529774923951222d1ca59d581
#: ../../None:1
msgid "Notes can provide complementary information."
msgstr ""

# 10bbc0aa257f46f8bb410d1bf06b2f1e
#: ../../None:1
msgid "Warnings can be scary."
msgstr ""

Binary file added docs/locales/fr/LC_MESSAGES/examples/autodoc.mo
Binary file not shown.
Loading

0 comments on commit 026509d

Please sign in to comment.