3
* Copyright(c) 2006-2010 Ext JS, Inc.
5
* http://www.extjs.com/license
9
* By spartacus (from forums) 06-12-2007
12
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">...����</div>';
15
Ext.View.prototype.emptyText = "";
18
if(Ext.grid.GridPanel){
19
Ext.grid.GridPanel.prototype.ddText = "����� ������ {0}";
23
Ext.TabPanelItem.prototype.closeText = "���� ������";
27
Ext.form.Field.prototype.invalidText = "���� ���� �� ����";
31
Ext.LoadMask.prototype.msg = "...����";
49
Date.getShortMonthName = function(month) {
50
return Date.monthNames[month].substring(0, 3);
68
Date.getMonthNumber = function(name) {
69
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
82
Date.getShortDayName = function(day) {
83
return Date.dayNames[day].substring(0, 3);
87
Ext.MessageBox.buttonText = {
96
Ext.util.Format.date = function(v, format){
98
if(!(v instanceof Date)) v = new Date(Date.parse(v));
99
return v.dateFormat(format || "d/m/Y");
104
Ext.apply(Ext.DatePicker.prototype, {
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})",
117
okText : " ����� ",
118
cancelText : "�����",
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 : '��� ���� �����'
137
if(Ext.form.TextField){
138
Ext.apply(Ext.form.TextField.prototype, {
139
minLengthText : "{0} ����� ��������� ���� �� ���",
140
maxLengthText : "{0} ����� ������ ���� �� ���",
141
blankText : "��� �� �����",
147
if(Ext.form.NumberField){
148
Ext.apply(Ext.form.NumberField.prototype, {
149
minText : "{0} ���� ��������� ���� �� ���",
150
maxText : "{0} ���� ������ ���� �� ���",
151
nanText : "��� �� ���� {0}"
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}",
163
altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
167
if(Ext.form.ComboBox){
168
Ext.apply(Ext.form.ComboBox.prototype, {
169
loadingText : "...����",
170
valueNotFoundText : undefined
175
Ext.apply(Ext.form.VTypes, {
176
emailText : '"user@example.com" ��� �� ���� ����� ����� ���� �������� ������',
177
urlText : '"http:/'+'/www.example.com" ��� �� ���� ����� ����� ������� ������',
178
alphaText : '_��� �� ���� ����� �� ������ �',
179
alphanumText : '_��� �� ���� ����� �� ������, ������ �'
183
if(Ext.form.HtmlEditor){
184
Ext.apply(Ext.form.HtmlEditor.prototype, {
185
createLinkText : ':��� ���� �� ����� �������� ���� ������',
188
title: '(Ctrl+B) �����',
189
text: '.���� �� ����� �����',
190
cls: 'x-html-editor-tip'
193
title: '(Ctrl+I) ����',
194
text: '.��� �� ����� �����',
195
cls: 'x-html-editor-tip'
198
title: '(Ctrl+U) �� ����',
199
text: '.���� �� ���� ���� ����� �����',
200
cls: 'x-html-editor-tip'
204
text: '.���� ���� ���� ����� �����',
205
cls: 'x-html-editor-tip'
209
text: '.���� ���� ���� ����� �����',
210
cls: 'x-html-editor-tip'
213
title: '��� ��� �����',
214
text: '.��� �� ��� ���� ���� ����� �����',
215
cls: 'x-html-editor-tip'
219
text: '.��� �� ��� ����� ���� ����� �����',
220
cls: 'x-html-editor-tip'
224
text: '.��� ����� �� ����� �����',
225
cls: 'x-html-editor-tip'
229
text: '.��� ����� �� ����� �����',
230
cls: 'x-html-editor-tip'
234
text: '.��� ����� �� ����� �����',
235
cls: 'x-html-editor-tip'
237
insertunorderedlist : {
238
title: '����� ������',
239
text: '.���� ����� ������',
240
cls: 'x-html-editor-tip'
242
insertorderedlist : {
243
title: '����� �������',
244
text: '.���� ����� �������',
245
cls: 'x-html-editor-tip'
249
text: '.���� �� ����� ����� ������',
250
cls: 'x-html-editor-tip'
253
title: '����� ��� ����',
254
text: '.��� ��� ����',
255
cls: 'x-html-editor-tip'
261
if(Ext.grid.GridView){
262
Ext.apply(Ext.grid.GridView.prototype, {
263
sortAscText : "���� ���� ����",
264
sortDescText : "���� ���� ����",
265
lockText : "��� �����",
266
unlockText : "���� �����",
267
columnsText : "������"
271
if(Ext.grid.GroupingView){
272
Ext.apply(Ext.grid.GroupingView.prototype, {
273
emptyGroupText : '(���)',
274
groupByText : '��� ������� ��� ��� ��',
275
showGroupsText : '��� �������'
279
if(Ext.grid.PropertyColumnModel){
280
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
287
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
288
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
289
splitTip : ".���� ������ ����",
290
collapsibleSplitTip : ".���� ������ ����. ����� ����� ������"