1 | /** |
---|
2 | * Korean Translations By nicetip |
---|
3 | * 05 September 2007 |
---|
4 | * Modify by techbug / 25 February 2008 |
---|
5 | */ |
---|
6 | |
---|
7 | Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">로딩중...</div>'; |
---|
8 | |
---|
9 | if(Ext.View){ |
---|
10 | Ext.View.prototype.emptyText = ""; |
---|
11 | } |
---|
12 | |
---|
13 | if(Ext.grid.GridPanel){ |
---|
14 | Ext.grid.GridPanel.prototype.ddText = "{0} 개가 선택되었습니다."; |
---|
15 | } |
---|
16 | |
---|
17 | if(Ext.TabPanelItem){ |
---|
18 | Ext.TabPanelItem.prototype.closeText = "닫기"; |
---|
19 | } |
---|
20 | |
---|
21 | if(Ext.form.Field){ |
---|
22 | Ext.form.Field.prototype.invalidText = "올바른 값이 아닙니다."; |
---|
23 | } |
---|
24 | |
---|
25 | if(Ext.LoadMask){ |
---|
26 | Ext.LoadMask.prototype.msg = "로딩중..."; |
---|
27 | } |
---|
28 | |
---|
29 | Date.monthNames = [ |
---|
30 | "1월", |
---|
31 | "2월", |
---|
32 | "3월", |
---|
33 | "4월", |
---|
34 | "5월", |
---|
35 | "6월", |
---|
36 | "7월", |
---|
37 | "8월", |
---|
38 | "9월", |
---|
39 | "10월", |
---|
40 | "11월", |
---|
41 | "12월" |
---|
42 | ]; |
---|
43 | |
---|
44 | Date.dayNames = [ |
---|
45 | "일", |
---|
46 | "월", |
---|
47 | "화", |
---|
48 | "수", |
---|
49 | "목", |
---|
50 | "금", |
---|
51 | "토" |
---|
52 | ]; |
---|
53 | |
---|
54 | if(Ext.MessageBox){ |
---|
55 | Ext.MessageBox.buttonText = { |
---|
56 | ok : "확인", |
---|
57 | cancel : "취소", |
---|
58 | yes : "예", |
---|
59 | no : "아니오" |
---|
60 | }; |
---|
61 | } |
---|
62 | |
---|
63 | if(Ext.util.Format){ |
---|
64 | Ext.util.Format.date = function(v, format){ |
---|
65 | if(!v) return ""; |
---|
66 | if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
---|
67 | return v.dateFormat(format || "m/d/Y"); |
---|
68 | }; |
---|
69 | } |
---|
70 | |
---|
71 | if(Ext.DatePicker){ |
---|
72 | Ext.apply(Ext.DatePicker.prototype, { |
---|
73 | todayText : "오늘", |
---|
74 | minText : "최소 날짜범위를 넘었습니다.", |
---|
75 | maxText : "최대 날짜범위를 넘었습니다.", |
---|
76 | disabledDaysText : "", |
---|
77 | disabledDatesText : "", |
---|
78 | monthNames : Date.monthNames, |
---|
79 | dayNames : Date.dayNames, |
---|
80 | nextText : '다음달(컨트롤키+오른쪽 화살표)', |
---|
81 | prevText : '이전달 (컨트롤키+왼족 화살표)', |
---|
82 | monthYearText : '월을 선택해주세요. (컨트롤키+위/아래 화살표)', |
---|
83 | todayTip : "{0} (스페이스바)", |
---|
84 | format : "m/d/y", |
---|
85 | okText : "확인", |
---|
86 | cancelText : "취소", |
---|
87 | startDay : 0 |
---|
88 | }); |
---|
89 | } |
---|
90 | |
---|
91 | if(Ext.PagingToolbar){ |
---|
92 | Ext.apply(Ext.PagingToolbar.prototype, { |
---|
93 | beforePageText : "페이지", |
---|
94 | afterPageText : "/ {0}", |
---|
95 | firstText : "첫 페이지", |
---|
96 | prevText : "이전 페이지", |
---|
97 | nextText : "다음 페이지", |
---|
98 | lastText : "마지막 페이지", |
---|
99 | refreshText : "새로고침", |
---|
100 | displayMsg : "전체 {2} 중 {0} - {1}", |
---|
101 | emptyMsg : '표시할 데이터가 없습니다.' |
---|
102 | }); |
---|
103 | } |
---|
104 | |
---|
105 | if(Ext.form.TextField){ |
---|
106 | Ext.apply(Ext.form.TextField.prototype, { |
---|
107 | minLengthText : "최소길이는 {0}입니다.", |
---|
108 | maxLengthText : "최대길이는 {0}입니다.", |
---|
109 | blankText : "값을 입력해주세요.", |
---|
110 | regexText : "", |
---|
111 | emptyText : null |
---|
112 | }); |
---|
113 | } |
---|
114 | |
---|
115 | if(Ext.form.NumberField){ |
---|
116 | Ext.apply(Ext.form.NumberField.prototype, { |
---|
117 | minText : "최소값은 {0}입니다.", |
---|
118 | maxText : "최대값은 {0}입니다.", |
---|
119 | nanText : "{0}는 올바른 숫자가 아닙니다." |
---|
120 | }); |
---|
121 | } |
---|
122 | |
---|
123 | if(Ext.form.DateField){ |
---|
124 | Ext.apply(Ext.form.DateField.prototype, { |
---|
125 | disabledDaysText : "비활성", |
---|
126 | disabledDatesText : "비활성", |
---|
127 | minText : "{0}일 이후여야 합니다.", |
---|
128 | maxText : "{0}일 이전이어야 합니다.", |
---|
129 | invalidText : "{0}는 올바른 날짜형식이 아닙니다. - 다음과 같은 형식이어야 합니다. {1}", |
---|
130 | format : "m/d/y" |
---|
131 | }); |
---|
132 | } |
---|
133 | |
---|
134 | if(Ext.form.ComboBox){ |
---|
135 | Ext.apply(Ext.form.ComboBox.prototype, { |
---|
136 | loadingText : "로딩중...", |
---|
137 | valueNotFoundText : undefined |
---|
138 | }); |
---|
139 | } |
---|
140 | |
---|
141 | if(Ext.form.VTypes){ |
---|
142 | Ext.apply(Ext.form.VTypes, { |
---|
143 | emailText : '이메일 주소 형식에 맞게 입력해야합니다. (예: "user@domain.com")', |
---|
144 | urlText : 'URL 형식에 맞게 입력해야합니다. (예: "http:/'+'/www.domain.com")', |
---|
145 | alphaText : '영문, 밑줄(_)만 입력할 수 있습니다.', |
---|
146 | alphanumText : '영문, 숫자, 밑줄(_)만 입력할 수 있습니다.' |
---|
147 | }); |
---|
148 | } |
---|
149 | |
---|
150 | if(Ext.form.HtmlEditor){ |
---|
151 | Ext.apply(Ext.form.HtmlEditor.prototype, { |
---|
152 | createLinkText : 'URL을 입력해주세요:', |
---|
153 | buttonTips : { |
---|
154 | bold : { |
---|
155 | title: '굵게 (Ctrl+B)', |
---|
156 | text: '선택한 텍스트를 굵게 표시합니다.', |
---|
157 | cls: 'x-html-editor-tip' |
---|
158 | }, |
---|
159 | italic : { |
---|
160 | title: '기울임꼴 (Ctrl+I)', |
---|
161 | text: '선택한 텍스트를 기울임꼴로 표시합니다.', |
---|
162 | cls: 'x-html-editor-tip' |
---|
163 | }, |
---|
164 | underline : { |
---|
165 | title: '밑줄 (Ctrl+U)', |
---|
166 | text: '선택한 텍스트에 밑줄을 표시합니다.', |
---|
167 | cls: 'x-html-editor-tip' |
---|
168 | }, |
---|
169 | increasefontsize : { |
---|
170 | title: '글꼴크기 늘림', |
---|
171 | text: '글꼴 크기를 크게 합니다.', |
---|
172 | cls: 'x-html-editor-tip' |
---|
173 | }, |
---|
174 | decreasefontsize : { |
---|
175 | title: '글꼴크기 줄임', |
---|
176 | text: '글꼴 크기를 작게 합니다.', |
---|
177 | cls: 'x-html-editor-tip' |
---|
178 | }, |
---|
179 | backcolor : { |
---|
180 | title: '텍스트 강조 색', |
---|
181 | text: '선택한 텍스트의 배경색을 변경합니다.', |
---|
182 | cls: 'x-html-editor-tip' |
---|
183 | }, |
---|
184 | forecolor : { |
---|
185 | title: '글꼴색', |
---|
186 | text: '선택한 텍스트의 색을 변경합니다.', |
---|
187 | cls: 'x-html-editor-tip' |
---|
188 | }, |
---|
189 | justifyleft : { |
---|
190 | title: '텍스트 왼쪽 맞춤', |
---|
191 | text: '왼쪽에 텍스트를 맞춥니다.', |
---|
192 | cls: 'x-html-editor-tip' |
---|
193 | }, |
---|
194 | justifycenter : { |
---|
195 | title: '가운데 맞춤', |
---|
196 | text: '가운데에 텍스트를 맞춥니다.', |
---|
197 | cls: 'x-html-editor-tip' |
---|
198 | }, |
---|
199 | justifyright : { |
---|
200 | title: '텍스트 오른쪽 맞춤', |
---|
201 | text: '오른쪽에 텍스트를 맞춥니다.', |
---|
202 | cls: 'x-html-editor-tip' |
---|
203 | }, |
---|
204 | insertunorderedlist : { |
---|
205 | title: '글머리 기호', |
---|
206 | text: '글머리 기호 목록을 시작합니다.', |
---|
207 | cls: 'x-html-editor-tip' |
---|
208 | }, |
---|
209 | insertorderedlist : { |
---|
210 | title: '번호 매기기', |
---|
211 | text: '번호 매기기 목록을 시작합니다.', |
---|
212 | cls: 'x-html-editor-tip' |
---|
213 | }, |
---|
214 | createlink : { |
---|
215 | title: '하이퍼링크', |
---|
216 | text: '선택한 텍스트에 하이퍼링크를 만듭니다.', |
---|
217 | cls: 'x-html-editor-tip' |
---|
218 | }, |
---|
219 | sourceedit : { |
---|
220 | title: '소스편집', |
---|
221 | text: '소스편집 모드로 변환합니다.', |
---|
222 | cls: 'x-html-editor-tip' |
---|
223 | } |
---|
224 | } |
---|
225 | }); |
---|
226 | } |
---|
227 | |
---|
228 | if(Ext.grid.GridView){ |
---|
229 | Ext.apply(Ext.grid.GridView.prototype, { |
---|
230 | sortAscText : "오름차순 정렬", |
---|
231 | sortDescText : "내림차순 정렬", |
---|
232 | lockText : "칼럼 잠금", |
---|
233 | unlockText : "칼럼 잠금해제", |
---|
234 | columnsText : "칼럼 목록" |
---|
235 | }); |
---|
236 | } |
---|
237 | |
---|
238 | if(Ext.grid.GroupingView){ |
---|
239 | Ext.apply(Ext.grid.GroupingView.prototype, { |
---|
240 | emptyGroupText : '(None)', |
---|
241 | groupByText : '현재 필드로 그룹핑합니다.', |
---|
242 | showGroupsText : '그룹으로 보여주기' |
---|
243 | |
---|
244 | }); |
---|
245 | } |
---|
246 | |
---|
247 | if(Ext.grid.PropertyColumnModel){ |
---|
248 | Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
---|
249 | nameText : "항목", |
---|
250 | valueText : "값", |
---|
251 | dateFormat : "m/j/Y" |
---|
252 | }); |
---|
253 | } |
---|
254 | |
---|
255 | if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
---|
256 | Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
---|
257 | splitTip : "크기변경을 위해 드래그하세요.", |
---|
258 | collapsibleSplitTip : "크기변경을 위해 드래그, 숨기기 위해 더블클릭 하세요." |
---|
259 | }); |
---|
260 | } |
---|
261 | |
---|