1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

chore: 页面文字汉化

This commit is contained in:
2025-03-13 23:10:13 +08:00
parent 8f587f8dea
commit 618d72890a

View File

@@ -62,7 +62,8 @@ export default defineConfig({
sidebar: sidebar,
editLink: {
pattern: 'https://github.com/coder-xiaomo/tutorials/edit/main/docs/:path'
text: '在 GitHub 上编辑此页面',
pattern: 'https://github.com/coder-xiaomo/tutorials/edit/main/docs/:path',
},
socialLinks: [
@@ -95,8 +96,28 @@ export default defineConfig({
provider: 'local'
},
docFooter: {
prev: '上一页',
next: '下一页'
},
outline: {
label: '页面导航'
},
lastUpdated: {
text: '最近更新',
formatOptions: {
dateStyle: 'medium',
timeStyle: 'short',
}
},
langMenuLabel: '多语言',
returnToTopLabel: '回到顶部',
sidebarMenuLabel: '菜单',
darkModeSwitchLabel: '主题',
lightModeSwitchTitle: '切换到浅色模式',
darkModeSwitchTitle: '切换到深色模式'
},
})