mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
05fd5a6825
* Add locale ca_ES (Catalan) * Add locale ca_ES (Catalan). Modify global locale in local-provider.
40 lines
836 B
TypeScript
40 lines
836 B
TypeScript
import moment from 'moment';
|
|
moment.locale('ca');
|
|
|
|
import Pagination from 'rc-pagination/lib/locale/ca_ES';
|
|
import DatePicker from '../date-picker/locale/ca_ES';
|
|
import TimePicker from '../time-picker/locale/ca_ES';
|
|
import Calendar from '../calendar/locale/ca_ES';
|
|
|
|
export default {
|
|
locale: 'ca',
|
|
Pagination,
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
Table: {
|
|
filterTitle: 'Filtrar Menu',
|
|
filterConfirm: 'OK',
|
|
filterReset: 'Restablir',
|
|
emptyText: 'Sense dades',
|
|
},
|
|
Modal: {
|
|
okText: 'OK',
|
|
cancelText: 'Cancel·lar',
|
|
justOkText: 'OK',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'OK',
|
|
cancelText: 'Cancel·lar',
|
|
},
|
|
Transfer: {
|
|
notFoundContent: 'No trobat',
|
|
searchPlaceholder: 'Cercar aquí',
|
|
itemUnit: 'item',
|
|
itemsUnit: 'items',
|
|
},
|
|
Select: {
|
|
notFoundContent: 'No trobat',
|
|
},
|
|
};
|