1 | /*! |
---|
2 | * Ext JS Library 3.0.0 |
---|
3 | * Copyright(c) 2006-2009 Ext JS, LLC |
---|
4 | * licensing@extjs.com |
---|
5 | * http://www.extjs.com/license |
---|
6 | */ |
---|
7 | /** |
---|
8 | * Hebrew Translations |
---|
9 | * By spartacus (from forums) 06-12-2007 |
---|
10 | */ |
---|
11 | |
---|
12 | Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">...����</div>'; |
---|
13 | |
---|
14 | if(Ext.View){ |
---|
15 | Ext.View.prototype.emptyText = ""; |
---|
16 | } |
---|
17 | |
---|
18 | if(Ext.grid.GridPanel){ |
---|
19 | Ext.grid.GridPanel.prototype.ddText = "����� ������ {0}"; |
---|
20 | } |
---|
21 | |
---|
22 | if(Ext.TabPanelItem){ |
---|
23 | Ext.TabPanelItem.prototype.closeText = "���� ������"; |
---|
24 | } |
---|
25 | |
---|
26 | if(Ext.form.Field){ |
---|
27 | Ext.form.Field.prototype.invalidText = "���� ���� �� ����"; |
---|
28 | } |
---|
29 | |
---|
30 | if(Ext.LoadMask){ |
---|
31 | Ext.LoadMask.prototype.msg = "...����"; |
---|
32 | } |
---|
33 | |
---|
34 | Date.monthNames = [ |
---|
35 | "�����", |
---|
36 | "������", |
---|
37 | "���", |
---|
38 | "�����", |
---|
39 | "���", |
---|
40 | "����", |
---|
41 | "����", |
---|
42 | "������", |
---|
43 | "������", |
---|
44 | "�������", |
---|
45 | "������", |
---|
46 | "�����" |
---|
47 | ]; |
---|
48 | |
---|
49 | Date.getShortMonthName = function(month) { |
---|
50 | return Date.monthNames[month].substring(0, 3); |
---|
51 | }; |
---|
52 | |
---|
53 | Date.monthNumbers = { |
---|
54 | Jan : 0, |
---|
55 | Feb : 1, |
---|
56 | Mar : 2, |
---|
57 | Apr : 3, |
---|
58 | May : 4, |
---|
59 | Jun : 5, |
---|
60 | Jul : 6, |
---|
61 | Aug : 7, |
---|
62 | Sep : 8, |
---|
63 | Oct : 9, |
---|
64 | Nov : 10, |
---|
65 | Dec : 11 |
---|
66 | }; |
---|
67 | |
---|
68 | Date.getMonthNumber = function(name) { |
---|
69 | return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
---|
70 | }; |
---|
71 | |
---|
72 | Date.dayNames = [ |
---|
73 | "�", |
---|
74 | "�", |
---|
75 | "�", |
---|
76 | "�", |
---|
77 | "�", |
---|
78 | "�", |
---|
79 | "�" |
---|
80 | ]; |
---|
81 | |
---|
82 | Date.getShortDayName = function(day) { |
---|
83 | return Date.dayNames[day].substring(0, 3); |
---|
84 | }; |
---|
85 | |
---|
86 | if(Ext.MessageBox){ |
---|
87 | Ext.MessageBox.buttonText = { |
---|
88 | ok : "�����", |
---|
89 | cancel : "�����", |
---|
90 | yes : "��", |
---|
91 | no : "��" |
---|
92 | }; |
---|
93 | } |
---|
94 | |
---|
95 | if(Ext.util.Format){ |
---|
96 | Ext.util.Format.date = function(v, format){ |
---|
97 | if(!v) return ""; |
---|
98 | if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
---|
99 | return v.dateFormat(format || "d/m/Y"); |
---|
100 | }; |
---|
101 | } |
---|
102 | |
---|
103 | if(Ext.DatePicker){ |
---|
104 | Ext.apply(Ext.DatePicker.prototype, { |
---|
105 | todayText : "����", |
---|
106 | minText : ".����� �� �� ���� ������ ������� �����", |
---|
107 | maxText : ".����� �� �� ���� ������ ����� �����", |
---|
108 | disabledDaysText : "", |
---|
109 | disabledDatesText : "", |
---|
110 | monthNames : Date.monthNames, |
---|
111 | dayNames : Date.dayNames, |
---|
112 | nextText : '(Control+Right) ����� ���', |
---|
113 | prevText : '(Control+Left) ����� �����', |
---|
114 | monthYearText : '(������ ��� Control+Up/Down) ��� ����', |
---|
115 | todayTip : "��� ����) {0})", |
---|
116 | format : "d/m/Y", |
---|
117 | okText : " ����� ", |
---|
118 | cancelText : "�����", |
---|
119 | startDay : 0 |
---|
120 | }); |
---|
121 | } |
---|
122 | |
---|
123 | if(Ext.PagingToolbar){ |
---|
124 | Ext.apply(Ext.PagingToolbar.prototype, { |
---|
125 | beforePageText : "����", |
---|
126 | afterPageText : "{0} ����", |
---|
127 | firstText : "���� �����", |
---|
128 | prevText : "���� ����", |
---|
129 | nextText : "���� ���", |
---|
130 | lastText : "���� �����", |
---|
131 | refreshText : "����", |
---|
132 | displayMsg : "���� {0} - {1} ���� {2}", |
---|
133 | emptyMsg : '��� ���� �����' |
---|
134 | }); |
---|
135 | } |
---|
136 | |
---|
137 | if(Ext.form.TextField){ |
---|
138 | Ext.apply(Ext.form.TextField.prototype, { |
---|
139 | minLengthText : "{0} ����� ��������� ���� �� ���", |
---|
140 | maxLengthText : "{0} ����� ������ ���� �� ���", |
---|
141 | blankText : "��� �� �����", |
---|
142 | regexText : "", |
---|
143 | emptyText : null |
---|
144 | }); |
---|
145 | } |
---|
146 | |
---|
147 | if(Ext.form.NumberField){ |
---|
148 | Ext.apply(Ext.form.NumberField.prototype, { |
---|
149 | minText : "{0} ���� ��������� ���� �� ���", |
---|
150 | maxText : "{0} ���� ������ ���� �� ���", |
---|
151 | nanText : "��� �� ���� {0}" |
---|
152 | }); |
---|
153 | } |
---|
154 | |
---|
155 | if(Ext.form.DateField){ |
---|
156 | Ext.apply(Ext.form.DateField.prototype, { |
---|
157 | disabledDaysText : "������", |
---|
158 | disabledDatesText : "������", |
---|
159 | minText : "{0} ������ ���� �� ���� ����� ����", |
---|
160 | maxText : "{0} ������ ���� �� ���� ����� ����", |
---|
161 | invalidText : "{1} ��� �� ����� ���� - ���� ����� ������ {0}", |
---|
162 | format : "m/d/y", |
---|
163 | altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" |
---|
164 | }); |
---|
165 | } |
---|
166 | |
---|
167 | if(Ext.form.ComboBox){ |
---|
168 | Ext.apply(Ext.form.ComboBox.prototype, { |
---|
169 | loadingText : "...����", |
---|
170 | valueNotFoundText : undefined |
---|
171 | }); |
---|
172 | } |
---|
173 | |
---|
174 | if(Ext.form.VTypes){ |
---|
175 | Ext.apply(Ext.form.VTypes, { |
---|
176 | emailText : '"user@example.com" ��� �� ���� ����� ����� ���� �������� ������', |
---|
177 | urlText : '"http:/'+'/www.example.com" ��� �� ���� ����� ����� ������� ������', |
---|
178 | alphaText : '_��� �� ���� ����� �� ������ �', |
---|
179 | alphanumText : '_��� �� ���� ����� �� ������, ������ �' |
---|
180 | }); |
---|
181 | } |
---|
182 | |
---|
183 | if(Ext.form.HtmlEditor){ |
---|
184 | Ext.apply(Ext.form.HtmlEditor.prototype, { |
---|
185 | createLinkText : ':��� ���� �� ����� �������� ���� ������', |
---|
186 | buttonTips : { |
---|
187 | bold : { |
---|
188 | title: '(Ctrl+B) �����', |
---|
189 | text: '.���� �� ����� �����', |
---|
190 | cls: 'x-html-editor-tip' |
---|
191 | }, |
---|
192 | italic : { |
---|
193 | title: '(Ctrl+I) ����', |
---|
194 | text: '.��� �� ����� �����', |
---|
195 | cls: 'x-html-editor-tip' |
---|
196 | }, |
---|
197 | underline : { |
---|
198 | title: '(Ctrl+U) �� ����', |
---|
199 | text: '.���� �� ���� ���� ����� �����', |
---|
200 | cls: 'x-html-editor-tip' |
---|
201 | }, |
---|
202 | increasefontsize : { |
---|
203 | title: '���� ����', |
---|
204 | text: '.���� ���� ���� ����� �����', |
---|
205 | cls: 'x-html-editor-tip' |
---|
206 | }, |
---|
207 | decreasefontsize : { |
---|
208 | title: '���� ����', |
---|
209 | text: '.���� ���� ���� ����� �����', |
---|
210 | cls: 'x-html-editor-tip' |
---|
211 | }, |
---|
212 | backcolor : { |
---|
213 | title: '��� ��� �����', |
---|
214 | text: '.��� �� ��� ���� ���� ����� �����', |
---|
215 | cls: 'x-html-editor-tip' |
---|
216 | }, |
---|
217 | forecolor : { |
---|
218 | title: '��� ����', |
---|
219 | text: '.��� �� ��� ����� ���� ����� �����', |
---|
220 | cls: 'x-html-editor-tip' |
---|
221 | }, |
---|
222 | justifyleft : { |
---|
223 | title: '���� �����', |
---|
224 | text: '.��� ����� �� ����� �����', |
---|
225 | cls: 'x-html-editor-tip' |
---|
226 | }, |
---|
227 | justifycenter : { |
---|
228 | title: '���� �����', |
---|
229 | text: '.��� ����� �� ����� �����', |
---|
230 | cls: 'x-html-editor-tip' |
---|
231 | }, |
---|
232 | justifyright : { |
---|
233 | title: '���� �����', |
---|
234 | text: '.��� ����� �� ����� �����', |
---|
235 | cls: 'x-html-editor-tip' |
---|
236 | }, |
---|
237 | insertunorderedlist : { |
---|
238 | title: '����� ������', |
---|
239 | text: '.���� ����� ������', |
---|
240 | cls: 'x-html-editor-tip' |
---|
241 | }, |
---|
242 | insertorderedlist : { |
---|
243 | title: '����� �������', |
---|
244 | text: '.���� ����� �������', |
---|
245 | cls: 'x-html-editor-tip' |
---|
246 | }, |
---|
247 | createlink : { |
---|
248 | title: '�����', |
---|
249 | text: '.���� �� ����� ����� ������', |
---|
250 | cls: 'x-html-editor-tip' |
---|
251 | }, |
---|
252 | sourceedit : { |
---|
253 | title: '����� ��� ����', |
---|
254 | text: '.��� ��� ����', |
---|
255 | cls: 'x-html-editor-tip' |
---|
256 | } |
---|
257 | } |
---|
258 | }); |
---|
259 | } |
---|
260 | |
---|
261 | if(Ext.grid.GridView){ |
---|
262 | Ext.apply(Ext.grid.GridView.prototype, { |
---|
263 | sortAscText : "���� ���� ����", |
---|
264 | sortDescText : "���� ���� ����", |
---|
265 | lockText : "��� �����", |
---|
266 | unlockText : "���� �����", |
---|
267 | columnsText : "������" |
---|
268 | }); |
---|
269 | } |
---|
270 | |
---|
271 | if(Ext.grid.GroupingView){ |
---|
272 | Ext.apply(Ext.grid.GroupingView.prototype, { |
---|
273 | emptyGroupText : '(���)', |
---|
274 | groupByText : '��� ������� ��� ��� ��', |
---|
275 | showGroupsText : '��� �������' |
---|
276 | }); |
---|
277 | } |
---|
278 | |
---|
279 | if(Ext.grid.PropertyColumnModel){ |
---|
280 | Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
---|
281 | nameText : "��", |
---|
282 | valueText : "���", |
---|
283 | dateFormat : "m/j/Y" |
---|
284 | }); |
---|
285 | } |
---|
286 | |
---|
287 | if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
---|
288 | Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
---|
289 | splitTip : ".���� ������ ����", |
---|
290 | collapsibleSplitTip : ".���� ������ ����. ����� ����� ������" |
---|
291 | }); |
---|
292 | } |
---|