summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/i18n/de.json17
-rw-r--r--theme/i18n/fr.json3
-rw-r--r--theme/templates/website/includes/header.html18
3 files changed, 28 insertions, 10 deletions
diff --git a/theme/i18n/de.json b/theme/i18n/de.json
new file mode 100644
index 0000000..6519a18
--- /dev/null
+++ b/theme/i18n/de.json
@@ -0,0 +1,17 @@
+{
+ "LANGS_CHOOSE": "Choisissez une langue",
+ "GLOSSARY": "Glossar",
+ "GLOSSARY_INDEX": "Index",
+ "GLOSSARY_OPEN": "Glossar",
+ "GITBOOK_LINK": "Veröffentlich mit GitBook",
+ "SUMMARY": "Inhaltsverzeichnis",
+ "SUMMARY_TOGGLE": "Inhaltsverzeichnis",
+ "SEARCH_TOGGLE": "Suche",
+ "SEARCH_PLACEHOLDER": "Suchbegriff eingeben",
+ "FONTSETTINGS_TOGGLE": "Schrifteinstellungen",
+ "SHARE_TOGGLE": "Aktie",
+ "SHARE_ON": "auf __platform__ teilen",
+ "FONTSETTINGS_WHITE": "Klar",
+ "FONTSETTINGS_SEPIA": "Sepia",
+ "FONTSETTINGS_NIGHT": "Nacht"
+} \ No newline at end of file
diff --git a/theme/i18n/fr.json b/theme/i18n/fr.json
index 8819c87..eedc8ab 100644
--- a/theme/i18n/fr.json
+++ b/theme/i18n/fr.json
@@ -5,11 +5,12 @@
"GLOSSARY_OPEN": "Glossaire",
"GITBOOK_LINK": "Publié avec GitBook",
"SUMMARY": "Table des matières",
- "SUMMARY_TOGGLE": "Sommaire",
+ "SUMMARY_TOGGLE": "Table des matières",
"SEARCH_TOGGLE": "Recherche",
"SEARCH_PLACEHOLDER": "Tapez pour rechercher",
"FONTSETTINGS_TOGGLE": "Paramètres de Police",
"SHARE_TOGGLE": "Partage",
+ "SHARE_ON": "Partager sur __platform__",
"FONTSETTINGS_WHITE": "Clair",
"FONTSETTINGS_SEPIA": "Sépia",
"FONTSETTINGS_NIGHT": "Nuit"
diff --git a/theme/templates/website/includes/header.html b/theme/templates/website/includes/header.html
index 0d3550a..119dd62 100644
--- a/theme/templates/website/includes/header.html
+++ b/theme/templates/website/includes/header.html
@@ -22,27 +22,27 @@
<span class="caret-inner"></span>
</div>
<div class="buttons">
- <button type="button" data-sharing="twitter" class="button">{% i18n "SHARE_TWITTER" %}Twitter{% endi18n %}</button>
- <button type="button" data-sharing="google-plus" class="button">{% i18n "SHARE_GOOGLE" %}Google{% endi18n %}</button>
- <button type="button" data-sharing="facebook" class="button">{% i18n "SHARE_FACEBOOK" %}Facebook{% endi18n %}</button>
- <button type="button" data-sharing="weibo" class="button">{% i18n "SHARE_WEIBO" %}Weibo{% endi18n %}</button>
- <button type="button" data-sharing="instapaper" class="button">{% i18n "SHARE_INSTAPAPER" %}Instapaper{% endi18n %}</button>
+ <button type="button" data-sharing="twitter" class="button">{% i18n "SHARE_ON", __platform__="Twitter" %}Share on __platform__{% endi18n %}</button>
+ <button type="button" data-sharing="google-plus" class="button">{% i18n "SHARE_ON", __platform__="Google" %}Share on __platform__{% endi18n %}</button>
+ <button type="button" data-sharing="facebook" class="button">{% i18n "SHARE_ON", __platform__="Facebook" %}Share on __platform__{% endi18n %}</button>
+ <button type="button" data-sharing="weibo" class="button">{% i18n "SHARE_ON", __platform__="Weibo" %}Share on __platform__{% endi18n %}</button>
+ <button type="button" data-sharing="instapaper" class="button">{% i18n "SHARE_ON", __platform__="Instapaper" %}Share on __platform__{% endi18n %}</button>
</div>
</div>
</div>
{% endif %}
{% if options.links.sharing.google != false %}
- <a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="{% i18n "SHARE_GOOGLE" %}Google{% endi18n %}"><i class="fa fa-google-plus"></i></a>
+ <a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="Google"><i class="fa fa-google-plus"></i></a>
{% endif %}
{% if options.links.sharing.facebook != false %}
- <a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="{% i18n "SHARE_FACEBOOK" %}Facebook{% endi18n %}"><i class="fa fa-facebook"></i></a>
+ <a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="Facebook"><i class="fa fa-facebook"></i></a>
{% endif %}
{% if options.links.sharing.twitter != false %}
- <a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="{% i18n "SHARE_TWITTER" %}Twitter{% endi18n %}"><i class="fa fa-twitter"></i></a>
+ <a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="Twitter"><i class="fa fa-twitter"></i></a>
{% endif %}
{% if options.links.sharing.weibo == true %}
- <a href="#" target="_blank" class="btn pull-right weibo-sharing-link sharing-link" data-sharing="weibo" aria-label="{% i18n "SHARE_WEIBO" %}Weibo{% endi18n %}"><i class="fa fa-weibo"></i></a>
+ <a href="#" target="_blank" class="btn pull-right weibo-sharing-link sharing-link" data-sharing="weibo" aria-label="Weibo"><i class="fa fa-weibo"></i></a>
{% endif %}
<!-- Title -->