mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
015c459975
* Update ru_RU.ts Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com> * Update components/date-picker/locale/ru_RU.ts Signed-off-by: afc163 <afc163@gmail.com> * chore: update snapshot --------- Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com> Signed-off-by: afc163 <afc163@gmail.com> Co-authored-by: anykobz <66529344+anykobz@users.noreply.github.com>
32 lines
1.3 KiB
TypeScript
32 lines
1.3 KiB
TypeScript
/** Created by Andrey Gayvoronsky on 13/04/16. */
|
||
|
||
import CalendarLocale from 'rc-picker/lib/locale/ru_RU';
|
||
import TimePickerLocale from '../../time-picker/locale/ru_RU';
|
||
import type { PickerLocale } from '../generatePicker';
|
||
|
||
// Merge into a locale object
|
||
const locale: PickerLocale = {
|
||
lang: {
|
||
placeholder: 'Выберите дату',
|
||
yearPlaceholder: 'Выберите год',
|
||
quarterPlaceholder: 'Выберите квартал',
|
||
monthPlaceholder: 'Выберите месяц',
|
||
weekPlaceholder: 'Выберите неделю',
|
||
rangePlaceholder: ['Начальная дата', 'Конечная дата'],
|
||
rangeYearPlaceholder: ['Начальный год', 'Год окончания'],
|
||
rangeMonthPlaceholder: ['Начальный месяц', 'Конечный месяц'],
|
||
rangeWeekPlaceholder: ['Начальная неделя', 'Конечная неделя'],
|
||
shortWeekDays: ['Вскр', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сбб'],
|
||
shortMonths: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
|
||
...CalendarLocale,
|
||
},
|
||
timePickerLocale: {
|
||
...TimePickerLocale,
|
||
},
|
||
};
|
||
|
||
// All settings at:
|
||
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
||
|
||
export default locale;
|