3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
4 <title>The source code</title>
\r
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
8 <body onload="prettyPrint();">
\r
9 <pre class="prettyprint lang-js"><div id="prop-Ext.state.Provider-indicatorText"></div>/**
10 * List compiled by mystix on the extjs.com forums.
13 * English Translations
14 * updated to 2.2 by Condor (8 Aug 2008)
17 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
20 Ext.DataView.prototype.emptyText = "";
23 if(Ext.grid.GridPanel){
24 Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
28 Ext.LoadMask.prototype.msg = "Loading...";
46 Date.getShortMonthName = function(month) {
47 return Date.monthNames[month].substring(0, 3);
65 Date.getMonthNumber = function(name) {
66 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
79 Date.getShortDayName = function(day) {
80 return Date.dayNames[day].substring(0, 3);
83 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
86 Ext.MessageBox.buttonText = {
95 Ext.util.Format.date = function(v, format){
97 if(!(v instanceof Date)) v = new Date(Date.parse(v));
98 return v.dateFormat(format || "m/d/Y");
103 Ext.apply(Ext.DatePicker.prototype, {
105 minText : "This date is before the minimum date",
106 maxText : "This date is after the maximum date",
107 disabledDaysText : "",
108 disabledDatesText : "",
109 monthNames : Date.monthNames,
110 dayNames : Date.dayNames,
111 nextText : 'Next Month (Control+Right)',
112 prevText : 'Previous Month (Control+Left)',
113 monthYearText : 'Choose a month (Control+Up/Down to move years)',
114 todayTip : "{0} (Spacebar)",
116 okText : " OK ",
117 cancelText : "Cancel",
122 if(Ext.PagingToolbar){
123 Ext.apply(Ext.PagingToolbar.prototype, {
124 beforePageText : "Page",
125 afterPageText : "of {0}",
126 firstText : "First Page",
127 prevText : "Previous Page",
128 nextText : "Next Page",
129 lastText : "Last Page",
130 refreshText : "Refresh",
131 displayMsg : "Displaying {0} - {1} of {2}",
132 emptyMsg : 'No data to display'
136 if(Ext.form.BasicForm){
137 Ext.form.BasicForm.prototype.waitTitle = "Please Wait..."
141 Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
144 if(Ext.form.TextField){
145 Ext.apply(Ext.form.TextField.prototype, {
146 minLengthText : "The minimum length for this field is {0}",
147 maxLengthText : "The maximum length for this field is {0}",
148 blankText : "This field is required",
154 if(Ext.form.NumberField){
155 Ext.apply(Ext.form.NumberField.prototype, {
156 decimalSeparator : ".",
157 decimalPrecision : 2,
158 minText : "The minimum value for this field is {0}",
159 maxText : "The maximum value for this field is {0}",
160 nanText : "{0} is not a valid number"
164 if(Ext.form.DateField){
165 Ext.apply(Ext.form.DateField.prototype, {
166 disabledDaysText : "Disabled",
167 disabledDatesText : "Disabled",
168 minText : "The date in this field must be after {0}",
169 maxText : "The date in this field must be before {0}",
170 invalidText : "{0} is not a valid date - it must be in the format {1}",
172 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
176 if(Ext.form.ComboBox){
177 Ext.apply(Ext.form.ComboBox.prototype, {
178 loadingText : "Loading...",
179 valueNotFoundText : undefined
184 Ext.apply(Ext.form.VTypes, {
185 emailText : 'This field should be an e-mail address in the format "user@example.com"',
186 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
187 alphaText : 'This field should only contain letters and _',
188 alphanumText : 'This field should only contain letters, numbers and _'
192 if(Ext.form.HtmlEditor){
193 Ext.apply(Ext.form.HtmlEditor.prototype, {
194 createLinkText : 'Please enter the URL for the link:',
197 title: 'Bold (Ctrl+B)',
198 text: 'Make the selected text bold.',
199 cls: 'x-html-editor-tip'
202 title: 'Italic (Ctrl+I)',
203 text: 'Make the selected text italic.',
204 cls: 'x-html-editor-tip'
207 title: 'Underline (Ctrl+U)',
208 text: 'Underline the selected text.',
209 cls: 'x-html-editor-tip'
213 text: 'Increase the font size.',
214 cls: 'x-html-editor-tip'
217 title: 'Shrink Text',
218 text: 'Decrease the font size.',
219 cls: 'x-html-editor-tip'
222 title: 'Text Highlight Color',
223 text: 'Change the background color of the selected text.',
224 cls: 'x-html-editor-tip'
228 text: 'Change the color of the selected text.',
229 cls: 'x-html-editor-tip'
232 title: 'Align Text Left',
233 text: 'Align text to the left.',
234 cls: 'x-html-editor-tip'
237 title: 'Center Text',
238 text: 'Center text in the editor.',
239 cls: 'x-html-editor-tip'
242 title: 'Align Text Right',
243 text: 'Align text to the right.',
244 cls: 'x-html-editor-tip'
246 insertunorderedlist : {
247 title: 'Bullet List',
248 text: 'Start a bulleted list.',
249 cls: 'x-html-editor-tip'
251 insertorderedlist : {
252 title: 'Numbered List',
253 text: 'Start a numbered list.',
254 cls: 'x-html-editor-tip'
258 text: 'Make the selected text a hyperlink.',
259 cls: 'x-html-editor-tip'
262 title: 'Source Edit',
263 text: 'Switch to source editing mode.',
264 cls: 'x-html-editor-tip'
270 if(Ext.grid.GridView){
271 Ext.apply(Ext.grid.GridView.prototype, {
272 sortAscText : "Sort Ascending",
273 sortDescText : "Sort Descending",
274 columnsText : "Columns"
278 if(Ext.grid.GroupingView){
279 Ext.apply(Ext.grid.GroupingView.prototype, {
280 emptyGroupText : '(None)',
281 groupByText : 'Group By This Field',
282 showGroupsText : 'Show in Groups'
286 if(Ext.grid.PropertyColumnModel){
287 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
290 dateFormat : "m/j/Y",
296 if(Ext.grid.BooleanColumn){
297 Ext.apply(Ext.grid.BooleanColumn.prototype, {
300 undefinedText: ' '
304 if(Ext.grid.NumberColumn){
305 Ext.apply(Ext.grid.NumberColumn.prototype, {
310 if(Ext.grid.DateColumn){
311 Ext.apply(Ext.grid.DateColumn.prototype, {
316 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
317 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
318 splitTip : "Drag to resize.",
319 collapsibleSplitTip : "Drag to resize. Double click to hide."
323 if(Ext.form.TimeField){
324 Ext.apply(Ext.form.TimeField.prototype, {
325 minText : "The time in this field must be equal to or after {0}",
326 maxText : "The time in this field must be equal to or before {0}",
327 invalidText : "{0} is not a valid time",
329 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"
333 if(Ext.form.CheckboxGroup){
334 Ext.apply(Ext.form.CheckboxGroup.prototype, {
335 blankText : "You must select at least one item in this group"
339 if(Ext.form.RadioGroup){
340 Ext.apply(Ext.form.RadioGroup.prototype, {
341 blankText : "You must select one item in this group"