PageRenderTime 29ms CodeModel.GetById 17ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/source/Plug-in/ext/build/locale/ext-lang-lv.js

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