ant-design-vue/components/date-picker/locale/km_KH.tsx

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;