Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / locale / ext-lang-sr.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  * Serbian Latin Translation
17  * by Atila Hajnal (latin, utf8 encoding)
18  * sr
19  * 14 Sep 2007
20  */
21 Ext.onReady(function() {
22     if(Ext.Updater) {
23         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Učitavam...</div>';
24     }
25
26     if(Ext.view.View){
27        Ext.view.View.prototype.emptyText = "Ne postoji ni jedan slog";
28     }
29
30     if(Ext.grid.Panel){
31        Ext.grid.Panel.prototype.ddText = "{0} izabranih redova";
32     }
33
34     if(Ext.TabPanelItem){
35        Ext.TabPanelItem.prototype.closeText = "Zatvori оvu »karticu«";
36     }
37
38     if(Ext.form.field.Base){
39        Ext.form.field.Base.prototype.invalidText = "Unešena vrednost nije pravilna";
40     }
41
42     if(Ext.LoadMask){
43         Ext.LoadMask.prototype.msg = "Učitavam...";
44     }
45
46     if(Ext.Date) {
47         Ext.Date.monthNames = [
48            "Januar",
49            "Februar",
50            "Mart",
51            "April",
52            "Мај",
53            "Jun",
54            "Јul",
55            "Avgust",
56            "Septembar",
57            "Oktobar",
58            "Novembar",
59            "Decembar"
60         ];
61
62         Ext.Date.dayNames = [
63            "Nedelja",
64            "Ponedeljak",
65            "Utorak",
66            "Sreda",
67            "Četvrtak",
68            "Petak",
69            "Subota"
70         ];
71     }
72
73     if(Ext.MessageBox){
74        Ext.MessageBox.buttonText = {
75           ok     : "U redu",
76           cancel : "Odustani",
77           yes    : "Da",
78           no     : "Ne"
79        };
80     }
81
82     if(Ext.util.Format){
83         Ext.apply(Ext.util.Format, {
84             thousandSeparator: '.',
85             decimalSeparator: ',',
86             currencySign: '\u0414\u0438\u043d\u002e',  // Serbian Dinar
87             dateFormat: 'd.m.Y'
88         });
89     }
90
91     if(Ext.picker.Date){
92        Ext.apply(Ext.picker.Date.prototype, {
93           todayText         : "Danas",
94           minText           : "Datum је ispred najmanjeg dozvoljenog datuma",
95           maxText           : "Datum је nakon najvećeg dozvoljenog datuma",
96           disabledDaysText  : "",
97           disabledDatesText : "",
98           monthNames    : Ext.Date.monthNames,
99           dayNames              : Ext.Date.dayNames,
100           nextText          : 'Sledeći mesec (Control+Desno)',
101           prevText          : 'Prethodni mesec (Control+Levo)',
102           monthYearText     : 'Izaberite mesec (Control+Gore/Dole za izbor godine)',
103           todayTip          : "{0} (Razmaknica)",
104           format            : "d.m.y",
105           startDay               : 1
106        });
107     }
108
109     if(Ext.toolbar.Paging){
110        Ext.apply(Ext.PagingToolbar.prototype, {
111           beforePageText : "Strana",
112           afterPageText  : "od {0}",
113           firstText      : "Prva strana",
114           prevText       : "Prethodna strana",
115           nextText       : "Sledeća strana",
116           lastText       : "Poslednja strana",
117           refreshText    : "Osveži",
118           displayMsg     : "Prikazana {0} - {1} od {2}",
119           emptyMsg       : 'Nemam šta prikazati'
120        });
121     }
122
123     if(Ext.form.field.Text){
124        Ext.apply(Ext.form.field.Text.prototype, {
125           minLengthText : "Minimalna dužina ovog polja је {0}",
126           maxLengthText : "Maksimalna dužina ovog polja је {0}",
127           blankText     : "Polje је obavezno",
128           regexText     : "",
129           emptyText     : null
130        });
131     }
132
133     if(Ext.form.field.Number){
134        Ext.apply(Ext.form.field.Number.prototype, {
135           minText : "Minimalna vrednost u polju је {0}",
136           maxText : "Maksimalna vrednost u polju је {0}",
137           nanText : "{0} nije pravilan broj"
138        });
139     }
140
141     if(Ext.form.field.Date){
142        Ext.apply(Ext.form.field.Date.prototype, {
143           disabledDaysText  : "Pasivno",
144           disabledDatesText : "Pasivno",
145           minText           : "Datum u ovom polju mora biti nakon {0}",
146           maxText           : "Datum u ovom polju mora biti pre {0}",
147           invalidText       : "{0} nije pravilan datum - zahtevani oblik je {1}",
148           format            : "d.m.y",
149           altFormats        : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
150        });
151     }
152
153     if(Ext.form.field.ComboBox){
154        Ext.apply(Ext.form.field.ComboBox.prototype, {
155           valueNotFoundText : undefined
156        });
157         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
158             loadingText       : "Učitavam..."
159         });
160     }
161
162     if(Ext.form.field.VTypes){
163        Ext.apply(Ext.form.field.VTypes, {
164           emailText    : 'Ovo polje prihavata e-mail adresu isključivo u obliku "korisnik@domen.com"',
165           urlText      : 'Ovo polje prihavata URL adresu isključivo u obliku "http:/'+'/www.domen.com"',
166           alphaText    : 'Ovo polje može sadržati isključivo slova i znak _',
167           alphanumText : 'Ovo polje može sadržati само slova, brojeve i znak _'
168        });
169     }
170
171     if(Ext.grid.header.Container){
172        Ext.apply(Ext.grid.header.Container.prototype, {
173           sortAscText  : "Rastući redosled",
174           sortDescText : "Opadajući redosled",
175           lockText     : "Zaključaj kolonu",
176           unlockText   : "Otključaj kolonu",
177           columnsText  : "Kolone"
178        });
179     }
180
181     if(Ext.grid.PropertyColumnModel){
182        Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
183           nameText   : "Naziv",
184           valueText  : "Vrednost",
185           dateFormat : "d.m.Y"
186        });
187     }
188
189     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
190        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
191           splitTip            : "Povući za izmenu veličine.",
192           collapsibleSplitTip : "Povući za izmenu veličine. Dvostruku klik za sakrivanje."
193        });
194     }
195 });