🌐 Add better i18n support for article metadata

This commit is contained in:
James Panther
2022-01-24 13:58:19 +11:00
parent 61d80cf13d
commit b59137e458
13 changed files with 22 additions and 14 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
article:
anchor_label: "锚点"
date: "{{ .Date }}"
# date_updated: "Updated: {{ .Date }}"
draft: "草稿"
edit_title: "编辑内容"
reading_time:
other: "{{ .Count }} 分钟"
reading_time_title: "预计阅读"
# table_of_contents: "Table of Contents"
# updated: "Updated"
word_count:
one: "{{ .Count }} 字"
other: "{{ .Count }} 字"