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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
/*!
* Ext JS Library 3.0.3
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
/*
* Serbian Cyrillic Translation
* by ÄŒolovic Vladan (cyrillic, utf8 encoding)
* sr_RS (ex: sr_CS, sr_YU)
* 12 May 2007
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Учитавам...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.GridPanel){
Ext.grid.GridPanel.prototype.ddText = "{0} изабраних редова";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "Затвори ову »картицу«";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "Унешена вредноÑ?Ñ‚ није правилна";
}
if(Ext.LoadMask){
Ext.LoadMask.prototype.msg = "Учитавам...";
}
Date.monthNames = [
"Јануар",
"Фебруар",
"Март",
"Ð?прил",
"Мај",
"Јун",
"Јул",
"Ð?вгуÑ?Ñ‚",
"Септембар",
"Октобар",
"Ð?овембар",
"Децембар"
];
Date.dayNames = [
"Ð?едеља",
"Понедељак",
"Уторак",
"Среда",
"Четвртак",
"Петак",
"Субота"
];
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "У реду",
cancel : "ОдуÑ?тани",
yes : "Да",
no : "Ð?е"
};
}
if(Ext.util.Format){
Ext.util.Format.date = function(v, format){
if(!v) return "";
if(!(v instanceof Date)) v = new Date(Date.parse(v));
return v.dateFormat(format || "d.m.Y");
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "ДанаÑ?",
minText : "Датум је иÑ?пред најмањег дозвољеног датума",
maxText : "Датум је након највећег дозвољеног датума",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : 'Следећи меÑ?ец (Control+ДеÑ?но)',
prevText : 'Претходни меÑ?ец (Control+Лево)',
monthYearText : 'Изаберите меÑ?ец (Control+Горе/Доле за избор године)',
todayTip : "{0} (Размакница)",
format : "d.m.y",
startDay : 1
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "Страна",
afterPageText : "од {0}",
firstText : "Прва Ñ?трана",
prevText : "Претходна Ñ?трана",
nextText : "Следећа Ñ?трана",
lastText : "ПоÑ?ледња Ñ?трана",
refreshText : "ОÑ?вежи",
displayMsg : "Приказана {0} - {1} од {2}",
emptyMsg : 'Ð?емам шта приказати'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "Минимална дужина овог поља је {0}",
maxLengthText : "МакÑ?имална дужина овог поља је {0}",
blankText : "Поље је обавезно",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "Минимална вредноÑ?Ñ‚ у пољу је {0}",
maxText : "МакÑ?имална вредноÑ?Ñ‚ у пољу је {0}",
nanText : "{0} није правилан број"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "ПаÑ?ивно",
disabledDatesText : "ПаÑ?ивно",
minText : "Датум у овом пољу мора бити након {0}",
maxText : "Датум у овом пољу мора бити пре {0}",
invalidText : "{0} није правилан датум - захтевани облик је {1}",
format : "d.m.y"
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "Учитавам...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : 'Ово поље прихвата e-mail адреÑ?у иÑ?кључиво у облику "korisnik@domen.com"',
urlText : 'Ово поље прихвата URL адреÑ?у иÑ?кључиво у облику "http:/'+'/www.domen.com"',
alphaText : 'Ово поље може Ñ?адржати иÑ?кључиво Ñ?лова и знак _',
alphanumText : 'Ово поље може Ñ?адржати Ñ?амо Ñ?лова, бројеве и знак _'
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "РаÑ?тући редоÑ?лед",
sortDescText : "Опадајући редоÑ?лед",
lockText : "Закључај колону",
unlockText : "Откључај колону",
columnsText : "Колоне"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "Ð?азив",
valueText : "ВредноÑ?Ñ‚",
dateFormat : "d.m.Y"
});
}
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
splitTip : "Повући за измену величине.",
collapsibleSplitTip : "Повући за измену величине. ДвоÑ?труки клик за Ñ?акривање."
});
}
|