mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-25 03:42:30 +00:00
Translate ebook
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"GLOSSARY_INDEX": "Index",
|
||||
"GLOSSARY_OPEN": "Glossaire",
|
||||
"GITBOOK_LINK": "Publié avec GitBook",
|
||||
"SUMMARY": "Table des matières",
|
||||
"SUMMARY_TOGGLE": "Sommaire",
|
||||
"SEARCH_TOGGLE": "Recherche",
|
||||
"SEARCH_PLACEHOLDER": "Tapez pour rechercher",
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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("") }}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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("") }}
|
||||
|
||||
Reference in New Issue
Block a user