github.com/igoogolx/clash@v1.19.8/docs/.vitepress/locales/index.ts (about)

     1  import { defineConfig } from 'vitepress'
     2  import en_US from './en_US'
     3  import zh_CN from './zh_CN'
     4  
     5  export default defineConfig({
     6    locales: {
     7      root: {
     8        label: 'English',
     9        lang: en_US.lang,
    10        themeConfig: en_US.themeConfig,
    11        description: en_US.description
    12      },
    13      zh_CN: {
    14        label: '简体中文',
    15        lang: zh_CN.lang,
    16        themeConfig: zh_CN.themeConfig,
    17        description: zh_CN.description
    18      }
    19    }
    20  })