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