You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
28 lines
1.2 KiB
3 years ago
|
import CalendarLocale from 'rc-picker/lib/locale/ml_IN';
|
||
|
import TimePickerLocale from '../../time-picker/locale/ml_IN';
|
||
3 years ago
|
import type { PickerLocale } from '../generatePicker';
|
||
3 years ago
|
|
||
|
// 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;
|