This commit is contained in:
jack zhang 2024-05-09 12:00:50 +08:00 committed by GitHub
parent c9c14df4f0
commit 9740bf89ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,10 +27,7 @@ export default defineConfig({
{ type: 'component', dir: 'src/schema-component/antd' },
],
},
locales: [
{ id: 'en-US', name: 'English' },
{ id: 'zh-CN', name: '中文' },
],
locales: lang === 'zh-CN' ? [{ id: 'zh-CN', name: '中文' },] : [{ id: 'en-US', name: 'English' }],
themeConfig: defineThemeConfig({
title: 'NocoBase',
logo: 'https://www.nocobase.com/images/logo.png',