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.1 KiB
28 lines
1.1 KiB
5 years ago
|
import CalendarLocale from 'rc-picker/lib/locale/hi_IN';
|
||
6 years ago
|
import TimePickerLocale from '../../time-picker/locale/hi_IN';
|
||
3 years ago
|
import type { PickerLocale } from '../generatePicker';
|
||
6 years ago
|
|
||
|
// Merge into a locale object
|
||
5 years ago
|
const locale: PickerLocale = {
|
||
6 years ago
|
lang: {
|
||
|
placeholder: 'तारीख़ चुनें',
|
||
4 years ago
|
yearPlaceholder: 'वर्ष चुनें',
|
||
|
quarterPlaceholder: 'तिमाही चुनें',
|
||
|
monthPlaceholder: 'महीना चुनिए',
|
||
|
weekPlaceholder: 'सप्ताह चुनें',
|
||
6 years ago
|
rangePlaceholder: ['प्रारंभ तिथि', 'समाप्ति तिथि'],
|
||
4 years ago
|
rangeYearPlaceholder: ['आरंभिक वर्ष', 'अंत वर्ष'],
|
||
|
rangeMonthPlaceholder: ['आरंभिक महीना', 'अंत महीना'],
|
||
|
rangeWeekPlaceholder: ['आरंभिक सप्ताह', 'अंत सप्ताह'],
|
||
6 years ago
|
...CalendarLocale,
|
||
|
},
|
||
|
timePickerLocale: {
|
||
|
...TimePickerLocale,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
// All settings at:
|
||
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
||
|
|
||
|
export default locale;
|