From bc32beec234d4d2139fbbb09e036be9250c54956 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Sat, 26 Nov 2022 14:56:58 +0000
Subject: [PATCH] Merge branch 'master' of https://github.com/lxndrblz/anatole
---
layouts/_default/single.html | 3 -
layouts/partials/toc.html | 2 +
i18n/tr.toml | 52 ++++++++++++++++++++++++++
i18n/fa.toml | 10 +++-
4 files changed, 62 insertions(+), 5 deletions(-)
diff --git a/i18n/fa.toml b/i18n/fa.toml
index 1c4be5e..a0f8a88 100644
--- a/i18n/fa.toml
+++ b/i18n/fa.toml
@@ -5,8 +5,12 @@
other = "برچسب"
[reading_time]
-one = "یک دقیقه زبان برای مطالعه"
-other = "{{ .Count }}-دقیقه زمان باقی مانده است"
+one = "یک دقیقه زمان مطالعه"
+other = "{{ .Count }}-دقیقه زمان مطالعه"
+
+[old_content_warning]
+one = "اخطار: این پست بیش از {{ .Count }} روز سن دارد. اطلاعات پست ممکن است بروز نباشد."
+other = "اخطار: این پست بیش از {{ .Count }} روز سن دارد. اطلاعات پست ممکن است بروز نباشد."
[page_not_found]
other = "صفحه پیدا نشد"
@@ -45,4 +49,4 @@
other = "به روز رسانی"
[series_posts]
-other = "پست های این مجموعه"
\ No newline at end of file
+other = "پست های این مجموعه"
diff --git a/i18n/tr.toml b/i18n/tr.toml
new file mode 100644
index 0000000..5a1272f
--- /dev/null
+++ b/i18n/tr.toml
@@ -0,0 +1,52 @@
+[category]
+other = "Kategori"
+
+[tag]
+other = "Etiket"
+
+[reading_time]
+one = "Bir dakikalık okuma"
+other = "{{ .Count }}-dakikalık okuma"
+
+[old_content_warning]
+one = "Uyarı: Bu gönderi en fazla {{ .Count }} gün eski. Bilgiler eski olabilir."
+other = "Uyarı: Bu gönderi en fazla {{ .Count }} gün eski. Bilgiler eski olabilir."
+
+[page_not_found]
+other = "Sayfa bulunamadı"
+
+[page_does_not_exist]
+other = "Üzgünüz, bu sayfa mevcut değil."
+
+[head_back]
+other = "<a href=\"{{ . }}\">ana sayfaya</a> geri dönebilirsiniz."
+
+[comments]
+other = "Yorumlar"
+
+[send]
+other = "gönder"
+
+[read_more]
+other = "Devamını oku"
+
+[name]
+other = "Isim"
+
+[email]
+other = "e-posta"
+
+[message]
+other = "Mesaj"
+
+[warning]
+other = "Uyarı"
+
+[info]
+other = "Bilgi"
+
+[update]
+other = "Güncelleme"
+
+[series_posts]
+other = "Bu serideki gönderiler"
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index da8f295..f1c6d21 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -45,8 +45,7 @@
{{- partial "expirationnote.html" . -}}
{{- if (eq .Params.toc true) -}}
- <h3>Table of Contents</h3>
- {{ .TableOfContents }}
+ {{- partial "toc.html" . -}}
{{- end -}}
{{ .Content }}
diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html
new file mode 100644
index 0000000..d20c456
--- /dev/null
+++ b/layouts/partials/toc.html
@@ -0,0 +1,2 @@
+<h3>Table of Contents</h3>
+{{ .TableOfContents }}
--
Gitblit v1.10.0