3
* Copyright(c) 2006-2009, Ext JS, LLC.
6
* http://extjs.com/license
10
* List compiled by mystix on the extjs.com forums.
13
* English (UK) 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 || "d/m/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'
137
Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
140
if(Ext.form.TextField){
141
Ext.apply(Ext.form.TextField.prototype, {
142
minLengthText : "The minimum length for this field is {0}",
143
maxLengthText : "The maximum length for this field is {0}",
144
blankText : "This field is required",
150
if(Ext.form.NumberField){
151
Ext.apply(Ext.form.NumberField.prototype, {
152
decimalSeparator : ".",
153
decimalPrecision : 2,
154
minText : "The minimum value for this field is {0}",
155
maxText : "The maximum value for this field is {0}",
156
nanText : "{0} is not a valid number"
160
if(Ext.form.DateField){
161
Ext.apply(Ext.form.DateField.prototype, {
162
disabledDaysText : "Disabled",
163
disabledDatesText : "Disabled",
164
minText : "The date in this field must be after {0}",
165
maxText : "The date in this field must be before {0}",
166
invalidText : "{0} is not a valid date - it must be in the format {1}",
168
altFormats : "d/m/Y|d/m/y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
172
if(Ext.form.ComboBox){
173
Ext.apply(Ext.form.ComboBox.prototype, {
174
loadingText : "Loading...",
175
valueNotFoundText : undefined
180
Ext.apply(Ext.form.VTypes, {
181
emailText : 'This field should be an e-mail address in the format "user@domain.com"',
182
urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"',
183
alphaText : 'This field should only contain letters and _',
184
alphanumText : 'This field should only contain letters, numbers and _'
188
if(Ext.form.HtmlEditor){
189
Ext.apply(Ext.form.HtmlEditor.prototype, {
190
createLinkText : 'Please enter the URL for the link:',
193
title: 'Bold (Ctrl+B)',
194
text: 'Make the selected text bold.',
195
cls: 'x-html-editor-tip'
198
title: 'Italic (Ctrl+I)',
199
text: 'Make the selected text italic.',
200
cls: 'x-html-editor-tip'
203
title: 'Underline (Ctrl+U)',
204
text: 'Underline the selected text.',
205
cls: 'x-html-editor-tip'
209
text: 'Increase the font size.',
210
cls: 'x-html-editor-tip'
213
title: 'Shrink Text',
214
text: 'Decrease the font size.',
215
cls: 'x-html-editor-tip'
218
title: 'Text Highlight Color',
219
text: 'Change the background color of the selected text.',
220
cls: 'x-html-editor-tip'
224
text: 'Change the color of the selected text.',
225
cls: 'x-html-editor-tip'
228
title: 'Align Text Left',
229
text: 'Align text to the left.',
230
cls: 'x-html-editor-tip'
233
title: 'Center Text',
234
text: 'Center text in the editor.',
235
cls: 'x-html-editor-tip'
238
title: 'Align Text Right',
239
text: 'Align text to the right.',
240
cls: 'x-html-editor-tip'
242
insertunorderedlist : {
243
title: 'Bullet List',
244
text: 'Start a bulleted list.',
245
cls: 'x-html-editor-tip'
247
insertorderedlist : {
248
title: 'Numbered List',
249
text: 'Start a numbered list.',
250
cls: 'x-html-editor-tip'
254
text: 'Make the selected text a hyperlink.',
255
cls: 'x-html-editor-tip'
258
title: 'Source Edit',
259
text: 'Switch to source editing mode.',
260
cls: 'x-html-editor-tip'
266
if(Ext.grid.GridView){
267
Ext.apply(Ext.grid.GridView.prototype, {
268
sortAscText : "Sort Ascending",
269
sortDescText : "Sort Descending",
270
columnsText : "Columns"
274
if(Ext.grid.GroupingView){
275
Ext.apply(Ext.grid.GroupingView.prototype, {
276
emptyGroupText : '(None)',
277
groupByText : 'Group By This Field',
278
showGroupsText : 'Show in Groups'
282
if(Ext.grid.PropertyColumnModel){
283
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
290
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
291
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
292
splitTip : "Drag to resize.",
293
collapsibleSplitTip : "Drag to resize. Double click to hide."
297
if(Ext.form.TimeField){
298
Ext.apply(Ext.form.TimeField.prototype, {
299
minText : "The time in this field must be equal to or after {0}",
300
maxText : "The time in this field must be equal to or before {0}",
301
invalidText : "{0} is not a valid time",
303
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"
307
if(Ext.form.CheckboxGroup){
308
Ext.apply(Ext.form.CheckboxGroup.prototype, {
309
blankText : "You must select at least one item in this group"
313
if(Ext.form.RadioGroup){
314
Ext.apply(Ext.form.RadioGroup.prototype, {
315
blankText : "You must select one item in this group"