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