Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / locale / ext-lang-sr_RS.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 Cyrillic Translation
17  * by Čolovic Vladan (cyrillic, utf8 encoding)
18  * sr_RS (ex: sr_CS, sr_YU)
19  * 12 May 2007
20  */
21 Ext.onReady(function() {
22     if(Ext.Updater) {
23         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Учитавам...</div>';
24     }
25
26     if(Ext.view.View){
27        Ext.view.View.prototype.emptyText = "";
28     }
29
30     if(Ext.grid.Panel){
31        Ext.grid.Panel.prototype.ddText = "{0} изабраних редова";
32     }
33
34     if(Ext.TabPanelItem){
35        Ext.TabPanelItem.prototype.closeText = "Затвори ову »картицу«";
36     }
37
38     if(Ext.form.field.Base){
39        Ext.form.field.Base.prototype.invalidText = "Унешена вредност није правилна";
40     }
41
42     if(Ext.LoadMask){
43         Ext.LoadMask.prototype.msg = "Учитавам...";
44     }
45
46     if(Ext.Date) {
47         Ext.Date.monthNames = [
48            "Јануар",
49            "Фебруар",
50            "Март",
51            "Април",
52            "Мај",
53            "Јун",
54            "Јул",
55            "Август",
56            "Септембар",
57            "Октобар",
58            "Новембар",
59            "Децембар"
60         ];
61
62         Ext.Date.dayNames = [
63            "Недеља",
64            "Понедељак",
65            "Уторак",
66            "Среда",
67            "Четвртак",
68            "Петак",
69            "Субота"
70         ];
71     }
72
73     if(Ext.MessageBox){
74        Ext.MessageBox.buttonText = {
75           ok     : "У реду",
76           cancel : "Одустани",
77           yes    : "Да",
78           no     : "Не"
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         : "Данас",
94           minText           : "Датум је испред најмањег дозвољеног датума",
95           maxText           : "Датум је након највећег дозвољеног датума",
96           disabledDaysText  : "",
97           disabledDatesText : "",
98           monthNames    : Ext.Date.monthNames,
99           dayNames              : Ext.Date.dayNames,
100           nextText          : 'Следећи месец (Control+Десно)',
101           prevText          : 'Претходни месец (Control+Лево)',
102           monthYearText     : 'Изаберите месец (Control+Горе/Доле за избор године)',
103           todayTip          : "{0} (Размакница)",
104           format            : "d.m.y",
105           startDay               : 1
106        });
107     }
108
109     if(Ext.toolbar.Paging){
110        Ext.apply(Ext.PagingToolbar.prototype, {
111           beforePageText : "Страна",
112           afterPageText  : "од {0}",
113           firstText      : "Прва страна",
114           prevText       : "Претходна страна",
115           nextText       : "Следећа страна",
116           lastText       : "Последња страна",
117           refreshText    : "Освежи",
118           displayMsg     : "Приказана {0} - {1} од {2}",
119           emptyMsg       : 'Немам шта приказати'
120        });
121     }
122
123     if(Ext.form.field.Text){
124        Ext.apply(Ext.form.field.Text.prototype, {
125           minLengthText : "Минимална дужина овог поља је {0}",
126           maxLengthText : "Максимална дужина овог поља је {0}",
127           blankText     : "Поље је обавезно",
128           regexText     : "",
129           emptyText     : null
130        });
131     }
132
133     if(Ext.form.field.Number){
134        Ext.apply(Ext.form.field.Number.prototype, {
135           minText : "Минимална вредност у пољу је {0}",
136           maxText : "Максимална вредност у пољу је {0}",
137           nanText : "{0} није правилан број"
138        });
139     }
140
141     if(Ext.form.field.Date){
142        Ext.apply(Ext.form.field.Date.prototype, {
143           disabledDaysText  : "Пасивно",
144           disabledDatesText : "Пасивно",
145           minText           : "Датум у овом пољу мора бити након {0}",
146           maxText           : "Датум у овом пољу мора бити пре {0}",
147           invalidText       : "{0} није правилан датум - захтевани облик је {1}",
148           format            : "d.m.y"
149        });
150     }
151
152     if(Ext.form.field.ComboBox){
153        Ext.apply(Ext.form.field.ComboBox.prototype, {
154           valueNotFoundText : undefined
155        });
156         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
157             loadingText       : "Учитавам..."
158         });
159     }
160
161     if(Ext.form.field.VTypes){
162        Ext.apply(Ext.form.field.VTypes, {
163           emailText    : 'Ово поље прихвата e-mail адресу искључиво у облику "korisnik@domen.com"',
164           urlText      : 'Ово поље прихвата URL адресу искључиво у облику "http:/'+'/www.domen.com"',
165           alphaText    : 'Ово поље може садржати искључиво слова и знак _',
166           alphanumText : 'Ово поље може садржати само слова, бројеве и знак _'
167        });
168     }
169
170     if(Ext.grid.header.Container){
171        Ext.apply(Ext.grid.header.Container.prototype, {
172           sortAscText  : "Растући редослед",
173           sortDescText : "Опадајући редослед",
174           lockText     : "Закључај колону",
175           unlockText   : "Откључај колону",
176           columnsText  : "Колоне"
177        });
178     }
179
180     if(Ext.grid.PropertyColumnModel){
181        Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
182           nameText   : "Назив",
183           valueText  : "Вредност",
184           dateFormat : "d.m.Y"
185        });
186     }
187
188     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
189        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
190           splitTip            : "Повући за измену величине.",
191           collapsibleSplitTip : "Повући за измену величине. Двоструки клик за сакривање."
192        });
193     }
194 });