ant-design/components/date-picker/locale/tk_TK.tsx
Amumu b222f93cc5
feat: add a new locale tk_TK (#35605)
* feat: add a new locale tk_TK

* fix: fix moment locale
2022-05-18 11:20:53 +08:00

25 lines
871 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;