feat: impove i18n and clean code

This commit is contained in:
Dillon ZENG
2019-08-04 21:53:35 +08:00
parent 1e709b5ba4
commit c67a2a86a1
28 changed files with 471 additions and 798 deletions

View File

@@ -1,70 +1,71 @@
# Translations for English
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Single.html
# === Post ===
[posts]
other = "Posts"
# === Post ===
[Written]
other = "Written"
[by]
other = "by"
[with]
other = "with"
[on]
other = "on"
[in]
other = "in"
[Author]
other = "Author"
[Words]
other = "Words"
[Tag]
# === Taxonomy ===
[tag]
other = "Tag"
[Home]
other = "Home"
[tags]
other = "Tags"
[category]
other = "Category"
[categories]
other = "Categories"
# === Taxonomy ===
# === Pagination ===
[More]
other = "More"
# === Pagination ===
# === partials/footer.html ===
[powered]
other = "Powered by %s"
[theme]
other = "Theme - "
# === partials/footer.html ===
# === posts/single.html ===
[wrote]
other = "wrote on"
[wordCount]
other = "about {{ .Count }} words"
[readingTime]
other = "{{ .Count }} min"
[author]
other = "Author"
[lastMod]
other = "Last Modified"
[share]
other = "Share"
[license]
other = "License"
[back]
other = "Back"
[minute]
other = "minute"
[home]
other = "Home"
# === posts/single.html ===
[Share]
other = "Share"
# === 404.html ===
[pageNotFound]
other = "Page not found"
# 404.html
[page]
other = "page"
[not]
other = "not"
[found]
other = "found"
[return]
other = "Return"
[to]
other = "to"
# Pagination
[More]
other = "More"
# Related post
[Related]
other = "Related"
[Articles]
other = "Articles"
[backToHome]
other = "Back to Home"
# === 404.html ===