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;
|