Skip to content

Commit

Permalink
chore: reduce bundle size of zh-CN only apps
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyunhe committed Apr 9, 2024
1 parent 84bad16 commit 7165955
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/locales/zh-CN.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { mergeLocale } from '../utils/merge-locale'
import { base } from './base'
import { Locale } from './base'

const typeTemplate = '${label}不是一个有效的${type}'

const zhCN = mergeLocale(base, {
const zhCN: Locale = {
locale: 'zh-CH',
common: {
confirm: '确定',
Expand Down Expand Up @@ -140,6 +139,6 @@ const zhCN = mergeLocale(base, {
Selector: {
name: '选择组',
},
})
}

export default zhCN

0 comments on commit 7165955

Please sign in to comment.