From b60a1c42eb40dec875c73e3780f6a240c74a9316 Mon Sep 17 00:00:00 2001 From: Lorenzo Cameroni Date: Mon, 24 Aug 2020 16:16:41 +0200 Subject: [PATCH] Translation of series (#390) --- CONTRIBUTORS.md | 1 + i18n/en.toml | 3 +++ i18n/fr.toml | 2 ++ i18n/it.toml | 3 +++ layouts/partials/posts/series.html | 2 +- 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index c365484..f225cfa 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -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) diff --git a/i18n/en.toml b/i18n/en.toml index 093b47a..8dbe838 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -22,3 +22,6 @@ other = "You can head back to homepage." [powered_by] other = "Powered by" + +[see_also] +other = "See also in" diff --git a/i18n/fr.toml b/i18n/fr.toml index 34c38b3..f27ee3a 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -23,3 +23,5 @@ other = "Vous pouvez revenir à l'accueil." [powered_by] other = "Propulsé par" +[see_also] +other = "Voir aussi dans" diff --git a/i18n/it.toml b/i18n/it.toml index 4a6862d..c601020 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -22,3 +22,6 @@ other = "Puoi tornare a homepage." [powered_by] other = "Alimentato da" + +[see_also] +other = "Vedi anche in" diff --git a/layouts/partials/posts/series.html b/layouts/partials/posts/series.html index 831c9b5..2729faf 100644 --- a/layouts/partials/posts/series.html +++ b/layouts/partials/posts/series.html @@ -5,7 +5,7 @@ {{ $name := . | urlize }} {{ $series := index $.Site.Taxonomies.series $name }} {{ if gt (len $series.Pages) 1 }} -

See also in {{ . }}

+

{{ i18n "see_also" | default "See also in" }} {{ . }}