diff options
author | vvveiii <cntrump@gmail.com> | 2020-01-07 04:48:42 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2020-01-07 04:48:42 +0300 |
commit | 3e8dc11ba8acfd7876cd8709fe00e690bdecf661 (patch) | |
tree | 6318a97dfb9abe2073142417c79c46202b33fb29 /i18n | |
parent | d9570b14825a56c805fa96f6f0288e519fe8d875 (diff) |
support show reading time on article
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/en.toml | 6 | ||||
-rw-r--r-- | i18n/zh-CN.toml | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index 452be9e..9ec09c8 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,2 +1,6 @@ [edited] -other = " • edited %s"
\ No newline at end of file +other = " • edited %s" + +[readingTime] +one = " • One minute to read" +other = " • {{.Count}} minutes to read"
\ No newline at end of file diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index 8bf4128..14b2e7a 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -1,2 +1,6 @@ [edited] -other = " • 更新于 %s"
\ No newline at end of file +other = " • 更新于 %s" + +[readingTime] +one = " • 阅完全文大约 1 分钟" +other = " • 阅完全文大约 {{.Count}} 分钟"
\ No newline at end of file |