File size: 4,243 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
import Pagination from 'rc-pagination/lib/locale/ko_KR';

import type { Locale } from '.';
import Calendar from '../calendar/locale/ko_KR';
import DatePicker from '../date-picker/locale/ko_KR';
import TimePicker from '../time-picker/locale/ko_KR';

const typeTemplate = '${label} μœ νš¨ν•˜μ§€ μ•Šμ€ ${type}';

const localeValues: Locale = {
  locale: 'ko',
  Pagination,
  DatePicker,
  TimePicker,
  Calendar,
  global: {
    placeholder: 'μ„ νƒν•˜μ„Έμš”',
    close: 'λ‹«κΈ°',
  },
  Table: {
    filterTitle: 'ν•„ν„° 메뉴',
    filterConfirm: '확인',
    filterReset: 'μ΄ˆκΈ°ν™”',
    filterEmptyText: 'ν•„ν„° μ—†μŒ',
    filterCheckAll: '전체 선택',
    filterSearchPlaceholder: 'ν•„ν„° 검색',
    emptyText: '데이터 μ—†μŒ',
    selectAll: '전체 선택',
    selectInvert: '선택 λ°˜μ „',
    selectNone: 'μ—†μŒ',
    selectionAll: '전체 선택',
    sortTitle: 'μ •λ ¬',
    expand: '펼치기',
    collapse: 'μ ‘κΈ°',
    triggerDesc: 'λ‚΄λ¦Όμ°¨μˆœμœΌλ‘œ μ •λ ¬ν•˜κΈ°',
    triggerAsc: 'μ˜€λ¦„μ°¨μˆœμœΌλ‘œ μ •λ ¬ν•˜κΈ°',
    cancelSort: 'μ •λ ¬ μ·¨μ†Œν•˜κΈ°',
  },
  Tour: {
    Next: 'λ‹€μŒ',
    Previous: '이전',
    Finish: 'μ’…λ£Œ',
  },
  Modal: {
    okText: '확인',
    cancelText: 'μ·¨μ†Œ',
    justOkText: '확인',
  },
  Popconfirm: {
    okText: '확인',
    cancelText: 'μ·¨μ†Œ',
  },
  Transfer: {
    titles: ['', ''],
    searchPlaceholder: '여기에 κ²€μƒ‰ν•˜μ„Έμš”',
    itemUnit: '개',
    itemsUnit: '개',
    remove: 'μ‚­μ œ',
    selectCurrent: 'ν˜„μž¬ νŽ˜μ΄μ§€ 선택',
    removeCurrent: 'ν˜„μž¬ νŽ˜μ΄μ§€ μ‚­μ œ',
    selectAll: '전체 선택',
    removeAll: '전체 μ‚­μ œ',
    selectInvert: '선택 λ°˜μ „',
  },
  Upload: {
    uploading: 'μ—…λ‘œλ“œ 쀑...',
    removeFile: '파일 μ‚­μ œ',
    uploadError: 'μ—…λ‘œλ“œ μ‹€νŒ¨',
    previewFile: '파일 미리보기',
    downloadFile: '파일 λ‹€μš΄λ‘œλ“œ',
  },
  Empty: {
    description: '데이터 μ—†μŒ',
  },
  Icon: {
    icon: 'μ•„μ΄μ½˜',
  },
  Text: {
    edit: 'μˆ˜μ •',
    copy: '볡사',
    copied: '볡사 됨',
    expand: 'ν™•μž₯',
  },
  Form: {
    optional: '(선택사항)',
    defaultValidateMessages: {
      default: 'ν•„λ“œ μœ νš¨μ„± 검사 였λ₯˜ ${label}',
      required: '${label} 값을 μž…λ ₯ν•΄ μ£Όμ„Έμš”',
      enum: '${label} [${enum}] 쀑에 ν•˜λ‚˜μ—¬μ•Ό ν•©λ‹ˆλ‹€',
      whitespace: '${label} λΉ„μ›Œλ‘˜ 수 μ—†μŠ΅λ‹ˆλ‹€',
      date: {
        format: '${label} μœ νš¨ν•˜μ§€ μ•Šμ€ λ‚ μ§œ ν˜•μ‹μž…λ‹ˆλ‹€',
        parse: '${label} λ‚ μ§œ ν˜•μ‹μœΌλ‘œ λ³€ν™˜λ  수 μ—†μŠ΅λ‹ˆλ‹€',
        invalid: '${label} μœ νš¨ν•˜μ§€ μ•Šμ€ λ‚ μ§œμž…λ‹ˆλ‹€',
      },
      types: {
        string: typeTemplate,
        method: typeTemplate,
        array: typeTemplate,
        object: typeTemplate,
        number: typeTemplate,
        date: typeTemplate,
        boolean: typeTemplate,
        integer: typeTemplate,
        float: typeTemplate,
        regexp: typeTemplate,
        email: typeTemplate,
        url: typeTemplate,
        hex: typeTemplate,
      },
      string: {
        len: '${label} ${len}κΈ€μžμ—¬μ•Ό ν•©λ‹ˆλ‹€',
        min: '${label} 적어도 ${min}κΈ€μž 이상이어야 ν•©λ‹ˆλ‹€',
        max: '${label} ${max}κΈ€μž μ΄ν•˜μ—¬μ•Ό ν•©λ‹ˆλ‹€',
        range: '${label} ${min}-${max}κΈ€μž 사이어야 ν•©λ‹ˆλ‹€',
      },
      number: {
        len: '${label} 값은 ${len}이어야 ν•©λ‹ˆλ‹€',
        min: '${label} μ΅œμ†Ÿκ°’μ€ ${min}μž…λ‹ˆλ‹€',
        max: '${label} μ΅œλŒ“κ°’μ€ ${max}μž…λ‹ˆλ‹€',
        range: '${label} 값은 ${min}-${max} 사이어야 ν•©λ‹ˆλ‹€',
      },
      array: {
        len: '${len}이어야 ν•©λ‹ˆλ‹€ ${label}',
        min: 'μ΅œμ†Œ ${min}이어야 ν•©λ‹ˆλ‹€ ${label}',
        max: 'μ΅œλŒ€ ${max}이어야 ν•©λ‹ˆλ‹€ ${label}',
        range: '${label} ${min}-${max} 사이어야 ν•©λ‹ˆλ‹€',
      },
      pattern: {
        mismatch: '${label} ${pattern} νŒ¨ν„΄κ³Ό μΌμΉ˜ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€',
      },
    },
  },
  Image: {
    preview: '미리보기',
  },
  QRCode: {
    expired: '만료된 QR μ½”λ“œ',
    refresh: 'μƒˆλ‘œκ³ μΉ¨',
  },
  ColorPicker: {
    presetEmpty: 'λ―Έμ •',
    transparent: '투λͺ…',
    singleColor: '단색',
    gradientColor: 'κ·ΈλΌλ°μ΄μ…˜',
  },
};

export default localeValues;