From 48d36a2a54d2d4b4d75ec686482d61bd93b59f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Mon, 13 Jun 2022 19:59:22 +0800 Subject: [PATCH] :bug: Fixed the post header meta information. --- i18n/en.yaml | 19 ++++++++----------- i18n/zh-cn.yaml | 6 +++--- .../partials/post/header_meta/categories.html | 2 +- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/i18n/en.yaml b/i18n/en.yaml index 0299c79..2261e0d 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -31,17 +31,17 @@ SymbolComma: SymbolPeriod: other: "." -SitePostsTitle: +SbPostsLable: other: "Posts" -SiteCatesTitle: +SbCatesTitle: other: "Categories" -SiteTagsTitle: +SbTagsTitle: other: "Tags" TableOfContents: other: "TOC" SiteOverview: other: "Overview" -RSSTitle: +RSSLable: other: "RSS Subscribe" CCLinkTitle: other: "Creative Commons" @@ -50,15 +50,12 @@ BackTopLabel: TagsCounterTitle: zero: No tags - one: 1 tag in total other: "{{ .Count }} tags in total" CatesCounterTitle: zero: No categories - one: 1 category in total other: "{{ .Count }} categories in total" ArchiveCounterTitle: zero: No posts. - one: 1 post. other: "{{ .Count }} posts in total." PostArchiveCheersUm: @@ -79,13 +76,15 @@ PostArchiveKeepOn: PostStickyTitle: other: Strickys PostPublishDate: - other: "Publish" + other: "Publish on" PostPublishTime: other: "Create Time" PostLastModDate: - other: "Update" + other: "Update on" PostLastModTime: other: "Modify Time" +PostCategory: + other: "Classify at" PostWords: other: "Words" PostWordCount: @@ -96,8 +95,6 @@ PostReadTime: other: "{{- .ReadingTime -}}min" PostViews: other: "Views" -PostCatg: - other: "Categories" PostTag: other: "Tags" PostReadMore: diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml index 0bacd1f..e2819c3 100644 --- a/i18n/zh-cn.yaml +++ b/i18n/zh-cn.yaml @@ -84,6 +84,8 @@ PostLastModDate: other: 更新于 PostLastModTime: other: 修改时间 +PostCategory: + other: "分类于" PostWords: other: 字数 PostWordCount: @@ -94,8 +96,6 @@ PostReadTime: other: "{{- .ReadingTime -}}分钟" PostViews: other: 浏览 -PostCatgs: - other: 分类 PostTags: other: 标签 PostReadMore: @@ -135,7 +135,7 @@ RewardBitcoin: PostCommentTitle: other: 评论交流 -UserVistorsLabel: +VisitorsLabel: other: 总访客量 PageViewsLabel: other: 总访问量 diff --git a/layouts/partials/post/header_meta/categories.html b/layouts/partials/post/header_meta/categories.html index e0dc326..ab6acd8 100644 --- a/layouts/partials/post/header_meta/categories.html +++ b/layouts/partials/post/header_meta/categories.html @@ -4,7 +4,7 @@ - {{- print (T "PostCatgs") (T "SymbolColon") -}} + {{- print (T "PostCategory") (T "SymbolColon") -}} {{- range (first 1 .Params.categories) }}