Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: translate related posts header #473

Merged
merged 2 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion i18n/ar.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ other = "حول"
other = "تحديث"

[series_posts]
other = "المشاركات في هذه السلسلة"
other = "المشاركات في هذه السلسلة"

[related_posts]
other = "مشاركات مماثلة"
5 changes: 4 additions & 1 deletion i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ other = "Info"
other = "Aktualisierung"

[series_posts]
other = "Beiträge in dieser Serie"
other = "Beiträge in dieser Serie"

[related_posts]
other = "Ähnliche Beiträge"
5 changes: 4 additions & 1 deletion i18n/dk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "Om"
other = "Opdatering"

[series_posts]
other = "Indlæg i denne serie"
other = "Indlæg i denne serie"

[related_posts]
other = "lignende indlæg"
5 changes: 4 additions & 1 deletion i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ other = "Info"
other = "Update"

[series_posts]
other = "Posts in this series"
other = "Posts in this series"

[related_posts]
other = "Related Posts"
5 changes: 4 additions & 1 deletion i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "Acerca de"
other = "Actualizar"

[series_posts]
other = "Publicaciones en esta serie"
other = "Publicaciones en esta serie"

[related_posts]
other = "Publicaciones similares"
3 changes: 3 additions & 0 deletions i18n/fa.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ other = "به روز رسانی"

[series_posts]
other = "پست های این مجموعه"

[related_posts]
other = "پست های مشابه"
5 changes: 4 additions & 1 deletion i18n/fi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "Tietoja"
other = "Päivitys"

[series_posts]
other = "Viestit tässä sarjassa"
other = "Viestit tässä sarjassa"

[related_posts]
other = "Vastaavia viestejä"
5 changes: 4 additions & 1 deletion i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "À propos"
other = "mettre à jour"

[series_posts]
other = "Articles dans cette série"
other = "Articles dans cette série"

[related_posts]
other = "Messages similaires"
5 changes: 4 additions & 1 deletion i18n/hu.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ other = "Információ"
other = "Újdonság"

[series_posts]
other = "További bejegyzések a cikksorozatban"
other = "További bejegyzések a cikksorozatban"

[related_posts]
other = "Hasonló hozzászólások"
3 changes: 3 additions & 0 deletions i18n/id.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ other = "Update"

[series_posts]
other = "Posting dalam seri ini"

[related_posts]
other = "Postingan serupa"
5 changes: 4 additions & 1 deletion i18n/it.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "Informazioni"
other = "Aggiorna"

[series_posts]
other = "Messaggi di questa serie"
other = "Messaggi di questa serie"

[related_posts]
other = "Post simili"
5 changes: 4 additions & 1 deletion i18n/ja.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "概要"
other = "更新"

[series_posts]
other = "このシリーズの投稿"
other = "このシリーズの投稿"

[related_posts]
other = "同様の投稿"
5 changes: 4 additions & 1 deletion i18n/ko.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ other = "경고"
other = "업데이트"

[series_posts]
other = "이 시리즈의 게시물"
other = "이 시리즈의 게시물"

[related_posts]
other = "비슷한 게시물"
5 changes: 4 additions & 1 deletion i18n/pt-PT.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ other = "Sobre"
other = "Atualizar"

[series_posts]
other = "Postagens nesta série"
other = "Postagens nesta série"

[related_posts]
other = "Posts semelhantes"
5 changes: 4 additions & 1 deletion i18n/pt-br.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "Sobre"
other = "Atualizar"

[series_posts]
other = "Postagens nesta série"
other = "Postagens nesta série"

[related_posts]
other = "Postagens semelhantes"
3 changes: 3 additions & 0 deletions i18n/tr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ other = "Güncelleme"

[series_posts]
other = "Bu serideki gönderiler"

[related_posts]
other = "Benzer gönderiler"
5 changes: 4 additions & 1 deletion i18n/zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "关于"
other = "更新"

[series_posts]
other = "这个系列的帖子"
other = "这个系列的帖子"

[related_posts]
other = "类似的帖子"
5 changes: 4 additions & 1 deletion i18n/zh-tw.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ other = "關於"
other = "關於"

[series_posts]
other = "這個系列的帖子"
other = "這個系列的帖子"

[related_posts]
other = "類似的帖子"
4 changes: 2 additions & 2 deletions layouts/partials/related.html
Original file line number Diff line number Diff line change
@@ -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 }}