refactor: rename locale
parent
c903de3c0e
commit
8110d8cbbd
|
@ -11,7 +11,7 @@ import type { MaybeRef } from '../_util/type';
|
|||
import message from '../message';
|
||||
import notification from '../notification';
|
||||
import { registerTheme } from './cssVariables';
|
||||
import defaultLocale from '../locale/default';
|
||||
import defaultLocale from '../locale/en_US';
|
||||
import type { ValidateMessages } from '../form/interface';
|
||||
import useStyle from './style';
|
||||
import useTheme from './hooks/useTheme';
|
||||
|
|
|
@ -4,7 +4,7 @@ import type { FormLabelAlign } from './interface';
|
|||
import { useInjectForm } from './context';
|
||||
import type { RequiredMark } from './Form';
|
||||
import { useLocaleReceiver } from '../locale-provider/LocaleReceiver';
|
||||
import defaultLocale from '../locale/default';
|
||||
import defaultLocale from '../locale/en_US';
|
||||
import classNames from '../_util/classNames';
|
||||
import type { VueNode } from '../_util/type';
|
||||
import type { FunctionalComponent, HTMLAttributes } from 'vue';
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import locale from '../locale/default';
|
||||
import locale from '../locale/en_US';
|
||||
|
||||
export default locale;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* eslint-disable no-template-curly-in-string */
|
||||
import Pagination from '../vc-pagination/locale/en_US';
|
||||
import Calendar from '../calendar/locale/en_US';
|
||||
import DatePicker from '../date-picker/locale/en_US';
|
||||
import TimePicker from '../time-picker/locale/en_US';
|
||||
import Calendar from '../calendar/locale/en_US';
|
||||
import type { Locale } from '../locale-provider';
|
||||
|
||||
const typeTemplate = '${label} is not a valid ${type}';
|
||||
|
@ -64,7 +64,7 @@ const localeValues: Locale = {
|
|||
downloadFile: 'Download file',
|
||||
},
|
||||
Empty: {
|
||||
description: 'No Data',
|
||||
description: 'No data',
|
||||
},
|
||||
Icon: {
|
||||
icon: 'icon',
|
|
@ -1,3 +0,0 @@
|
|||
import defaultLocale from './default';
|
||||
|
||||
export default defaultLocale;
|
|
@ -2,7 +2,7 @@ import PropTypes from '../_util/vue-types';
|
|||
import classNames from '../_util/classNames';
|
||||
import type { TransferLocale } from '.';
|
||||
import DeleteOutlined from '@ant-design/icons-vue/DeleteOutlined';
|
||||
import defaultLocale from '../locale/default';
|
||||
import defaultLocale from '../locale/en_US';
|
||||
import Checkbox from '../checkbox';
|
||||
import TransButton from '../_util/transButton';
|
||||
import LocaleReceiver from '../locale-provider/LocaleReceiver';
|
||||
|
|
|
@ -12,7 +12,7 @@ import type {
|
|||
import { uploadProps } from './interface';
|
||||
import { file2Obj, getFileItem, removeFileItem, updateFileList } from './utils';
|
||||
import { useLocaleReceiver } from '../locale-provider/LocaleReceiver';
|
||||
import defaultLocale from '../locale/default';
|
||||
import defaultLocale from '../locale/en_US';
|
||||
import type { CSSProperties } from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, toRef } from 'vue';
|
||||
import { flattenChildren, initDefaultProps } from '../_util/props-util';
|
||||
|
|
Loading…
Reference in New Issue