Upgrade to ExtJS 3.2.1 - Released 04/27/2010
[extjs.git] / src / locale / ext-lang-hr.js
1 /*!
2  * Ext JS Library 3.2.1
3  * Copyright(c) 2006-2010 Ext JS, Inc.
4  * licensing@extjs.com
5  * http://www.extjs.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    });
168 }
169
170 if(Ext.form.ComboBox){
171    Ext.apply(Ext.form.ComboBox.prototype, {
172       loadingText       : "Učitavanje...",
173       valueNotFoundText : undefined
174    });
175 }
176
177 if(Ext.form.VTypes){
178    Ext.apply(Ext.form.VTypes, {
179       emailText    : 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"',
180       urlText      : 'Ovdje možete unijeti samo URL u obliku "http:/'+'/www.domena.com"',
181       alphaText    : 'Ovo polje može sadržavati samo slova i znak _',
182       alphanumText : 'Ovo polje može sadržavati samo slova, brojeve i znak _'
183    });
184 }
185
186 if(Ext.form.HtmlEditor){
187   Ext.apply(Ext.form.HtmlEditor.prototype, {
188     createLinkText : 'Unesite URL za link:',
189     buttonTips : {
190       bold : {
191         title: 'Podebljano (Ctrl+B)',
192         text: 'Podebljavanje označenog teksta.',
193         cls: 'x-html-editor-tip'
194       },
195       italic : {
196         title: 'Kurziv (Ctrl+I)',
197         text: 'Pretvaranje označenog tekst u kurziv',
198         cls: 'x-html-editor-tip'
199       },
200       underline : {
201         title: 'Podcrtano (Ctrl+U)',
202         text: 'Potcrtavanje označenog teksta',
203         cls: 'x-html-editor-tip'
204       },
205       increasefontsize : {
206         title: 'Povećanje teksta',
207         text: 'Povećavanje veličine fonta.',
208         cls: 'x-html-editor-tip'
209       },
210       decreasefontsize : {
211         title: 'Smanjivanje teksta',
212         text: 'Smanjivanje veličine fonta.',
213         cls: 'x-html-editor-tip'
214       },
215       backcolor : {
216         title: 'Boja označenog teksta',
217         text: 'Promjena boje pozadine označenog teksta.',
218         cls: 'x-html-editor-tip'
219       },
220       forecolor : {
221         title: 'Boja fonta',
222         text: 'Promjena boje označenog teksta.',
223         cls: 'x-html-editor-tip'
224       },
225       justifyleft : {
226         title: 'Lijevo poravnanje teksta',
227         text: 'Poravnanje teksta na lijevu stranu.',
228         cls: 'x-html-editor-tip'
229       },
230       justifycenter : {
231         title: 'Centriranje teksta',
232         text: 'Centriranje teksta u uređivaču teksta.',
233         cls: 'x-html-editor-tip'
234       },
235       justifyright : {
236         title: 'Desno poravnanje teksta',
237         text: 'Poravnanje teksta na desnu stranu.',
238         cls: 'x-html-editor-tip'
239       },
240       insertunorderedlist : {
241         title: 'Označena lista',
242         text: 'Započinjanje označene liste.',
243         cls: 'x-html-editor-tip'
244       },
245       insertorderedlist : {
246         title: 'Numerirana lista',
247         text: 'Započinjanje numerirane liste.',
248         cls: 'x-html-editor-tip'
249       },
250       createlink : {
251         title: 'Hiperveza',
252         text: 'Stvaranje hiperveze od označenog teksta.',
253         cls: 'x-html-editor-tip'
254       },
255       sourceedit : {
256         title: 'Uređivanje izvornog koda',
257         text: 'Prebacivanje u način rada za uređivanje izvornog koda.',
258         cls: 'x-html-editor-tip'
259       }
260     }
261   });
262 }
263
264 if(Ext.grid.GridView){
265    Ext.apply(Ext.grid.GridView.prototype, {
266       sortAscText  : "Sortiraj rastućim redoslijedom",
267       sortDescText : "Sortiraj padajućim redoslijedom",
268       lockText     : "Zaključaj stupac",
269       unlockText   : "Otključaj stupac",
270       columnsText  : "Stupci"
271    });
272 }
273
274 if(Ext.grid.GroupingView){
275   Ext.apply(Ext.grid.GroupingView.prototype, {
276     emptyGroupText : '(Ništa)',
277     groupByText    : 'Grupiranje po ovom polju',
278     showGroupsText : 'Prikaz u grupama'
279   });
280 }
281
282 if(Ext.grid.PropertyColumnModel){
283    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
284       nameText   : "Naziv",
285       valueText  : "Vrijednost",
286       dateFormat : "d.m.Y"
287    });
288 }
289
290 if(Ext.layout.BorderLayout.SplitRegion){
291    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
292       splitTip            : "Povuci za promjenu veličine.",
293       collapsibleSplitTip : "Povuci za promjenu veličine. Dvostruki klik za skrivanje."
294    });
295 }