2019-12-11 23:32:19 +08:00
|
|
|
import CalendarLocale from 'rc-picker/lib/locale/sr_RS';
|
2024-04-08 14:04:08 +08:00
|
|
|
|
2017-08-15 09:24:30 +08:00
|
|
|
import TimePickerLocale from '../../time-picker/locale/sr_RS';
|
2022-05-07 14:31:54 +08:00
|
|
|
import type { PickerLocale } from '../generatePicker';
|
2017-08-15 09:24:30 +08:00
|
|
|
|
|
|
|
// Merge into a locale object
|
2020-03-12 10:49:32 +08:00
|
|
|
const locale: PickerLocale = {
|
2017-08-15 09:24:30 +08:00
|
|
|
lang: {
|
2021-05-06 18:41:29 +08:00
|
|
|
placeholder: 'Izaberi datum',
|
|
|
|
yearPlaceholder: 'Izaberi godinu',
|
|
|
|
quarterPlaceholder: 'Izaberi tromesečje',
|
|
|
|
monthPlaceholder: 'Izaberi mesec',
|
|
|
|
weekPlaceholder: 'Izaberi sedmicu',
|
|
|
|
rangePlaceholder: ['Datum početka', 'Datum završetka'],
|
|
|
|
rangeYearPlaceholder: ['Godina početka', 'Godina završetka'],
|
|
|
|
rangeMonthPlaceholder: ['Mesec početka', 'Mesec završetka'],
|
|
|
|
rangeWeekPlaceholder: ['Sedmica početka', 'Sedmica završetka'],
|
2017-08-15 09:24:30 +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;
|