Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / locale / ext-lang-lv.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  * Latvian Translations
17  * By salix 17 April 2007
18  */
19 Ext.onReady(function() {
20     if(Ext.Updater){
21         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Notiek ielāde...</div>';
22     }
23     if(Ext.view.View){
24         Ext.view.View.prototype.emptyText = "";
25     }
26
27     if(Ext.grid.Panel){
28         Ext.grid.Panel.prototype.ddText = "{0} iezīmētu rindu";
29     }
30
31     if(Ext.TabPanelItem){
32         Ext.TabPanelItem.prototype.closeText = "Aizver šo zīmni";
33     }
34
35     if(Ext.form.field.Base){
36         Ext.form.field.Base.prototype.invalidText = "Vērtība šajā laukā nav pareiza";
37     }
38
39     if(Ext.LoadMask){
40         Ext.LoadMask.prototype.msg = "Ielādē...";
41     }
42
43     if(Ext.Date) {
44         Ext.Date.monthNames = [
45         "Janvāris",
46         "Februāris",
47         "Marts",
48         "Aprīlis",
49         "Maijs",
50         "Jūnijs",
51         "Jūlijs",
52         "Augusts",
53         "Septembris",
54         "Oktobris",
55         "Novembris",
56         "Decembris"
57         ];
58
59         Ext.Date.dayNames = [
60         "Svētdiena",
61         "Pirmdiena",
62         "Otrdiena",
63         "Trešdiena",
64         "Ceturtdiena",
65         "Piektdiena",
66         "Sestdiena"
67         ];
68     }
69
70     if(Ext.MessageBox){
71         Ext.MessageBox.buttonText = {
72             ok     : "Labi",
73             cancel : "Atcelt",
74             yes    : "Jā",
75             no     : "Nē"
76         };
77     }
78
79     if(Ext.util.Format){
80         Ext.apply(Ext.util.Format, {
81             thousandSeparator: '.',
82             decimalSeparator: ',',
83             currencySign: 'Ls',  // Latvian Lati
84             dateFormat: 'd.m.Y'
85         });
86     }
87
88     if(Ext.picker.Date){
89         Ext.apply(Ext.picker.Date.prototype, {
90             todayText         : "Šodiena",
91             minText           : "Norādītais datums ir mazāks par minimālo datumu",
92             maxText           : "Norādītais datums ir lielāks par maksimālo datumu",
93             disabledDaysText  : "",
94             disabledDatesText : "",
95             monthNames  : Ext.Date.monthNames,
96             dayNames            : Ext.Date.dayNames,
97             nextText          : 'Nākamais mēnesis (Control+pa labi)',
98             prevText          : 'Iepriekšējais mēnesis (Control+pa kreisi)',
99             monthYearText     : 'Mēneša izvēle (Control+uz augšu/uz leju lai pārslēgtu gadus)',
100             todayTip          : "{0} (Tukšumzīme)",
101             format            : "d.m.Y",
102             startDay          : 1
103         });
104     }
105
106     if(Ext.toolbar.Paging){
107         Ext.apply(Ext.PagingToolbar.prototype, {
108             beforePageText : "Lapa",
109             afterPageText  : "no {0}",
110             firstText      : "Pirmā lapa",
111             prevText       : "iepriekšējā lapa",
112             nextText       : "Nākamā lapa",
113             lastText       : "Pēdējā lapa",
114             refreshText    : "Atsvaidzināt",
115             displayMsg     : "Rāda no {0} līdz {1} ierakstiem, kopā {2}",
116             emptyMsg       : 'Nav datu, ko parādīt'
117         });
118     }
119
120     if(Ext.form.field.Text){
121         Ext.apply(Ext.form.field.Text.prototype, {
122             minLengthText : "Minimālais garums šim laukam ir {0}",
123             maxLengthText : "Maksimālais garums šim laukam ir {0}",
124             blankText     : "Šis ir obligāts lauks",
125             regexText     : "",
126             emptyText     : null
127         });
128     }
129
130     if(Ext.form.field.Number){
131         Ext.apply(Ext.form.field.Number.prototype, {
132             minText : "Minimālais garums šim laukam ir  {0}",
133             maxText : "Maksimālais garums šim laukam ir  {0}",
134             nanText : "{0} nav pareizs skaitlis"
135         });
136     }
137
138     if(Ext.form.field.Date){
139         Ext.apply(Ext.form.field.Date.prototype, {
140             disabledDaysText  : "Atspējots",
141             disabledDatesText : "Atspējots",
142             minText           : "Datumam šajā laukā jābūt lielākam kā {0}",
143             maxText           : "Datumam šajā laukā jābūt mazākam kā {0}",
144             invalidText       : "{0} nav pareizs datums - tam jābūt šādā formātā: {1}",
145             format            : "d.m.Y"
146         });
147     }
148
149     if(Ext.form.field.ComboBox){
150         Ext.apply(Ext.form.field.ComboBox.prototype, {
151             valueNotFoundText : undefined
152         });
153         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
154             loadingText       : "Ielādē..."
155         });
156     }
157
158     if(Ext.form.field.VTypes){
159         Ext.apply(Ext.form.field.VTypes, {
160             emailText    : 'Šajā laukā jāieraksta e-pasta adrese formātā "lietotās@domēns.lv"',
161             urlText      : 'Šajā laukā jāieraksta URL formātā "http:/'+'/www.domēns.lv"',
162             alphaText    : 'Šis lauks drīkst saturēt tikai burtus un _ zīmi',
163             alphanumText : 'Šis lauks drīkst saturēt tikai burtus, ciparus un _ zīmi'
164         });
165     }
166
167     if(Ext.grid.header.Container){
168         Ext.apply(Ext.grid.header.Container.prototype, {
169             sortAscText  : "Kārtot pieaugošā secībā",
170             sortDescText : "Kārtot dilstošā secībā",
171             lockText     : "Noslēgt kolonnu",
172             unlockText   : "Atslēgt kolonnu",
173             columnsText  : "Kolonnas"
174         });
175     }
176
177     if(Ext.grid.PropertyColumnModel){
178         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
179             nameText   : "Nosaukums",
180             valueText  : "Vērtība",
181             dateFormat : "j.m.Y"
182         });
183     }
184
185     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
186         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
187             splitTip            : "Velc, lai mainītu izmēru.",
188             collapsibleSplitTip : "Velc, lai mainītu izmēru. Dubultklikšķis noslēpj apgabalu."
189         });
190     }
191 });