2 * List compiled by mystix on the extjs.com forums.
5 * English (UK) Translations
6 * updated to 2.2 by Condor (8 Aug 2008)
8 Ext.onReady(function() {
10 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
13 Ext.view.View.prototype.emptyText = "";
17 Ext.grid.Panel.prototype.ddText = "{0} selected row{1}";
21 Ext.LoadMask.prototype.msg = "Loading...";
25 Ext.Date.monthNames = [
40 Ext.Date.getShortMonthName = function(month) {
41 return Ext.Date.monthNames[month].substring(0, 3);
44 Ext.Date.monthNumbers = {
59 Ext.Date.getMonthNumber = function(name) {
60 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
73 Ext.Date.getShortDayName = function(day) {
74 return Ext.Date.dayNames[day].substring(0, 3);
77 Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
81 Ext.MessageBox.buttonText = {
90 Ext.apply(Ext.util.Format, {
91 thousandSeparator: ',',
92 decimalSeparator: '.',
93 currencySign: '£', // UK Pound
99 Ext.apply(Ext.picker.Date.prototype, {
101 minText : "This date is before the minimum date",
102 maxText : "This date is after the maximum date",
103 disabledDaysText : "",
104 disabledDatesText : "",
105 monthNames : Ext.Date.monthNames,
106 dayNames : Ext.Date.dayNames,
107 nextText : 'Next Month (Control+Right)',
108 prevText : 'Previous Month (Control+Left)',
109 monthYearText : 'Choose a month (Control+Up/Down to move years)',
110 todayTip : "{0} (Spacebar)",
116 if(Ext.picker.Month) {
117 Ext.apply(Ext.picker.Month.prototype, {
118 okText : " OK ",
119 cancelText : "Cancel"
123 if(Ext.toolbar.Paging){
124 Ext.apply(Ext.PagingToolbar.prototype, {
125 beforePageText : "Page",
126 afterPageText : "of {0}",
127 firstText : "First Page",
128 prevText : "Previous Page",
129 nextText : "Next Page",
130 lastText : "Last Page",
131 refreshText : "Refresh",
132 displayMsg : "Displaying {0} - {1} of {2}",
133 emptyMsg : 'No data to display'
138 Ext.form.Basic.prototype.waitTitle = "Please Wait...";
141 if(Ext.form.field.Base){
142 Ext.form.field.Base.prototype.invalidText = "The value in this field is invalid";
145 if(Ext.form.field.Text){
146 Ext.apply(Ext.form.field.Text.prototype, {
147 minLengthText : "The minimum length for this field is {0}",
148 maxLengthText : "The maximum length for this field is {0}",
149 blankText : "This field is required",
155 if(Ext.form.field.Number){
156 Ext.apply(Ext.form.field.Number.prototype, {
157 decimalSeparator : ".",
158 decimalPrecision : 2,
159 minText : "The minimum value for this field is {0}",
160 maxText : "The maximum value for this field is {0}",
161 nanText : "{0} is not a valid number"
165 if(Ext.form.field.Date){
166 Ext.apply(Ext.form.field.Date.prototype, {
167 disabledDaysText : "Disabled",
168 disabledDatesText : "Disabled",
169 minText : "The date in this field must be after {0}",
170 maxText : "The date in this field must be before {0}",
171 invalidText : "{0} is not a valid date - it must be in the format {1}",
173 altFormats : "d/m/Y|d/m/y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
177 if(Ext.form.field.ComboBox){
178 Ext.apply(Ext.form.field.ComboBox.prototype, {
179 loadingText : "Loading...",
180 valueNotFoundText : undefined
184 if(Ext.form.field.VTypes){
185 Ext.apply(Ext.form.field.VTypes, {
186 emailText : 'This field should be an e-mail address in the format "user@example.com"',
187 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
188 alphaText : 'This field should only contain letters and _',
189 alphanumText : 'This field should only contain letters, numbers and _'
193 if(Ext.form.field.HtmlEditor){
194 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
195 createLinkText : 'Please enter the URL for the link:',
198 title: 'Bold (Ctrl+B)',
199 text: 'Make the selected text bold.',
200 cls: Ext.baseCSSPrefix + 'html-editor-tip'
203 title: 'Italic (Ctrl+I)',
204 text: 'Make the selected text italic.',
205 cls: Ext.baseCSSPrefix + 'html-editor-tip'
208 title: 'Underline (Ctrl+U)',
209 text: 'Underline the selected text.',
210 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 text: 'Increase the font size.',
215 cls: Ext.baseCSSPrefix + 'html-editor-tip'
218 title: 'Shrink Text',
219 text: 'Decrease the font size.',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
223 title: 'Text Highlight Color',
224 text: 'Change the background color of the selected text.',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 text: 'Change the color of the selected text.',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
233 title: 'Align Text Left',
234 text: 'Align text to the left.',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
238 title: 'Center Text',
239 text: 'Center text in the editor.',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 title: 'Align Text Right',
244 text: 'Align text to the right.',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 insertunorderedlist : {
248 title: 'Bullet List',
249 text: 'Start a bulleted list.',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 insertorderedlist : {
253 title: 'Numbered List',
254 text: 'Start a numbered list.',
255 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 text: 'Make the selected text a hyperlink.',
260 cls: Ext.baseCSSPrefix + 'html-editor-tip'
263 title: 'Source Edit',
264 text: 'Switch to source editing mode.',
265 cls: Ext.baseCSSPrefix + 'html-editor-tip'
271 if(Ext.grid.header.Container){
272 Ext.apply(Ext.grid.header.Container.prototype, {
273 sortAscText : "Sort Ascending",
274 sortDescText : "Sort Descending",
275 columnsText : "Columns"
279 if(Ext.grid.GroupingFeature){
280 Ext.apply(Ext.grid.GroupingFeature.prototype, {
281 emptyGroupText : '(None)',
282 groupByText : 'Group By This Field',
283 showGroupsText : 'Show in Groups'
287 if(Ext.grid.PropertyColumnModel){
288 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
291 dateFormat : "j/m/Y",
297 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
298 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
299 splitTip : "Drag to resize.",
300 collapsibleSplitTip : "Drag to resize. Double click to hide."
304 if(Ext.form.field.Time){
305 Ext.apply(Ext.form.field.Time.prototype, {
306 minText : "The time in this field must be equal to or after {0}",
307 maxText : "The time in this field must be equal to or before {0}",
308 invalidText : "{0} is not a valid time",
310 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"
314 if(Ext.form.CheckboxGroup){
315 Ext.apply(Ext.form.CheckboxGroup.prototype, {
316 blankText : "You must select at least one item in this group"
320 if(Ext.form.RadioGroup){
321 Ext.apply(Ext.form.RadioGroup.prototype, {
322 blankText : "You must select one item in this group"