feat: impove i18n and clean code
This commit is contained in:
117
i18n/en.toml
117
i18n/en.toml
@@ -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 ===
|
||||
|
||||
Reference in New Issue
Block a user