mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 07:28:28 +08:00
0aabdb3d8b
* fix: locale should follow LocaleProvider, close: #4495 * test: update snapshot * fix: fix some bugs
45 lines
1020 B
TypeScript
45 lines
1020 B
TypeScript
/**
|
|
* Created by Andrey Gayvoronsky on 13/04/16.
|
|
*/
|
|
|
|
import moment from 'moment';
|
|
import 'moment/locale/ru';
|
|
moment.locale('ru');
|
|
|
|
import Pagination from 'rc-pagination/lib/locale/ru_RU';
|
|
import DatePicker from '../date-picker/locale/ru_RU';
|
|
import TimePicker from '../time-picker/locale/ru_RU';
|
|
import Calendar from '../calendar/locale/ru_RU';
|
|
|
|
export default {
|
|
locale: 'ru',
|
|
Pagination,
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
Table: {
|
|
filterTitle: 'Фильтр',
|
|
filterConfirm: 'OK',
|
|
filterReset: 'Сбросить',
|
|
emptyText: 'Нет данных',
|
|
},
|
|
Modal: {
|
|
okText: 'OK',
|
|
cancelText: 'Отмена',
|
|
justOkText: 'OK',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'OK',
|
|
cancelText: 'Отмена',
|
|
},
|
|
Transfer: {
|
|
notFoundContent: 'Ничего не найдено',
|
|
searchPlaceholder: 'Введите название для поиска',
|
|
itemUnit: 'item',
|
|
itemsUnit: 'items',
|
|
},
|
|
Select: {
|
|
notFoundContent: 'Ничего не найдено',
|
|
},
|
|
};
|