2019-12-11 23:32:19 +08:00
|
|
|
import CalendarLocale from 'rc-picker/lib/locale/ko_KR';
|
2024-04-08 14:04:08 +08:00
|
|
|
|
2017-03-02 15:24:49 +08:00
|
|
|
import TimePickerLocale from '../../time-picker/locale/ko_KR';
|
2022-05-07 14:31:54 +08:00
|
|
|
import type { PickerLocale } from '../generatePicker';
|
2017-03-02 15:24:49 +08:00
|
|
|
|
2017-03-23 21:32:29 +08:00
|
|
|
// Merge into a locale object
|
2020-03-12 10:49:32 +08:00
|
|
|
const locale: PickerLocale = {
|
2017-07-03 16:57:11 +08:00
|
|
|
lang: {
|
2017-03-02 15:24:49 +08:00
|
|
|
placeholder: '날짜 선택',
|
2024-12-11 22:37:57 +08:00
|
|
|
yearPlaceholder: '연도 선택',
|
|
|
|
quarterPlaceholder: '분기 선택',
|
|
|
|
monthPlaceholder: '월 선택',
|
|
|
|
weekPlaceholder: '주 선택',
|
2017-03-02 15:24:49 +08:00
|
|
|
rangePlaceholder: ['시작일', '종료일'],
|
2024-12-11 22:37:57 +08:00
|
|
|
rangeYearPlaceholder: ['시작 연도', '종료 연도'],
|
|
|
|
rangeMonthPlaceholder: ['시작 월', '종료 월'],
|
|
|
|
rangeQuarterPlaceholder: ['시작 분기', '종료 분기'],
|
|
|
|
rangeWeekPlaceholder: ['시작 주', '종료 주'],
|
|
|
|
shortWeekDays: ['일', '월', '화', '수', '목', '금', '토'],
|
|
|
|
shortMonths: [
|
|
|
|
'1월',
|
|
|
|
'2월',
|
|
|
|
'3월',
|
|
|
|
'4월',
|
|
|
|
'5월',
|
|
|
|
'6월',
|
|
|
|
'7월',
|
|
|
|
'8월',
|
|
|
|
'9월',
|
|
|
|
'10월',
|
|
|
|
'11월',
|
|
|
|
'12월',
|
|
|
|
],
|
2017-07-03 16:57:11 +08:00
|
|
|
...CalendarLocale,
|
|
|
|
},
|
|
|
|
timePickerLocale: {
|
|
|
|
...TimePickerLocale,
|
|
|
|
},
|
2017-03-02 15:24:49 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
// All settings at:
|
|
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
|
|
|
|
export default locale;
|