Upgrade to ExtJS 4.0.2 - Released 06/09/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             loadingText       : "Učitavanje...",
191             valueNotFoundText : undefined
192         });
193     }
194
195     if(Ext.form.field.VTypes){
196         Ext.apply(Ext.form.field.VTypes, {
197             emailText    : 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"',
198             urlText      : 'Ovdje možete unijeti samo URL u obliku "http:/'+'/www.domena.com"',
199             alphaText    : 'Ovo polje može sadržavati samo slova i znak _',
200             alphanumText : 'Ovo polje može sadržavati samo slova, brojeve i znak _'
201         });
202     }
203
204     if(Ext.form.field.HtmlEditor){
205         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
206             createLinkText : 'Unesite URL za link:',
207             buttonTips : {
208                 bold : {
209                     title: 'Podebljano (Ctrl+B)',
210                     text: 'Podebljavanje označenog teksta.',
211                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
212                 },
213                 italic : {
214                     title: 'Kurziv (Ctrl+I)',
215                     text: 'Pretvaranje označenog tekst u kurziv',
216                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
217                 },
218                 underline : {
219                     title: 'Podcrtano (Ctrl+U)',
220                     text: 'Potcrtavanje označenog teksta',
221                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
222                 },
223                 increasefontsize : {
224                     title: 'Povećanje teksta',
225                     text: 'Povećavanje veličine fonta.',
226                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
227                 },
228                 decreasefontsize : {
229                     title: 'Smanjivanje teksta',
230                     text: 'Smanjivanje veličine fonta.',
231                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
232                 },
233                 backcolor : {
234                     title: 'Boja označenog teksta',
235                     text: 'Promjena boje pozadine označenog teksta.',
236                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
237                 },
238                 forecolor : {
239                     title: 'Boja fonta',
240                     text: 'Promjena boje označenog teksta.',
241                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
242                 },
243                 justifyleft : {
244                     title: 'Lijevo poravnanje teksta',
245                     text: 'Poravnanje teksta na lijevu stranu.',
246                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
247                 },
248                 justifycenter : {
249                     title: 'Centriranje teksta',
250                     text: 'Centriranje teksta u uređivaču teksta.',
251                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
252                 },
253                 justifyright : {
254                     title: 'Desno poravnanje teksta',
255                     text: 'Poravnanje teksta na desnu stranu.',
256                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
257                 },
258                 insertunorderedlist : {
259                     title: 'Označena lista',
260                     text: 'Započinjanje označene liste.',
261                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
262                 },
263                 insertorderedlist : {
264                     title: 'Numerirana lista',
265                     text: 'Započinjanje numerirane liste.',
266                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
267                 },
268                 createlink : {
269                     title: 'Hiperveza',
270                     text: 'Stvaranje hiperveze od označenog teksta.',
271                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
272                 },
273                 sourceedit : {
274                     title: 'Uređivanje izvornog koda',
275                     text: 'Prebacivanje u način rada za uređivanje izvornog koda.',
276                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
277                 }
278             }
279         });
280     }
281
282     if(Ext.grid.header.Container){
283         Ext.apply(Ext.grid.header.Container.prototype, {
284             sortAscText  : "Sortiraj rastućim redoslijedom",
285             sortDescText : "Sortiraj padajućim redoslijedom",
286             lockText     : "Zaključaj stupac",
287             unlockText   : "Otključaj stupac",
288             columnsText  : "Stupci"
289         });
290     }
291
292     if(Ext.grid.GroupingFeature){
293         Ext.apply(Ext.grid.GroupingFeature.prototype, {
294             emptyGroupText : '(Ništa)',
295             groupByText    : 'Grupiranje po ovom polju',
296             showGroupsText : 'Prikaz u grupama'
297         });
298     }
299
300     if(Ext.grid.PropertyColumnModel){
301         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
302             nameText   : "Naziv",
303             valueText  : "Vrijednost",
304             dateFormat : "d.m.Y"
305         });
306     }
307
308     if(Ext.layout.BorderLayout &&Ext.layout.BorderLayout.SplitRegion){
309         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
310             splitTip            : "Povuci za promjenu veličine.",
311             collapsibleSplitTip : "Povuci za promjenu veličine. Dvostruki klik za skrivanje."
312         });
313     }
314 });