1 |
d2a8c3fd
|
Marc NICOLAS
|
|
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 |
|
|
Ext.onReady(function() {
|
29 |
|
|
|
30 |
|
|
if (Ext.data && Ext.data.Types) {
|
31 |
|
|
Ext.data.Types.stripRe = /[\$,%]/g;
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
if (Ext.Date) {
|
35 |
|
|
Ext.Date.monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
36 |
|
|
|
37 |
|
|
Ext.Date.getShortMonthName = function(month) {
|
38 |
|
|
return Ext.Date.monthNames[month].substring(0, 3);
|
39 |
|
|
};
|
40 |
|
|
|
41 |
|
|
Ext.Date.monthNumbers = {
|
42 |
|
|
Jan: 0,
|
43 |
|
|
Feb: 1,
|
44 |
|
|
Mar: 2,
|
45 |
|
|
Apr: 3,
|
46 |
|
|
May: 4,
|
47 |
|
|
Jun: 5,
|
48 |
|
|
Jul: 6,
|
49 |
|
|
Aug: 7,
|
50 |
|
|
Sep: 8,
|
51 |
|
|
Oct: 9,
|
52 |
|
|
Nov: 10,
|
53 |
|
|
Dec: 11
|
54 |
|
|
};
|
55 |
|
|
|
56 |
|
|
Ext.Date.getMonthNumber = function(name) {
|
57 |
|
|
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
58 |
|
|
};
|
59 |
|
|
|
60 |
|
|
Ext.Date.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
61 |
|
|
|
62 |
|
|
Ext.Date.getShortDayName = function(day) {
|
63 |
|
|
return Ext.Date.dayNames[day].substring(0, 3);
|
64 |
|
|
};
|
65 |
|
|
|
66 |
|
|
Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
|
67 |
|
|
}
|
68 |
|
|
|
69 |
|
|
if (Ext.util && Ext.util.Format) {
|
70 |
|
|
Ext.apply(Ext.util.Format, {
|
71 |
|
|
thousandSeparator: ',',
|
72 |
|
|
decimalSeparator: '.',
|
73 |
|
|
currencySign: '$',
|
74 |
|
|
dateFormat: 'm/d/Y'
|
75 |
|
|
});
|
76 |
|
|
}
|
77 |
|
|
});
|
78 |
|
|
|
79 |
|
|
Ext.define("Ext.locale.en.view.View", {
|
80 |
|
|
override: "Ext.view.View",
|
81 |
|
|
emptyText: ""
|
82 |
|
|
});
|
83 |
|
|
|
84 |
|
|
Ext.define("Ext.locale.en.grid.plugin.DragDrop", {
|
85 |
|
|
override: "Ext.grid.plugin.DragDrop",
|
86 |
|
|
dragText: "{0} selected row{1}"
|
87 |
|
|
});
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
Ext.define("Ext.locale.en.view.AbstractView", {
|
91 |
|
|
override: "Ext.view.AbstractView",
|
92 |
|
|
loadingText: "Loading..."
|
93 |
|
|
});
|
94 |
|
|
|
95 |
|
|
Ext.define("Ext.locale.en.picker.Date", {
|
96 |
|
|
override: "Ext.picker.Date",
|
97 |
|
|
todayText: "Today",
|
98 |
|
|
minText: "This date is before the minimum date",
|
99 |
|
|
maxText: "This date is after the maximum date",
|
100 |
|
|
disabledDaysText: "",
|
101 |
|
|
disabledDatesText: "",
|
102 |
|
|
nextText: 'Next Month (Control+Right)',
|
103 |
|
|
prevText: 'Previous Month (Control+Left)',
|
104 |
|
|
monthYearText: 'Choose a month (Control+Up/Down to move years)',
|
105 |
|
|
todayTip: "{0} (Spacebar)",
|
106 |
|
|
format: "m/d/y",
|
107 |
|
|
startDay: 0
|
108 |
|
|
});
|
109 |
|
|
|
110 |
|
|
Ext.define("Ext.locale.en.picker.Month", {
|
111 |
|
|
override: "Ext.picker.Month",
|
112 |
|
|
okText: " OK ",
|
113 |
|
|
cancelText: "Cancel"
|
114 |
|
|
});
|
115 |
|
|
|
116 |
|
|
Ext.define("Ext.locale.en.toolbar.Paging", {
|
117 |
|
|
override: "Ext.PagingToolbar",
|
118 |
|
|
beforePageText: "Page",
|
119 |
|
|
afterPageText: "of {0}",
|
120 |
|
|
firstText: "First Page",
|
121 |
|
|
prevText: "Previous Page",
|
122 |
|
|
nextText: "Next Page",
|
123 |
|
|
lastText: "Last Page",
|
124 |
|
|
refreshText: "Refresh",
|
125 |
|
|
displayMsg: "Displaying {0} - {1} of {2}",
|
126 |
|
|
emptyMsg: 'No data to display'
|
127 |
|
|
});
|
128 |
|
|
|
129 |
|
|
Ext.define("Ext.locale.en.form.Basic", {
|
130 |
|
|
override: "Ext.form.Basic",
|
131 |
|
|
waitTitle: "Please Wait..."
|
132 |
|
|
});
|
133 |
|
|
|
134 |
|
|
Ext.define("Ext.locale.en.form.field.Base", {
|
135 |
|
|
override: "Ext.form.field.Base",
|
136 |
|
|
invalidText: "The value in this field is invalid"
|
137 |
|
|
});
|
138 |
|
|
|
139 |
|
|
Ext.define("Ext.locale.en.form.field.Text", {
|
140 |
|
|
override: "Ext.form.field.Text",
|
141 |
|
|
minLengthText: "The minimum length for this field is {0}",
|
142 |
|
|
maxLengthText: "The maximum length for this field is {0}",
|
143 |
|
|
blankText: "This field is required",
|
144 |
|
|
regexText: "",
|
145 |
|
|
emptyText: null
|
146 |
|
|
});
|
147 |
|
|
|
148 |
|
|
Ext.define("Ext.locale.en.form.field.Number", {
|
149 |
|
|
override: "Ext.form.field.Number",
|
150 |
|
|
decimalSeparator: ".",
|
151 |
|
|
decimalPrecision: 2,
|
152 |
|
|
minText: "The minimum value for this field is {0}",
|
153 |
|
|
maxText: "The maximum value for this field is {0}",
|
154 |
|
|
nanText: "{0} is not a valid number"
|
155 |
|
|
});
|
156 |
|
|
|
157 |
|
|
Ext.define("Ext.locale.en.form.field.Date", {
|
158 |
|
|
override: "Ext.form.field.Date",
|
159 |
|
|
disabledDaysText: "Disabled",
|
160 |
|
|
disabledDatesText: "Disabled",
|
161 |
|
|
minText: "The date in this field must be after {0}",
|
162 |
|
|
maxText: "The date in this field must be before {0}",
|
163 |
|
|
invalidText: "{0} is not a valid date - it must be in the format {1}",
|
164 |
|
|
format: "m/d/y",
|
165 |
|
|
altFormats: "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
|
166 |
|
|
});
|
167 |
|
|
|
168 |
|
|
Ext.define("Ext.locale.en.form.field.ComboBox", {
|
169 |
|
|
override: "Ext.form.field.ComboBox",
|
170 |
|
|
valueNotFoundText: undefined
|
171 |
|
|
}, function() {
|
172 |
|
|
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
173 |
|
|
loadingText: "Loading..."
|
174 |
|
|
});
|
175 |
|
|
});
|
176 |
|
|
|
177 |
|
|
Ext.define("Ext.locale.en.form.field.VTypes", {
|
178 |
|
|
override: "Ext.form.field.VTypes",
|
179 |
|
|
emailText: 'This field should be an e-mail address in the format "user@example.com"',
|
180 |
|
|
urlText: 'This field should be a URL in the format "http:/' + '/www.example.com"',
|
181 |
|
|
alphaText: 'This field should only contain letters and _',
|
182 |
|
|
alphanumText: 'This field should only contain letters, numbers and _'
|
183 |
|
|
});
|
184 |
|
|
|
185 |
|
|
Ext.define("Ext.locale.en.form.field.HtmlEditor", {
|
186 |
|
|
override: "Ext.form.field.HtmlEditor",
|
187 |
|
|
createLinkText: 'Please enter the URL for the link:'
|
188 |
|
|
}, function() {
|
189 |
|
|
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
190 |
|
|
buttonTips: {
|
191 |
|
|
bold: {
|
192 |
|
|
title: 'Bold (Ctrl+B)',
|
193 |
|
|
text: 'Make the selected text bold.',
|
194 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
195 |
|
|
},
|
196 |
|
|
italic: {
|
197 |
|
|
title: 'Italic (Ctrl+I)',
|
198 |
|
|
text: 'Make the selected text italic.',
|
199 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
200 |
|
|
},
|
201 |
|
|
underline: {
|
202 |
|
|
title: 'Underline (Ctrl+U)',
|
203 |
|
|
text: 'Underline the selected text.',
|
204 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
205 |
|
|
},
|
206 |
|
|
increasefontsize: {
|
207 |
|
|
title: 'Grow Text',
|
208 |
|
|
text: 'Increase the font size.',
|
209 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
210 |
|
|
},
|
211 |
|
|
decreasefontsize: {
|
212 |
|
|
title: 'Shrink Text',
|
213 |
|
|
text: 'Decrease the font size.',
|
214 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
215 |
|
|
},
|
216 |
|
|
backcolor: {
|
217 |
|
|
title: 'Text Highlight Color',
|
218 |
|
|
text: 'Change the background color of the selected text.',
|
219 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
220 |
|
|
},
|
221 |
|
|
forecolor: {
|
222 |
|
|
title: 'Font Color',
|
223 |
|
|
text: 'Change the color of the selected text.',
|
224 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
225 |
|
|
},
|
226 |
|
|
justifyleft: {
|
227 |
|
|
title: 'Align Text Left',
|
228 |
|
|
text: 'Align text to the left.',
|
229 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
230 |
|
|
},
|
231 |
|
|
justifycenter: {
|
232 |
|
|
title: 'Center Text',
|
233 |
|
|
text: 'Center text in the editor.',
|
234 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
235 |
|
|
},
|
236 |
|
|
justifyright: {
|
237 |
|
|
title: 'Align Text Right',
|
238 |
|
|
text: 'Align text to the right.',
|
239 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
240 |
|
|
},
|
241 |
|
|
insertunorderedlist: {
|
242 |
|
|
title: 'Bullet List',
|
243 |
|
|
text: 'Start a bulleted list.',
|
244 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
245 |
|
|
},
|
246 |
|
|
insertorderedlist: {
|
247 |
|
|
title: 'Numbered List',
|
248 |
|
|
text: 'Start a numbered list.',
|
249 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
250 |
|
|
},
|
251 |
|
|
createlink: {
|
252 |
|
|
title: 'Hyperlink',
|
253 |
|
|
text: 'Make the selected text a hyperlink.',
|
254 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
255 |
|
|
},
|
256 |
|
|
sourceedit: {
|
257 |
|
|
title: 'Source Edit',
|
258 |
|
|
text: 'Switch to source editing mode.',
|
259 |
|
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
260 |
|
|
}
|
261 |
|
|
}
|
262 |
|
|
});
|
263 |
|
|
});
|
264 |
|
|
|
265 |
|
|
Ext.define("Ext.locale.en.grid.header.Container", {
|
266 |
|
|
override: "Ext.grid.header.Container",
|
267 |
|
|
sortAscText: "Sort Ascending",
|
268 |
|
|
sortDescText: "Sort Descending",
|
269 |
|
|
columnsText: "Columns"
|
270 |
|
|
});
|
271 |
|
|
|
272 |
|
|
Ext.define("Ext.locale.en.grid.GroupingFeature", {
|
273 |
|
|
override: "Ext.grid.GroupingFeature",
|
274 |
|
|
emptyGroupText: '(None)',
|
275 |
|
|
groupByText: 'Group By This Field',
|
276 |
|
|
showGroupsText: 'Show in Groups'
|
277 |
|
|
});
|
278 |
|
|
|
279 |
|
|
Ext.define("Ext.locale.en.grid.PropertyColumnModel", {
|
280 |
|
|
override: "Ext.grid.PropertyColumnModel",
|
281 |
|
|
nameText: "Name",
|
282 |
|
|
valueText: "Value",
|
283 |
|
|
dateFormat: "m/j/Y",
|
284 |
|
|
trueText: "true",
|
285 |
|
|
falseText: "false"
|
286 |
|
|
});
|
287 |
|
|
|
288 |
|
|
Ext.define("Ext.locale.en.grid.BooleanColumn", {
|
289 |
|
|
override: "Ext.grid.BooleanColumn",
|
290 |
|
|
trueText: "true",
|
291 |
|
|
falseText: "false",
|
292 |
|
|
undefinedText: ' '
|
293 |
|
|
});
|
294 |
|
|
|
295 |
|
|
Ext.define("Ext.locale.en.grid.NumberColumn", {
|
296 |
|
|
override: "Ext.grid.NumberColumn",
|
297 |
|
|
format: '0,000.00'
|
298 |
|
|
});
|
299 |
|
|
|
300 |
|
|
Ext.define("Ext.locale.en.grid.DateColumn", {
|
301 |
|
|
override: "Ext.grid.DateColumn",
|
302 |
|
|
format: 'm/d/Y'
|
303 |
|
|
});
|
304 |
|
|
|
305 |
|
|
Ext.define("Ext.locale.en.form.field.Time", {
|
306 |
|
|
override: "Ext.form.field.Time",
|
307 |
|
|
minText: "The time in this field must be equal to or after {0}",
|
308 |
|
|
maxText: "The time in this field must be equal to or before {0}",
|
309 |
|
|
invalidText: "{0} is not a valid time",
|
310 |
|
|
format: "g:i A",
|
311 |
|
|
altFormats: "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
|
312 |
|
|
});
|
313 |
|
|
|
314 |
|
|
Ext.define("Ext.locale.en.form.CheckboxGroup", {
|
315 |
|
|
override: "Ext.form.CheckboxGroup",
|
316 |
|
|
blankText: "You must select at least one item in this group"
|
317 |
|
|
});
|
318 |
|
|
|
319 |
|
|
Ext.define("Ext.locale.en.form.RadioGroup", {
|
320 |
|
|
override: "Ext.form.RadioGroup",
|
321 |
|
|
blankText: "You must select one item in this group"
|
322 |
|
|
});
|
323 |
|
|
|
324 |
|
|
Ext.define("Ext.locale.en.window.MessageBox", {
|
325 |
|
|
override: "Ext.window.MessageBox",
|
326 |
|
|
buttonText: {
|
327 |
|
|
ok: "OK",
|
328 |
|
|
cancel: "Cancel",
|
329 |
|
|
yes: "Yes",
|
330 |
|
|
no: "No"
|
331 |
|
|
}
|
332 |
|
|
});
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
Ext.define("Ext.locale.en.Component", {
|
336 |
|
|
override: "Ext.Component"
|
337 |
|
|
});
|