pull/1420/head
plandem 9 years ago committed by afc163
parent 2517b08e1f
commit 9af3e4fc55

@ -0,0 +1 @@
module.exports = require('../../date-picker/locale/ru_RU');

@ -0,0 +1,22 @@
/**
* Created by Andrey Gayvoronsky on 13/04/16.
*/
import GregorianCalendarLocale from 'gregorian-calendar/lib/locale/ru_RU';
import CalendarLocale from 'rc-calendar/lib/locale/ru_RU';
import TimePickerLocale from '../../time-picker/locale/ru_RU';
let locale = { ...GregorianCalendarLocale };
locale.lang = {
placeholder: 'Выберите дату',
rangePlaceholder: ['Начальная дата', 'Конечная дата'],
...CalendarLocale,
};
locale.timePickerLocale = { ...TimePickerLocale };
// All settings at:
// https://github.com/ant-design/ant-design/issues/424
export default locale;

@ -0,0 +1,32 @@
/**
* Created by Andrey Gayvoronsky on 13/04/16.
*/
export default {
Pagination: require('rc-pagination/lib/locale/ru_RU'),
DatePicker: require('../date-picker/locale/ru_RU'),
TimePicker: require('../time-picker/locale/ru_RU'),
Calendar: require('../calendar/locale/ru_RU'),
Table: {
filterTitle: 'Фильтр',
filterConfirm: 'OK',
filterReset: 'Сбросить',
emptyText: 'Нет данных',
},
Modal: {
okText: 'OK',
cancelText: 'Отмена',
justOkText: 'OK',
},
Popconfirm: {
okText: 'OK',
cancelText: 'Отмена',
},
Transfer: {
notFoundContent: 'Not Found',
searchPlaceholder: 'Search here',
itemUnit: 'item',
itemsUnit: 'items',
},
};

@ -0,0 +1,12 @@
/**
* Created by Andrey Gayvoronsky on 13/04/16.
*/
import TimepickerLocale from 'rc-time-picker/lib/locale/ru_RU';
const locale = {
placeholder: 'Выберите время',
... TimepickerLocale,
};
export default locale;
Loading…
Cancel
Save