🎨 Use YAML style replace of TOML style make more simple.

This commit is contained in:
凡梦星尘 2022-05-24 19:14:49 +08:00
parent a4574e2085
commit 09ff24c8c6
4 changed files with 98 additions and 98 deletions

View File

@ -1,49 +0,0 @@
#--------------------------------------
# English Version
#--------------------------------------
[ColoneFlag]
other = ":"
[SitePostsTitle]
other = "Posts"
[SiteCatesTitle]
other = "Categories"
[SiteTagsTitle]
other = "Tags"
[TableOfContents]
other = "TOC"
[SiteInfo]
other = "Site Info"
[RSSTitle]
other = "RSS Subscribe"
[CCLinkTitle]
other = "Creative Commons"
[PostPublishDate]
other = "Publish"
[PostPublishTime]
other = "Create Time"
[PostLastModDate]
other = "Update"
[PostLastModTime]
other = "Modify Time"
[PostWords]
other = "Words"
[PostWordCount]
other = "{{- .WordCount -}}"
[PostReading]
other = "Read"
[PostReadTime]
other = "{{- .ReadingTime -}}min"
[PostVisitor]
other = "Views"
[PostCatg]
other = "Categories"
[PostTag]
other = "Tags"
[PostReadMore]
other = "Read More"
[FooterPowerby]
other = "Power by %s"

49
i18n/en-us.yaml Normal file
View File

@ -0,0 +1,49 @@
#--------------------------------------
# English Version
#--------------------------------------
ColoneFlag:
other: ":"
SitePostsTitle:
other: "Posts"
SiteCatesTitle:
other: "Categories"
SiteTagsTitle:
other: "Tags"
TableOfContents:
other: "TOC"
SiteInfo:
other: "Site Info"
RSSTitle:
other: "RSS Subscribe"
CCLinkTitle:
other: "Creative Commons"
PostPublishDate:
other: "Publish"
PostPublishTime:
other: "Create Time"
PostLastModDate:
other: "Update"
PostLastModTime:
other: "Modify Time"
PostWords:
other: "Words"
PostWordCount:
other: "{{- .WordCount -}}"
PostReading:
other: "Read"
PostReadTime:
other: "{{- .ReadingTime -}}min"
PostVisitor:
other: "Views"
PostCatg:
other: "Categories"
PostTag:
other: "Tags"
PostReadMore:
other: "Read More"
FooterPowerby:
other: "Power by %s"

View File

@ -1,49 +0,0 @@
#--------------------------------------
# 中文版本
#--------------------------------------
[ColoneFlag]
other = ""
[SitePostsTitle]
other = "日志"
[SiteCatesTitle]
other = "分类"
[SiteTagsTitle]
other = "标签"
[TableOfContents]
other = "文章目录"
[SiteInfo]
other = "站点概览"
[RSSTitle]
other = "RSS 订阅"
[CCLinkTitle]
other = "共享知识"
[PostPublishDate]
other = "发表于"
[PostPublishTime]
other = "创建时间"
[PostLastModDate]
other = "更新于"
[PostLastModTime]
other = "修改时间"
[PostWords]
other = "字数"
[PostWordCount]
other = "{{- .WordCount -}}"
[PostReading]
other = "阅读"
[PostReadTime]
other = "{{- .ReadingTime -}}分钟"
[PostVisitor]
other = "浏览数"
[PostCatg]
other = "分类"
[PostTag]
other = "标签"
[PostReadMore]
other = "阅读全文"
[FooterPowerby]
other = "由 %s 强力驱动"

49
i18n/zh-cn.yaml Normal file
View File

@ -0,0 +1,49 @@
#--------------------------------------
# 中文版本
#--------------------------------------
ColoneFlag:
other: ":"
SitePostsTitle:
other: "日志"
SiteCatesTitle:
other: "分类"
SiteTagsTitle:
other: "标签"
TableOfContents:
other: "文章目录"
SiteInfo:
other: "站点概览"
RSSTitle:
other: "RSS 订阅"
CCLinkTitle:
other: "共享知识"
PostPublishDate:
other: "发表于"
PostPublishTime:
other: "创建时间"
PostLastModDate:
other: "更新于"
PostLastModTime:
other: "修改时间"
PostWords:
other: "字数"
PostWordCount:
other: "{{- .WordCount -}}"
PostReading:
other: "阅读"
PostReadTime:
other: "{{- .ReadingTime -}}分钟"
PostVisitor:
other: "浏览数"
PostCatg:
other: "分类"
PostTag:
other: "标签"
PostReadMore:
other: "阅读全文"
FooterPowerby:
other: "由 %s 强力驱动"