mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-28 09:58:06 +03:00
Revert "Add i18n fallback and outdated warning (#530)"
This reverts commit 9c05e8d94e.
This commit is contained in:
@@ -10,7 +10,6 @@ import process from 'node:process'
|
||||
// import { getDirname, path } from '@vuepress/utils'
|
||||
import { getDirname, path } from 'vuepress/utils'
|
||||
import { MermaidPlugin } from './plugins/mermaid/node/mermaid'
|
||||
import i18nPlugin from "vuepress-plugin-i18n";
|
||||
|
||||
const __dirname = getDirname(import.meta.url)
|
||||
console.log('>>> __dirname -> ', __dirname)
|
||||
@@ -26,20 +25,6 @@ console.log(
|
||||
|
||||
export default defineUserConfig(<UserConfig>{
|
||||
plugins: [
|
||||
i18nPlugin({
|
||||
updatedTime: "git",
|
||||
locales: {
|
||||
en: {
|
||||
lang: "en-US",
|
||||
untranslated: {
|
||||
title: "Untranslated"
|
||||
},
|
||||
outdated: {
|
||||
title: "Outdated"
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
searchPlugin({
|
||||
locales: {
|
||||
"/": {
|
||||
|
||||
Reference in New Issue
Block a user