3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
8 * Simplified Chinese translation
13 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>';
16 Ext.View.prototype.emptyText = "";
19 if(Ext.grid.GridPanel){
20 Ext.grid.GridPanel.prototype.ddText = "{0} 选择行";
24 Ext.TabPanelItem.prototype.closeText = "关闭";
28 Ext.form.Field.prototype.invalidText = "输入值非法";
57 Ext.MessageBox.buttonText = {
66 Ext.util.Format.date = function(v, format){
68 if(!(v instanceof Date)) v = new Date(Date.parse(v));
69 return v.dateFormat(format || "y年m月d日");
74 Ext.apply(Ext.DatePicker.prototype, {
76 minText : "日期在最小日期之前",
77 maxText : "日期在最大日期之后",
78 disabledDaysText : "",
79 disabledDatesText : "",
80 monthNames : Date.monthNames,
81 dayNames : Date.dayNames,
82 nextText : '下月 (Control+Right)',
83 prevText : '上月 (Control+Left)',
84 monthYearText : '选择一个月 (Control+Up/Down 来改变年)',
85 todayTip : "{0} (空格键选择)",
92 if(Ext.PagingToolbar){
93 Ext.apply(Ext.PagingToolbar.prototype, {
95 afterPageText : "页共 {0} 页",
101 displayMsg : "显示 {0} - {1},共 {2} 条",
102 emptyMsg : '没有数据需要显示'
106 if(Ext.form.TextField){
107 Ext.apply(Ext.form.TextField.prototype, {
108 minLengthText : "该输入项的最小长度是 {0}",
109 maxLengthText : "该输入项的最大长度是 {0}",
110 blankText : "该输入项为必输项",
116 if(Ext.form.NumberField){
117 Ext.apply(Ext.form.NumberField.prototype, {
118 minText : "该输入项的最小值是 {0}",
119 maxText : "该输入项的最大值是 {0}",
120 nanText : "{0} 不是有效数值"
124 if(Ext.form.DateField){
125 Ext.apply(Ext.form.DateField.prototype, {
126 disabledDaysText : "禁用",
127 disabledDatesText : "禁用",
128 minText : "该输入项的日期必须在 {0} 之后",
129 maxText : "该输入项的日期必须在 {0} 之前",
130 invalidText : "{0} 是无效的日期 - 必须符合格式: {1}",
135 if(Ext.form.ComboBox){
136 Ext.apply(Ext.form.ComboBox.prototype, {
137 loadingText : "加载...",
138 valueNotFoundText : undefined
143 Ext.apply(Ext.form.VTypes, {
144 emailText : '该输入项必须是电子邮件地址,格式如: "user@example.com"',
145 urlText : '该输入项必须是URL地址,格式如: "http:/'+'/www.example.com"',
146 alphaText : '该输入项只能包含字符和_',
147 alphanumText : '该输入项只能包含字符,数字和_'
151 if(Ext.grid.GridView){
152 Ext.apply(Ext.grid.GridView.prototype, {
161 if(Ext.grid.PropertyColumnModel){
162 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
165 dateFormat : "y年m月d日"
169 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
170 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
171 splitTip : "拖动来改变尺寸.",
172 collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏."