Skip to content

Commit f01b711

Browse files
committed
update i18n
1 parent bffc12e commit f01b711

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

i18n/en.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@ one = " • One minute to read"
66
other = " • {{ .Count }} minutes to read"
77

88
[more]
9-
other = "more"
9+
other = "more"
10+
11+
[Categories]
12+
other = "Categories"
13+
14+
[Tags]
15+
other = "Tags"

i18n/zh.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@ one = " • 预计阅读时间 1 分钟"
66
other = " • 预计阅读时间 {{ .Count }} 分钟"
77

88
[more]
9-
other = "全文"
9+
other = "全文"
10+
11+
[Categories]
12+
other = "分类"
13+
14+
[Tags]
15+
other = "标签"

layouts/partials/navigation-items.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
{{- if or $nav.showCategories $nav.showTags $nav.custom -}}
33
<div class="nav wrap"><nav class="nav">
44
{{- if $nav.showCategories -}}
5-
<a class="nav item" href="{{- `/categories/` | relLangURL -}}">Categories</a>
5+
<a class="nav item" href="{{- `/categories/` | relLangURL -}}">{{- T "Categories" -}}</a>
66
{{- end -}}
77
{{- if $nav.showTags -}}
8-
<a class="nav item" href="{{- `/tags/` | relLangURL -}}">Tags</a>
8+
<a class="nav item" href="{{- `/tags/` | relLangURL -}}">{{- T "Tags" -}}</a>
99
{{- end -}}
1010
{{- range $nav.custom -}}
1111
{{- $url := .url | safeURL -}}

0 commit comments

Comments
 (0)