diff --git a/i18n/en.yaml b/i18n/en.yaml index 8b45694..f1a0112 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -18,9 +18,6 @@ CateTitle: AllSome: other: "All {{ .Some }}" -NavToggleLabel: - other: Toggle navigation bar - MSearchLabel: other: Search @@ -31,12 +28,23 @@ SymbolComma: SymbolPeriod: other: "." +Sidebar: + label: + posts: Posts + categories: Categories + tags: Tags + rss: RSS + ccommons: "Creative Commons" + navToggle: "Toggle Navigation Bar" + toc: TOC + overview: Overview + SbPostsLable: - other: "Posts" + other: "" SbCatesTitle: - other: "Categories" + other: "" SbTagsTitle: - other: "Tags" + other: "" TableOfContents: other: "TOC" SiteOverview: diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml index 5e19b72..cd47579 100644 --- a/i18n/zh-cn.yaml +++ b/i18n/zh-cn.yaml @@ -31,21 +31,18 @@ SymbolComma: other: "," SymbolPeriod: other: "。" - -SbPostsLable: - other: 日志 -SbCatesTitle: - other: 分类 -SbTagsTitle: - other: 标签 -TableOfContents: - other: 文章目录 -SiteOverview: - other: 站点概览 -RSSLable: - other: RSS 订阅 -CCLinkTitle: - other: 共享知识 + +Sidebar: + label: + posts: 日志 + categories: 分类 + tags: 标签 + rss: RSS 订阅 + ccommons: 共享知识 + toc: 文章目录 + overview: 站点概览 + navToggle: 切换导航栏 + search: 搜索 TagsCounterTitle: zero: 暂无标签 diff --git a/layouts/partials/header/menus.html b/layouts/partials/header/menus.html index 7e81609..5e12b28 100644 --- a/layouts/partials/header/menus.html +++ b/layouts/partials/header/menus.html @@ -17,7 +17,7 @@ {{ if or .Site.Params.algoliaSearch.enable .Site.Params.localSearch.enable }}