style: make some label into chinese

This commit is contained in:
Ruabbit
2024-12-11 12:44:34 +08:00
parent 3d0cc0fc42
commit 52a788ae91
+20
View File
@@ -50,6 +50,11 @@ export default defineConfig({
logo: "/logo.png", logo: "/logo.png",
siteTitle: "ITSTUDIO WIKI", siteTitle: "ITSTUDIO WIKI",
// Last updated
lastUpdated: {
text: "上次更新",
},
// Enable search // Enable search
search: { search: {
provider: "local", provider: "local",
@@ -80,6 +85,9 @@ export default defineConfig({
{ text: "Github", link: "https://github.com/ITStudioOUC" }, { text: "Github", link: "https://github.com/ITStudioOUC" },
], ],
// Sidebar
sidebarMenuLabel: "菜单",
sidebar: { sidebar: {
"/wiki": [ "/wiki": [
{ {
@@ -173,6 +181,18 @@ export default defineConfig({
next: "下一页", next: "下一页",
}, },
// Light and dark mode
darkModeSwitchLabel: "切换主题",
lightModeSwitchTitle: "切换到浅色主题",
darkModeSwitchTitle: "切换到深色主题",
// Return to top
returnToTopLabel: "返回顶部",
// Show external link icon in markdown links(only external)
externalLinkIcon: true,
// Outline // Outline
outline: { outline: {
level: [2, 3], level: [2, 3],