diff --git a/i18n/en.yaml b/i18n/en.yaml index f1a0112..f851d87 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -18,15 +18,11 @@ CateTitle: AllSome: other: "All {{ .Some }}" -MSearchLabel: - other: Search -SymbolColon: - other: ":" -SymbolComma: - other: "," -SymbolPeriod: - other: "." +Symbol: + colon: ":" + comma: "," + period: "." Sidebar: label: @@ -35,34 +31,15 @@ Sidebar: tags: Tags rss: RSS ccommons: "Creative Commons" - navToggle: "Toggle Navigation Bar" toc: TOC overview: Overview - -SbPostsLable: - other: "" -SbCatesTitle: - other: "" -SbTagsTitle: - other: "" -TableOfContents: - other: "TOC" -SiteOverview: - other: "Overview" -RSSLable: - other: "RSS Subscribe" -CCLinkTitle: - other: "Creative Commons" + navToggle: "Toggle Navigation Bar" + search: Search -TagsCounterTitle: - zero: No tags - other: "{{ .Count }} tags in total" -CatesCounterTitle: - zero: No categories - other: "{{ .Count }} categories in total" -ArchiveCounterTitle: - zero: No posts. - other: "{{ .Count }} posts in total" +Terms: + archives: "{{ .Count }} posts in total" + categories: "{{ .Count }} categories in total" + tags: "{{ .Count }} tags in total" PostArchive: cheers: @@ -116,8 +93,8 @@ PostCopyRight: PostFollowMe: other: Welcome to my other publishing channels -PostCommentTitle: - other: Comments +PostComments: + title: Comments SiteInfoItems: title: "Web Status" @@ -132,17 +109,14 @@ SiteInfoItems: totalViews: "Total Views" lastUpdate: "Last Update:" -FooterPowerby: - other: "Power by %s" +Footer: + powerby: "Power by %s" -SearchPh: - other: Searching... -SearchEmpty: - other: "We didn't find any results for the search: ${query}" -SearchHits: +Search: + placeholder: Searching... + empty: "We didn't find any results for the search: ${query}" hits: "${hits} results found" -SearchHitsTime: - other: "${hits} results found in ${time} ms" + time: "${hits} results found in ${time} ms" DateSuffix: years: " Year " diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml index cd47579..639a358 100644 --- a/i18n/zh-cn.yaml +++ b/i18n/zh-cn.yaml @@ -19,18 +19,10 @@ CateTitle: AllSome: other: "所有 {{ .Some }}" -NavToggleLabel: - other: 切换导航栏 - -MSearchLabel: - other: 搜索 - -SymbolColon: - other: ":" -SymbolComma: - other: "," -SymbolPeriod: - other: "。" +Symbol: + colon: ":" + comma: "," + period: "。" Sidebar: label: @@ -44,15 +36,10 @@ Sidebar: navToggle: 切换导航栏 search: 搜索 -TagsCounterTitle: - zero: 暂无标签 - other: "目前共计 {{ .Count }} 个标签" -CatesCounterTitle: - zero: 暂无分类 - other: "目前共计 {{ .Count }} 个分类" -ArchiveCounterTitle: - zero: 暂无日志 - other: "目前共计 {{ .Count }} 篇日志" +Terms: + archives: "目前共计 {{ .Count }} 篇日志" + categories: "目前共计 {{ .Count }} 个分类" + tags: "目前共计 {{ .Count }} 个标签" PostArchive: cheers: @@ -106,8 +93,8 @@ PostCopyRight: PostFollowMe: other: 欢迎关注我的其它发布渠道 -PostCommentTitle: - other: 评论交流 +PostComments: + title: 评论交流 SiteInfoItems: title: "网站资讯" @@ -122,17 +109,14 @@ SiteInfoItems: totalViews: "总访问量:" lastUpdate: "最后更新于:" -FooterPowerby: - other: 由 %s 强力驱动 +Footer: + powerby: 由 %s 强力驱动 -SearchPh: - other: 搜索... -SearchEmpty: - other: "没有找到任何搜索结果:${query}" -SearchHits: +Search: + placeholder: 搜索... + empty: "没有找到任何搜索结果:${query}" hits: "找到 ${hits} 个搜索结果" -SearchHitsTime: - other: "找到 ${hits} 个搜索结果(用时 ${time} 毫秒)" + time: "找到 ${hits} 个搜索结果(用时 ${time} 毫秒)" DateSuffix: years: " 年 " diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 5dddd08..734f41c 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -36,7 +36,7 @@ {{ $tags := .Site.Taxonomies.tags }}