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