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

7 文件已重命名
1个文件已修改
4 ■■■■ 已修改文件
src/locales/lang/zh-CN/common.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh-CN/component.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh-CN/layout.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh-CN/routes/basic.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh-CN/routes/dashboard.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh-CN/routes/demo.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh-CN/sys.ts 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh_CN.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/locales/lang/zh-CN/common.ts
src/locales/lang/zh-CN/component.ts
src/locales/lang/zh-CN/layout.ts
src/locales/lang/zh-CN/routes/basic.ts
src/locales/lang/zh-CN/routes/dashboard.ts
src/locales/lang/zh-CN/routes/demo.ts
src/locales/lang/zh-CN/sys.ts
src/locales/lang/zh_CN.ts
@@ -2,10 +2,10 @@
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,