2019-12-11 23:32:19 +08:00
|
|
|
import CalendarLocale from 'rc-picker/lib/locale/hi_IN';
|
2018-12-21 13:21:13 +08:00
|
|
|
import TimePickerLocale from '../../time-picker/locale/hi_IN';
|
2022-05-07 14:31:54 +08:00
|
|
|
import type { PickerLocale } from '../generatePicker';
|
2018-12-21 13:21:13 +08:00
|
|
|
|
|
|
|
// Merge into a locale object
|
2020-03-12 10:49:32 +08:00
|
|
|
const locale: PickerLocale = {
|
2018-12-21 13:21:13 +08:00
|
|
|
lang: {
|
|
|
|
placeholder: 'तारीख़ चुनें',
|
2021-05-18 10:48:05 +08:00
|
|
|
yearPlaceholder: 'वर्ष चुनें',
|
|
|
|
quarterPlaceholder: 'तिमाही चुनें',
|
|
|
|
monthPlaceholder: 'महीना चुनिए',
|
|
|
|
weekPlaceholder: 'सप्ताह चुनें',
|
2018-12-21 13:21:13 +08:00
|
|
|
rangePlaceholder: ['प्रारंभ तिथि', 'समाप्ति तिथि'],
|
2021-05-18 10:48:05 +08:00
|
|
|
rangeYearPlaceholder: ['आरंभिक वर्ष', 'अंत वर्ष'],
|
|
|
|
rangeMonthPlaceholder: ['आरंभिक महीना', 'अंत महीना'],
|
|
|
|
rangeWeekPlaceholder: ['आरंभिक सप्ताह', 'अंत सप्ताह'],
|
2018-12-21 13:21:13 +08:00
|
|
|
...CalendarLocale,
|
|
|
|
},
|
|
|
|
timePickerLocale: {
|
|
|
|
...TimePickerLocale,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
// All settings at:
|
|
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
|
|
|
|
export default locale;
|