From 7f0f928756229737af0c99f661ba36ae48dcf749 Mon Sep 17 00:00:00 2001 From: Meow <197331664+Meo597@users.noreply.github.com> Date: Wed, 17 Dec 2025 07:56:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E4=B8=80=E4=BA=9BUI?= =?UTF-8?q?=E7=9A=84=E6=96=87=E6=9C=AC=E3=80=81=E5=A4=96=E9=93=BE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/config.mts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index b165cd19..315287c2 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -43,6 +43,14 @@ export default defineConfig({ }, }, + darkModeSwitchLabel: "深色模式", + darkModeSwitchTitle: "切换至深色主题", + lightModeSwitchTitle: "切换至浅色主题", + sidebarMenuLabel: "目录", + returnToTopLabel: "返回至顶部", + + externalLinkIcon: true, + outline: { level: [2, 4], label: "页面导航", @@ -335,6 +343,12 @@ export default defineConfig({ }, }, + darkModeSwitchLabel: "Appearance", + darkModeSwitchTitle: "Switch to dark theme", + lightModeSwitchTitle: "Switch to light theme", + sidebarMenuLabel: "Menu", + returnToTopLabel: "Return to top", + outline: { label: "On this page", }, @@ -708,6 +722,12 @@ export default defineConfig({ }, }, + darkModeSwitchLabel: "Внешний вид", + darkModeSwitchTitle: "Переключиться на тёмную тему", + lightModeSwitchTitle: "Переключиться на светлую тему", + sidebarMenuLabel: "Меню", + returnToTopLabel: "Вернуться наверх", + outline: { label: "Содержание страницы", },