Files
Cell 47b7c969f1 feat(layouts): add post disclaimer/declaration feature (#832)
Add a lightweight disclaimer notice at the beginning of articles to
indicate content origin (AI-generated, repost, original, custom).

- Add params.disclaimer config with enable, type, content options
- Support 4 types: ai, repost, original, custom
- Add custom SVG icons for ai/repost/original types
- Add i18n translations for 20 languages
- Add shimmer animation effect with RTL and reduce-motion support
2026-08-24 17:51:58 +08:00

271 lines
6.7 KiB
TOML

# Translations for English
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# === Init ===
[init]
hugoVersionError = "Hugo version is too low.\n\nCurrent Hugo version is {{ .Current }}, the minimum supported version for FixIt is {{ .Minimal }}.\n\nIf you are running Hugo on your own computer, check out https://gohugo.io/getting-started/installing/#upgrade-hugo for upgrading guide.\n\nIf you are deploying on a third-party platform, please configure Hugo version accordingly."
hugoExtendedWarn = "The Hugo Extended version is necessary for SCSS support."
configurationError = "Configuration Error\nYou haven't configured the FixIt version param correctly yet. See https://fixit.lruihao.cn/docs/getting-started/configuration/params/"
compatibilityError = "Compatibility Error ({{ .From }} -> {{ .To }}):\nYou have an incompatible update. See https://github.com/hugo-fixit/FixIt/releases"
devVersionWarn = "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\", \"PWA\", \"CDN\", \"fingerprint\" and \"analytics\" will be disabled."
quicklyUpgrade = "Quickly upgrade use command: "
# === Init ===
# === Base Layout ===
[baseof]
backToTop = "Back to Top"
viewComments = "View Comments"
noscript = "This website works best with JavaScript enabled."
# === Base Layout ===
# === Taxonomy ===
[archives]
other = "Archives"
[allSome]
other = "All {{ .Some }}"
[category]
other = "Category"
[categories]
other = "Categories"
[collection]
other = "Collection"
[collections]
other = "Collections"
[tag]
other = "Tag"
[tags]
other = "Tags"
[posts]
other = "Posts"
# === Taxonomy ===
# === Section ===
[section]
recentlyUpdated = "Recently Updated"
[section.totalWordCount]
one = "Total one word"
other = "Total {{ .Count }} words"
[section.archiveCounter]
one = "Only one article"
other = "{{ .Count }} articles in total"
# === Section ===
# === Pagination ===
[pagination]
more = "More"
# === Pagination ===
# === Header ===
[header]
selectLanguage = "Select Language"
noTranslations = "No translations"
switchTheme = "Switch Theme"
# === Header ===
# === Footer ===
[footer]
poweredBySome = "Powered by {{ .Hugo }} | Theme - {{ .Theme }}"
siteUV = "Total visitors"
sitePV = "Total visits"
siteRunning = "Website running ..."
# === Footer ===
# === Comment ===
[comment]
valinePlaceholder = "Your comment ..."
# === Comment ===
# === Assets ===
[assets]
search = "Search"
searchPlaceholder = "Search titles or contents ..."
searchIn = "Search in {{ . }}"
searchBy = "Search by"
gotoResultsPage = "Go to search results page ..."
clear = "Clear"
cancel = "Cancel"
navigate = "Navigate"
select = "Select"
close = "Close"
refresh = "Refresh"
noResultsFound = "No results found"
copyToClipboard = "Copy to clipboard"
copyText = "Copy"
copiedText = "Copied"
toggleLineNumbers = "Toggle line numbers"
toggleLineWrap = "Toggle code wrap"
toggleCodeEditable = "Toggle code block editable"
downloadCode = "Download code"
expandCode = "Expand or collapse code block"
fullscreen = "Fullscreen"
exitFullscreen = "Exit fullscreen"
cookieconsentMessage = "This website uses Cookies to improve your experience."
cookieconsentDismiss = "Got it!"
cookieconsentLink = "Learn more"
# === Assets ===
# === Share ===
[shareOn]
other = "Share on"
# === Share ===
# === Single Post ===
[single]
contents = "Contents"
disclaimer = "Disclaimer: "
pin = "Pin to top"
repost = "Repost"
publishedOnDate = "published on {{ .Date }}"
views = "views"
comments = "comments"
author = "Author"
updatedOnDate = "Updated on {{ .Date }}"
readMarkdown = "Read Markdown"
viewSource = "View source"
editThisPage = "Edit this page"
reportIssue = "Report issue"
openInEditor = "Open in editor"
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"
enterBtn = "Enter"
encryptyAgain = "Encrypt again"
encryptionWarning = "Content encryption detected, but they are still in plaintext!"
encryptionCommand = "Run `npx @hugo-fixit/encrypt` after building to actually encrypt them."
relatedContent = "Related Content"
[single.disclaimerMessage]
ai = "This article was generated by AI. Please verify the information independently."
repost = "This article is a repost. Please visit the original source for more information."
original = "This is original content by the author."
[single.includedIn]
categories = "included in {{ .Categories }}"
collections = "included in {{ .Collections }}"
both = "included in {{ .Categories }} and {{ .Collections }}"
[single.wordCount]
one = "One word"
other = "{{ .Count }} words"
[single.fuzzyWordCount]
other = "About {{ .Count }} words"
[single.readingTime]
one = "One minute"
other = "{{ .Count }} minutes"
[single.reward]
donate = "Donate"
wechatpay = "WeChat Pay"
alipay = "Alipay"
paypal = "PayPal"
bitcoin = "Bitcoin"
# === Single Post ===
# === Error Pages ===
[pageNotFound]
other = "Page not found"
[pageNotFoundText]
other = "The page you're looking for doesn't exist. Sorry."
# === Error Pages ===
# === Offline ===
[offlineTitle]
other = "Offline"
[offlineText]
other = "You are not connected to the Internet, only cached pages will be available."
# === Offline ===
# === Service Worker ===
[serviceWorker]
updateTitle = "Update Available"
updateText = "A new version of this site is available."
# === Service Worker ===
# === Link Redirection ===
[linkRedirection]
title = "Redirection Notice"
message = "You are about to leave {{ .Title }}, please be aware of your account and property security."
confirm = "Continue visiting"
# === Link Redirection ===
# === Alert ===
[alert]
note = "Note"
tip = "Tip"
important = "Important"
warning = "Warning"
caution = "Caution"
# === Alert ===
# === Task List ===
[taskList]
x = "Checked"
" " = "Unchecked"
"/" = "In Progress"
"-" = "Cancelled"
"<" = "Scheduled"
">" = "Rescheduled"
"!" = "Important"
"!x" = "Important Checked"
"?" = "Question"
# === Task List ===
# === Admonition ===
[admonition]
note = "Note"
abstract = "Abstract"
info = "Info"
todo = "Todo"
tip = "Tip"
success = "Success"
question = "Question"
warning = "Warning"
failure = "Failure"
danger = "Danger"
bug = "Bug"
example = "Example"
quote = "Quote"
# === Admonition ===
# === Version ===
[version]
new = "NEW"
changed = "CHANGED"
deleted = "DELETED"
deprecated = "DEPRECATED"
# === Version ===
# === Diagram ===
[diagram]
zoomIn = "Zoom in"
zoomOut = "Zoom out"
reset = "Reset"
download = "Download SVG"
# === Diagram ===
# === Tabs ===
[tabs]
diagram = "Diagram"
code = "Code"
# === Tabs ===