ext-lang-zh_CN.js
/*
* Simplified Chinese translation
* By DavidHu
* 09 April 2007
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">åŠ è½½ä¸...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.Grid){
Ext.grid.Grid.prototype.ddText = "{0} 选择行";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "å…³é—";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "输入值�法";
}
Date.monthNames = [
"一月",
"二月",
"三月",
"四月",
"五月",
"å…æœˆ",
"七月",
"八月",
"�月",
"�月",
"�一月",
"�二月"
];
Date.dayNames = [
"周日",
"周一",
"周二",
"周三",
"周四",
"周五",
"周å…"
];
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "确定",
cancel : "�消",
yes : "是",
no : "�"
};
}
if(Ext.util.Format){
Ext.util.Format.date = function(v, format){
if(!v) return "";
if(!(v instanceof Date)) v = new Date(Date.parse(v));
return v.dateFormat(format || "y年m月d日");
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "今天",
minText : "日期在最�日期之�",
maxText : "日期在最大日期之�",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : '下月 (Control+Right)',
prevText : '上月 (Control+Left)',
monthYearText : '选择一个月 (Control+Up/Down �改�年)',
todayTip : "{0} (Spacebar)",
format : "y年m月d日"
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "页",
afterPageText : "of {0}",
firstText : "第一页",
prevText : "�一页",
nextText : "下一页",
lastText : "最�页",
refreshText : "刷新",
displayMsg : "显示 {0} - {1} of {2}",
emptyMsg : '没有数�需�显示'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "该输入项的最�长度是 {0}",
maxLengthText : "该输入项的最大长度是 {0}",
blankText : "该输入项为必输项",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "该输入项的最�值是 {0}",
maxText : "该输入项的最大值是 {0}",
nanText : "{0} �是有效数值"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "�用",
disabledDatesText : "�用",
minText : "该输入项的日期必须在 {0} 之�",
maxText : "该输入项的日期必须在 {0} 之�",
invalidText : "{0} æ˜¯æ— æ•ˆçš„æ—¥æœŸ - 必须符å�ˆæ ¼å¼�: {1}",
format : "y年m月d日"
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "åŠ è½½...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : '该输入项必须是电å�邮件地å�€ï¼Œæ ¼å¼�如: "user@domain.com"',
urlText : '该输入项必须是URL地å�€ï¼Œæ ¼å¼�如: "http:/'+'/www.domain.com"',
alphaText : '该输入项å�ªèƒ½åŒ…å�«å—符和_',
alphanumText : '该输入项å�ªèƒ½åŒ…å�«å—符,æ•°å—å’Œ_'
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "æ£åº�",
sortDescText : "逆�",
lockText : "�列",
unlockText : "解�列",
columnsText : "列"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "�称",
valueText : "值",
dateFormat : "y年m月d日"
});
}
if(Ext.SplitLayoutRegion){
Ext.apply(Ext.SplitLayoutRegion.prototype, {
splitTip : "拖动�改�尺寸.",
collapsibleSplitTip : "拖动�改�尺寸. �击��."
});
}
Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.