~crf-team/crf-irp/crf-irp

« back to all changes in this revision

Viewing changes to WebContent/js/extjs-2/source/locale/ext-lang-en_GB.js

  • Committer: Thomas
  • Date: 2010-03-10 23:55:46 UTC
  • Revision ID: thomas@daisybox-port-20100310235546-23635dk6x5asb1ca
Upgrade ExtJs 3.1.1
Upgrade Spring 3.0.1 + dependencies
Change Jawr JS post processor : YUI
Upgrade to last build of dwr 3 trunk 69 revision 3019(after build 116), upgrade jawr-dwr plugin 1.4 unofficiale from jose noheda, Jawr 3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Ext JS Library 2.3.0
3
 
 * Copyright(c) 2006-2009, Ext JS, LLC.
4
 
 * licensing@extjs.com
5
 
 * 
6
 
 * http://extjs.com/license
7
 
 */
8
 
 
9
 
/**
10
 
 * List compiled by mystix on the extjs.com forums.
11
 
 * Thank you Mystix!
12
 
 *
13
 
 * English (UK) Translations
14
 
 * updated to 2.2 by Condor (8 Aug 2008)
15
 
 */
16
 
 
17
 
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
18
 
 
19
 
if(Ext.DataView){
20
 
  Ext.DataView.prototype.emptyText = "";
21
 
}
22
 
 
23
 
if(Ext.grid.GridPanel){
24
 
  Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
25
 
}
26
 
 
27
 
if(Ext.LoadMask){
28
 
  Ext.LoadMask.prototype.msg = "Loading...";
29
 
}
30
 
 
31
 
Date.monthNames = [
32
 
  "January",
33
 
  "February",
34
 
  "March",
35
 
  "April",
36
 
  "May",
37
 
  "June",
38
 
  "July",
39
 
  "August",
40
 
  "September",
41
 
  "October",
42
 
  "November",
43
 
  "December"
44
 
];
45
 
 
46
 
Date.getShortMonthName = function(month) {
47
 
  return Date.monthNames[month].substring(0, 3);
48
 
};
49
 
 
50
 
Date.monthNumbers = {
51
 
  Jan : 0,
52
 
  Feb : 1,
53
 
  Mar : 2,
54
 
  Apr : 3,
55
 
  May : 4,
56
 
  Jun : 5,
57
 
  Jul : 6,
58
 
  Aug : 7,
59
 
  Sep : 8,
60
 
  Oct : 9,
61
 
  Nov : 10,
62
 
  Dec : 11
63
 
};
64
 
 
65
 
Date.getMonthNumber = function(name) {
66
 
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
67
 
};
68
 
 
69
 
Date.dayNames = [
70
 
  "Sunday",
71
 
  "Monday",
72
 
  "Tuesday",
73
 
  "Wednesday",
74
 
  "Thursday",
75
 
  "Friday",
76
 
  "Saturday"
77
 
];
78
 
 
79
 
Date.getShortDayName = function(day) {
80
 
  return Date.dayNames[day].substring(0, 3);
81
 
};
82
 
 
83
 
Date.parseCodes.S.s = "(?:st|nd|rd|th)";
84
 
 
85
 
if(Ext.MessageBox){
86
 
  Ext.MessageBox.buttonText = {
87
 
    ok     : "OK",
88
 
    cancel : "Cancel",
89
 
    yes    : "Yes",
90
 
    no     : "No"
91
 
  };
92
 
}
93
 
 
94
 
if(Ext.util.Format){
95
 
  Ext.util.Format.date = function(v, format){
96
 
    if(!v) return "";
97
 
    if(!(v instanceof Date)) v = new Date(Date.parse(v));
98
 
    return v.dateFormat(format || "d/m/Y");
99
 
  };
100
 
}
101
 
 
102
 
if(Ext.DatePicker){
103
 
  Ext.apply(Ext.DatePicker.prototype, {
104
 
    todayText         : "Today",
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)",
115
 
    format            : "d/m/Y",
116
 
    okText            : "&#160;OK&#160;",
117
 
    cancelText        : "Cancel",
118
 
    startDay          : 0
119
 
  });
120
 
}
121
 
 
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'
133
 
  });
134
 
}
135
 
 
136
 
if(Ext.form.Field){
137
 
  Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
138
 
}
139
 
 
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",
145
 
    regexText     : "",
146
 
    emptyText     : null
147
 
  });
148
 
}
149
 
 
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"
157
 
  });
158
 
}
159
 
 
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}",
167
 
    format            : "d/m/y",
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"
169
 
  });
170
 
}
171
 
 
172
 
if(Ext.form.ComboBox){
173
 
  Ext.apply(Ext.form.ComboBox.prototype, {
174
 
    loadingText       : "Loading...",
175
 
    valueNotFoundText : undefined
176
 
  });
177
 
}
178
 
 
179
 
if(Ext.form.VTypes){
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 _'
185
 
  });
186
 
}
187
 
 
188
 
if(Ext.form.HtmlEditor){
189
 
  Ext.apply(Ext.form.HtmlEditor.prototype, {
190
 
    createLinkText : 'Please enter the URL for the link:',
191
 
    buttonTips : {
192
 
      bold : {
193
 
        title: 'Bold (Ctrl+B)',
194
 
        text: 'Make the selected text bold.',
195
 
        cls: 'x-html-editor-tip'
196
 
      },
197
 
      italic : {
198
 
        title: 'Italic (Ctrl+I)',
199
 
        text: 'Make the selected text italic.',
200
 
        cls: 'x-html-editor-tip'
201
 
      },
202
 
      underline : {
203
 
        title: 'Underline (Ctrl+U)',
204
 
        text: 'Underline the selected text.',
205
 
        cls: 'x-html-editor-tip'
206
 
      },
207
 
      increasefontsize : {
208
 
        title: 'Grow Text',
209
 
        text: 'Increase the font size.',
210
 
        cls: 'x-html-editor-tip'
211
 
      },
212
 
      decreasefontsize : {
213
 
        title: 'Shrink Text',
214
 
        text: 'Decrease the font size.',
215
 
        cls: 'x-html-editor-tip'
216
 
      },
217
 
      backcolor : {
218
 
        title: 'Text Highlight Color',
219
 
        text: 'Change the background color of the selected text.',
220
 
        cls: 'x-html-editor-tip'
221
 
      },
222
 
      forecolor : {
223
 
        title: 'Font Color',
224
 
        text: 'Change the color of the selected text.',
225
 
        cls: 'x-html-editor-tip'
226
 
      },
227
 
      justifyleft : {
228
 
        title: 'Align Text Left',
229
 
        text: 'Align text to the left.',
230
 
        cls: 'x-html-editor-tip'
231
 
      },
232
 
      justifycenter : {
233
 
        title: 'Center Text',
234
 
        text: 'Center text in the editor.',
235
 
        cls: 'x-html-editor-tip'
236
 
      },
237
 
      justifyright : {
238
 
        title: 'Align Text Right',
239
 
        text: 'Align text to the right.',
240
 
        cls: 'x-html-editor-tip'
241
 
      },
242
 
      insertunorderedlist : {
243
 
        title: 'Bullet List',
244
 
        text: 'Start a bulleted list.',
245
 
        cls: 'x-html-editor-tip'
246
 
      },
247
 
      insertorderedlist : {
248
 
        title: 'Numbered List',
249
 
        text: 'Start a numbered list.',
250
 
        cls: 'x-html-editor-tip'
251
 
      },
252
 
      createlink : {
253
 
        title: 'Hyperlink',
254
 
        text: 'Make the selected text a hyperlink.',
255
 
        cls: 'x-html-editor-tip'
256
 
      },
257
 
      sourceedit : {
258
 
        title: 'Source Edit',
259
 
        text: 'Switch to source editing mode.',
260
 
        cls: 'x-html-editor-tip'
261
 
      }
262
 
    }
263
 
  });
264
 
}
265
 
 
266
 
if(Ext.grid.GridView){
267
 
  Ext.apply(Ext.grid.GridView.prototype, {
268
 
    sortAscText  : "Sort Ascending",
269
 
    sortDescText : "Sort Descending",
270
 
    columnsText  : "Columns"
271
 
  });
272
 
}
273
 
 
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'
279
 
  });
280
 
}
281
 
 
282
 
if(Ext.grid.PropertyColumnModel){
283
 
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
284
 
    nameText   : "Name",
285
 
    valueText  : "Value",
286
 
    dateFormat : "j/m/Y"
287
 
  });
288
 
}
289
 
 
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."
294
 
  });
295
 
}
296
 
 
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",
302
 
    format : "g:i A",
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"
304
 
  });
305
 
}
306
 
 
307
 
if(Ext.form.CheckboxGroup){
308
 
  Ext.apply(Ext.form.CheckboxGroup.prototype, {
309
 
    blankText : "You must select at least one item in this group"
310
 
  });
311
 
}
312
 
 
313
 
if(Ext.form.RadioGroup){
314
 
  Ext.apply(Ext.form.RadioGroup.prototype, {
315
 
    blankText : "You must select one item in this group"
316
 
  });
317
 
}