website: add zh_CN translation (#88)

* website: bump vitepress to 1.0.0-alpha.38

* i18n: add zh-CN translation
This commit is contained in:
Ylarod
2023-01-20 10:55:38 +08:00
committed by GitHub
parent c252492a42
commit a255a5e3c1
19 changed files with 367 additions and 9037 deletions

View File

@@ -0,0 +1,20 @@
import { defineConfig } from 'vitepress'
import en from './en'
import zh_CN from './zh_CN'
export default defineConfig({
locales: {
root: {
label: 'English',
lang: en.lang,
themeConfig: en.themeConfig,
description: en.description
},
zh_CN: {
label: '简体中文',
lang: zh_CN.lang,
themeConfig: zh_CN.themeConfig,
description: zh_CN.description
}
}
})