From f8eda4ac663328b89e8e99d3d5d18b815ccccee1 Mon Sep 17 00:00:00 2001
From: David Scholz <scholz.david93@gmail.com>
Date: Sat, 13 Jul 2024 16:17:02 +0000
Subject: [PATCH] feat: translate related posts header (#473)
---
i18n/pt-PT.toml | 5 ++
i18n/zh-cn.toml | 5 ++
i18n/ko.toml | 5 ++
i18n/zh-tw.toml | 5 ++
i18n/dk.toml | 5 ++
i18n/hu.toml | 5 ++
i18n/ja.toml | 5 ++
i18n/es.toml | 5 ++
i18n/fi.toml | 5 ++
i18n/de.toml | 5 ++
i18n/fa.toml | 3 +
i18n/pt-br.toml | 5 ++
i18n/ar.toml | 5 ++
layouts/partials/related.html | 4 +-
i18n/en.toml | 5 ++
i18n/tr.toml | 3 +
i18n/id.toml | 3 +
i18n/it.toml | 5 ++
i18n/fr.toml | 5 ++
19 files changed, 71 insertions(+), 17 deletions(-)
diff --git a/i18n/ar.toml b/i18n/ar.toml
index 233b989..0474e9a 100644
--- a/i18n/ar.toml
+++ b/i18n/ar.toml
@@ -46,4 +46,7 @@
other = "تحديث"
[series_posts]
-other = "المشاركات في هذه السلسلة"
\ No newline at end of file
+other = "المشاركات في هذه السلسلة"
+
+[related_posts]
+other = "مشاركات مماثلة"
\ No newline at end of file
diff --git a/i18n/de.toml b/i18n/de.toml
index 88c9724..71ece53 100644
--- a/i18n/de.toml
+++ b/i18n/de.toml
@@ -49,4 +49,7 @@
other = "Aktualisierung"
[series_posts]
-other = "Beiträge in dieser Serie"
\ No newline at end of file
+other = "Beiträge in dieser Serie"
+
+[related_posts]
+other = "Ähnliche Beiträge"
\ No newline at end of file
diff --git a/i18n/dk.toml b/i18n/dk.toml
index 1960d03..3747665 100644
--- a/i18n/dk.toml
+++ b/i18n/dk.toml
@@ -45,4 +45,7 @@
other = "Opdatering"
[series_posts]
-other = "Indlæg i denne serie"
\ No newline at end of file
+other = "Indlæg i denne serie"
+
+[related_posts]
+other = "lignende indlæg"
diff --git a/i18n/en.toml b/i18n/en.toml
index bd06fbd..948a82d 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -49,4 +49,7 @@
other = "Update"
[series_posts]
-other = "Posts in this series"
\ No newline at end of file
+other = "Posts in this series"
+
+[related_posts]
+other = "Related Posts"
\ No newline at end of file
diff --git a/i18n/es.toml b/i18n/es.toml
index 69a471b..963ac3b 100644
--- a/i18n/es.toml
+++ b/i18n/es.toml
@@ -45,4 +45,7 @@
other = "Actualizar"
[series_posts]
-other = "Publicaciones en esta serie"
\ No newline at end of file
+other = "Publicaciones en esta serie"
+
+[related_posts]
+other = "Publicaciones similares"
\ No newline at end of file
diff --git a/i18n/fa.toml b/i18n/fa.toml
index a0f8a88..038dde8 100644
--- a/i18n/fa.toml
+++ b/i18n/fa.toml
@@ -50,3 +50,6 @@
[series_posts]
other = "پست های این مجموعه"
+
+[related_posts]
+other = "پست های مشابه"
\ No newline at end of file
diff --git a/i18n/fi.toml b/i18n/fi.toml
index 1317a3b..9372a9b 100644
--- a/i18n/fi.toml
+++ b/i18n/fi.toml
@@ -45,4 +45,7 @@
other = "Päivitys"
[series_posts]
-other = "Viestit tässä sarjassa"
\ No newline at end of file
+other = "Viestit tässä sarjassa"
+
+[related_posts]
+other = "Vastaavia viestejä"
\ No newline at end of file
diff --git a/i18n/fr.toml b/i18n/fr.toml
index 686a21f..6310cd7 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -45,4 +45,7 @@
other = "mettre à jour"
[series_posts]
-other = "Articles dans cette série"
\ No newline at end of file
+other = "Articles dans cette série"
+
+[related_posts]
+other = "Messages similaires"
\ No newline at end of file
diff --git a/i18n/hu.toml b/i18n/hu.toml
index 3815c63..66c5ca6 100644
--- a/i18n/hu.toml
+++ b/i18n/hu.toml
@@ -49,4 +49,7 @@
other = "Újdonság"
[series_posts]
-other = "További bejegyzések a cikksorozatban"
\ No newline at end of file
+other = "További bejegyzések a cikksorozatban"
+
+[related_posts]
+other = "Hasonló hozzászólások"
\ No newline at end of file
diff --git a/i18n/id.toml b/i18n/id.toml
index 1da58fb..3be4967 100644
--- a/i18n/id.toml
+++ b/i18n/id.toml
@@ -50,3 +50,6 @@
[series_posts]
other = "Posting dalam seri ini"
+
+[related_posts]
+other = "Postingan serupa"
\ No newline at end of file
diff --git a/i18n/it.toml b/i18n/it.toml
index d97ec97..0df8472 100644
--- a/i18n/it.toml
+++ b/i18n/it.toml
@@ -45,4 +45,7 @@
other = "Aggiorna"
[series_posts]
-other = "Messaggi di questa serie"
\ No newline at end of file
+other = "Messaggi di questa serie"
+
+[related_posts]
+other = "Post simili"
\ No newline at end of file
diff --git a/i18n/ja.toml b/i18n/ja.toml
index b97b2d8..c8148c1 100644
--- a/i18n/ja.toml
+++ b/i18n/ja.toml
@@ -45,4 +45,7 @@
other = "更新"
[series_posts]
-other = "このシリーズの投稿"
\ No newline at end of file
+other = "このシリーズの投稿"
+
+[related_posts]
+other = "同様の投稿"
\ No newline at end of file
diff --git a/i18n/ko.toml b/i18n/ko.toml
index 895e84e..4a5b93f 100644
--- a/i18n/ko.toml
+++ b/i18n/ko.toml
@@ -49,4 +49,7 @@
other = "업데이트"
[series_posts]
-other = "이 시리즈의 게시물"
\ No newline at end of file
+other = "이 시리즈의 게시물"
+
+[related_posts]
+other = "비슷한 게시물"
\ No newline at end of file
diff --git a/i18n/pt-PT.toml b/i18n/pt-PT.toml
index d483720..f7aa790 100644
--- a/i18n/pt-PT.toml
+++ b/i18n/pt-PT.toml
@@ -49,4 +49,7 @@
other = "Atualizar"
[series_posts]
-other = "Postagens nesta série"
\ No newline at end of file
+other = "Postagens nesta série"
+
+[related_posts]
+other = "Posts semelhantes"
\ No newline at end of file
diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml
index 4a01116..eb19bfd 100644
--- a/i18n/pt-br.toml
+++ b/i18n/pt-br.toml
@@ -45,4 +45,7 @@
other = "Atualizar"
[series_posts]
-other = "Postagens nesta série"
\ No newline at end of file
+other = "Postagens nesta série"
+
+[related_posts]
+other = "Postagens semelhantes"
\ No newline at end of file
diff --git a/i18n/tr.toml b/i18n/tr.toml
index 5a1272f..4f5f115 100644
--- a/i18n/tr.toml
+++ b/i18n/tr.toml
@@ -50,3 +50,6 @@
[series_posts]
other = "Bu serideki gönderiler"
+
+[related_posts]
+other = "Benzer gönderiler"
\ No newline at end of file
diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml
index a9dc65c..01735b0 100755
--- a/i18n/zh-cn.toml
+++ b/i18n/zh-cn.toml
@@ -45,4 +45,7 @@
other = "更新"
[series_posts]
-other = "这个系列的帖子"
\ No newline at end of file
+other = "这个系列的帖子"
+
+[related_posts]
+other = "类似的帖子"
\ No newline at end of file
diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml
index 2cc330b..657ba6d 100644
--- a/i18n/zh-tw.toml
+++ b/i18n/zh-tw.toml
@@ -45,4 +45,7 @@
other = "關於"
[series_posts]
-other = "這個系列的帖子"
\ No newline at end of file
+other = "這個系列的帖子"
+
+[related_posts]
+other = "類似的帖子"
\ No newline at end of file
diff --git a/layouts/partials/related.html b/layouts/partials/related.html
index b1a60f5..0cc81d8 100644
--- a/layouts/partials/related.html
+++ b/layouts/partials/related.html
@@ -1,9 +1,9 @@
{{ $related := .Site.RegularPages.Related . | first .Site.Params.numberOfRelatedPosts }}
{{ with $related }}
- <h3>Related Posts</h3>
+ <h3>{{- T "related_posts" -}}</h3>
<ul>
{{ range . }}
- <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+ <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
--
Gitblit v1.10.0