3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>The source code</title>
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
8 <body onload="prettyPrint();">
9 <pre class="prettyprint lang-js">/*!
10 * Ext JS Library 3.2.1
11 * Copyright(c) 2006-2010 Ext JS, Inc.
13 * http://www.extjs.com/license
15 <div id="prop-Ext.state.Provider-indicatorText"></div>/**
16 * List compiled by mystix on the extjs.com forums.
19 * English (UK) Translations
20 * updated to 2.2 by Condor (8 Aug 2008)
23 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
26 Ext.DataView.prototype.emptyText = "";
29 if(Ext.grid.GridPanel){
30 Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
34 Ext.LoadMask.prototype.msg = "Loading...";
52 Date.getShortMonthName = function(month) {
53 return Date.monthNames[month].substring(0, 3);
71 Date.getMonthNumber = function(name) {
72 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
85 Date.getShortDayName = function(day) {
86 return Date.dayNames[day].substring(0, 3);
89 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
92 Ext.MessageBox.buttonText = {
101 Ext.util.Format.date = function(v, format){
103 if(!(v instanceof Date)) v = new Date(Date.parse(v));
104 return v.dateFormat(format || "d/m/Y");
109 Ext.apply(Ext.DatePicker.prototype, {
111 minText : "This date is before the minimum date",
112 maxText : "This date is after the maximum date",
113 disabledDaysText : "",
114 disabledDatesText : "",
115 monthNames : Date.monthNames,
116 dayNames : Date.dayNames,
117 nextText : 'Next Month (Control+Right)',
118 prevText : 'Previous Month (Control+Left)',
119 monthYearText : 'Choose a month (Control+Up/Down to move years)',
120 todayTip : "{0} (Spacebar)",
122 okText : " OK ",
123 cancelText : "Cancel",
128 if(Ext.PagingToolbar){
129 Ext.apply(Ext.PagingToolbar.prototype, {
130 beforePageText : "Page",
131 afterPageText : "of {0}",
132 firstText : "First Page",
133 prevText : "Previous Page",
134 nextText : "Next Page",
135 lastText : "Last Page",
136 refreshText : "Refresh",
137 displayMsg : "Displaying {0} - {1} of {2}",
138 emptyMsg : 'No data to display'
142 if(Ext.form.BasicForm){
143 Ext.form.BasicForm.prototype.waitTitle = "Please Wait..."
147 Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
150 if(Ext.form.TextField){
151 Ext.apply(Ext.form.TextField.prototype, {
152 minLengthText : "The minimum length for this field is {0}",
153 maxLengthText : "The maximum length for this field is {0}",
154 blankText : "This field is required",
160 if(Ext.form.NumberField){
161 Ext.apply(Ext.form.NumberField.prototype, {
162 decimalSeparator : ".",
163 decimalPrecision : 2,
164 minText : "The minimum value for this field is {0}",
165 maxText : "The maximum value for this field is {0}",
166 nanText : "{0} is not a valid number"
170 if(Ext.form.DateField){
171 Ext.apply(Ext.form.DateField.prototype, {
172 disabledDaysText : "Disabled",
173 disabledDatesText : "Disabled",
174 minText : "The date in this field must be after {0}",
175 maxText : "The date in this field must be before {0}",
176 invalidText : "{0} is not a valid date - it must be in the format {1}",
178 altFormats : "d/m/Y|d/m/y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
182 if(Ext.form.ComboBox){
183 Ext.apply(Ext.form.ComboBox.prototype, {
184 loadingText : "Loading...",
185 valueNotFoundText : undefined
190 Ext.apply(Ext.form.VTypes, {
191 emailText : 'This field should be an e-mail address in the format "user@example.com"',
192 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
193 alphaText : 'This field should only contain letters and _',
194 alphanumText : 'This field should only contain letters, numbers and _'
198 if(Ext.form.HtmlEditor){
199 Ext.apply(Ext.form.HtmlEditor.prototype, {
200 createLinkText : 'Please enter the URL for the link:',
203 title: 'Bold (Ctrl+B)',
204 text: 'Make the selected text bold.',
205 cls: 'x-html-editor-tip'
208 title: 'Italic (Ctrl+I)',
209 text: 'Make the selected text italic.',
210 cls: 'x-html-editor-tip'
213 title: 'Underline (Ctrl+U)',
214 text: 'Underline the selected text.',
215 cls: 'x-html-editor-tip'
219 text: 'Increase the font size.',
220 cls: 'x-html-editor-tip'
223 title: 'Shrink Text',
224 text: 'Decrease the font size.',
225 cls: 'x-html-editor-tip'
228 title: 'Text Highlight Color',
229 text: 'Change the background color of the selected text.',
230 cls: 'x-html-editor-tip'
234 text: 'Change the color of the selected text.',
235 cls: 'x-html-editor-tip'
238 title: 'Align Text Left',
239 text: 'Align text to the left.',
240 cls: 'x-html-editor-tip'
243 title: 'Center Text',
244 text: 'Center text in the editor.',
245 cls: 'x-html-editor-tip'
248 title: 'Align Text Right',
249 text: 'Align text to the right.',
250 cls: 'x-html-editor-tip'
252 insertunorderedlist : {
253 title: 'Bullet List',
254 text: 'Start a bulleted list.',
255 cls: 'x-html-editor-tip'
257 insertorderedlist : {
258 title: 'Numbered List',
259 text: 'Start a numbered list.',
260 cls: 'x-html-editor-tip'
264 text: 'Make the selected text a hyperlink.',
265 cls: 'x-html-editor-tip'
268 title: 'Source Edit',
269 text: 'Switch to source editing mode.',
270 cls: 'x-html-editor-tip'
276 if(Ext.grid.GridView){
277 Ext.apply(Ext.grid.GridView.prototype, {
278 sortAscText : "Sort Ascending",
279 sortDescText : "Sort Descending",
280 columnsText : "Columns"
284 if(Ext.grid.GroupingView){
285 Ext.apply(Ext.grid.GroupingView.prototype, {
286 emptyGroupText : '(None)',
287 groupByText : 'Group By This Field',
288 showGroupsText : 'Show in Groups'
292 if(Ext.grid.PropertyColumnModel){
293 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
296 dateFormat : "j/m/Y",
302 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
303 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
304 splitTip : "Drag to resize.",
305 collapsibleSplitTip : "Drag to resize. Double click to hide."
309 if(Ext.form.TimeField){
310 Ext.apply(Ext.form.TimeField.prototype, {
311 minText : "The time in this field must be equal to or after {0}",
312 maxText : "The time in this field must be equal to or before {0}",
313 invalidText : "{0} is not a valid time",
315 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"
319 if(Ext.form.CheckboxGroup){
320 Ext.apply(Ext.form.CheckboxGroup.prototype, {
321 blankText : "You must select at least one item in this group"
325 if(Ext.form.RadioGroup){
326 Ext.apply(Ext.form.RadioGroup.prototype, {
327 blankText : "You must select one item in this group"