Files
FixIt/i18n/en.toml
T
Cell 93478b47e1 refactor: code block wrapper (#665)
* feat: optimize code highlighting for diff language

* refactor: update codeblock configuration and enhance code wrapper functionality

* fix: extra blank lines would appear when copying lines containing code highlighting

* refactor: enhance code block wrapper functionality and add new styles (mac style)

* refactor: enhance code block normal mode

* feat: do noting for code block simple mode

* feat: add copy btn for code block modes mac and simple

* refactor: add code-related variables and update styles for code blocks and gist layout

* feat: update code copy button visibility on hover for larger screens

* feat: update code block mode attribute and remove mac wrapper

* feat!: code block parameters accurate to a single

Remove the `data-open` attribute and use `.open` instead.

* refactor: enhance initCopyCode method to accept optional button parameter

* feat: improve code/diagram copy button styles and transitions for better visibility

* fix: disable copy buttons for simple/mac mode code blocks when copyable set to false

* chore: rename normal partial to code-header

* feat: add preview and expand feature for code blocks (close #312)

* fix: adjust transition timing for code header and fade-out animation

* test: update code block test case

* docs: update comments for code highlight and markup configurations

* feat: adjust code header background color darkening for light and dark themes

* fix: hide aside and breadcrumb pseudo-elements on small screens

* perf: change the code copy button and code expand button to server-side rendering

* fix: the code expand button obscured the code content

* fix: update code background and header colors for improved visibility

* fix: ensure code copy button is only added for copyable code blocks

* feat(code block): add lineNosToggler and lineWrapToggler params and feature for code blocks

* refactor: code syntax highlighting styles

* fix: update background color for line numbers and ensure proper sticky effect

* feat(code block): add support for code file names in code blocks

* fix: code review for PR #665

* feat(i18n): add Japanese and Korean translations; update toggle options in multiple languages

* docs: update configurations and comments
2025-12-17 16:56:52 +08:00

226 lines
5.3 KiB
TOML

# Translations for English
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# === init ===
[init]
configurationError = "Configuration Error\nYou haven't configured the FixIt version param correctly yet. See https://fixit.lruihao.cn/documentation/basics/#theme-configuration"
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 ===
# === baseof ===
[baseof]
backToTop = "Back to Top"
viewComments = "View Comments"
noscript = "This website works best with JavaScript enabled."
# === baseof ===
# === 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 ===
# === partials/header.html ===
[header]
selectLanguage = "Select Language"
noMoretTranslations = "No more translations"
switchTheme = "Switch Theme"
# === partials/header.html ===
# === partials/footer.html ===
[footer]
poweredBySome = "Powered by {{ .Hugo }} | Theme - {{ .Theme }}"
siteUV = "Total visitors"
sitePV = "Total visits"
siteRunning = "Website running ..."
# === partials/footer.html ===
# === partials/comment.html ===
[comment]
valineLang = "en"
valinePlaceholder = "Your comment ..."
facebookLanguageCode = "en_US"
# === partials/comment.html ===
# === partials/assets.html ===
[assets]
search = "Search"
searchPlaceholder = "Search titles or contents ..."
searchIn = "Search in {{ . }}"
gotoResultsPage = "Go to search results page ..."
clear = "Clear"
cancel = "Cancel"
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"
expandCode = "Expand or collapse code block"
cookieconsentMessage = "This website uses Cookies to improve your experience."
cookieconsentDismiss = "Got it!"
cookieconsentLink = "Learn more"
# === partials/assets.html ===
# === partials/plugin/share.html ===
[shareOn]
other = "Share on"
# === partials/plugin/share.html ===
# === posts/single.html ===
[single]
contents = "Contents"
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"
relatedContent = "Related Content"
[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"
# === posts/single.html ===
# === 404.html ===
[pageNotFound]
other = "Page not found"
[pageNotFoundText]
other = "The page you're looking for doesn't exist. Sorry."
# === 404.html ===
# === offline ===
[offlineTitle]
other = "Offline"
[offlineText]
other = "You are not connected to the Internet, only cached pages will be available."
# === offline ===
# === GitHub Alert ===
[alert]
note = "Note"
tip = "Tip"
important = "Important"
warning = "Warning"
caution = "Caution"
# === GitHub Alert ===
# === Task lists ===
[taskList]
x = "Checked"
" " = "Unchecked"
"/" = "In Progress"
"-" = "Cancelled"
"<" = "Scheduled"
">" = "Rescheduled"
"!" = "Important"
"?" = "Question"
# === Task lists ===
# === shortcodes/admonition.html ===
[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"
# === shortcodes/admonition.html ===
# === shortcodes/version.html ===
[version]
new = "NEW"
changed = "CHANGED"
deleted = "DELETED"
# === shortcodes/version.html ===