🚚 Use root locales

This commit is contained in:
2025-12-07 20:45:46 +08:00
parent f0345d5bb5
commit 5cd3bcf5ee
19 changed files with 10 additions and 7 deletions

View File

@@ -9,11 +9,14 @@ export default defineConfig({
starlight({
title: "Suki",
description:
"Solsynth's products kownledge base, including Solar Network, GoatCraft and more.", defaultLocale: "zh-cn", locales: {
"Solsynth's products kownledge base, including Solar Network, GoatCraft and more.",
defaultLocale: 'root',
locales: {
en: {
label: "English",
lang: 'en',
},
"zh-cn": {
root: {
label: "简体中文",
lang: "zh-CN",
},