mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 12:06:22 +00:00
9c726efa33
* Add homepage link with internationalization * Construct pathname from baseUrl config value * More robust URL manipulation * Add Farsi (#1133) * Fix bad rebase
84 lines
1.7 KiB
TypeScript
84 lines
1.7 KiB
TypeScript
import { FullSlug } from "../../util/path"
|
|
|
|
export interface CalloutTranslation {
|
|
note: string
|
|
abstract: string
|
|
info: string
|
|
todo: string
|
|
tip: string
|
|
success: string
|
|
question: string
|
|
warning: string
|
|
failure: string
|
|
danger: string
|
|
bug: string
|
|
example: string
|
|
quote: string
|
|
}
|
|
|
|
export interface Translation {
|
|
propertyDefaults: {
|
|
title: string
|
|
description: string
|
|
}
|
|
components: {
|
|
callout: CalloutTranslation
|
|
backlinks: {
|
|
title: string
|
|
noBacklinksFound: string
|
|
}
|
|
themeToggle: {
|
|
lightMode: string
|
|
darkMode: string
|
|
}
|
|
explorer: {
|
|
title: string
|
|
}
|
|
footer: {
|
|
createdWith: string
|
|
}
|
|
graph: {
|
|
title: string
|
|
}
|
|
recentNotes: {
|
|
title: string
|
|
seeRemainingMore: (variables: { remaining: number }) => string
|
|
}
|
|
transcludes: {
|
|
transcludeOf: (variables: { targetSlug: FullSlug }) => string
|
|
linkToOriginal: string
|
|
}
|
|
search: {
|
|
title: string
|
|
searchBarPlaceholder: string
|
|
}
|
|
tableOfContents: {
|
|
title: string
|
|
}
|
|
contentMeta: {
|
|
readingTime: (variables: { minutes: number }) => string
|
|
}
|
|
}
|
|
pages: {
|
|
rss: {
|
|
recentNotes: string
|
|
lastFewNotes: (variables: { count: number }) => string
|
|
}
|
|
error: {
|
|
title: string
|
|
notFound: string
|
|
home: string
|
|
}
|
|
folderContent: {
|
|
folder: string
|
|
itemsUnderFolder: (variables: { count: number }) => string
|
|
}
|
|
tagContent: {
|
|
tag: string
|
|
tagIndex: string
|
|
itemsUnderTag: (variables: { count: number }) => string
|
|
showingFirst: (variables: { count: number }) => string
|
|
totalTags: (variables: { count: number }) => string
|
|
}
|
|
}
|
|
}
|