Perf: add detail value for title of total word count (#124)

This commit is contained in:
Cell
2022-04-29 01:17:06 +08:00
parent e0dc4415ca
commit 910fc5f3b0
+1 -1
View File
@@ -63,7 +63,7 @@
{{- if ge $humanizedNum 1000 -}}
{{- $humanizedNum = printf "%.2fK" (div $humanizedNum 1000.0) -}}
{{- end -}}
<span class="total-word-count footer-divider"><i class="far fa-keyboard fa-fw"></i>&nbsp;{{- T "totalwordCount" (dict "Count" $humanizedNum) -}}</span>
<span class="total-word-count footer-divider" title='{{- T "totalwordCount" . }}'><i class="far fa-keyboard fa-fw"></i>&nbsp;{{- T "totalwordCount" (dict "Count" $humanizedNum) -}}</span>
{{- end -}}
{{- end -}}
</div>