2020-08-21 17:07:48 +08:00
|
|
|
import CalendarLocale from 'rc-picker/lib/locale/lt_LT';
|
2024-04-08 14:04:08 +08:00
|
|
|
|
2020-08-21 17:07:48 +08:00
|
|
|
import TimePickerLocale from '../../time-picker/locale/lt_LT';
|
2022-05-07 14:31:54 +08:00
|
|
|
import type { PickerLocale } from '../generatePicker';
|
2020-08-21 17:07:48 +08:00
|
|
|
|
|
|
|
// Merge into a locale object
|
|
|
|
const locale: PickerLocale = {
|
|
|
|
lang: {
|
|
|
|
placeholder: 'Pasirinkite datą',
|
|
|
|
yearPlaceholder: 'Pasirinkite metus',
|
|
|
|
quarterPlaceholder: 'Pasirinkite ketvirtį',
|
|
|
|
monthPlaceholder: 'Pasirinkite mėnesį',
|
|
|
|
weekPlaceholder: 'Pasirinkite savaitę',
|
|
|
|
rangePlaceholder: ['Pradžios data', 'Pabaigos data'],
|
|
|
|
rangeYearPlaceholder: ['Pradžios metai', 'Pabaigos metai'],
|
2023-05-27 10:57:49 +08:00
|
|
|
rangeQuarterPlaceholder: ['Pradžios ketvirtis', 'Pabaigos ketvirtis'],
|
2020-08-21 17:07:48 +08:00
|
|
|
rangeMonthPlaceholder: ['Pradžios mėnesis', 'Pabaigos mėnesis'],
|
|
|
|
rangeWeekPlaceholder: ['Pradžios savaitė', 'Pabaigos savaitė'],
|
|
|
|
...CalendarLocale,
|
|
|
|
},
|
|
|
|
timePickerLocale: {
|
|
|
|
...TimePickerLocale,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
// All settings at:
|
|
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
|
|
|
|
export default locale;
|