Revert "localization update"

This reverts commit 66b2230b7f.
This commit is contained in:
Masterain
2023-03-20 05:14:14 -07:00
parent 66b2230b7f
commit 3ed9c0aba5
3 changed files with 4 additions and 136 deletions

View File

@@ -4,7 +4,6 @@ import theme from "./theme.js";
import { autoCatalogPlugin } from "vuepress-plugin-auto-catalog";
import { docsearchPlugin } from '@vuepress/plugin-docsearch'
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import { redirectPlugin } from "vuepress-plugin-redirect";
export default defineUserConfig({
base: "/",
@@ -44,7 +43,7 @@ export default defineUserConfig({
}
}
},
"/en/": {
"en": {
placeholder: "Search documents",
translations:{
button:{
@@ -56,15 +55,7 @@ export default defineUserConfig({
}),
googleAnalyticsPlugin({
id: "G-F3LFJCE3RM"
}),
redirectPlugin({
locale: true,
localeConfig: {
"/en/": ["en-US", "en-UK", "en"],
"/": ["zh-CN", "zh-TW", "zh"],
},
})
],
theme,