diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-23 22:05:11 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-23 22:05:11 +0100 |
commit | b66e9d2bed3f7a8b7bf841134a53548f9017c540 (patch) | |
tree | 6a6fe0ba2484ffead49cf00e535b3316d76ecb12 /theme | |
parent | d0f910d65fe4c0a1b611cf97deabe8797e239ef2 (diff) | |
download | gitbook-b66e9d2bed3f7a8b7bf841134a53548f9017c540.zip gitbook-b66e9d2bed3f7a8b7bf841134a53548f9017c540.tar.gz gitbook-b66e9d2bed3f7a8b7bf841134a53548f9017c540.tar.bz2 |
Load locales to translate layout
Diffstat (limited to 'theme')
-rw-r--r-- | theme/i18n/fr.json | 3 | ||||
-rw-r--r-- | theme/templates/website/glossary.html | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/theme/i18n/fr.json b/theme/i18n/fr.json new file mode 100644 index 0000000..924f6b6 --- /dev/null +++ b/theme/i18n/fr.json @@ -0,0 +1,3 @@ +{ + "GLOSSARY": "Glossaire" +}
\ No newline at end of file diff --git a/theme/templates/website/glossary.html b/theme/templates/website/glossary.html index e19d1b9..bb633e9 100644 --- a/theme/templates/website/glossary.html +++ b/theme/templates/website/glossary.html @@ -1,6 +1,6 @@ {% extends "page.html" %} -{% block title %}Glossary | {{ title }}{% endblock %} +{% block title %}{% i18n "GLOSSARY" %}Glossary{% endi18n %} | {{ title }}{% endblock %} {% block page_inner %} {% for item in glossary %} |