mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-08-13 00:51:32 +00:00
.github
content
docs
quartz
cli
components
i18n
locales
ar-SA.ts
ca-ES.ts
de-DE.ts
definition.ts
en-GB.ts
en-US.ts
es-ES.ts
fa-IR.ts
fr-FR.ts
hu-HU.ts
it-IT.ts
ja-JP.ts
ko-KR.ts
nl-NL.ts
pl-PL.ts
pt-BR.ts
ro-RO.ts
ru-RU.ts
uk-UA.ts
vi-VN.ts
zh-CN.ts
index.ts
plugins
processors
static
styles
util
bootstrap-cli.mjs
bootstrap-worker.mjs
build.ts
cfg.ts
depgraph.test.ts
depgraph.ts
worker.ts
.gitattributes
.gitignore
.npmrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
Dockerfile
LICENSE.txt
README.md
globals.d.ts
index.d.ts
package-lock.json
package.json
quartz.config.ts
quartz.layout.ts
tsconfig.json
* Add homepage link with internationalization * Construct pathname from baseUrl config value * More robust URL manipulation * Add Farsi (#1133) * Fix bad rebase
85 lines
2.1 KiB
TypeScript
85 lines
2.1 KiB
TypeScript
import { Translation } from "./definition"
|
|
|
|
export default {
|
|
propertyDefaults: {
|
|
title: "Untitled",
|
|
description: "No description provided",
|
|
},
|
|
components: {
|
|
callout: {
|
|
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",
|
|
},
|
|
backlinks: {
|
|
title: "Backlinks",
|
|
noBacklinksFound: "No backlinks found",
|
|
},
|
|
themeToggle: {
|
|
lightMode: "Light mode",
|
|
darkMode: "Dark mode",
|
|
},
|
|
explorer: {
|
|
title: "Explorer",
|
|
},
|
|
footer: {
|
|
createdWith: "Created with",
|
|
},
|
|
graph: {
|
|
title: "Graph View",
|
|
},
|
|
recentNotes: {
|
|
title: "Recent Notes",
|
|
seeRemainingMore: ({ remaining }) => `See ${remaining} more →`,
|
|
},
|
|
transcludes: {
|
|
transcludeOf: ({ targetSlug }) => `Transclude of ${targetSlug}`,
|
|
linkToOriginal: "Link to original",
|
|
},
|
|
search: {
|
|
title: "Search",
|
|
searchBarPlaceholder: "Search for something",
|
|
},
|
|
tableOfContents: {
|
|
title: "Table of Contents",
|
|
},
|
|
contentMeta: {
|
|
readingTime: ({ minutes }) => `${minutes} min read`,
|
|
},
|
|
},
|
|
pages: {
|
|
rss: {
|
|
recentNotes: "Recent notes",
|
|
lastFewNotes: ({ count }) => `Last ${count} notes`,
|
|
},
|
|
error: {
|
|
title: "Not Found",
|
|
notFound: "Either this page is private or doesn't exist.",
|
|
home: "Return to Homepage",
|
|
},
|
|
folderContent: {
|
|
folder: "Folder",
|
|
itemsUnderFolder: ({ count }) =>
|
|
count === 1 ? "1 item under this folder." : `${count} items under this folder.`,
|
|
},
|
|
tagContent: {
|
|
tag: "Tag",
|
|
tagIndex: "Tag Index",
|
|
itemsUnderTag: ({ count }) =>
|
|
count === 1 ? "1 item with this tag." : `${count} items with this tag.`,
|
|
showingFirst: ({ count }) => `Showing first ${count} tags.`,
|
|
totalTags: ({ count }) => `Found ${count} total tags.`,
|
|
},
|
|
},
|
|
} as const satisfies Translation
|