feat: impove i18n and clean code
This commit is contained in:
71
i18n/zh.toml
Normal file
71
i18n/zh.toml
Normal file
@@ -0,0 +1,71 @@
|
||||
# Translations for Simplified Chinese
|
||||
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||
|
||||
# === Post ===
|
||||
[posts]
|
||||
other = "文章"
|
||||
# === Post ===
|
||||
|
||||
# === Taxonomy ===
|
||||
[tag]
|
||||
other = "标签"
|
||||
|
||||
[tags]
|
||||
other = "标签"
|
||||
|
||||
[category]
|
||||
other = "分类"
|
||||
|
||||
[categories]
|
||||
other = "分类"
|
||||
# === Taxonomy ===
|
||||
|
||||
# === Pagination ===
|
||||
[More]
|
||||
other = "更多"
|
||||
# === Pagination ===
|
||||
|
||||
# === partials/footer.html ===
|
||||
[powered]
|
||||
other = "由 %s 强力驱动"
|
||||
|
||||
[theme]
|
||||
other = "主题 - "
|
||||
# === partials/footer.html ===
|
||||
|
||||
# === posts/single.html ===
|
||||
[wrote]
|
||||
other = "创作于"
|
||||
|
||||
[wordCount]
|
||||
other = "约 {{ .Count }} 字"
|
||||
|
||||
[readingTime]
|
||||
other = "预计阅读 {{ .Count }} 分钟"
|
||||
|
||||
[author]
|
||||
other = "作者"
|
||||
|
||||
[lastMod]
|
||||
other = "上次更新"
|
||||
|
||||
[share]
|
||||
other = "内容分享"
|
||||
|
||||
[license]
|
||||
other = "许可协议"
|
||||
|
||||
[back]
|
||||
other = "返回"
|
||||
|
||||
[home]
|
||||
other = "主页"
|
||||
# === posts/single.html ===
|
||||
|
||||
# === 404.html ===
|
||||
[pageNotFound]
|
||||
other = "页面没找到"
|
||||
|
||||
[backToHome]
|
||||
other = "回到主页"
|
||||
# === 404.html ===
|
||||
Reference in New Issue
Block a user