From c855899b0ae1804aac1b760c9c23f864112dfab7 Mon Sep 17 00:00:00 2001 From: hossainemruz Date: Mon, 16 Aug 2021 22:25:48 +0600 Subject: [PATCH] Fix tag link for multilingual mode + add translations Signed-off-by: hossainemruz --- i18n/bn.toml | 6 ++++++ i18n/de.toml | 6 ++++++ i18n/es.toml | 6 ++++++ i18n/fr.toml | 6 ++++++ i18n/hi.toml | 6 ++++++ i18n/id.toml | 6 ++++++ i18n/it.toml | 6 ++++++ i18n/jp.toml | 6 ++++++ i18n/ko.toml | 6 ++++++ i18n/nl.toml | 6 ++++++ i18n/ru.toml | 6 ++++++ i18n/vn.toml | 6 ++++++ i18n/zh-cn.toml | 6 ++++++ i18n/zh-tw.toml | 6 ++++++ layouts/_default/single.html | 3 ++- 15 files changed, 86 insertions(+), 1 deletion(-) diff --git a/i18n/bn.toml b/i18n/bn.toml index c0567aa..d1f7a72 100644 --- a/i18n/bn.toml +++ b/i18n/bn.toml @@ -8,6 +8,12 @@ other = "পোষ্ট সমূহ" [toc_heading] other = "সুচিপত্র" +[tags] +other = "ট্যাগ সমুহ" + +[categories] +other = "বিভাগ সমুহ" + [resume] other = "আমার জীবনবৃত্তান্ত" diff --git a/i18n/de.toml b/i18n/de.toml index b9e3ada..19a4cb4 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -8,6 +8,12 @@ other = "Beiträge" [toc_heading] other = "Inhaltsverzeichnis" +[tags] +other = "Stichworte" + +[categories] +other = "Kategorien" + [at] other = "bei" diff --git a/i18n/es.toml b/i18n/es.toml index 1701fa6..1023efd 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -8,6 +8,12 @@ other = "Posts" [toc_heading] other = "Contenido" +[tags] +other = "Etiquetas" + +[categories] +other = "Categorías" + [at] other = "en" diff --git a/i18n/fr.toml b/i18n/fr.toml index ae1b4e9..dccdb3b 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -8,6 +8,12 @@ other = "Articles" [toc_heading] other = "Table des matières" +[tags] +other = "Mots clés" + +[categories] +other = "Catégories" + [at] other = "chez" diff --git a/i18n/hi.toml b/i18n/hi.toml index c0c47f5..8be933a 100644 --- a/i18n/hi.toml +++ b/i18n/hi.toml @@ -8,6 +8,12 @@ other = "पोस्ट" [toc_heading] other = "विषयसूची" +[tags] +other = "टैग" + +[categories] +other = "श्रेणियाँ" + [at] other = "अन्य" diff --git a/i18n/id.toml b/i18n/id.toml index 9af6324..69e641f 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -8,6 +8,12 @@ other = "Artikel" [toc_heading] other = "Daftar Isi" +[tags] +other = "Tags" + +[categories] +other = "Kategori" + [at] other = "at" diff --git a/i18n/it.toml b/i18n/it.toml index c18826f..6ed1cc6 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -8,6 +8,12 @@ other = "Post" [toc_heading] other = "Contenuti" +[tags] +other = "Tags" + +[categories] +other = "Categorie" + [at] other = "presso" diff --git a/i18n/jp.toml b/i18n/jp.toml index 10e3769..846036d 100644 --- a/i18n/jp.toml +++ b/i18n/jp.toml @@ -8,6 +8,12 @@ other = "記事" [toc_heading] other = "目次" +[tags] +other = "タグ" + +[categories] +other = "カテゴリ" + [resume] other = "職務経歴書" diff --git a/i18n/ko.toml b/i18n/ko.toml index c58fe9c..c4dae96 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -8,6 +8,12 @@ other = "게시글" [toc_heading] other = "목차" +[tags] +other = "태그" + +[categories] +other = "카테고리" + [at] other = "at" diff --git a/i18n/nl.toml b/i18n/nl.toml index 19e7936..40d20d6 100644 --- a/i18n/nl.toml +++ b/i18n/nl.toml @@ -7,6 +7,12 @@ other = "Beiträge" [toc_heading] other = "Inhaltsverzeichnis" +[tags] +other = "Tags" + +[categories] +other = "Categorieën" + [at] other = "bei" diff --git a/i18n/ru.toml b/i18n/ru.toml index b2b3f60..92c8864 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -8,6 +8,12 @@ other = "Посты" [toc_heading] other = "Оглавление" +[tags] +other = "Теги" + +[categories] +other = "Категории" + [at] other = "в" diff --git a/i18n/vn.toml b/i18n/vn.toml index cd32f2b..d875e8c 100644 --- a/i18n/vn.toml +++ b/i18n/vn.toml @@ -8,6 +8,12 @@ other = "Bài viết" [toc_heading] other = "Mục lục" +[tags] +other = "Thẻ" + +[categories] +other = "Thể loại" + [at] other = "tại" diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml index 3f8b6e4..e9827fc 100644 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -8,6 +8,12 @@ other = "博文" [toc_heading] other = "目录" +[tags] +other = "标签" + +[categories] +other = "类别" + [at] other = "at" diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml index 3efc426..c814fee 100644 --- a/i18n/zh-tw.toml +++ b/i18n/zh-tw.toml @@ -8,6 +8,12 @@ other = "文章" [toc_heading] other = "目錄" +[tags] +other = "标签" + +[categories] +other = "类别" + [at] other = "at" diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a813691..26bef78 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -58,7 +58,8 @@
    {{ range .Params.tags }} -
  • {{ . }}
  • + {{ $url:= printf "tags/%s" . }} +
  • {{ . }}
  • {{ end }}