Skip to content

Commit

Permalink
feat: translate series label (#372)
Browse files Browse the repository at this point in the history
Translates the series label into all supported languages.
  • Loading branch information
lxndrblz committed Jun 28, 2022
1 parent 4da3f1d commit 2fbe51c
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 14 deletions.
5 changes: 4 additions & 1 deletion i18n/ar.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ other = "تحذير"
other = "حول"

[update]
other = "تحديث"
other = "تحديث"

[series_posts]
other = "المشاركات في هذه السلسلة"
5 changes: 4 additions & 1 deletion i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ other = "Warnung"
other = "Info"

[update]
other = "Aktualisierung"
other = "Aktualisierung"

[series_posts]
other = "Beiträge in dieser Serie"
5 changes: 4 additions & 1 deletion i18n/dk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "Advarsel"
other = "Om"

[update]
other = "Opdatering"
other = "Opdatering"

[series_posts]
other = "Indlæg i denne serie"
5 changes: 4 additions & 1 deletion i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ other = "Warning"
other = "Info"

[update]
other = "Update"
other = "Update"

[series_posts]
other = "Posts in this series"
5 changes: 4 additions & 1 deletion i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "Advertencia"
other = "Acerca de"

[update]
other = "Actualizar"
other = "Actualizar"

[series_posts]
other = "Publicaciones en esta serie"
5 changes: 4 additions & 1 deletion i18n/fa.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "هشدار"
other = "درباره"

[update]
other = "به روز رسانی"
other = "به روز رسانی"

[series_posts]
other = "پست های این مجموعه"
5 changes: 4 additions & 1 deletion i18n/fi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "Varoitus"
other = "Tietoja"

[update]
other = "Päivitys"
other = "Päivitys"

[series_posts]
other = "Viestit tässä sarjassa"
5 changes: 4 additions & 1 deletion i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "Attention"
other = "À propos"

[update]
other = "mettre à jour"
other = "mettre à jour"

[series_posts]
other = "Articles dans cette série"
3 changes: 3 additions & 0 deletions i18n/it.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ other = "Informazioni"

[update]
other = "Aggiorna"

[series_posts]
other = "Messaggi di questa serie"
5 changes: 4 additions & 1 deletion i18n/ja.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "警告"
other = "概要"

[update]
other = "更新"
other = "更新"

[series_posts]
other = "このシリーズの投稿"
5 changes: 4 additions & 1 deletion i18n/ko.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ other = "경고"
other = "경고"

[update]
other = "업데이트"
other = "업데이트"

[series_posts]
other = "이 시리즈의 게시물"
3 changes: 3 additions & 0 deletions i18n/pt-PT.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ other = "Sobre"

[update]
other = "Atualizar"

[series_posts]
other = "Postagens nesta série"
5 changes: 4 additions & 1 deletion i18n/pt-br.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "Aviso"
other = "Sobre"

[update]
other = "Atualizar"
other = "Atualizar"

[series_posts]
other = "Postagens nesta série"
5 changes: 4 additions & 1 deletion i18n/zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "警告"
other = "关于"

[update]
other = "更新"
other = "更新"

[series_posts]
other = "这个系列的帖子"
5 changes: 4 additions & 1 deletion i18n/zh-tw.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ other = "警告"
other = "關於"

[update]
other = "關於"
other = "關於"

[series_posts]
other = "這個系列的帖子"
2 changes: 1 addition & 1 deletion layouts/partials/series.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ $related := where .Site.RegularPages ".Params.series" "intersect" .Params.series }}


<h3>Posts in this Series</h3>
<h3>{{ i18n "series_posts" }}</h3>
<ul>
{{ range $related }}
<li><a href="{{ .Page.RelPermalink }}">{{ title .Page.Title }}</a></li>
Expand Down

0 comments on commit 2fbe51c

Please sign in to comment.