diff --git a/i18n/ca.toml b/i18n/ca.toml index 64a7630..170fb8a 100644 --- a/i18n/ca.toml +++ b/i18n/ca.toml @@ -5,7 +5,7 @@ other = "Cerca" other = "2006-01-02" [reading-time] -other = "Minuts lectura" +other = "{{ .Count }} Minuts lectura" [tags] other = "Etiquetes" diff --git a/i18n/de.toml b/i18n/de.toml index 2998d00..8735d61 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -5,7 +5,7 @@ other = "Suchen ..." other = "02.01.2006" [reading-time] -other = "Min. Lesezeit" +other = "{{ .Count }} Min. Lesezeit" [tags] other = "Stichworte" diff --git a/i18n/en.toml b/i18n/en.toml index 506b78f..92dbdd6 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -5,7 +5,7 @@ other = "Search" other = "Jan 2, 2006" [reading-time] -other = "min read" +other = "{{ .Count }} min read" [tags] other = "Tags" diff --git a/i18n/eo.toml b/i18n/eo.toml index 94fc1f6..b966bcf 100644 --- a/i18n/eo.toml +++ b/i18n/eo.toml @@ -5,7 +5,7 @@ other = "Serĉi" other = "02/01/2006" [reading-time] -other = "min de legado" +other = "{{ .Count }} min de legado" [tags] other = "Etiketoj" diff --git a/i18n/es.toml b/i18n/es.toml index 0b0e31d..3527d8d 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -5,7 +5,7 @@ other = "buscar" other = "2006-01-02" [reading-time] -other = "minutos lectura" +other = "{{ .Count }} minutos lectura" [tags] other = "Etiquetas" diff --git a/i18n/fa.toml b/i18n/fa.toml index 661db0a..ff49bbd 100644 --- a/i18n/fa.toml +++ b/i18n/fa.toml @@ -11,7 +11,7 @@ other = "دسته بندی ها" other = "سری مطالب" [reading-time] -other = "دقیقه بخوانید" +other = "{{ .Count }} دقیقه بخوانید" [summary-dateformat] other = "Jan 2, 2006" diff --git a/i18n/fr.toml b/i18n/fr.toml index a3068e8..137ad4e 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -5,7 +5,7 @@ other = "Rechercher" other = "02/01/2006" [reading-time] -other = "min de lecture" +other = "{{ .Count }} min de lecture" [tags] other = "Étiquettes" diff --git a/i18n/ja.toml b/i18n/ja.toml index f53e201..34ff63f 100644 --- a/i18n/ja.toml +++ b/i18n/ja.toml @@ -5,7 +5,7 @@ other = "検索" other = "2006/1/2" [reading-time] -other = "分で読めます" +other = "{{ .Count }} 分で読めます" [tags] other = "タグ" diff --git a/i18n/ko.toml b/i18n/ko.toml index f06b688..3a4f463 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -5,7 +5,7 @@ other = "검색" other = "2006년 01월 02일" [reading-time] -other = "min read" +other = "{{ .Count }} min read" [tags] other = "태그" diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml index ce03115..35a0c31 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -5,7 +5,7 @@ other = "Pesquisar" other = "02-01-2006" [reading-time] -other = "min. de leitura" +other = "{{ .Count }} min. de leitura" [tags] other = "Tags" diff --git a/i18n/ro.toml b/i18n/ro.toml index d062ebf..4d98f9e 100644 --- a/i18n/ro.toml +++ b/i18n/ro.toml @@ -5,7 +5,7 @@ other = "Căută" other = "2006-01-02" [reading-time] -other = "minute de citit" +other = "{{ .Count }} minute de citit" [tags] other = "Etichete" diff --git a/i18n/uk.toml b/i18n/uk.toml index c8e6e8d..2887da3 100644 --- a/i18n/uk.toml +++ b/i18n/uk.toml @@ -5,7 +5,7 @@ other = "Пошук" other = "Jan 2, 2006" [reading-time] -other = "хв читати" +other = "{{ .Count }} хв читати" [tags] other = "Теги" diff --git a/i18n/zh.toml b/i18n/zh.toml index dcf297b..104ec7c 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -5,7 +5,7 @@ other = "搜索" other = "2006年01月02日" [reading-time] -other = "分钟" +other = "{{ .Count }} 分钟" [tags] other = "标签" diff --git a/layouts/partials/body/infos.html b/layouts/partials/body/infos.html index 632e50c..9f227c8 100644 --- a/layouts/partials/body/infos.html +++ b/layouts/partials/body/infos.html @@ -4,7 +4,7 @@ {{ if ne (.Date.Format (i18n "summary-dateformat")) (.Lastmod.Format (i18n "summary-dateformat")) }}  ·  {{ end }} -  ·  {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ .ReadingTime }} {{ i18n "reading-time" }} +  ·  {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ i18n "reading-time" .ReadingTime }} {{ with .Params.Author }}  ·  {{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}{{ ($.Site.Params.authorIcon | safeHTML) | default "✍️" }}{{ end }} {{ . }} {{ end }} diff --git a/layouts/partials/summary/card.html b/layouts/partials/summary/card.html index ed8187d..c5ceec4 100644 --- a/layouts/partials/summary/card.html +++ b/layouts/partials/summary/card.html @@ -6,7 +6,7 @@ {{ if ne (.Date.Format (i18n "summary-dateformat")) (.Lastmod.Format (i18n "summary-dateformat")) }} {{ end }} - · {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ .ReadingTime }} {{ i18n "reading-time" }} + · {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ i18n "reading-time" .ReadingTime }} {{ with $.Param "author" }} · {{ if $.Param "AuthorEmoji" }}{{ $.Param "AuthorEmoji" }}{{ else }}{{ ($.Site.Params.authorIcon | safeHTML) | default "✍️" }}{{ end }} {{ . }} {{ end }} diff --git a/layouts/partials/summary/classic.html b/layouts/partials/summary/classic.html index db71419..3af340f 100644 --- a/layouts/partials/summary/classic.html +++ b/layouts/partials/summary/classic.html @@ -23,7 +23,7 @@ {{ if ne (.Date.Format (i18n "summary-dateformat")) (.Lastmod.Format (i18n "summary-dateformat")) }} {{ end }} - · {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ .ReadingTime }} {{ i18n "reading-time" }} + · {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ i18n "reading-time" .ReadingTime }} {{ with $.Param "author" }} · {{ if $.Param "authorEmoji" }}{{ $.Param "authorEmoji" }}{{ else }}{{ ($.Site.Params.authorIcon | safeHTML) | default "✍️" }}{{ end }} {{ . }} {{ end }} diff --git a/layouts/partials/summary/compact.html b/layouts/partials/summary/compact.html index a9df179..8ffd0eb 100644 --- a/layouts/partials/summary/compact.html +++ b/layouts/partials/summary/compact.html @@ -9,7 +9,7 @@ {{ if ne (.Date.Format (i18n "summary-dateformat")) (.Lastmod.Format (i18n "summary-dateformat")) }} {{ end }} - · {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ .ReadingTime }} {{ i18n "reading-time" }} + · {{ ($.Site.Params.readingTimeIcon | safeHTML) | default "☕" }} {{ i18n "reading-time" .ReadingTime }} {{ with $params.Author }} · {{ if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}{{ ($.Site.Params.authorIcon | safeHTML) | default "✍️" }}{{ end }} {{ . }} {{ end }}