mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
47fcd7651f
* add french locale * Add french locale
18 lines
503 B
TypeScript
18 lines
503 B
TypeScript
import CalendarLocale from 'rc-calendar/lib/locale/fr_BE';
|
|
import TimePickerLocale from '../../time-picker/locale/fr_BE';
|
|
import assign from 'object-assign';
|
|
|
|
// 统一合并为完整的 Locale
|
|
const locale = {
|
|
lang: assign({
|
|
placeholder: 'Sélectionner une date',
|
|
rangePlaceholder: ['Date de début', 'Date de fin'],
|
|
}, CalendarLocale),
|
|
timePickerLocale: assign({}, TimePickerLocale),
|
|
};
|
|
|
|
// All settings at:
|
|
// https://github.com/ant-design/ant-design/issues/424
|
|
|
|
export default locale;
|