mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-02-02 18:08:40 +08:00
fix(locales): fix that vscode extension i18n-Ally detect zh-CN as zh (#1044)
This commit is contained in:
parent
1bb5156923
commit
b2d49cbbf8
@ -2,10 +2,10 @@ import { genMessage } from '../helper';
|
||||
import antdLocale from 'ant-design-vue/es/locale/zh_CN';
|
||||
import momentLocale from 'moment/dist/locale/zh-cn';
|
||||
|
||||
const modules = import.meta.globEager('./zh_CN/**/*.ts');
|
||||
const modules = import.meta.globEager('./zh-CN/**/*.ts');
|
||||
export default {
|
||||
message: {
|
||||
...genMessage(modules, 'zh_CN'),
|
||||
...genMessage(modules, 'zh-CN'),
|
||||
antdLocale,
|
||||
},
|
||||
momentLocale,
|
||||
|
Loading…
Reference in New Issue
Block a user