summaryrefslogtreecommitdiffstats
path: root/theme/templates
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates')
-rw-r--r--theme/templates/ebook/glossary.html2
-rw-r--r--theme/templates/ebook/layout.html2
-rw-r--r--theme/templates/ebook/summary.html6
-rw-r--r--theme/templates/website/layout.html2
4 files changed, 6 insertions, 6 deletions
diff --git a/theme/templates/ebook/glossary.html b/theme/templates/ebook/glossary.html
index ce10c63..0bd7ab6 100644
--- a/theme/templates/ebook/glossary.html
+++ b/theme/templates/ebook/glossary.html
@@ -1,6 +1,6 @@
{% extends "./page.html" %}
-{% block title %}Glossary | {{ title }}{% endblock %}
+{% block title %}{% i18n "GLOSSARY" %}Glossary{% endi18n %} | {{ title }}{% endblock %}
{% block content %}
<div class="page page-toc">
diff --git a/theme/templates/ebook/layout.html b/theme/templates/ebook/layout.html
index 76efdf6..ba969cb 100644
--- a/theme/templates/ebook/layout.html
+++ b/theme/templates/ebook/layout.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html lang="en-US" {% block htmlTag %}{% endblock %}>
+<html lang="{{ language }}" {% block htmlTag %}{% endblock %}>
{{ htmlSnippet("html:start")|default("") }}
<head>
{{ htmlSnippet("head:start")|default("") }}
diff --git a/theme/templates/ebook/summary.html b/theme/templates/ebook/summary.html
index 2e540a6..16de1e8 100644
--- a/theme/templates/ebook/summary.html
+++ b/theme/templates/ebook/summary.html
@@ -1,6 +1,6 @@
{% extends "./page.html" %}
-{% block title %}Table of Contents | {{ title }}{% endblock %}
+{% block title %}{% i18n "SUMMARY" %}Table of Contents{% endi18n %} | {{ title }}{% endblock %}
{% macro articles(_articles) %}
{% for item in _articles %}
@@ -25,12 +25,12 @@
{% block content %}
<div class="page page-toc">
- <h1>Table of Contents</h1>
+ <h1>{% i18n "SUMMARY" %}Table of Contents{% endi18n %}</h1>
<ol>
{{ articles(summary.chapters) }}
{% if glossary.length > 0 %}
- <li><a href="{{ basePath }}/GLOSSARY.html">Glossary</a></li>
+ <li><a href="{{ basePath }}/GLOSSARY.html">{% i18n "GLOSSARY" %}Glossary{% endi18n %}</a></li>
{% endif %}
</ol>
</div>
diff --git a/theme/templates/website/layout.html b/theme/templates/website/layout.html
index 5dc7c5e..4157634 100644
--- a/theme/templates/website/layout.html
+++ b/theme/templates/website/layout.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html lang="en-US" {% block htmlTag %}{% endblock %}>
+<html lang="{{ language }}">
{{ htmlSnippet("html:start")|default("") }}
<head>
{{ htmlSnippet("head:start")|default("") }}