From e875766eb844963b10b2be143f5c2c47084b13d2 Mon Sep 17 00:00:00 2001
From: Timothée Andres <andres.timothee@gmail.com>
Date: Sat, 07 Jun 2025 12:59:05 +0000
Subject: [PATCH] feat: localize table of contents title (#557)
---
i18n/pt-PT.toml | 5 ++
i18n/zh-cn.toml | 5 ++
i18n/ko.toml | 5 ++
i18n/zh-tw.toml | 5 ++
i18n/dk.toml | 3 +
i18n/hu.toml | 5 ++
i18n/ja.toml | 5 ++
i18n/es.toml | 5 ++
i18n/fi.toml | 5 ++
i18n/de.toml | 5 ++
i18n/fa.toml | 5 ++
i18n/pt-br.toml | 5 ++
i18n/ar.toml | 5 ++
layouts/partials/toc.html | 2
i18n/en.toml | 5 ++
i18n/tr.toml | 5 ++
i18n/id.toml | 5 ++
i18n/it.toml | 5 ++
i18n/fr.toml | 5 ++
19 files changed, 72 insertions(+), 18 deletions(-)
diff --git a/i18n/ar.toml b/i18n/ar.toml
index 0474e9a..b90f276 100644
--- a/i18n/ar.toml
+++ b/i18n/ar.toml
@@ -49,4 +49,7 @@
other = "المشاركات في هذه السلسلة"
[related_posts]
-other = "مشاركات مماثلة"
\ No newline at end of file
+other = "مشاركات مماثلة"
+
+[toc]
+other = "جدول المحتويات"
diff --git a/i18n/de.toml b/i18n/de.toml
index 71ece53..e4f7a0b 100644
--- a/i18n/de.toml
+++ b/i18n/de.toml
@@ -52,4 +52,7 @@
other = "Beiträge in dieser Serie"
[related_posts]
-other = "Ähnliche Beiträge"
\ No newline at end of file
+other = "Ähnliche Beiträge"
+
+[toc]
+other = "Inhaltsverzeichnis"
diff --git a/i18n/dk.toml b/i18n/dk.toml
index 3747665..474b9ab 100644
--- a/i18n/dk.toml
+++ b/i18n/dk.toml
@@ -49,3 +49,6 @@
[related_posts]
other = "lignende indlæg"
+
+[toc]
+other = "Indholdsfortegnelse"
diff --git a/i18n/en.toml b/i18n/en.toml
index 948a82d..eb87fa2 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -52,4 +52,7 @@
other = "Posts in this series"
[related_posts]
-other = "Related Posts"
\ No newline at end of file
+other = "Related Posts"
+
+[toc]
+other = "Table of contents"
diff --git a/i18n/es.toml b/i18n/es.toml
index 963ac3b..c836cfb 100644
--- a/i18n/es.toml
+++ b/i18n/es.toml
@@ -48,4 +48,7 @@
other = "Publicaciones en esta serie"
[related_posts]
-other = "Publicaciones similares"
\ No newline at end of file
+other = "Publicaciones similares"
+
+[toc]
+other = "Índice"
diff --git a/i18n/fa.toml b/i18n/fa.toml
index 038dde8..f9e82ef 100644
--- a/i18n/fa.toml
+++ b/i18n/fa.toml
@@ -52,4 +52,7 @@
other = "پست های این مجموعه"
[related_posts]
-other = "پست های مشابه"
\ No newline at end of file
+other = "پست های مشابه"
+
+[toc]
+other = "فهرست مطالب"
diff --git a/i18n/fi.toml b/i18n/fi.toml
index 9372a9b..158a971 100644
--- a/i18n/fi.toml
+++ b/i18n/fi.toml
@@ -48,4 +48,7 @@
other = "Viestit tässä sarjassa"
[related_posts]
-other = "Vastaavia viestejä"
\ No newline at end of file
+other = "Vastaavia viestejä"
+
+[toc]
+other = "Sisällysluettelo"
diff --git a/i18n/fr.toml b/i18n/fr.toml
index 6310cd7..464f373 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -48,4 +48,7 @@
other = "Articles dans cette série"
[related_posts]
-other = "Messages similaires"
\ No newline at end of file
+other = "Messages similaires"
+
+[toc]
+other = "Table des matières"
diff --git a/i18n/hu.toml b/i18n/hu.toml
index 66c5ca6..dd50117 100644
--- a/i18n/hu.toml
+++ b/i18n/hu.toml
@@ -52,4 +52,7 @@
other = "További bejegyzések a cikksorozatban"
[related_posts]
-other = "Hasonló hozzászólások"
\ No newline at end of file
+other = "Hasonló hozzászólások"
+
+[toc]
+other = "Tartalomjegyzék"
diff --git a/i18n/id.toml b/i18n/id.toml
index 3be4967..1548c90 100644
--- a/i18n/id.toml
+++ b/i18n/id.toml
@@ -52,4 +52,7 @@
other = "Posting dalam seri ini"
[related_posts]
-other = "Postingan serupa"
\ No newline at end of file
+other = "Postingan serupa"
+
+[toc]
+other = "Daftar isi"
diff --git a/i18n/it.toml b/i18n/it.toml
index 0df8472..8925865 100644
--- a/i18n/it.toml
+++ b/i18n/it.toml
@@ -48,4 +48,7 @@
other = "Messaggi di questa serie"
[related_posts]
-other = "Post simili"
\ No newline at end of file
+other = "Post simili"
+
+[toc]
+other = "Indice dei contenuti"
diff --git a/i18n/ja.toml b/i18n/ja.toml
index c8148c1..ad61542 100644
--- a/i18n/ja.toml
+++ b/i18n/ja.toml
@@ -48,4 +48,7 @@
other = "このシリーズの投稿"
[related_posts]
-other = "同様の投稿"
\ No newline at end of file
+other = "同様の投稿"
+
+[toc]
+other = "目次"
diff --git a/i18n/ko.toml b/i18n/ko.toml
index 4a5b93f..e6bdf88 100644
--- a/i18n/ko.toml
+++ b/i18n/ko.toml
@@ -52,4 +52,7 @@
other = "이 시리즈의 게시물"
[related_posts]
-other = "비슷한 게시물"
\ No newline at end of file
+other = "비슷한 게시물"
+
+[toc]
+other = "목차"
diff --git a/i18n/pt-PT.toml b/i18n/pt-PT.toml
index f7aa790..a8b930f 100644
--- a/i18n/pt-PT.toml
+++ b/i18n/pt-PT.toml
@@ -52,4 +52,7 @@
other = "Postagens nesta série"
[related_posts]
-other = "Posts semelhantes"
\ No newline at end of file
+other = "Posts semelhantes"
+
+[toc]
+other = "Índice"
diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml
index eb19bfd..2ef124c 100644
--- a/i18n/pt-br.toml
+++ b/i18n/pt-br.toml
@@ -48,4 +48,7 @@
other = "Postagens nesta série"
[related_posts]
-other = "Postagens semelhantes"
\ No newline at end of file
+other = "Postagens semelhantes"
+
+[toc]
+other = "Tabela de conteúdo"
diff --git a/i18n/tr.toml b/i18n/tr.toml
index 4f5f115..681bea2 100644
--- a/i18n/tr.toml
+++ b/i18n/tr.toml
@@ -52,4 +52,7 @@
other = "Bu serideki gönderiler"
[related_posts]
-other = "Benzer gönderiler"
\ No newline at end of file
+other = "Benzer gönderiler"
+
+[toc]
+other = "İçindekiler tablosu"
diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml
index 01735b0..585663e 100755
--- a/i18n/zh-cn.toml
+++ b/i18n/zh-cn.toml
@@ -48,4 +48,7 @@
other = "这个系列的帖子"
[related_posts]
-other = "类似的帖子"
\ No newline at end of file
+other = "类似的帖子"
+
+[toc]
+other = "目录"
diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml
index 657ba6d..48cf429 100644
--- a/i18n/zh-tw.toml
+++ b/i18n/zh-tw.toml
@@ -48,4 +48,7 @@
other = "這個系列的帖子"
[related_posts]
-other = "類似的帖子"
\ No newline at end of file
+other = "類似的帖子"
+
+[toc]
+other = "目錄"
diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html
index d20c456..80e8a49 100644
--- a/layouts/partials/toc.html
+++ b/layouts/partials/toc.html
@@ -1,2 +1,2 @@
-<h3>Table of Contents</h3>
+<h3>{{ T "toc" }}</h3>
{{ .TableOfContents }}
--
Gitblit v1.10.0