Browse Source

Fix i18n

pull/50/head
hmol233 4 years ago
parent
commit
27cd42811a
No known key found for this signature in database
GPG Key ID: D617A9DAB0C992D5
  1. 5
      docs/.vuepress/config.ts

5
docs/.vuepress/config.ts

@ -29,12 +29,11 @@ export default defineUserConfig<DefaultThemeOptions>({
title: "Project X",
description: "Xray 官方文档",
},
/*
"/en": {
lang: "en-US",
title: "Project X",
description: "Official document of Xray",
},*/
},
},
themeConfig: {
smoothScroll: true,
@ -92,7 +91,7 @@ export default defineUserConfig<DefaultThemeOptions>({
"/en": {
ToggleText: "Toggle Theme",
repoLabel: "Source",
selectLanguageName: "English",
selectLanguageName: "English (WIP)",
// TODO: translation
sidebar: {
"/en/config/": sidebar.getConfigSidebar(

Loading…
Cancel
Save