From b60a1c42eb40dec875c73e3780f6a240c74a9316 Mon Sep 17 00:00:00 2001
From: Lorenzo Cameroni <lorenzo.cameroni@gmail.com>
Date: Mon, 24 Aug 2020 14:16:41 +0000
Subject: [PATCH] Translation of series (#390)
---
layouts/partials/posts/series.html | 2 +-
i18n/en.toml | 3 +++
i18n/it.toml | 3 +++
CONTRIBUTORS.md | 1 +
i18n/fr.toml | 2 ++
5 files changed, 10 insertions(+), 1 deletions(-)
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 @@
[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 @@
[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 @@
[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 }}
- <h3>See also in {{ . }}</h3>
+ <h3>{{ i18n "see_also" | default "See also in" }} {{ . }}</h3>
<nav>
<ul>
{{ $maxItems := $.Site.Params.maxSeeAlsoItems | default 5 }}
--
Gitblit v1.10.0