mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
84 lines
2.7 KiB
TypeScript
84 lines
2.7 KiB
TypeScript
import type { SiteLocaleData } from '@vuepress/shared'
|
|
import type { DefaultThemeLocaleData } from '@vuepress/theme-default'
|
|
import { headConfig } from '../head.js'
|
|
|
|
const Translation = require('../../translations/$LanguageCode$.json')
|
|
|
|
export const mainConfig_$LanguageCodeEscaped$: SiteLocaleData = {
|
|
lang: '$LanguageCode$',
|
|
title: Translation.title,
|
|
description: Translation.description,
|
|
head: headConfig
|
|
}
|
|
|
|
export const defaultThemeConfig_$LanguageCodeEscaped$: DefaultThemeLocaleData = {
|
|
selectLanguageName: "$LanguageName$",
|
|
selectLanguageText: Translation.theme.selectLanguageText,
|
|
selectLanguageAriaLabel: Translation.theme.selectLanguageAriaLabel,
|
|
|
|
navbar: [
|
|
{
|
|
text: Translation.navbar.AboutAndFeatures,
|
|
link: "$PathToPage$/guide/",
|
|
activeMatch: "$PathToPage$/index.html",
|
|
},
|
|
|
|
{
|
|
text: Translation.navbar.Installation,
|
|
link: "$PathToPage$/guide/installation.md",
|
|
activeMatch: "$PathToPage$/guide/installation.html",
|
|
},
|
|
|
|
{
|
|
text: Translation.navbar.Usage,
|
|
link: "$PathToPage$/guide/usage.md",
|
|
activeMatch: "$PathToPage$/guide/usage.html",
|
|
},
|
|
|
|
{
|
|
text: Translation.navbar.Configuration,
|
|
link: "$PathToPage$/guide/configuration.md",
|
|
activeMatch: "$PathToPage$/guide/configuration.html",
|
|
},
|
|
|
|
{
|
|
text: Translation.navbar.ChatBots,
|
|
link: "$PathToPage$/guide/chat-bots.md",
|
|
activeMatch: "$PathToPage$/guide/chat-bots.html",
|
|
},
|
|
|
|
{
|
|
text: Translation.helpUsTranslate,
|
|
link: "https://crwd.in/minecraft-console-client",
|
|
},
|
|
],
|
|
|
|
sidebar: [
|
|
"$PathToPage$/guide/README.md",
|
|
"$PathToPage$/guide/installation.md",
|
|
"$PathToPage$/guide/usage.md",
|
|
"$PathToPage$/guide/configuration.md",
|
|
"$PathToPage$/guide/chat-bots.md",
|
|
"$PathToPage$/guide/creating-bots.md",
|
|
"$PathToPage$/guide/contibuting.md"
|
|
],
|
|
|
|
// page meta
|
|
editLinkText: Translation.theme.editLinkText,
|
|
lastUpdatedText: Translation.theme.lastUpdatedText,
|
|
contributorsText: Translation.theme.contributorsText,
|
|
|
|
// custom containers
|
|
tip: Translation.theme.tip,
|
|
warning: Translation.theme.warning,
|
|
danger: Translation.theme.danger,
|
|
|
|
// 404 page
|
|
notFound: Translation.theme.notFound,
|
|
backToHome: Translation.theme.backToHome,
|
|
|
|
// a11y
|
|
openInNewWindow: Translation.theme.openInNewWindow,
|
|
toggleColorMode: Translation.theme.toggleColorMode,
|
|
toggleSidebar: Translation.theme.toggleSidebar,
|
|
}
|