mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
♻️ Refactor(i18n): hierarchize translation fields for supported languages
This commit is contained in:
+89
-199
@@ -2,45 +2,30 @@
|
||||
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||
|
||||
# === init ===
|
||||
[configurationError]
|
||||
other = "Configuration Error\nYou haven't configured the FixIt version param correctly yet. See https://fixit.lruihao.cn/theme-documentation-basics/#basic-configuration"
|
||||
|
||||
[compatibilityError]
|
||||
other = "Compatibility Error ({{ .From }} -> {{ .To }}):\nYou have an incompatible update. See https://github.com/hugo-fixit/FixIt/releases"
|
||||
|
||||
[RCVersionWarn]
|
||||
other = "You are using a development version of FixIt. Please consider using a stable version.\nSee https://github.com/hugo-fixit/FixIt/releases"
|
||||
|
||||
[devEnvWarn]
|
||||
other = "Current environment is \"development\". The \"comment system\", \"CDN\" and \"fingerprint\" will be disabled."
|
||||
|
||||
[quicklyUpgrade]
|
||||
other = "Quickly upgrade use command: "
|
||||
[init]
|
||||
configurationError = "Configuration Error\nYou haven't configured the FixIt version param correctly yet. See https://fixit.lruihao.cn/theme-documentation-basics/#basic-configuration"
|
||||
compatibilityError = "Compatibility Error ({{ .From }} -> {{ .To }}):\nYou have an incompatible update. See https://github.com/hugo-fixit/FixIt/releases"
|
||||
RCVersionWarn = "You are using a development version of FixIt. Please consider using a stable version.\nSee https://github.com/hugo-fixit/FixIt/releases"
|
||||
devEnvWarn = "Current environment is \"development\". The \"comment system\", \"CDN\" and \"fingerprint\" will be disabled."
|
||||
quicklyUpgrade = "Quickly upgrade use command: "
|
||||
# === init ===
|
||||
|
||||
# === baseof ===
|
||||
[backToTop]
|
||||
other = "Back to Top"
|
||||
|
||||
[viewComments]
|
||||
other = "View Comments"
|
||||
|
||||
[noscript]
|
||||
other = "Theme FixIt works best with JavaScript enabled."
|
||||
[baseof]
|
||||
backToTop = "Back to Top"
|
||||
viewComments = "View Comments"
|
||||
noscript = "Theme FixIt works best with JavaScript enabled."
|
||||
# === baseof ===
|
||||
|
||||
# === Post ===
|
||||
[posts]
|
||||
other = "Posts"
|
||||
# === Post ===
|
||||
|
||||
# === Taxonomy ===
|
||||
[allSome]
|
||||
other = "All {{ .Some }}"
|
||||
|
||||
[totalwordCount]
|
||||
one = "Total one word"
|
||||
other = "Total {{ .Count }} words"
|
||||
[category]
|
||||
other = "Category"
|
||||
|
||||
[categories]
|
||||
other = "Categories"
|
||||
|
||||
[tag]
|
||||
other = "Tag"
|
||||
@@ -48,95 +33,60 @@ other = "Tag"
|
||||
[tags]
|
||||
other = "Tags"
|
||||
|
||||
[category]
|
||||
other = "Category"
|
||||
[posts]
|
||||
other = "Posts"
|
||||
|
||||
[categories]
|
||||
other = "Categories"
|
||||
[taxonomy.totalwordCount]
|
||||
one = "Total one word"
|
||||
other = "Total {{ .Count }} words"
|
||||
# === Taxonomy ===
|
||||
|
||||
# === Section ===
|
||||
[recentlyUpdated]
|
||||
other = "Recently Updated"
|
||||
[section]
|
||||
recentlyUpdated = "Recently Updated"
|
||||
# === Section ===
|
||||
|
||||
# === Pagination ===
|
||||
[more]
|
||||
other = "More"
|
||||
[pagination]
|
||||
more = "More"
|
||||
# === Pagination ===
|
||||
|
||||
# === partials/header.html ===
|
||||
[selectLanguage]
|
||||
other = "Select Language"
|
||||
|
||||
[noMoretTranslations]
|
||||
other = "No more translations"
|
||||
|
||||
[switchTheme]
|
||||
other = "Switch Theme"
|
||||
[header]
|
||||
selectLanguage = "Select Language"
|
||||
noMoretTranslations = "No more translations"
|
||||
switchTheme = "Switch Theme"
|
||||
# === partials/header.html ===
|
||||
|
||||
# === partials/footer.html ===
|
||||
[poweredBySome]
|
||||
other = "Powered by {{ .Hugo }} | Theme - {{ .Theme }}"
|
||||
|
||||
[siteUV]
|
||||
other = "Total visitors"
|
||||
|
||||
[sitePV]
|
||||
other = "Total visits"
|
||||
|
||||
[siteRunning]
|
||||
other = "Website running ..."
|
||||
[footer]
|
||||
poweredBySome = "Powered by {{ .Hugo }} | Theme - {{ .Theme }}"
|
||||
siteUV = "Total visitors"
|
||||
sitePV = "Total visits"
|
||||
siteRunning = "Website running ..."
|
||||
# === partials/footer.html ===
|
||||
|
||||
# === partials/comment.html ===
|
||||
[valineLang]
|
||||
other = "en"
|
||||
|
||||
[valinePlaceholder]
|
||||
other = "Your comment ..."
|
||||
|
||||
[facebookLanguageCode]
|
||||
other = "en_US"
|
||||
[comment]
|
||||
valineLang = "en"
|
||||
valinePlaceholder = "Your comment ..."
|
||||
facebookLanguageCode = "en_US"
|
||||
# === partials/comment.html ===
|
||||
|
||||
# === partials/assets.html ===
|
||||
[search]
|
||||
other = "Search"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "Search titles or contents ..."
|
||||
|
||||
[clear]
|
||||
other = "Clear"
|
||||
|
||||
[cancel]
|
||||
other = "Cancel"
|
||||
|
||||
[noResultsFound]
|
||||
other = "No results found"
|
||||
|
||||
[lunrLanguageCode]
|
||||
other = "en"
|
||||
|
||||
[copyToClipboard]
|
||||
other = "Copy to clipboard"
|
||||
|
||||
[editLockTitle]
|
||||
other = "Lock editable code block"
|
||||
|
||||
[editUnLockTitle]
|
||||
other = "Unlock editable code block"
|
||||
|
||||
[cookieconsentMessage]
|
||||
other = "This website uses Cookies to improve your experience."
|
||||
|
||||
[cookieconsentDismiss]
|
||||
other = "Got it!"
|
||||
|
||||
[cookieconsentLink]
|
||||
other = "Learn more"
|
||||
[assets]
|
||||
search = "Search"
|
||||
searchPlaceholder = "Search titles or contents ..."
|
||||
clear = "Clear"
|
||||
cancel = "Cancel"
|
||||
noResultsFound = "No results found"
|
||||
lunrLanguageCode = "en"
|
||||
copyToClipboard = "Copy to clipboard"
|
||||
editLockTitle = "Lock editable code block"
|
||||
editUnLockTitle = "Unlock editable code block"
|
||||
cookieconsentMessage = "This website uses Cookies to improve your experience."
|
||||
cookieconsentDismiss = "Got it!"
|
||||
cookieconsentLink = "Learn more"
|
||||
# === partials/assets.html ===
|
||||
|
||||
# === partials/plugin/share.html ===
|
||||
@@ -145,69 +95,35 @@ other = "Share on"
|
||||
# === partials/plugin/share.html ===
|
||||
|
||||
# === posts/single.html ===
|
||||
[contents]
|
||||
other = "Contents"
|
||||
[single]
|
||||
contents= "Contents"
|
||||
repost= "Repost"
|
||||
publishedOnDate= "published on {{ .Date }}"
|
||||
includedInCategories= "included in {{ .Categories }}"
|
||||
views = "views"
|
||||
comments = "comments"
|
||||
author = "Author"
|
||||
updatedOnDate = "Updated on {{ .Date }}"
|
||||
readMarkdown = "Read Markdown"
|
||||
editThisPage = "Edit this page"
|
||||
back = "Back"
|
||||
home = "Home"
|
||||
readMore = "Read More"
|
||||
expirationReminder = "This article was last updated on {{ .Date }}, the content may be out of date."
|
||||
encryptedAbstract = "This article has been encrypted, so its raw content is invisible!"
|
||||
encryptedMessage = "Please enter the password"
|
||||
password = "Password"
|
||||
encryptyAgain = "Encrypt again"
|
||||
|
||||
[repost]
|
||||
other = "Repost"
|
||||
|
||||
[publishedOnDate]
|
||||
other = "published on {{ .Date }}"
|
||||
|
||||
[includedInCategories]
|
||||
other = "included in {{ .Categories }}"
|
||||
|
||||
[wordCount]
|
||||
[single.wordCount]
|
||||
one = "One word"
|
||||
other = "{{ .Count }} words"
|
||||
|
||||
[readingTime]
|
||||
[single.readingTime]
|
||||
one = "One minute"
|
||||
other = "{{ .Count }} minutes"
|
||||
|
||||
[views]
|
||||
other = "views"
|
||||
|
||||
[comments]
|
||||
other = "comments"
|
||||
|
||||
[author]
|
||||
other = "Author"
|
||||
|
||||
[updatedOnDate]
|
||||
other = "Updated on {{ .Date }}"
|
||||
|
||||
[readMarkdown]
|
||||
other = "Read Markdown"
|
||||
|
||||
[editThisPage]
|
||||
other = "Edit this page"
|
||||
|
||||
[back]
|
||||
other = "Back"
|
||||
|
||||
[home]
|
||||
other = "Home"
|
||||
|
||||
[readMore]
|
||||
other = "Read More"
|
||||
|
||||
[expirationReminder]
|
||||
other = "This article was last updated on {{ .Date }}, the content may be out of date."
|
||||
|
||||
[encryptedAbstract]
|
||||
other = "This article has been encrypted, so its raw content is invisible!"
|
||||
|
||||
[encryptedMessage]
|
||||
other = "Please enter the password"
|
||||
|
||||
[password]
|
||||
other = "Password"
|
||||
|
||||
[encryptyAgain]
|
||||
other = "Encrypt again"
|
||||
|
||||
[reward]
|
||||
[single.reward]
|
||||
donate = "Donate"
|
||||
wechatpay = "WeChat Pay"
|
||||
alipay = "Alipay"
|
||||
@@ -232,50 +148,24 @@ other = "You are not connected to the Internet, only cached pages will be availa
|
||||
# === offline ===
|
||||
|
||||
# === shortcodes/admonition.html ===
|
||||
[note]
|
||||
other = "Note"
|
||||
|
||||
[abstract]
|
||||
other = "Abstract"
|
||||
|
||||
[info]
|
||||
other = "Info"
|
||||
|
||||
[tip]
|
||||
other = "Tip"
|
||||
|
||||
[success]
|
||||
other = "Success"
|
||||
|
||||
[question]
|
||||
other = "Question"
|
||||
|
||||
[warning]
|
||||
other = "Warning"
|
||||
|
||||
[failure]
|
||||
other = "Failure"
|
||||
|
||||
[danger]
|
||||
other = "Danger"
|
||||
|
||||
[bug]
|
||||
other = "Bug"
|
||||
|
||||
[example]
|
||||
other = "Example"
|
||||
|
||||
[quote]
|
||||
other = "Quote"
|
||||
[admonition]
|
||||
note = "Note"
|
||||
abstract = "Abstract"
|
||||
info = "Info"
|
||||
tip = "Tip"
|
||||
success = "Success"
|
||||
question = "Question"
|
||||
warning = "Warning"
|
||||
failure = "Failure"
|
||||
danger = "Danger"
|
||||
bug = "Bug"
|
||||
example = "Example"
|
||||
quote = "Quote"
|
||||
# === shortcodes/admonition.html ===
|
||||
|
||||
# === shortcodes/version.html ===
|
||||
[new]
|
||||
other = "NEW"
|
||||
|
||||
[changed]
|
||||
other = "CHANGED"
|
||||
|
||||
[deleted]
|
||||
other = "DELETED"
|
||||
[version]
|
||||
new = "NEW"
|
||||
changed = "CHANGED"
|
||||
deleted = "DELETED"
|
||||
# === shortcodes/version.html ===
|
||||
|
||||
Reference in New Issue
Block a user