Fix reading time translation
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
a5bd8106f8
commit
3e7bcaec78
5 changed files with 11 additions and 8 deletions
|
@ -121,3 +121,6 @@ other = "দায় বিজ্ঞপ্তি"
|
||||||
|
|
||||||
[search]
|
[search]
|
||||||
other = "অনুসন্ধান করুন"
|
other = "অনুসন্ধান করুন"
|
||||||
|
|
||||||
|
[minute]
|
||||||
|
other = "মিনিট"
|
||||||
|
|
|
@ -125,6 +125,6 @@ other = "Liability Notice"
|
||||||
[search]
|
[search]
|
||||||
other = "Search"
|
other = "Search"
|
||||||
|
|
||||||
[minutes]
|
[minute]
|
||||||
one = "1 minute"
|
one = "minute"
|
||||||
other = "{{.Count}} minutes"
|
other = "minutes"
|
||||||
|
|
|
@ -125,6 +125,6 @@ other = "Avviso di responsabilità"
|
||||||
[search]
|
[search]
|
||||||
other = "Ricerca"
|
other = "Ricerca"
|
||||||
|
|
||||||
[minutes]
|
[minute]
|
||||||
one = "1 minuto"
|
one = "minuto"
|
||||||
other = "{{.Count}} minuti"
|
other = "minuti"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<div class="author-profile ml-auto align-self-lg-center">
|
<div class="author-profile ml-auto align-self-lg-center">
|
||||||
<img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}' alt="Author Image">
|
<img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}' alt="Author Image">
|
||||||
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
|
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
|
||||||
<p class="text-muted">{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end }}{{ end }}</p>
|
<p class="text-muted">{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<span class="float-left">
|
<span class="float-left">
|
||||||
{{ .Date | time.Format ":date_full" }}
|
{{ .Date | time.Format ":date_full" }}
|
||||||
{{ if site.Params.features.readingTime }} | {{ i18n "minutes" .ReadingTime }} {{ end }}</span>
|
{{ if site.Params.features.readingTime }} | {{.ReadingTime}} {{ i18n "minute" .ReadingTime }} {{ end }}</span>
|
||||||
<a
|
<a
|
||||||
href="{{ .RelPermalink | relLangURL }}"
|
href="{{ .RelPermalink | relLangURL }}"
|
||||||
class="float-right btn btn-outline-info btn-sm">{{ i18n "read" }}</a>
|
class="float-right btn btn-outline-info btn-sm">{{ i18n "read" }}</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue