diff --git a/docs/.vitepress/config/en.ts b/docs/.vitepress/config/en.ts index ecfab4a1..94fae5b9 100644 --- a/docs/.vitepress/config/en.ts +++ b/docs/.vitepress/config/en.ts @@ -24,5 +24,12 @@ export const en = defineConfig({ copyright: ThemeConfig.copyright }, outline: ThemeConfig.getOutLine("Page Content"), + + langMenuLabel: 'Language', + returnToTopLabel: 'Back to top', + sidebarMenuLabel: 'Menu', + darkModeSwitchLabel: 'Theme', + lightModeSwitchTitle: 'Light Mode', + darkModeSwitchTitle: 'Dark Mode', }, }) \ No newline at end of file diff --git a/docs/.vitepress/config/zh.ts b/docs/.vitepress/config/zh.ts index 57143ad3..224f0b03 100644 --- a/docs/.vitepress/config/zh.ts +++ b/docs/.vitepress/config/zh.ts @@ -24,5 +24,12 @@ export const zh = defineConfig({ copyright: ThemeConfig.copyright }, outline: ThemeConfig.getOutLine("页面内容"), + + langMenuLabel: '语言', + returnToTopLabel: '返回顶部', + sidebarMenuLabel: '菜单', + darkModeSwitchLabel: '主题', + lightModeSwitchTitle: '轻色模式', + darkModeSwitchTitle: '深色模式', }, }) \ No newline at end of file diff --git a/docs/components/StatsBar.vue b/docs/components/StatsBar.vue index ab80ac74..0dc9ad12 100644 --- a/docs/components/StatsBar.vue +++ b/docs/components/StatsBar.vue @@ -1,10 +1,9 @@