28 lines
1.1 KiB
Vue
28 lines
1.1 KiB
Vue
import CalendarLocale from '../../vc-picker/locale/km_KH';
|
|
import TimePickerLocale from '../../time-picker/locale/km_KH';
|
|
import type { PickerLocale } from '../generatePicker';
|
|
|
|
// Merge into a locale object
|
|
const locale: PickerLocale = {
|
|
lang: {
|
|
placeholder: 'áážááááá',
|
|
yearPlaceholder: 'áážáááááļá',
|
|
quarterPlaceholder: 'áážááááá¸ááļá',
|
|
monthPlaceholder: 'áážááá',
|
|
weekPlaceholder: 'áážááááááļá á',
|
|
rangePlaceholder: ['ááááá
áļáááááážá', 'áááááááá
áá'],
|
|
rangeYearPlaceholder: ['ááááļáá
áļáááááážá', 'ááááļááááá
áá'],
|
|
rangeMonthPlaceholder: ['ááá
áļáááááážá', 'áááááá
áá'],
|
|
rangeWeekPlaceholder: ['áááááļá áá
áļáááááážá', 'áááááļá ááááá
áá'],
|
|
...CalendarLocale,
|
|
},
|
|
timePickerLocale: {
|
|
...TimePickerLocale,
|
|
},
|
|
};
|
|
|
|
// All settings at:
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
export default locale;
|