3 <title>The source code</title>
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 <body onload="prettyPrint();">
8 <pre class="prettyprint lang-js">/*!
10 * Copyright(c) 2006-2009 Ext JS, LLC
12 * http://www.extjs.com/license
15 * Croatian translation
\r
16 * By Ylodi (utf8 encoding)
\r
19 * By Stjepan at gmail dot com (utf8 encoding)
\r
23 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">UÄ?itavanje...</div>';
\r
26 Ext.View.prototype.emptyText = "";
\r
29 if(Ext.grid.GridPanel){
\r
30 Ext.grid.GridPanel.prototype.ddText = "{0} odabranih redova";
\r
33 if(Ext.TabPanelItem){
\r
34 Ext.TabPanelItem.prototype.closeText = "Zatvori ovaj tab";
\r
38 Ext.form.Field.prototype.invalidText = "Unesena vrijednost u ovom polju je neispravna";
\r
42 Ext.LoadMask.prototype.msg = "UÄ?itavanje...";
\r
60 Date.getShortMonthName = function(month) {
\r
61 return Date.monthNames[month].substring(0, 3);
\r
64 Date.monthNumbers = {
\r
79 Date.getMonthNumber = function(name) {
\r
80 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
\r
93 Date.getShortDayName = function(day) {
\r
94 return Date.dayNames[day].substring(0, 3);
\r
98 Ext.MessageBox.buttonText = {
\r
100 cancel : "Odustani",
\r
106 if(Ext.util.Format){
\r
107 Ext.util.Format.date = function(v, format){
\r
109 if(!(v instanceof Date)) v = new Date(Date.parse(v));
\r
110 return v.dateFormat(format || "d.m.Y");
\r
114 if(Ext.DatePicker){
\r
115 Ext.apply(Ext.DatePicker.prototype, {
\r
116 todayText : "Danas",
\r
117 minText : "Taj datum je prije najmanjeg datuma",
\r
118 maxText : "Taj datum je poslije najvećeg datuma",
\r
119 disabledDaysText : "",
\r
120 disabledDatesText : "",
\r
121 monthNames : Date.monthNames,
\r
122 dayNames : Date.dayNames,
\r
123 nextText : 'Slijedeći mjesec (Control+Desno)',
\r
124 prevText : 'Prethodni mjesec (Control+Lijevo)',
\r
125 monthYearText : 'Odaberite mjesec (Control+Gore/Dolje za promjenu godine)',
\r
126 todayTip : "{0} (Razmaknica)",
\r
128 okText : " U redu ",
\r
129 cancelText : "Odustani",
\r
134 if(Ext.PagingToolbar){
\r
135 Ext.apply(Ext.PagingToolbar.prototype, {
\r
136 beforePageText : "Stranica",
\r
137 afterPageText : "od {0}",
\r
138 firstText : "Prva stranica",
\r
139 prevText : "Prethodna stranica",
\r
140 nextText : "Slijedeća stranica",
\r
141 lastText : "Posljednja stranica",
\r
142 refreshText : "Obnovi",
\r
143 displayMsg : "Prikazujem {0} - {1} od {2}",
\r
144 emptyMsg : 'Nema podataka za prikaz'
\r
148 if(Ext.form.TextField){
\r
149 Ext.apply(Ext.form.TextField.prototype, {
\r
150 minLengthText : "Minimalna dužina za ovo polje je {0}",
\r
151 maxLengthText : "Maksimalna dužina za ovo polje je {0}",
\r
152 blankText : "Ovo polje je obavezno",
\r
158 if(Ext.form.NumberField){
\r
159 Ext.apply(Ext.form.NumberField.prototype, {
\r
160 minText : "Minimalna vrijednost za ovo polje je {0}",
\r
161 maxText : "Maksimalna vrijednost za ovo polje je {0}",
\r
162 nanText : "{0} nije ispravan broj"
\r
166 if(Ext.form.DateField){
\r
167 Ext.apply(Ext.form.DateField.prototype, {
\r
168 disabledDaysText : "Neaktivno",
\r
169 disabledDatesText : "Neaktivno",
\r
170 minText : "Datum u ovom polje mora biti poslije {0}",
\r
171 maxText : "Datum u ovom polju mora biti prije {0}",
\r
172 invalidText : "{0} nije ispravan datum - mora biti u obliku {1}",
\r
177 if(Ext.form.ComboBox){
\r
178 Ext.apply(Ext.form.ComboBox.prototype, {
\r
179 loadingText : "UÄ?itavanje...",
\r
180 valueNotFoundText : undefined
\r
184 if(Ext.form.VTypes){
\r
185 Ext.apply(Ext.form.VTypes, {
\r
186 emailText : 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"',
\r
187 urlText : 'Ovdje možete unijeti samo URL u obliku "http:/'+'/www.domena.com"',
\r
188 alphaText : 'Ovo polje može sadržavati samo slova i znak _',
\r
189 alphanumText : 'Ovo polje može sadržavati samo slova, brojeve i znak _'
\r
193 if(Ext.form.HtmlEditor){
\r
194 Ext.apply(Ext.form.HtmlEditor.prototype, {
\r
195 createLinkText : 'Unesite URL za link:',
\r
198 title: 'Podebljano (Ctrl+B)',
\r
199 text: 'Podebljavanje oznaÄ?enog teksta.',
\r
200 cls: 'x-html-editor-tip'
\r
203 title: 'Kurziv (Ctrl+I)',
\r
204 text: 'Pretvaranje oznaÄ?enog tekst u kurziv',
\r
205 cls: 'x-html-editor-tip'
\r
208 title: 'Podcrtano (Ctrl+U)',
\r
209 text: 'Potcrtavanje oznaÄ?enog teksta',
\r
210 cls: 'x-html-editor-tip'
\r
212 increasefontsize : {
\r
213 title: 'Povećanje teksta',
\r
214 text: 'PoveÄ
\87avanje veliÄ?ine fonta.',
\r
215 cls: 'x-html-editor-tip'
\r
217 decreasefontsize : {
\r
218 title: 'Smanjivanje teksta',
\r
219 text: 'Smanjivanje veliÄ?ine fonta.',
\r
220 cls: 'x-html-editor-tip'
\r
223 title: 'Boja oznaÄ?enog teksta',
\r
224 text: 'Promjena boje pozadine oznaÄ?enog teksta.',
\r
225 cls: 'x-html-editor-tip'
\r
228 title: 'Boja fonta',
\r
229 text: 'Promjena boje oznaÄ?enog teksta.',
\r
230 cls: 'x-html-editor-tip'
\r
233 title: 'Lijevo poravnanje teksta',
\r
234 text: 'Poravnanje teksta na lijevu stranu.',
\r
235 cls: 'x-html-editor-tip'
\r
238 title: 'Centriranje teksta',
\r
239 text: 'Centriranje teksta u ureÄ
\91ivaÄ?u teksta.',
\r
240 cls: 'x-html-editor-tip'
\r
243 title: 'Desno poravnanje teksta',
\r
244 text: 'Poravnanje teksta na desnu stranu.',
\r
245 cls: 'x-html-editor-tip'
\r
247 insertunorderedlist : {
\r
248 title: 'OznaÄ?ena lista',
\r
249 text: 'ZapoÄ?injanje oznaÄ?ene liste.',
\r
250 cls: 'x-html-editor-tip'
\r
252 insertorderedlist : {
\r
253 title: 'Numerirana lista',
\r
254 text: 'ZapoÄ?injanje numerirane liste.',
\r
255 cls: 'x-html-editor-tip'
\r
258 title: 'Hiperveza',
\r
259 text: 'Stvaranje hiperveze od oznaÄ?enog teksta.',
\r
260 cls: 'x-html-editor-tip'
\r
263 title: 'Uređivanje izvornog koda',
\r
264 text: 'Prebacivanje u naÄ?in rada za ureÄ
\91ivanje izvornog koda.',
\r
265 cls: 'x-html-editor-tip'
\r
271 if(Ext.grid.GridView){
\r
272 Ext.apply(Ext.grid.GridView.prototype, {
\r
273 sortAscText : "Sortiraj rastućim redoslijedom",
\r
274 sortDescText : "Sortiraj padajućim redoslijedom",
\r
275 lockText : "ZakljuÄ?aj stupac",
\r
276 unlockText : "OtkljuÄ?aj stupac",
\r
277 columnsText : "Stupci"
\r
281 if(Ext.grid.GroupingView){
\r
282 Ext.apply(Ext.grid.GroupingView.prototype, {
\r
283 emptyGroupText : '(Ništa)',
\r
284 groupByText : 'Grupiranje po ovom polju',
\r
285 showGroupsText : 'Prikaz u grupama'
\r
289 if(Ext.grid.PropertyColumnModel){
\r
290 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
\r
291 nameText : "Naziv",
\r
292 valueText : "Vrijednost",
\r
293 dateFormat : "d.m.Y"
\r
297 if(Ext.layout.BorderLayout.SplitRegion){
\r
298 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
\r
299 splitTip : "Povuci za promjenu veliÄ?ine.",
\r
300 collapsibleSplitTip : "Povuci za promjenu veliÄ?ine. Dvostruki klik za skrivanje."
\r