source: trunk/web/addons/job_monarch/lib/extjs/source/locale/ext-lang-hr.js @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

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