172 lines
No EOL
5.7 KiB
HTML
172 lines
No EOL
5.7 KiB
HTML
<html><head><title>ext-lang-en.js</title><link rel="stylesheet" type="text/css" href="../resources/style.css" media="screen"/></head><body><h1>ext-lang-en.js</h1><pre class="highlighted"><code><i>/**
|
|
* List compiled by mystix on the extjs.com forums.
|
|
* Thank you Mystix!
|
|
*
|
|
* English Translations
|
|
*/</i>
|
|
|
|
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
|
|
|
|
<b>if</b>(Ext.View){
|
|
Ext.View.prototype.emptyText = "";
|
|
}
|
|
|
|
<b>if</b>(Ext.grid.Grid){
|
|
Ext.grid.Grid.prototype.ddText = "{0} selected row(s)";
|
|
}
|
|
|
|
<b>if</b>(Ext.TabPanelItem){
|
|
Ext.TabPanelItem.prototype.closeText = "Close <b>this</b> tab";
|
|
}
|
|
|
|
<b>if</b>(Ext.form.Field){
|
|
Ext.form.Field.prototype.invalidText = "The value <b>in</b> this field is invalid";
|
|
}
|
|
|
|
<b>if</b>(Ext.LoadMask){
|
|
Ext.LoadMask.prototype.msg = "Loading...";
|
|
}
|
|
|
|
Date.monthNames = [
|
|
"January",
|
|
"February",
|
|
"March",
|
|
"April",
|
|
"May",
|
|
"June",
|
|
"July",
|
|
"August",
|
|
"September",
|
|
"October",
|
|
"November",
|
|
"December"
|
|
];
|
|
|
|
Date.dayNames = [
|
|
"Sunday",
|
|
"Monday",
|
|
"Tuesday",
|
|
"Wednesday",
|
|
"Thursday",
|
|
"Friday",
|
|
"Saturday"
|
|
];
|
|
|
|
<b>if</b>(Ext.MessageBox){
|
|
Ext.MessageBox.buttonText = {
|
|
ok : "OK",
|
|
cancel : "Cancel",
|
|
yes : "Yes",
|
|
no : "No"
|
|
};
|
|
}
|
|
|
|
<b>if</b>(Ext.util.Format){
|
|
Ext.util.Format.date = <b>function</b>(v, format){
|
|
<b>if</b>(!v) <b>return</b> "";
|
|
<b>if</b>(!(v instanceof Date)) v = <b>new</b> Date(Date.parse(v));
|
|
<b>return</b> v.dateFormat(format || "m/d/Y");
|
|
};
|
|
}
|
|
|
|
<b>if</b>(Ext.DatePicker){
|
|
Ext.apply(Ext.DatePicker.prototype, {
|
|
todayText : "Today",
|
|
minText : "This date is before the minimum date",
|
|
maxText : "This date is after the maximum date",
|
|
disabledDaysText : "",
|
|
disabledDatesText : "",
|
|
monthNames : Date.monthNames,
|
|
dayNames : Date.dayNames,
|
|
nextText : 'Next Month (Control+Right)',
|
|
prevText : 'Previous Month (Control+Left)',
|
|
monthYearText : 'Choose a month (Control+Up/Down to move years)',
|
|
todayTip : "{0} (Spacebar)",
|
|
format : "m/d/y"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.PagingToolbar){
|
|
Ext.apply(Ext.PagingToolbar.prototype, {
|
|
beforePageText : "Page",
|
|
afterPageText : "of {0}",
|
|
firstText : "First Page",
|
|
prevText : "Previous Page",
|
|
nextText : "Next Page",
|
|
lastText : "Last Page",
|
|
refreshText : "Refresh",
|
|
displayMsg : "Displaying {0} - {1} of {2}",
|
|
emptyMsg : 'No data to display'
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.TextField){
|
|
Ext.apply(Ext.form.TextField.prototype, {
|
|
minLengthText : "The minimum length <b>for</b> this field is {0}",
|
|
maxLengthText : "The maximum length <b>for</b> this field is {0}",
|
|
blankText : "This field is required",
|
|
regexText : "",
|
|
emptyText : null
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.NumberField){
|
|
Ext.apply(Ext.form.NumberField.prototype, {
|
|
minText : "The minimum value <b>for</b> this field is {0}",
|
|
maxText : "The maximum value <b>for</b> this field is {0}",
|
|
nanText : "{0} is not a valid number"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.DateField){
|
|
Ext.apply(Ext.form.DateField.prototype, {
|
|
disabledDaysText : "Disabled",
|
|
disabledDatesText : "Disabled",
|
|
minText : "The date <b>in</b> this field must be after {0}",
|
|
maxText : "The date <b>in</b> this field must be before {0}",
|
|
invalidText : "{0} is not a valid date - it must be <b>in</b> the format {1}",
|
|
format : "m/d/y"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.ComboBox){
|
|
Ext.apply(Ext.form.ComboBox.prototype, {
|
|
loadingText : "Loading...",
|
|
valueNotFoundText : undefined
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.VTypes){
|
|
Ext.apply(Ext.form.VTypes, {
|
|
emailText : 'This field should be an e-mail address <b>in</b> the format "user@domain.com"',
|
|
urlText : 'This field should be a URL <b>in</b> the format "http:/'+'/www.domain.com"',
|
|
alphaText : 'This field should only contain letters and _',
|
|
alphanumText : 'This field should only contain letters, numbers and _'
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.grid.GridView){
|
|
Ext.apply(Ext.grid.GridView.prototype, {
|
|
sortAscText : "Sort Ascending",
|
|
sortDescText : "Sort Descending",
|
|
lockText : "Lock Column",
|
|
unlockText : "Unlock Column",
|
|
columnsText : "Columns"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.grid.PropertyColumnModel){
|
|
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
|
|
nameText : "Name",
|
|
valueText : "Value",
|
|
dateFormat : "m/j/Y"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.SplitLayoutRegion){
|
|
Ext.apply(Ext.SplitLayoutRegion.prototype, {
|
|
splitTip : "Drag to resize.",
|
|
collapsibleSplitTip : "Drag to resize. Double click to hide."
|
|
});
|
|
}</code></pre><hr><div style="font-size:10px;text-align:center;color:gray;">Ext - Copyright © 2006-2007 Ext JS, LLC<br />All rights reserved.</div>
|
|
</body></html> |