Upgrade to ExtJS 3.2.2 - Released 06/02/2010
[extjs.git] / docs / source / ext-lang-hr.html
1 <html>
2 <head>
3   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    
4   <title>The source code</title>
5     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
6     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 </head>
8 <body  onload="prettyPrint();">
9     <pre class="prettyprint lang-js">/*!
10  * Ext JS Library 3.2.2
11  * Copyright(c) 2006-2010 Ext JS, Inc.
12  * licensing@extjs.com
13  * http://www.extjs.com/license
14  */
15 /*
16  * Croatian translation
17  * By Ylodi (utf8 encoding)
18  * 8 May 2007
19  *
20  * By Stjepan at gmail dot com (utf8 encoding)
21  * 17 May 2008
22  */
23  
24 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Učitavanje...</div>';
25
26 if(Ext.View){
27    Ext.View.prototype.emptyText = "";
28 }
29
30 if(Ext.grid.GridPanel){
31    Ext.grid.GridPanel.prototype.ddText = "{0} odabranih redova";
32 }
33
34 if(Ext.TabPanelItem){
35    Ext.TabPanelItem.prototype.closeText = "Zatvori ovaj tab";
36 }
37
38 if(Ext.form.Field){
39    Ext.form.Field.prototype.invalidText = "Unesena vrijednost u ovom polju je neispravna";
40 }
41
42 if(Ext.LoadMask){
43     Ext.LoadMask.prototype.msg = "Učitavanje...";
44 }
45
46 Date.monthNames = [
47    "Siječanj",
48    "Veljača",
49    "Ožujak",
50    "Travanj",
51    "Svibanj",
52    "Lipanj",
53    "Srpanj",
54    "Kolovoz",
55    "Rujan",
56    "Listopad",
57    "Studeni",
58    "Prosinac"
59 ];
60
61 Date.getShortMonthName = function(month) {
62   return Date.monthNames[month].substring(0, 3);
63 };
64
65 Date.monthNumbers = {
66   Jan : 0,
67   Feb : 1,
68   Mar : 2,
69   Apr : 3,
70   May : 4,
71   Jun : 5,
72   Jul : 6,
73   Aug : 7,
74   Sep : 8,
75   Oct : 9,
76   Nov : 10,
77   Dec : 11
78 };
79
80 Date.getMonthNumber = function(name) {
81   return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
82 };
83
84 Date.dayNames = [
85    "Nedjelja",
86    "Ponedjeljak",
87    "Utorak",
88    "Srijeda",
89    "Četvrtak",
90    "Petak",
91    "Subota"
92 ];
93
94 Date.getShortDayName = function(day) {
95   return Date.dayNames[day].substring(0, 3);
96 };
97
98 if(Ext.MessageBox){
99    Ext.MessageBox.buttonText = {
100       ok     : "U redu",
101       cancel : "Odustani",
102       yes    : "Da",
103       no     : "Ne"
104    };
105 }
106
107 if(Ext.util.Format){
108    Ext.util.Format.date = function(v, format){
109       if(!v) return "";
110       if(!(v instanceof Date)) v = new Date(Date.parse(v));
111       return v.dateFormat(format || "d.m.Y");
112    };
113 }
114
115 if(Ext.DatePicker){
116    Ext.apply(Ext.DatePicker.prototype, {
117       todayText         : "Danas",
118       minText           : "Taj datum je prije najmanjeg datuma",
119       maxText           : "Taj datum je poslije najvećeg datuma",
120       disabledDaysText  : "",
121       disabledDatesText : "",
122       monthNames        : Date.monthNames,
123       dayNames          : Date.dayNames,
124       nextText          : 'Slijedeći mjesec (Control+Desno)',
125       prevText          : 'Prethodni mjesec (Control+Lijevo)',
126       monthYearText     : 'Odaberite mjesec (Control+Gore/Dolje za promjenu godine)',
127       todayTip          : "{0} (Razmaknica)",
128       format            : "d.m.y",
129       okText            : "&#160;U redu&#160;",
130       cancelText        : "Odustani",      
131       startDay           : 1
132    });
133 }
134
135 if(Ext.PagingToolbar){
136    Ext.apply(Ext.PagingToolbar.prototype, {
137       beforePageText : "Stranica",
138       afterPageText  : "od {0}",
139       firstText      : "Prva stranica",
140       prevText       : "Prethodna stranica",
141       nextText       : "Slijedeća stranica",
142       lastText       : "Posljednja stranica",
143       refreshText    : "Obnovi",
144       displayMsg     : "Prikazujem {0} - {1} od {2}",
145       emptyMsg       : 'Nema podataka za prikaz'
146    });
147 }
148
149 if(Ext.form.TextField){
150    Ext.apply(Ext.form.TextField.prototype, {
151       minLengthText : "Minimalna dužina za ovo polje je {0}",
152       maxLengthText : "Maksimalna dužina za ovo polje je {0}",
153       blankText     : "Ovo polje je obavezno",
154       regexText     : "",
155       emptyText     : null
156    });
157 }
158
159 if(Ext.form.NumberField){
160    Ext.apply(Ext.form.NumberField.prototype, {
161       minText : "Minimalna vrijednost za ovo polje je {0}",
162       maxText : "Maksimalna vrijednost za ovo polje je {0}",
163       nanText : "{0} nije ispravan broj"
164    });
165 }
166
167 if(Ext.form.DateField){
168    Ext.apply(Ext.form.DateField.prototype, {
169       disabledDaysText  : "Neaktivno",
170       disabledDatesText : "Neaktivno",
171       minText           : "Datum u ovom polje mora biti poslije {0}",
172       maxText           : "Datum u ovom polju mora biti prije {0}",
173       invalidText       : "{0} nije ispravan datum - mora biti u obliku {1}",
174       format            : "d.m.y"
175    });
176 }
177
178 if(Ext.form.ComboBox){
179    Ext.apply(Ext.form.ComboBox.prototype, {
180       loadingText       : "Učitavanje...",
181       valueNotFoundText : undefined
182    });
183 }
184
185 if(Ext.form.VTypes){
186    Ext.apply(Ext.form.VTypes, {
187       emailText    : 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"',
188       urlText      : 'Ovdje možete unijeti samo URL u obliku "http:/'+'/www.domena.com"',
189       alphaText    : 'Ovo polje može sadržavati samo slova i znak _',
190       alphanumText : 'Ovo polje može sadržavati samo slova, brojeve i znak _'
191    });
192 }
193
194 if(Ext.form.HtmlEditor){
195   Ext.apply(Ext.form.HtmlEditor.prototype, {
196     createLinkText : 'Unesite URL za link:',
197     buttonTips : {
198       bold : {
199         title: 'Podebljano (Ctrl+B)',
200         text: 'Podebljavanje označenog teksta.',
201         cls: 'x-html-editor-tip'
202       },
203       italic : {
204         title: 'Kurziv (Ctrl+I)',
205         text: 'Pretvaranje označenog tekst u kurziv',
206         cls: 'x-html-editor-tip'
207       },
208       underline : {
209         title: 'Podcrtano (Ctrl+U)',
210         text: 'Potcrtavanje označenog teksta',
211         cls: 'x-html-editor-tip'
212       },
213       increasefontsize : {
214         title: 'Povećanje teksta',
215         text: 'Povećavanje veličine fonta.',
216         cls: 'x-html-editor-tip'
217       },
218       decreasefontsize : {
219         title: 'Smanjivanje teksta',
220         text: 'Smanjivanje veličine fonta.',
221         cls: 'x-html-editor-tip'
222       },
223       backcolor : {
224         title: 'Boja označenog teksta',
225         text: 'Promjena boje pozadine označenog teksta.',
226         cls: 'x-html-editor-tip'
227       },
228       forecolor : {
229         title: 'Boja fonta',
230         text: 'Promjena boje označenog teksta.',
231         cls: 'x-html-editor-tip'
232       },
233       justifyleft : {
234         title: 'Lijevo poravnanje teksta',
235         text: 'Poravnanje teksta na lijevu stranu.',
236         cls: 'x-html-editor-tip'
237       },
238       justifycenter : {
239         title: 'Centriranje teksta',
240         text: 'Centriranje teksta u uređivaču teksta.',
241         cls: 'x-html-editor-tip'
242       },
243       justifyright : {
244         title: 'Desno poravnanje teksta',
245         text: 'Poravnanje teksta na desnu stranu.',
246         cls: 'x-html-editor-tip'
247       },
248       insertunorderedlist : {
249         title: 'Označena lista',
250         text: 'Započinjanje označene liste.',
251         cls: 'x-html-editor-tip'
252       },
253       insertorderedlist : {
254         title: 'Numerirana lista',
255         text: 'Započinjanje numerirane liste.',
256         cls: 'x-html-editor-tip'
257       },
258       createlink : {
259         title: 'Hiperveza',
260         text: 'Stvaranje hiperveze od označenog teksta.',
261         cls: 'x-html-editor-tip'
262       },
263       sourceedit : {
264         title: 'Uređivanje izvornog koda',
265         text: 'Prebacivanje u način rada za uređivanje izvornog koda.',
266         cls: 'x-html-editor-tip'
267       }
268     }
269   });
270 }
271
272 if(Ext.grid.GridView){
273    Ext.apply(Ext.grid.GridView.prototype, {
274       sortAscText  : "Sortiraj rastućim redoslijedom",
275       sortDescText : "Sortiraj padajućim redoslijedom",
276       lockText     : "Zaključaj stupac",
277       unlockText   : "Otključaj stupac",
278       columnsText  : "Stupci"
279    });
280 }
281
282 if(Ext.grid.GroupingView){
283   Ext.apply(Ext.grid.GroupingView.prototype, {
284     emptyGroupText : '(Ništa)',
285     groupByText    : 'Grupiranje po ovom polju',
286     showGroupsText : 'Prikaz u grupama'
287   });
288 }
289
290 if(Ext.grid.PropertyColumnModel){
291    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
292       nameText   : "Naziv",
293       valueText  : "Vrijednost",
294       dateFormat : "d.m.Y"
295    });
296 }
297
298 if(Ext.layout.BorderLayout.SplitRegion){
299    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
300       splitTip            : "Povuci za promjenu veličine.",
301       collapsibleSplitTip : "Povuci za promjenu veličine. Dvostruki klik za skrivanje."
302    });
303 }
304 </pre>    
305 </body>
306 </html>