mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
502dac12aa
* docs: fix code * feat: lint * feat: prettier * feat: test * feat: review * feat: format html * feat: format html
26 lines
872 B
TypeScript
26 lines
872 B
TypeScript
import CalendarLocale from 'rc-picker/lib/locale/tk_TK';
|
|
|
|
import TimePickerLocale from '../../time-picker/locale/tk_TK';
|
|
import type { PickerLocale } from '../generatePicker';
|
|
|
|
const locale: PickerLocale = {
|
|
lang: {
|
|
placeholder: 'Wagt saýlaň',
|
|
rangePlaceholder: ['Başlanýan wagty', 'Gutarýan wagty'],
|
|
yearPlaceholder: 'Ýyl saýlaň',
|
|
quarterPlaceholder: 'Çärýek saýlaň',
|
|
monthPlaceholder: 'Aý saýlaň',
|
|
weekPlaceholder: 'Hepde saýlaň',
|
|
rangeYearPlaceholder: ['Başlanýan ýyly', 'Gutarýan ýyly'],
|
|
rangeQuarterPlaceholder: ['Başlanýan çärýegi', 'Gutarýan çärýegi'],
|
|
rangeMonthPlaceholder: ['Başlanýan aýy', 'Gutarýan aýy'],
|
|
rangeWeekPlaceholder: ['Başlanýan hepdesi', 'Gutarýan hepdesi'],
|
|
...CalendarLocale,
|
|
},
|
|
timePickerLocale: {
|
|
...TimePickerLocale,
|
|
},
|
|
};
|
|
|
|
export default locale;
|