2 * Simplified Chinese translation
7 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>';
10 Ext.View.prototype.emptyText = "";
13 if(Ext.grid.GridPanel){
14 Ext.grid.GridPanel.prototype.ddText = "{0} 选择行";
18 Ext.TabPanelItem.prototype.closeText = "关闭";
22 Ext.form.Field.prototype.invalidText = "输入值非法";
51 Ext.MessageBox.buttonText = {
60 Ext.util.Format.date = function(v, format){
62 if(!(v instanceof Date)) v = new Date(Date.parse(v));
63 return v.dateFormat(format || "y年m月d日");
68 Ext.apply(Ext.DatePicker.prototype, {
70 minText : "日期在最小日期之前",
71 maxText : "日期在最大日期之后",
72 disabledDaysText : "",
73 disabledDatesText : "",
74 monthNames : Date.monthNames,
75 dayNames : Date.dayNames,
76 nextText : '下月 (Control+Right)',
77 prevText : '上月 (Control+Left)',
78 monthYearText : '选择一个月 (Control+Up/Down 来改变年)',
79 todayTip : "{0} (空格键选择)",
86 if(Ext.PagingToolbar){
87 Ext.apply(Ext.PagingToolbar.prototype, {
89 afterPageText : "页共 {0} 页",
95 displayMsg : "显示 {0} - {1},共 {2} 条",
100 if(Ext.form.TextField){
101 Ext.apply(Ext.form.TextField.prototype, {
102 minLengthText : "该输入项的最小长度是 {0}",
103 maxLengthText : "该输入项的最大长度是 {0}",
104 blankText : "该输入项为必输项",
110 if(Ext.form.NumberField){
111 Ext.apply(Ext.form.NumberField.prototype, {
112 minText : "该输入项的最小值是 {0}",
113 maxText : "该输入项的最大值是 {0}",
114 nanText : "{0} 不是有效数值"
118 if(Ext.form.DateField){
119 Ext.apply(Ext.form.DateField.prototype, {
120 disabledDaysText : "禁用",
121 disabledDatesText : "禁用",
122 minText : "该输入项的日期必须在 {0} 之后",
123 maxText : "该输入项的日期必须在 {0} 之前",
124 invalidText : "{0} 是无效的日期 - 必须符合格式: {1}",
129 if(Ext.form.ComboBox){
130 Ext.apply(Ext.form.ComboBox.prototype, {
131 loadingText : "加载...",
132 valueNotFoundText : undefined
137 Ext.apply(Ext.form.VTypes, {
138 emailText : '该输入项必须是电子邮件地址,格式如: "user@domain.com"',
139 urlText : '该输入项必须是URL地址,格式如: "http:/'+'/www.domain.com"',
140 alphaText : '该输入项只能包含字符和_',
141 alphanumText : '该输入项只能包含字符,数字和_'
145 if(Ext.grid.GridView){
146 Ext.apply(Ext.grid.GridView.prototype, {
155 if(Ext.grid.PropertyColumnModel){
156 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
159 dateFormat : "y年m月d日"
163 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
164 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
165 splitTip : "拖动来改变尺寸.",
166 collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏."