ext-lang-ro_wev8.js
4.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/**
* Translation by Lucian Lature 04-24-2007
* Romanian Translations
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Încărcare...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.Grid){
Ext.grid.Grid.prototype.ddText = "{0} rând(uri) selectate";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "Închide acest tab";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidă";
}
if(Ext.LoadMask){
Ext.LoadMask.prototype.msg = "Încărcare...";
}
Date.monthNames = [
"Ianuarie",
"Februarie",
"Martie",
"Aprilie",
"Mai",
"Iunie",
"Iulie",
"August",
"Septembrie",
"Octombrie",
"Noiembrie",
"Decembrie"
];
Date.dayNames = [
"Duminică",
"Luni",
"Marţi",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă"
];
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "OK",
cancel : "Renunţă",
yes : "Da",
no : "Nu"
};
}
if(Ext.util.Format){
Ext.util.Format.date = function(v, format){
if(!v) return "";
if(!(v instanceof Date)) v = new Date(Date.parse(v));
return v.dateFormat(format || "d-m-Y");
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "Astăzi",
minText : "Această zi este înaintea datei de început",
maxText : "Această zi este după ultimul termen",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : 'Următoarea lună (Control+Right)',
prevText : 'Luna anterioară (Control+Left)',
monthYearText : 'Alege o lună (Control+Up/Down pentru a parcurge anii)',
todayTip : "{0} (Spacebar)",
format : "d-m-y"
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "Pagina",
afterPageText : "din {0}",
firstText : "Prima pagină",
prevText : "Pagina precedentă",
nextText : "Următoarea pagină",
lastText : "Ultima pagină",
refreshText : "Reîmprospătare",
displayMsg : "Afişează {0} - {1} din {2}",
emptyMsg : 'Nu sunt date de afişat'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "Lungimea minimă pentru acest câmp este de {0}",
maxLengthText : "Lungimea maximă pentru acest câmp este {0}",
blankText : "Acest câmp este obligatoriu",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "Valoarea minimă permisă a acestui câmp este {0}",
maxText : "Valaorea maximă permisă a acestui câmp este {0}",
nanText : "{0} nu este un număr valid"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "Inactiv",
disabledDatesText : "Inactiv",
minText : "Data acestui câmp trebuie să fie după {0}",
maxText : "Data acestui câmp trebuie sa fie înainte de {0}",
invalidText : "{0} nu este o dată validă - trebuie să fie în formatul {1}",
format : "d-m-y"
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "Încărcare...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : 'Acest câmp trebuie să conţină o adresă de e-mail în formatul "user@domain.com"',
urlText : 'Acest câmp trebuie să conţină o adresă URL în formatul "http:/'+'/www.domain.com"',
alphaText : 'Acest câmp trebuie să conţină doar litere şi _',
alphanumText : 'Acest câmp trebuie să conţină doar litere, cifre şi _'
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "Sortare ascendentă",
sortDescText : "Sortare descendentă",
lockText : "Blochează coloana",
unlockText : "Deblochează coloana",
columnsText : "Coloane"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "Nume",
valueText : "Valoare",
dateFormat : "m/j/Y"
});
}
if(Ext.layout.BorderLayout.SplitRegion){
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
splitTip : "Trage pentru redimensionare.",
collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere."
});
}