ext-lang-hr_wev8.js
4.56 KB
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
/*
* Croatian translation
* By Ylodi (utf8 encoding)
* 8 May 2007
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Učitavanje...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.Grid){
Ext.grid.Grid.prototype.ddText = "{0} odabranih redova";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "Zatvori ovaj tab";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "Unesena vrijednost u ovom polju je neispravna";
}
if(Ext.LoadMask){
Ext.LoadMask.prototype.msg = "Učitavanje...";
}
Date.monthNames = [
"Siječanj",
"Veljača",
"Ožujak",
"Travanj",
"Svibanj",
"Lipanj",
"Srpanj",
"Kolovoz",
"Rujan",
"Listopad",
"Studeni",
"Prosinac"
];
Date.dayNames = [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota"
];
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "U redu",
cancel : "Odustani",
yes : "Da",
no : "Ne"
};
}
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 : "Danas",
minText : "Taj datum je prije najmanjeg datuma",
maxText : "Taj datum je poslije najvećeg datuma",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : 'Slijedeći mjesec (Control+Desno)',
prevText : 'Prethodni mjesec (Control+Lijevo)',
monthYearText : 'Odaberite mjesec (Control+Gore/Dolje za promjenu godine)',
todayTip : "{0} (Razmaknica)",
format : "d.m.y",
startDay : 1
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "Stranica",
afterPageText : "od {0}",
firstText : "Prva stranica",
prevText : "Prethodna stranica",
nextText : "Slijedeća stranica",
lastText : "Posljednja stranica",
refreshText : "Obnovi",
displayMsg : "Prikazujem {0} - {1} od {2}",
emptyMsg : 'Nema podataka za prikaz'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "Minimalna dužina za ovo polje je {0}",
maxLengthText : "Maksimalna dužina za ovo polje je {0}",
blankText : "Ovo polje je obavezno",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "Minimalna vrijednost za ovo polje je {0}",
maxText : "Maksimalna vrijednost za ovo polje je {0}",
nanText : "{0} nije ispravan broj"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "Neaktivno",
disabledDatesText : "Neaktivno",
minText : "Datum u ovom polje mora biti poslije {0}",
maxText : "Datum u ovom polju mora biti prije {0}",
invalidText : "{0} nije ispravan datum - mora biti u obliku {1}",
format : "d.m.y"
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "Učitavanje...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"',
urlText : 'Ovdje možete unijeti samo URL u obliku "http:/'+'/www.domena.com"',
alphaText : 'Ovo polje može sadržavati samo slova i znak _',
alphanumText : 'Ovo polje može sadržavati samo slova, brojeve i znak _'
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "Sortiraj rastućim redoslijedom",
sortDescText : "Sortiraj padajućim redoslijedom",
lockText : "Zaključaj stupac",
unlockText : "Otključaj stupac",
columnsText : "Stupci"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "Naziv",
valueText : "Vrijednost",
dateFormat : "d.m.Y"
});
}
if(Ext.layout.BorderLayout.SplitRegion){
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
splitTip : "Povuci za promjenu veličine.",
collapsibleSplitTip : "Povuci za promjenu veličine. Dvostruki klik za skrivanje."
});
}