~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to gis/dhis-gis-geostat/mfbase/ext/source/locale/ext-lang-ro.js

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Romanian translations for ExtJS 2.1
 
3
 * First released by Lucian Lature on 2007-04-24
 
4
 * Changed locale for Romania (date formats) as suggested by keypoint
 
5
 * on ExtJS forums: http://www.extjs.com/forum/showthread.php?p=129524#post129524
 
6
 * Removed some useless parts
 
7
 * Changed by: Emil Cazamir, 2008-04-24
 
8
 */
 
9
 
 
10
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Încărcare...</div>';
 
11
 
 
12
if(Ext.grid.GridPanel){
 
13
   Ext.grid.GridPanel.prototype.ddText = "{0} rând(uri) selectate";
 
14
}
 
15
 
 
16
if(Ext.TabPanelItem){
 
17
   Ext.TabPanelItem.prototype.closeText = "Închide acest tab";
 
18
}
 
19
 
 
20
if(Ext.form.Field){
 
21
   Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidă";
 
22
}
 
23
 
 
24
if(Ext.LoadMask){
 
25
    Ext.LoadMask.prototype.msg = "Încărcare...";
 
26
}
 
27
 
 
28
Date.monthNames = [
 
29
   "Ianuarie",
 
30
   "Februarie",
 
31
   "Martie",
 
32
   "Aprilie",
 
33
   "Mai",
 
34
   "Iunie",
 
35
   "Iulie",
 
36
   "August",
 
37
   "Septembrie",
 
38
   "Octombrie",
 
39
   "Noiembrie",
 
40
   "Decembrie"
 
41
];
 
42
 
 
43
Date.getShortMonthName = function(month) {
 
44
  return Date.monthNames[month].substring(0, 3);
 
45
};
 
46
 
 
47
Date.monthNumbers = {
 
48
  Ian : 0,
 
49
  Feb : 1,
 
50
  Mar : 2,
 
51
  Apr : 3,
 
52
  Mai : 4,
 
53
  Iun : 5,
 
54
  Iul : 6,
 
55
  Aug : 7,
 
56
  Sep : 8,
 
57
  Oct : 9,
 
58
  Nov : 10,
 
59
  Dec : 11
 
60
};
 
61
 
 
62
Date.getMonthNumber = function(name) {
 
63
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
 
64
};
 
65
 
 
66
Date.dayNames = [
 
67
   "Duminică",
 
68
   "Luni",
 
69
   "Marţi",
 
70
   "Miercuri",
 
71
   "Joi",
 
72
   "Vineri",
 
73
   "Sâmbătă"
 
74
];
 
75
 
 
76
Date.getShortDayName = function(day) {
 
77
  return Date.dayNames[day].substring(0, 3);
 
78
};
 
79
 
 
80
if(Ext.MessageBox){
 
81
   Ext.MessageBox.buttonText = {
 
82
      ok     : "OK",
 
83
      cancel : "Renunţă",
 
84
      yes    : "Da",
 
85
      no     : "Nu"
 
86
   };
 
87
}
 
88
 
 
89
if(Ext.util.Format){
 
90
   Ext.util.Format.date = function(v, format){
 
91
      if(!v) return "";
 
92
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
 
93
      return v.dateFormat(format || "d.m.Y");
 
94
   };
 
95
}
 
96
 
 
97
if(Ext.DatePicker){
 
98
  Ext.apply(Ext.DatePicker.prototype, {
 
99
    todayText         : "Astăzi",
 
100
    minText           : "Această dată este anterioară datei minime",
 
101
    maxText           : "Această dată este ulterioară datei maxime",
 
102
    disabledDaysText  : "",
 
103
    disabledDatesText : "",
 
104
    monthNames        : Date.monthNames,
 
105
    dayNames          : Date.dayNames,
 
106
    nextText          : 'Luna următoare (Control+Dreapta)',
 
107
    prevText          : 'Luna precedentă (Control+Stânga)',
 
108
    monthYearText     : 'Alege o lună (Control+Sus/Jos pentru a parcurge anii)',
 
109
    todayTip          : "{0} (Bara spațiu)",
 
110
    format            : "d.m.Y",
 
111
    okText            : "&#160;OK&#160;",
 
112
    cancelText        : "Renunță",
 
113
    startDay          : 0
 
114
  });
 
115
}
 
116
 
 
117
if(Ext.PagingToolbar){
 
118
  Ext.apply(Ext.PagingToolbar.prototype, {
 
119
    beforePageText : "Pagina",
 
120
    afterPageText  : "din {0}",
 
121
    firstText      : "Prima pagină",
 
122
    prevText       : "Pagina anterioară",
 
123
    nextText       : "Pagina următoare",
 
124
    lastText       : "Ultima pagină",
 
125
    refreshText    : "Împrospătează",
 
126
    displayMsg     : "Afișare înregistrări {0} - {1} din {2}",
 
127
    emptyMsg       : 'Nu sunt date de afișat'
 
128
  });
 
129
}
 
130
 
 
131
if(Ext.form.TextField){
 
132
   Ext.apply(Ext.form.TextField.prototype, {
 
133
      minLengthText : "Lungimea minimă pentru acest câmp este de {0}",
 
134
      maxLengthText : "Lungimea maximă pentru acest câmp este {0}",
 
135
      blankText     : "Acest câmp este obligatoriu",
 
136
      regexText     : "",
 
137
      emptyText     : null
 
138
   });
 
139
}
 
140
 
 
141
if(Ext.form.NumberField){
 
142
   Ext.apply(Ext.form.NumberField.prototype, {
 
143
      minText : "Valoarea minimă permisă a acestui câmp este {0}",
 
144
      maxText : "Valaorea maximă permisă a acestui câmp este {0}",
 
145
      nanText : "{0} nu este un număr valid"
 
146
   });
 
147
}
 
148
 
 
149
if(Ext.form.DateField){
 
150
  Ext.apply(Ext.form.DateField.prototype, {
 
151
    disabledDaysText  : "Indisponibil",
 
152
    disabledDatesText : "Indisponibil",
 
153
    minText           : "Data din această casetă trebuie să fie după {0}",
 
154
    maxText           : "Data din această casetă trebuie să fie inainte de {0}",
 
155
    invalidText       : "{0} nu este o dată validă, trebuie să fie în formatul {1}",
 
156
    format            : "d.m.Y",
 
157
    altFormats        : "d-m-Y|d.m.y|d-m-y|d.m|d-m|dm|d|Y-m-d"
 
158
  });
 
159
}
 
160
 
 
161
if(Ext.form.ComboBox){
 
162
  Ext.apply(Ext.form.ComboBox.prototype, {
 
163
    loadingText       : "Încărcare...",
 
164
    valueNotFoundText : undefined
 
165
  });
 
166
}
 
167
 
 
168
if(Ext.form.VTypes){
 
169
   Ext.apply(Ext.form.VTypes, {
 
170
      emailText    : 'Acest câmp trebuie să conţină o adresă de e-mail în formatul "user@domeniu.com"',
 
171
      urlText      : 'Acest câmp trebuie să conţină o adresă URL în formatul "http:/'+'/www.domeniu.com"',
 
172
      alphaText    : 'Acest câmp trebuie să conţină doar litere şi _',
 
173
      alphanumText : 'Acest câmp trebuie să conţină doar litere, cifre şi _'
 
174
   });
 
175
}
 
176
 
 
177
if(Ext.form.HtmlEditor){
 
178
  Ext.apply(Ext.form.HtmlEditor.prototype, {
 
179
    createLinkText : 'Vă rugăm introduceti un URL pentru această legătură web:',
 
180
    buttonTips : {
 
181
      bold : {
 
182
        title: 'Îngroşat (Ctrl+B)',
 
183
        text: 'Îngroşati caracterele textului selectat.',
 
184
        cls: 'x-html-editor-tip'
 
185
      },
 
186
      italic : {
 
187
        title: 'Înclinat (Ctrl+I)',
 
188
        text: 'Înclinaţi caracterele textului selectat.',
 
189
        cls: 'x-html-editor-tip'
 
190
      },
 
191
      underline : {
 
192
        title: 'Subliniat (Ctrl+U)',
 
193
        text: 'Subliniaţi caracterele textului selectat.',
 
194
        cls: 'x-html-editor-tip'
 
195
      },
 
196
      increasefontsize : {
 
197
        title: 'Mărit',
 
198
        text: 'Măreşte dimensiunea fontului.',
 
199
        cls: 'x-html-editor-tip'
 
200
      },
 
201
      decreasefontsize : {
 
202
        title: 'Micşorat',
 
203
        text: 'Micşorează dimensiunea textului.',
 
204
        cls: 'x-html-editor-tip'
 
205
      },
 
206
      backcolor : {
 
207
        title: 'Culoarea fundalului',
 
208
        text: 'Schimbă culoarea fundalului pentru textul selectat.',
 
209
        cls: 'x-html-editor-tip'
 
210
      },
 
211
      forecolor : {
 
212
        title: 'Culoarea textului',
 
213
        text: 'Schimbă culoarea textului selectat.',
 
214
        cls: 'x-html-editor-tip'
 
215
      },
 
216
      justifyleft : {
 
217
        title: 'Aliniat la stânga',
 
218
        text: 'Aliniază textul la stânga.',
 
219
        cls: 'x-html-editor-tip'
 
220
      },
 
221
      justifycenter : {
 
222
        title: 'Centrat',
 
223
        text: 'Centrează textul în editor.',
 
224
        cls: 'x-html-editor-tip'
 
225
      },
 
226
      justifyright : {
 
227
        title: 'Aliniat la dreapta',
 
228
        text: 'Aliniază textul la dreapta.',
 
229
        cls: 'x-html-editor-tip'
 
230
      },
 
231
      insertunorderedlist : {
 
232
        title: 'Listă cu puncte',
 
233
        text: 'Inserează listă cu puncte.',
 
234
        cls: 'x-html-editor-tip'
 
235
      },
 
236
      insertorderedlist : {
 
237
        title: 'Listă numerotată',
 
238
        text: 'Inserează o listă numerotată.',
 
239
        cls: 'x-html-editor-tip'
 
240
      },
 
241
      createlink : {
 
242
        title: 'Legătură web',
 
243
        text: 'Transformă textul selectat în legătură web.',
 
244
        cls: 'x-html-editor-tip'
 
245
      },
 
246
      sourceedit : {
 
247
        title: 'Editare sursă',
 
248
        text: 'Schimbă pe modul de editare al codului HTML.',
 
249
        cls: 'x-html-editor-tip'
 
250
      }
 
251
    }
 
252
  });
 
253
}
 
254
 
 
255
 
 
256
if(Ext.grid.GridView){
 
257
   Ext.apply(Ext.grid.GridView.prototype, {
 
258
      sortAscText  : "Sortare ascendentă",
 
259
      sortDescText : "Sortare descendentă",
 
260
      lockText     : "Blochează coloana",
 
261
      unlockText   : "Deblochează coloana",
 
262
      columnsText  : "Coloane"
 
263
   });
 
264
}
 
265
 
 
266
if(Ext.grid.GroupingView){
 
267
  Ext.apply(Ext.grid.GroupingView.prototype, {
 
268
    emptyGroupText : '(Fără)',
 
269
    groupByText    : 'Grupează după această coloană',
 
270
    showGroupsText : 'Afișează grupat'
 
271
  });
 
272
}
 
273
 
 
274
if(Ext.grid.PropertyColumnModel){
 
275
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
 
276
    nameText   : "Nume",
 
277
    valueText  : "Valoare",
 
278
    dateFormat : "d.m.Y"
 
279
  });
 
280
}
 
281
 
 
282
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
 
283
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
 
284
      splitTip            : "Trage pentru redimensionare.",
 
285
      collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere."
 
286
   });
 
287
}
 
 
b'\\ No newline at end of file'