mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
b222f93cc5
* feat: add a new locale tk_TK * fix: fix moment locale
25 lines
871 B
TypeScript
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;
|