Translation of series (#390)

This commit is contained in:
Lorenzo Cameroni
2020-08-24 16:16:41 +02:00
committed by GitHub
parent 63e96f8dee
commit b60a1c42eb
5 changed files with 10 additions and 1 deletions

View File

@@ -73,3 +73,4 @@
- [Pakhomov Alexander](https://github.com/PakhomovAlexander)
- [Rhys Perry](https://rhysperry.com)
- [Arunvel Sriram](https://github.com/arunvelsriram)
- [Lorenzo Cameroni](https://github.com/came88)

View File

@@ -22,3 +22,6 @@ other = "You can head back to <a href=\"{{ . }}\">homepage</a>."
[powered_by]
other = "Powered by"
[see_also]
other = "See also in"

View File

@@ -23,3 +23,5 @@ other = "Vous pouvez revenir à <a href=\"{{ . }}\">l'accueil</a>."
[powered_by]
other = "Propulsé par"
[see_also]
other = "Voir aussi dans"

View File

@@ -22,3 +22,6 @@ other = "Puoi tornare a <a href=\"{{ . }}\">homepage</a>."
[powered_by]
other = "Alimentato da"
[see_also]
other = "Vedi anche in"

View File

@@ -5,7 +5,7 @@
{{ $name := . | urlize }}
{{ $series := index $.Site.Taxonomies.series $name }}
{{ if gt (len $series.Pages) 1 }}
<h3>See also in {{ . }}</h3>
<h3>{{ i18n "see_also" | default "See also in" }} {{ . }}</h3>
<nav>
<ul>
{{ $maxItems := $.Site.Params.maxSeeAlsoItems | default 5 }}