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 Translations
20 * updated to 2.2 by Condor (8 Aug 2008)
23 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
26 Ext.data.Types.stripRe = /[\$,%]/g;
30 Ext.DataView.prototype.emptyText = "";
33 if(Ext.grid.GridPanel){
34 Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
38 Ext.LoadMask.prototype.msg = "Loading...";
56 Date.getShortMonthName = function(month) {
57 return Date.monthNames[month].substring(0, 3);
75 Date.getMonthNumber = function(name) {
76 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
89 Date.getShortDayName = function(day) {
90 return Date.dayNames[day].substring(0, 3);
93 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
96 Ext.MessageBox.buttonText = {
105 Ext.util.Format.date = function(v, format){
107 if(!(v instanceof Date)) v = new Date(Date.parse(v));
108 return v.dateFormat(format || "m/d/Y");
113 Ext.apply(Ext.DatePicker.prototype, {
115 minText : "This date is before the minimum date",
116 maxText : "This date is after the maximum date",
117 disabledDaysText : "",
118 disabledDatesText : "",
119 monthNames : Date.monthNames,
120 dayNames : Date.dayNames,
121 nextText : 'Next Month (Control+Right)',
122 prevText : 'Previous Month (Control+Left)',
123 monthYearText : 'Choose a month (Control+Up/Down to move years)',
124 todayTip : "{0} (Spacebar)",
126 okText : " OK ",
127 cancelText : "Cancel",
132 if(Ext.PagingToolbar){
133 Ext.apply(Ext.PagingToolbar.prototype, {
134 beforePageText : "Page",
135 afterPageText : "of {0}",
136 firstText : "First Page",
137 prevText : "Previous Page",
138 nextText : "Next Page",
139 lastText : "Last Page",
140 refreshText : "Refresh",
141 displayMsg : "Displaying {0} - {1} of {2}",
142 emptyMsg : 'No data to display'
146 if(Ext.form.BasicForm){
147 Ext.form.BasicForm.prototype.waitTitle = "Please Wait..."
151 Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
154 if(Ext.form.TextField){
155 Ext.apply(Ext.form.TextField.prototype, {
156 minLengthText : "The minimum length for this field is {0}",
157 maxLengthText : "The maximum length for this field is {0}",
158 blankText : "This field is required",
164 if(Ext.form.NumberField){
165 Ext.apply(Ext.form.NumberField.prototype, {
166 decimalSeparator : ".",
167 decimalPrecision : 2,
168 minText : "The minimum value for this field is {0}",
169 maxText : "The maximum value for this field is {0}",
170 nanText : "{0} is not a valid number"
174 if(Ext.form.DateField){
175 Ext.apply(Ext.form.DateField.prototype, {
176 disabledDaysText : "Disabled",
177 disabledDatesText : "Disabled",
178 minText : "The date in this field must be after {0}",
179 maxText : "The date in this field must be before {0}",
180 invalidText : "{0} is not a valid date - it must be in the format {1}",
182 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
186 if(Ext.form.ComboBox){
187 Ext.apply(Ext.form.ComboBox.prototype, {
188 loadingText : "Loading...",
189 valueNotFoundText : undefined
194 Ext.apply(Ext.form.VTypes, {
195 emailText : 'This field should be an e-mail address in the format "user@example.com"',
196 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
197 alphaText : 'This field should only contain letters and _',
198 alphanumText : 'This field should only contain letters, numbers and _'
202 if(Ext.form.HtmlEditor){
203 Ext.apply(Ext.form.HtmlEditor.prototype, {
204 createLinkText : 'Please enter the URL for the link:',
207 title: 'Bold (Ctrl+B)',
208 text: 'Make the selected text bold.',
209 cls: 'x-html-editor-tip'
212 title: 'Italic (Ctrl+I)',
213 text: 'Make the selected text italic.',
214 cls: 'x-html-editor-tip'
217 title: 'Underline (Ctrl+U)',
218 text: 'Underline the selected text.',
219 cls: 'x-html-editor-tip'
223 text: 'Increase the font size.',
224 cls: 'x-html-editor-tip'
227 title: 'Shrink Text',
228 text: 'Decrease the font size.',
229 cls: 'x-html-editor-tip'
232 title: 'Text Highlight Color',
233 text: 'Change the background color of the selected text.',
234 cls: 'x-html-editor-tip'
238 text: 'Change the color of the selected text.',
239 cls: 'x-html-editor-tip'
242 title: 'Align Text Left',
243 text: 'Align text to the left.',
244 cls: 'x-html-editor-tip'
247 title: 'Center Text',
248 text: 'Center text in the editor.',
249 cls: 'x-html-editor-tip'
252 title: 'Align Text Right',
253 text: 'Align text to the right.',
254 cls: 'x-html-editor-tip'
256 insertunorderedlist : {
257 title: 'Bullet List',
258 text: 'Start a bulleted list.',
259 cls: 'x-html-editor-tip'
261 insertorderedlist : {
262 title: 'Numbered List',
263 text: 'Start a numbered list.',
264 cls: 'x-html-editor-tip'
268 text: 'Make the selected text a hyperlink.',
269 cls: 'x-html-editor-tip'
272 title: 'Source Edit',
273 text: 'Switch to source editing mode.',
274 cls: 'x-html-editor-tip'
280 if(Ext.grid.GridView){
281 Ext.apply(Ext.grid.GridView.prototype, {
282 sortAscText : "Sort Ascending",
283 sortDescText : "Sort Descending",
284 columnsText : "Columns"
288 if(Ext.grid.GroupingView){
289 Ext.apply(Ext.grid.GroupingView.prototype, {
290 emptyGroupText : '(None)',
291 groupByText : 'Group By This Field',
292 showGroupsText : 'Show in Groups'
296 if(Ext.grid.PropertyColumnModel){
297 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
300 dateFormat : "m/j/Y",
306 if(Ext.grid.BooleanColumn){
307 Ext.apply(Ext.grid.BooleanColumn.prototype, {
310 undefinedText: ' '
314 if(Ext.grid.NumberColumn){
315 Ext.apply(Ext.grid.NumberColumn.prototype, {
320 if(Ext.grid.DateColumn){
321 Ext.apply(Ext.grid.DateColumn.prototype, {
326 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
327 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
328 splitTip : "Drag to resize.",
329 collapsibleSplitTip : "Drag to resize. Double click to hide."
333 if(Ext.form.TimeField){
334 Ext.apply(Ext.form.TimeField.prototype, {
335 minText : "The time in this field must be equal to or after {0}",
336 maxText : "The time in this field must be equal to or before {0}",
337 invalidText : "{0} is not a valid time",
339 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"
343 if(Ext.form.CheckboxGroup){
344 Ext.apply(Ext.form.CheckboxGroup.prototype, {
345 blankText : "You must select at least one item in this group"
349 if(Ext.form.RadioGroup){
350 Ext.apply(Ext.form.RadioGroup.prototype, {
351 blankText : "You must select one item in this group"