未验证 提交 b2d49cbb 编写于 作者: S spking11 提交者: GitHub

fix(locales): fix that vscode extension i18n-Ally detect zh-CN as zh (#1044)

上级 1bb51569
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册