From f8eda4ac663328b89e8e99d3d5d18b815ccccee1 Mon Sep 17 00:00:00 2001 From: David Scholz Date: Sat, 13 Jul 2024 18:17:02 +0200 Subject: [PATCH] feat: translate related posts header (#473) * feat: translate related posts header --------- Co-authored-by: Alexander Bilz --- i18n/ar.toml | 5 ++++- i18n/de.toml | 5 ++++- i18n/dk.toml | 5 ++++- i18n/en.toml | 5 ++++- i18n/es.toml | 5 ++++- i18n/fa.toml | 3 +++ i18n/fi.toml | 5 ++++- i18n/fr.toml | 5 ++++- i18n/hu.toml | 5 ++++- i18n/id.toml | 3 +++ i18n/it.toml | 5 ++++- i18n/ja.toml | 5 ++++- i18n/ko.toml | 5 ++++- i18n/pt-PT.toml | 5 ++++- i18n/pt-br.toml | 5 ++++- i18n/tr.toml | 3 +++ i18n/zh-cn.toml | 5 ++++- i18n/zh-tw.toml | 5 ++++- layouts/partials/related.html | 4 ++-- 19 files changed, 71 insertions(+), 17 deletions(-) diff --git a/i18n/ar.toml b/i18n/ar.toml index 233b9891..0474e9aa 100644 --- a/i18n/ar.toml +++ b/i18n/ar.toml @@ -46,4 +46,7 @@ other = "حول" 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 88c97247..71ece537 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -49,4 +49,7 @@ other = "Info" 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 1960d031..37476658 100644 --- a/i18n/dk.toml +++ b/i18n/dk.toml @@ -45,4 +45,7 @@ other = "Om" 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 bd06fbd2..948a82dd 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -49,4 +49,7 @@ other = "Info" 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 69a471b8..963ac3b9 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -45,4 +45,7 @@ other = "Acerca de" 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 a0f8a884..038dde8b 100644 --- a/i18n/fa.toml +++ b/i18n/fa.toml @@ -50,3 +50,6 @@ other = "به روز رسانی" [series_posts] other = "پست های این مجموعه" + +[related_posts] +other = "پست های مشابه" \ No newline at end of file diff --git a/i18n/fi.toml b/i18n/fi.toml index 1317a3be..9372a9b2 100644 --- a/i18n/fi.toml +++ b/i18n/fi.toml @@ -45,4 +45,7 @@ other = "Tietoja" 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 686a21f6..6310cd72 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -45,4 +45,7 @@ other = "À propos" 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 3815c63b..66c5ca67 100644 --- a/i18n/hu.toml +++ b/i18n/hu.toml @@ -49,4 +49,7 @@ other = "Információ" 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 1da58fb1..3be4967e 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -50,3 +50,6 @@ other = "Update" [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 d97ec975..0df8472f 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -45,4 +45,7 @@ other = "Informazioni" 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 b97b2d8d..c8148c1d 100644 --- a/i18n/ja.toml +++ b/i18n/ja.toml @@ -45,4 +45,7 @@ other = "概要" 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 895e84e0..4a5b93fc 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -49,4 +49,7 @@ other = "경고" 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 d4837201..f7aa7909 100644 --- a/i18n/pt-PT.toml +++ b/i18n/pt-PT.toml @@ -49,4 +49,7 @@ other = "Sobre" 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 4a011167..eb19bfd4 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -45,4 +45,7 @@ other = "Sobre" 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 5a1272f9..4f5f1156 100644 --- a/i18n/tr.toml +++ b/i18n/tr.toml @@ -50,3 +50,6 @@ other = "Güncelleme" [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 a9dc65c6..01735b09 100755 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -45,4 +45,7 @@ other = "关于" 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 2cc330b3..657ba6dd 100644 --- a/i18n/zh-tw.toml +++ b/i18n/zh-tw.toml @@ -45,4 +45,7 @@ other = "關於" 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 b1a60f5a..0cc81d8b 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 }} -

Related Posts

+

{{- T "related_posts" -}}

{{ end }}