2019-12-11 23:32:19 +08:00
|
|
|
import CalendarLocale from 'rc-picker/lib/locale/kn_IN';
|
2024-04-08 14:04:08 +08:00
|
|
|
|
2018-12-22 01:49:19 +08:00
|
|
|
import TimePickerLocale from '../../time-picker/locale/kn_IN';
|
2022-05-07 14:31:54 +08:00
|
|
|
import type { PickerLocale } from '../generatePicker';
|
2018-12-22 01:49:19 +08:00
|
|
|
|
|
|
|
// Merge into a locale object
|
2020-03-12 10:49:32 +08:00
|
|
|
const locale: PickerLocale = {
|
2018-12-22 01:49:19 +08:00
|
|
|
lang: {
|
|
|
|
placeholder: 'ದಿನಾಂಕ ಆಯ್ಕೆಮಾಡಿ',
|
2024-07-14 21:38:45 +08:00
|
|
|
yearPlaceholder: 'ವರ್ಷ ಆಯ್ಕೆಮಾಡಿ',
|
2018-12-22 01:49:19 +08:00
|
|
|
rangePlaceholder: ['ಪ್ರಾರಂಭ ದಿನಾಂಕ', 'ಅಂತಿಮ ದಿನಾಂಕ'],
|
2024-07-14 21:38:45 +08:00
|
|
|
quarterPlaceholder: 'ಕಾಲುಭಾಗವನ್ನು ಆಯ್ಕೆಮಾಡಿ',
|
|
|
|
monthPlaceholder: 'ತಿಂಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ',
|
|
|
|
weekPlaceholder: 'ವಾರವನ್ನು ಆಯ್ಕೆಮಾಡಿ',
|
|
|
|
rangeYearPlaceholder: ['ಉದ್ಘಾಟನಾ ವರ್ಷ', 'ಅಂತಿಮ ವರ್ಷ'],
|
|
|
|
rangeQuarterPlaceholder: ['ತ್ರೈಮಾಸಿಕದ ಆರಂಭ', 'ಅಂತಿಮ ತ್ರೈಮಾಸಿಕ'],
|
|
|
|
rangeMonthPlaceholder: ['ಆರಂಭಿಕ ತಿಂಗಳು', 'ಅಂತಿಮ ತಿಂಗಳು'],
|
|
|
|
rangeWeekPlaceholder: ['ತೆರೆಯುವ ವಾರ', 'ಅಂತಿಮ ವಾರ'],
|
2018-12-22 01:49:19 +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;
|