3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js"><div id="prop-Ext.data.XmlStore-indicatorText"></div>/**
9 * List compiled by mystix on the extjs.com forums.
12 * English (UK) Translations
13 * updated to 2.2 by Condor (8 Aug 2008)
16 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
19 Ext.DataView.prototype.emptyText = "";
22 if(Ext.grid.GridPanel){
23 Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
27 Ext.LoadMask.prototype.msg = "Loading...";
45 Date.getShortMonthName = function(month) {
46 return Date.monthNames[month].substring(0, 3);
64 Date.getMonthNumber = function(name) {
65 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
78 Date.getShortDayName = function(day) {
79 return Date.dayNames[day].substring(0, 3);
82 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
85 Ext.MessageBox.buttonText = {
94 Ext.util.Format.date = function(v, format){
96 if(!(v instanceof Date)) v = new Date(Date.parse(v));
97 return v.dateFormat(format || "d/m/Y");
102 Ext.apply(Ext.DatePicker.prototype, {
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)",
115 okText : " OK ",
116 cancelText : "Cancel",
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'
136 Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
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",
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"
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}",
167 altFormats : "d/m/Y|d/m/y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
171 if(Ext.form.ComboBox){
172 Ext.apply(Ext.form.ComboBox.prototype, {
173 loadingText : "Loading...",
174 valueNotFoundText : undefined
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 _'
187 if(Ext.form.HtmlEditor){
188 Ext.apply(Ext.form.HtmlEditor.prototype, {
189 createLinkText : 'Please enter the URL for the link:',
192 title: 'Bold (Ctrl+B)',
193 text: 'Make the selected text bold.',
194 cls: 'x-html-editor-tip'
197 title: 'Italic (Ctrl+I)',
198 text: 'Make the selected text italic.',
199 cls: 'x-html-editor-tip'
202 title: 'Underline (Ctrl+U)',
203 text: 'Underline the selected text.',
204 cls: 'x-html-editor-tip'
208 text: 'Increase the font size.',
209 cls: 'x-html-editor-tip'
212 title: 'Shrink Text',
213 text: 'Decrease the font size.',
214 cls: 'x-html-editor-tip'
217 title: 'Text Highlight Color',
218 text: 'Change the background color of the selected text.',
219 cls: 'x-html-editor-tip'
223 text: 'Change the color of the selected text.',
224 cls: 'x-html-editor-tip'
227 title: 'Align Text Left',
228 text: 'Align text to the left.',
229 cls: 'x-html-editor-tip'
232 title: 'Center Text',
233 text: 'Center text in the editor.',
234 cls: 'x-html-editor-tip'
237 title: 'Align Text Right',
238 text: 'Align text to the right.',
239 cls: 'x-html-editor-tip'
241 insertunorderedlist : {
242 title: 'Bullet List',
243 text: 'Start a bulleted list.',
244 cls: 'x-html-editor-tip'
246 insertorderedlist : {
247 title: 'Numbered List',
248 text: 'Start a numbered list.',
249 cls: 'x-html-editor-tip'
253 text: 'Make the selected text a hyperlink.',
254 cls: 'x-html-editor-tip'
257 title: 'Source Edit',
258 text: 'Switch to source editing mode.',
259 cls: 'x-html-editor-tip'
265 if(Ext.grid.GridView){
266 Ext.apply(Ext.grid.GridView.prototype, {
267 sortAscText : "Sort Ascending",
268 sortDescText : "Sort Descending",
269 columnsText : "Columns"
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'
281 if(Ext.grid.PropertyColumnModel){
282 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
289 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
290 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
291 splitTip : "Drag to resize.",
292 collapsibleSplitTip : "Drag to resize. Double click to hide."
296 if(Ext.form.TimeField){
297 Ext.apply(Ext.form.TimeField.prototype, {
298 minText : "The time in this field must be equal to or after {0}",
299 maxText : "The time in this field must be equal to or before {0}",
300 invalidText : "{0} is not a valid time",
302 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"
306 if(Ext.form.CheckboxGroup){
307 Ext.apply(Ext.form.CheckboxGroup.prototype, {
308 blankText : "You must select at least one item in this group"
312 if(Ext.form.RadioGroup){
313 Ext.apply(Ext.form.RadioGroup.prototype, {
314 blankText : "You must select one item in this group"