168 lines
No EOL
8.8 KiB
HTML
168 lines
No EOL
8.8 KiB
HTML
<html><head><title>ext-lang-zh_CN.js</title><link rel="stylesheet" type="text/css" href="../resources/style.css" media="screen"/></head><body><h1>ext-lang-zh_CN.js</h1><pre class="highlighted"><code><i>/*
|
||
* Simplified Chinese translation
|
||
* By DavidHu
|
||
* 09 April 2007
|
||
*/</i>
|
||
|
||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">åŠ è½½ä¸­...</div>';
|
||
|
||
<b>if</b>(Ext.View){
|
||
Ext.View.prototype.emptyText = "";
|
||
}
|
||
|
||
<b>if</b>(Ext.grid.Grid){
|
||
Ext.grid.Grid.prototype.ddText = "{0} 选择行";
|
||
}
|
||
|
||
<b>if</b>(Ext.TabPanelItem){
|
||
Ext.TabPanelItem.prototype.closeText = "关闭";
|
||
}
|
||
|
||
<b>if</b>(Ext.form.Field){
|
||
Ext.form.Field.prototype.invalidText = "输入值é<EFBFBD>žæ³•";
|
||
}
|
||
|
||
Date.monthNames = [
|
||
"一月",
|
||
"二月",
|
||
"三月",
|
||
"四月",
|
||
"五月",
|
||
"六月",
|
||
"七月",
|
||
"八月",
|
||
"ä¹<EFBFBD>月",
|
||
"å<EFBFBD><EFBFBD>月",
|
||
"å<EFBFBD><EFBFBD>一月",
|
||
"å<EFBFBD><EFBFBD>二月"
|
||
];
|
||
|
||
Date.dayNames = [
|
||
"周日",
|
||
"周一",
|
||
"周二",
|
||
"周三",
|
||
"周四",
|
||
"周五",
|
||
"周六"
|
||
];
|
||
|
||
<b>if</b>(Ext.MessageBox){
|
||
Ext.MessageBox.buttonText = {
|
||
ok : "确定",
|
||
cancel : "å<EFBFBD>–消",
|
||
yes : "是",
|
||
no : "å<EFBFBD>¦"
|
||
};
|
||
}
|
||
|
||
<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 || "y年m月d日");
|
||
};
|
||
}
|
||
|
||
<b>if</b>(Ext.DatePicker){
|
||
Ext.apply(Ext.DatePicker.prototype, {
|
||
todayText : "今天",
|
||
minText : "日期在最å°<EFBFBD>日期之å‰<EFBFBD>",
|
||
maxText : "日期在最大日期之å<EFBFBD>Ž",
|
||
disabledDaysText : "",
|
||
disabledDatesText : "",
|
||
monthNames : Date.monthNames,
|
||
dayNames : Date.dayNames,
|
||
nextText : '下月 (Control+Right)',
|
||
prevText : '上月 (Control+Left)',
|
||
monthYearText : '选择一个月 (Control+Up/Down æ<EFBFBD>¥æ”¹å<EFBFBD>˜å¹´)',
|
||
todayTip : "{0} (Spacebar)",
|
||
format : "y年m月d日"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.PagingToolbar){
|
||
Ext.apply(Ext.PagingToolbar.prototype, {
|
||
beforePageText : "页",
|
||
afterPageText : "of {0}",
|
||
firstText : "第一页",
|
||
prevText : "å‰<EFBFBD>一页",
|
||
nextText : "下一页",
|
||
lastText : "最å<EFBFBD>Žé¡µ",
|
||
refreshText : "刷新",
|
||
displayMsg : "显示 {0} - {1} of {2}",
|
||
emptyMsg : '没有数æ<EFBFBD>®éœ€è¦<EFBFBD>显示'
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.TextField){
|
||
Ext.apply(Ext.form.TextField.prototype, {
|
||
minLengthText : "该输入项的最å°<EFBFBD>长度是 {0}",
|
||
maxLengthText : "该输入项的最大长度是 {0}",
|
||
blankText : "该输入项为必输项",
|
||
regexText : "",
|
||
emptyText : null
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.NumberField){
|
||
Ext.apply(Ext.form.NumberField.prototype, {
|
||
minText : "该输入项的最å°<EFBFBD>值是 {0}",
|
||
maxText : "该输入项的最大值是 {0}",
|
||
nanText : "{0} ä¸<EFBFBD>是有效数值"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.DateField){
|
||
Ext.apply(Ext.form.DateField.prototype, {
|
||
disabledDaysText : "ç¦<EFBFBD>用",
|
||
disabledDatesText : "ç¦<EFBFBD>用",
|
||
minText : "该输入项的日期必须在 {0} 之å<EFBFBD>Ž",
|
||
maxText : "该输入项的日期必须在 {0} 之å‰<EFBFBD>",
|
||
invalidText : "{0} æ˜¯æ— æ•ˆçš„æ—¥æœŸ - 必须符å<EFBFBD>ˆæ ¼å¼<EFBFBD>: {1}",
|
||
format : "y年m月d日"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.ComboBox){
|
||
Ext.apply(Ext.form.ComboBox.prototype, {
|
||
loadingText : "åŠ è½½...",
|
||
valueNotFoundText : undefined
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.VTypes){
|
||
Ext.apply(Ext.form.VTypes, {
|
||
emailText : '该输入项必须是电å­<EFBFBD>邮件地å<EFBFBD>€ï¼Œæ ¼å¼<EFBFBD>如: "user@domain.com"',
|
||
urlText : '该输入项必须是URL地å<EFBFBD>€ï¼Œæ ¼å¼<EFBFBD>如: "http:/'+'/www.domain.com"',
|
||
alphaText : '该输入项å<EFBFBD>ªèƒ½åŒ…å<EFBFBD>«å­—符和_',
|
||
alphanumText : '该输入项å<EFBFBD>ªèƒ½åŒ…å<EFBFBD>«å­—符,æ•°å­—å’Œ_'
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.grid.GridView){
|
||
Ext.apply(Ext.grid.GridView.prototype, {
|
||
sortAscText : "æ­£åº<EFBFBD>",
|
||
sortDescText : "逆åº<EFBFBD>",
|
||
lockText : "é”<EFBFBD>列",
|
||
unlockText : "è§£é”<EFBFBD>列",
|
||
columnsText : "列"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.grid.PropertyColumnModel){
|
||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
|
||
nameText : "å<EFBFBD><EFBFBD>ç§°",
|
||
valueText : "值",
|
||
dateFormat : "y年m月d日"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.SplitLayoutRegion){
|
||
Ext.apply(Ext.SplitLayoutRegion.prototype, {
|
||
splitTip : "拖动æ<EFBFBD>¥æ”¹å<EFBFBD>˜å°ºå¯¸.",
|
||
collapsibleSplitTip : "拖动æ<EFBFBD>¥æ”¹å<EFBFBD>˜å°ºå¯¸. å<EFBFBD>Œå‡»éš<EFBFBD>è—<EFBFBD>."
|
||
});
|
||
}
|
||
</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> |