amis-rpc-design/node_modules/antd/es/date-picker/locale/sv_SE.js
2023-10-07 19:42:30 +08:00

20 lines
807 B
JavaScript

import CalendarLocale from "rc-picker/es/locale/sv_SE";
import TimePickerLocale from '../../time-picker/locale/sv_SE';
// Merge into a locale object
const locale = {
lang: Object.assign({
placeholder: 'Välj datum',
yearPlaceholder: 'Välj år',
quarterPlaceholder: 'Välj kvartal',
monthPlaceholder: 'Välj månad',
weekPlaceholder: 'Välj vecka',
rangePlaceholder: ['Startdatum', 'Slutdatum'],
rangeYearPlaceholder: ['Startår', 'Slutår'],
rangeMonthPlaceholder: ['Startmånad', 'Slutmånad'],
rangeWeekPlaceholder: ['Startvecka', 'Slutvecka']
}, CalendarLocale),
timePickerLocale: Object.assign({}, TimePickerLocale)
};
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
export default locale;