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:
20
website/docs/.vitepress/locales/index.ts
Normal file
20
website/docs/.vitepress/locales/index.ts
Normal 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
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user