mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 09:51:37 -04:00
🌐 Pass .WordCount to i18n function
This commit is contained in:
committed by
James Panther
parent
65a7228bfc
commit
b4cbe9122b
+3
-1
@@ -6,7 +6,9 @@ article:
|
|||||||
one: "{{ .Count }} min"
|
one: "{{ .Count }} min"
|
||||||
other: "{{ .Count }} mins"
|
other: "{{ .Count }} mins"
|
||||||
reading_time_title: "Reading time"
|
reading_time_title: "Reading time"
|
||||||
word_count_unit: "Words"
|
word_count:
|
||||||
|
one: "{{ .Count }} word"
|
||||||
|
other: "{{ .Count }} words"
|
||||||
|
|
||||||
author:
|
author:
|
||||||
byline_title: "Author"
|
byline_title: "Author"
|
||||||
|
|||||||
+3
-1
@@ -5,7 +5,9 @@ article:
|
|||||||
reading_time:
|
reading_time:
|
||||||
other: "{{ .Count }} 分钟"
|
other: "{{ .Count }} 分钟"
|
||||||
reading_time_title: "预计阅读"
|
reading_time_title: "预计阅读"
|
||||||
word_count_unit: "字"
|
word_count:
|
||||||
|
one: "{{ .Count }} 字"
|
||||||
|
other: "{{ .Count }} 字"
|
||||||
|
|
||||||
author:
|
author:
|
||||||
byline_title: "作者"
|
byline_title: "作者"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<span>
|
<span>
|
||||||
{{ .WordCount }} {{- i18n "article.word_count_unit" -}}
|
{{- i18n "article.word_count" .WordCount | emojify -}}
|
||||||
</span>
|
</span>
|
||||||
{{- /* Trim EOF */ -}}
|
{{- /* Trim EOF */ -}}
|
||||||
|
|
||||||
Reference in New Issue
Block a user