Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / locale / ext-lang-sl.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  * Slovenian translation by Matjaž (UTF-8 encoding)
17  * 25 April 2007
18  */
19 Ext.onReady(function() {
20     if(Ext.Updater) {
21         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Nalagam...</div>';
22     }
23
24     if(Ext.view.View){
25        Ext.view.View.prototype.emptyText = "";
26     }
27
28     if(Ext.grid.Panel){
29        Ext.grid.Panel.prototype.ddText = "{0} izbranih vrstic";
30     }
31
32     if(Ext.TabPanelItem){
33        Ext.TabPanelItem.prototype.closeText = "Zapri zavihek";
34     }
35
36     if(Ext.form.field.Base){
37        Ext.form.field.Base.prototype.invalidText = "Neveljavna vrednost";
38     }
39
40     if(Ext.LoadMask){
41         Ext.LoadMask.prototype.msg = "Nalagam...";
42     }
43
44     if(Ext.Date) {
45         Ext.Date.monthNames = [
46            "Januar",
47            "Februar",
48            "Marec",
49            "April",
50            "Maj",
51            "Junij",
52            "Julij",
53            "Avgust",
54            "September",
55            "Oktober",
56            "November",
57            "December"
58         ];
59
60         Ext.Date.dayNames = [
61            "Nedelja",
62            "Ponedeljek",
63            "Torek",
64            "Sreda",
65            "Četrtek",
66            "Petek",
67            "Sobota"
68         ];
69     }
70     if(Ext.MessageBox){
71        Ext.MessageBox.buttonText = {
72           ok     : "V redu",
73           cancel : "Prekliči",
74           yes    : "Da",
75           no     : "Ne"
76        };
77     }
78
79     if(Ext.util.Format){
80         Ext.apply(Ext.util.Format, {
81             thousandSeparator: '.',
82             decimalSeparator: ',',
83             currencySign: '\u20ac',  // Slovenian Euro
84             dateFormat: 'd.m.Y'
85         });
86     }
87
88     if(Ext.picker.Date){
89        Ext.apply(Ext.picker.Date.prototype, {
90           todayText         : "Danes",
91           minText           : "Navedeni datum je pred spodnjim datumom",
92           maxText           : "Navedeni datum je za zgornjim datumom",
93           disabledDaysText  : "",
94           disabledDatesText : "",
95           monthNames    : Ext.Date.monthNames,
96           dayNames              : Ext.Date.dayNames,
97           nextText          : 'Naslednji mesec (Control+Desno)',
98           prevText          : 'Prejšnji mesec (Control+Levo)',
99           monthYearText     : 'Izberite mesec (Control+Gor/Dol za premik let)',
100           todayTip          : "{0} (Preslednica)",
101           format            : "d.m.y",
102           startDay          : 1
103        });
104     }
105
106     if(Ext.toolbar.Paging){
107        Ext.apply(Ext.PagingToolbar.prototype, {
108           beforePageText : "Stran",
109           afterPageText  : "od {0}",
110           firstText      : "Prva stran",
111           prevText       : "Prejšnja stran",
112           nextText       : "Naslednja stran",
113           lastText       : "Zadnja stran",
114           refreshText    : "Osveži",
115           displayMsg     : "Prikazujem {0} - {1} od {2}",
116           emptyMsg       : 'Ni podatkov za prikaz'
117        });
118     }
119
120     if(Ext.form.field.Text){
121        Ext.apply(Ext.form.field.Text.prototype, {
122           minLengthText : "Minimalna dolžina tega polja je {0}",
123           maxLengthText : "Maksimalna dolžina tega polja je {0}",
124           blankText     : "To polje je obvezno",
125           regexText     : "",
126           emptyText     : null
127        });
128     }
129
130     if(Ext.form.field.Number){
131        Ext.apply(Ext.form.field.Number.prototype, {
132           minText : "Minimalna vrednost tega polja je {0}",
133           maxText : "Maksimalna vrednost tega polja je {0}",
134           nanText : "{0} ni veljavna številka"
135        });
136     }
137
138     if(Ext.form.field.Date){
139        Ext.apply(Ext.form.field.Date.prototype, {
140           disabledDaysText  : "Onemogočen",
141           disabledDatesText : "Onemogočen",
142           minText           : "Datum mora biti po {0}",
143           maxText           : "Datum mora biti pred {0}",
144           invalidText       : "{0} ni veljaven datum - mora biti v tem formatu {1}",
145           format            : "d.m.y"
146        });
147     }
148
149     if(Ext.form.field.ComboBox){
150        Ext.apply(Ext.form.field.ComboBox.prototype, {
151           loadingText       : "Nalagam...",
152           valueNotFoundText : undefined
153        });
154     }
155
156     if(Ext.form.field.VTypes){
157        Ext.apply(Ext.form.field.VTypes, {
158           emailText    : 'To polje je e-mail naslov formata "ime@domena.si"',
159           urlText      : 'To polje je URL naslov formata "http:/'+'/www.domena.si"',
160           alphaText    : 'To polje lahko vsebuje samo črke in _',
161           alphanumText : 'To polje lahko vsebuje samo črke, številke in _'
162        });
163     }
164
165     if(Ext.grid.header.Container){
166        Ext.apply(Ext.grid.header.Container.prototype, {
167           sortAscText  : "Sortiraj naraščajoče",
168           sortDescText : "Sortiraj padajoče",
169           lockText     : "Zakleni stolpec",
170           unlockText   : "Odkleni stolpec",
171           columnsText  : "Stolpci"
172        });
173     }
174
175     if(Ext.grid.PropertyColumnModel){
176        Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
177           nameText   : "Ime",
178           valueText  : "Vrednost",
179           dateFormat : "j.m.Y"
180        });
181     }
182
183     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
184        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
185           splitTip            : "Potegni za razširitev.",
186           collapsibleSplitTip : "Potegni za razširitev. Dvojni klik, če želite skriti."
187        });
188     }
189 });