~cdparra/gelee/trunk

« back to all changes in this revision

Viewing changes to webui/ecosystem/workspace/extjs/docs/source/ext-lang-en.html

  • Committer: parra
  • Date: 2010-03-15 15:56:56 UTC
  • Revision ID: svn-v4:ac5bba68-f036-4e09-846e-8f32731cc928:trunk/gelee:1448
merged gelee at svn

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
  <title>The source code</title>
 
4
    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
 
5
    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
 
6
</head>
 
7
<body  onload="prettyPrint();">
 
8
    <pre class="prettyprint lang-js"><div id="prop-Ext.data.XmlStore-indicatorText"></div>/**
 
9
 * List compiled by mystix on the extjs.com forums.
 
10
 * Thank you Mystix!
 
11
 *
 
12
 * English Translations
 
13
 * updated to 2.2 by Condor (8 Aug 2008)
 
14
 */
 
15
 
 
16
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
 
17
 
 
18
if(Ext.DataView){
 
19
  Ext.DataView.prototype.emptyText = "";
 
20
}
 
21
 
 
22
if(Ext.grid.GridPanel){
 
23
  Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
 
24
}
 
25
 
 
26
if(Ext.LoadMask){
 
27
  Ext.LoadMask.prototype.msg = "Loading...";
 
28
}
 
29
 
 
30
Date.monthNames = [
 
31
  "January",
 
32
  "February",
 
33
  "March",
 
34
  "April",
 
35
  "May",
 
36
  "June",
 
37
  "July",
 
38
  "August",
 
39
  "September",
 
40
  "October",
 
41
  "November",
 
42
  "December"
 
43
];
 
44
 
 
45
Date.getShortMonthName = function(month) {
 
46
  return Date.monthNames[month].substring(0, 3);
 
47
};
 
48
 
 
49
Date.monthNumbers = {
 
50
  Jan : 0,
 
51
  Feb : 1,
 
52
  Mar : 2,
 
53
  Apr : 3,
 
54
  May : 4,
 
55
  Jun : 5,
 
56
  Jul : 6,
 
57
  Aug : 7,
 
58
  Sep : 8,
 
59
  Oct : 9,
 
60
  Nov : 10,
 
61
  Dec : 11
 
62
};
 
63
 
 
64
Date.getMonthNumber = function(name) {
 
65
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
 
66
};
 
67
 
 
68
Date.dayNames = [
 
69
  "Sunday",
 
70
  "Monday",
 
71
  "Tuesday",
 
72
  "Wednesday",
 
73
  "Thursday",
 
74
  "Friday",
 
75
  "Saturday"
 
76
];
 
77
 
 
78
Date.getShortDayName = function(day) {
 
79
  return Date.dayNames[day].substring(0, 3);
 
80
};
 
81
 
 
82
Date.parseCodes.S.s = "(?:st|nd|rd|th)";
 
83
 
 
84
if(Ext.MessageBox){
 
85
  Ext.MessageBox.buttonText = {
 
86
    ok     : "OK",
 
87
    cancel : "Cancel",
 
88
    yes    : "Yes",
 
89
    no     : "No"
 
90
  };
 
91
}
 
92
 
 
93
if(Ext.util.Format){
 
94
  Ext.util.Format.date = function(v, format){
 
95
    if(!v) return "";
 
96
    if(!(v instanceof Date)) v = new Date(Date.parse(v));
 
97
    return v.dateFormat(format || "m/d/Y");
 
98
  };
 
99
}
 
100
 
 
101
if(Ext.DatePicker){
 
102
  Ext.apply(Ext.DatePicker.prototype, {
 
103
    todayText         : "Today",
 
104
    minText           : "This date is before the minimum date",
 
105
    maxText           : "This date is after the maximum date",
 
106
    disabledDaysText  : "",
 
107
    disabledDatesText : "",
 
108
    monthNames        : Date.monthNames,
 
109
    dayNames          : Date.dayNames,
 
110
    nextText          : 'Next Month (Control+Right)',
 
111
    prevText          : 'Previous Month (Control+Left)',
 
112
    monthYearText     : 'Choose a month (Control+Up/Down to move years)',
 
113
    todayTip          : "{0} (Spacebar)",
 
114
    format            : "m/d/y",
 
115
    okText            : "&#160;OK&#160;",
 
116
    cancelText        : "Cancel",
 
117
    startDay          : 0
 
118
  });
 
119
}
 
120
 
 
121
if(Ext.PagingToolbar){
 
122
  Ext.apply(Ext.PagingToolbar.prototype, {
 
123
    beforePageText : "Page",
 
124
    afterPageText  : "of {0}",
 
125
    firstText      : "First Page",
 
126
    prevText       : "Previous Page",
 
127
    nextText       : "Next Page",
 
128
    lastText       : "Last Page",
 
129
    refreshText    : "Refresh",
 
130
    displayMsg     : "Displaying {0} - {1} of {2}",
 
131
    emptyMsg       : 'No data to display'
 
132
  });
 
133
}
 
134
 
 
135
if(Ext.form.Field){
 
136
  Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
 
137
}
 
138
 
 
139
if(Ext.form.TextField){
 
140
  Ext.apply(Ext.form.TextField.prototype, {
 
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
 
 
149
if(Ext.form.NumberField){
 
150
  Ext.apply(Ext.form.NumberField.prototype, {
 
151
    decimalSeparator : ".",
 
152
    decimalPrecision : 2,
 
153
    minText : "The minimum value for this field is {0}",
 
154
    maxText : "The maximum value for this field is {0}",
 
155
    nanText : "{0} is not a valid number"
 
156
  });
 
157
}
 
158
 
 
159
if(Ext.form.DateField){
 
160
  Ext.apply(Ext.form.DateField.prototype, {
 
161
    disabledDaysText  : "Disabled",
 
162
    disabledDatesText : "Disabled",
 
163
    minText           : "The date in this field must be after {0}",
 
164
    maxText           : "The date in this field must be before {0}",
 
165
    invalidText       : "{0} is not a valid date - it must be in the format {1}",
 
166
    format            : "m/d/y",
 
167
    altFormats        : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
 
168
  });
 
169
}
 
170
 
 
171
if(Ext.form.ComboBox){
 
172
  Ext.apply(Ext.form.ComboBox.prototype, {
 
173
    loadingText       : "Loading...",
 
174
    valueNotFoundText : undefined
 
175
  });
 
176
}
 
177
 
 
178
if(Ext.form.VTypes){
 
179
  Ext.apply(Ext.form.VTypes, {
 
180
    emailText    : 'This field should be an e-mail address in the format "user@example.com"',
 
181
    urlText      : 'This field should be a URL in the format "http:/'+'/www.example.com"',
 
182
    alphaText    : 'This field should only contain letters and _',
 
183
    alphanumText : 'This field should only contain letters, numbers and _'
 
184
  });
 
185
}
 
186
 
 
187
if(Ext.form.HtmlEditor){
 
188
  Ext.apply(Ext.form.HtmlEditor.prototype, {
 
189
    createLinkText : 'Please enter the URL for the link:',
 
190
    buttonTips : {
 
191
      bold : {
 
192
        title: 'Bold (Ctrl+B)',
 
193
        text: 'Make the selected text bold.',
 
194
        cls: 'x-html-editor-tip'
 
195
      },
 
196
      italic : {
 
197
        title: 'Italic (Ctrl+I)',
 
198
        text: 'Make the selected text italic.',
 
199
        cls: 'x-html-editor-tip'
 
200
      },
 
201
      underline : {
 
202
        title: 'Underline (Ctrl+U)',
 
203
        text: 'Underline the selected text.',
 
204
        cls: 'x-html-editor-tip'
 
205
      },
 
206
      increasefontsize : {
 
207
        title: 'Grow Text',
 
208
        text: 'Increase the font size.',
 
209
        cls: 'x-html-editor-tip'
 
210
      },
 
211
      decreasefontsize : {
 
212
        title: 'Shrink Text',
 
213
        text: 'Decrease the font size.',
 
214
        cls: 'x-html-editor-tip'
 
215
      },
 
216
      backcolor : {
 
217
        title: 'Text Highlight Color',
 
218
        text: 'Change the background color of the selected text.',
 
219
        cls: 'x-html-editor-tip'
 
220
      },
 
221
      forecolor : {
 
222
        title: 'Font Color',
 
223
        text: 'Change the color of the selected text.',
 
224
        cls: 'x-html-editor-tip'
 
225
      },
 
226
      justifyleft : {
 
227
        title: 'Align Text Left',
 
228
        text: 'Align text to the left.',
 
229
        cls: 'x-html-editor-tip'
 
230
      },
 
231
      justifycenter : {
 
232
        title: 'Center Text',
 
233
        text: 'Center text in the editor.',
 
234
        cls: 'x-html-editor-tip'
 
235
      },
 
236
      justifyright : {
 
237
        title: 'Align Text Right',
 
238
        text: 'Align text to the right.',
 
239
        cls: 'x-html-editor-tip'
 
240
      },
 
241
      insertunorderedlist : {
 
242
        title: 'Bullet List',
 
243
        text: 'Start a bulleted list.',
 
244
        cls: 'x-html-editor-tip'
 
245
      },
 
246
      insertorderedlist : {
 
247
        title: 'Numbered List',
 
248
        text: 'Start a numbered list.',
 
249
        cls: 'x-html-editor-tip'
 
250
      },
 
251
      createlink : {
 
252
        title: 'Hyperlink',
 
253
        text: 'Make the selected text a hyperlink.',
 
254
        cls: 'x-html-editor-tip'
 
255
      },
 
256
      sourceedit : {
 
257
        title: 'Source Edit',
 
258
        text: 'Switch to source editing mode.',
 
259
        cls: 'x-html-editor-tip'
 
260
      }
 
261
    }
 
262
  });
 
263
}
 
264
 
 
265
if(Ext.grid.GridView){
 
266
  Ext.apply(Ext.grid.GridView.prototype, {
 
267
    sortAscText  : "Sort Ascending",
 
268
    sortDescText : "Sort Descending",
 
269
    columnsText  : "Columns"
 
270
  });
 
271
}
 
272
 
 
273
if(Ext.grid.GroupingView){
 
274
  Ext.apply(Ext.grid.GroupingView.prototype, {
 
275
    emptyGroupText : '(None)',
 
276
    groupByText    : 'Group By This Field',
 
277
    showGroupsText : 'Show in Groups'
 
278
  });
 
279
}
 
280
 
 
281
if(Ext.grid.PropertyColumnModel){
 
282
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
 
283
    nameText   : "Name",
 
284
    valueText  : "Value",
 
285
    dateFormat : "m/j/Y"
 
286
  });
 
287
}
 
288
 
 
289
if(Ext.grid.BooleanColumn){
 
290
   Ext.apply(Ext.grid.BooleanColumn.prototype, {
 
291
      trueText  : "true",
 
292
      falseText : "false",
 
293
      undefinedText: '&#160;'
 
294
   });
 
295
}
 
296
 
 
297
if(Ext.grid.NumberColumn){
 
298
    Ext.apply(Ext.grid.NumberColumn.prototype, {
 
299
        format : '0,000.00'
 
300
    });
 
301
}
 
302
 
 
303
if(Ext.grid.DateColumn){
 
304
    Ext.apply(Ext.grid.DateColumn.prototype, {
 
305
        format : 'm/d/Y'
 
306
    });
 
307
}
 
308
 
 
309
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
 
310
  Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
 
311
    splitTip            : "Drag to resize.",
 
312
    collapsibleSplitTip : "Drag to resize. Double click to hide."
 
313
  });
 
314
}
 
315
 
 
316
if(Ext.form.TimeField){
 
317
  Ext.apply(Ext.form.TimeField.prototype, {
 
318
    minText : "The time in this field must be equal to or after {0}",
 
319
    maxText : "The time in this field must be equal to or before {0}",
 
320
    invalidText : "{0} is not a valid time",
 
321
    format : "g:i A",
 
322
    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"
 
323
  });
 
324
}
 
325
 
 
326
if(Ext.form.CheckboxGroup){
 
327
  Ext.apply(Ext.form.CheckboxGroup.prototype, {
 
328
    blankText : "You must select at least one item in this group"
 
329
  });
 
330
}
 
331
 
 
332
if(Ext.form.RadioGroup){
 
333
  Ext.apply(Ext.form.RadioGroup.prototype, {
 
334
    blankText : "You must select one item in this group"
 
335
  });
 
336
}
 
337
</pre>    
 
338
</body>
 
339
</html>
 
 
b'\\ No newline at end of file'