2 * Simplified Chinese translation
10 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>';
13 Ext.DataView.prototype.emptyText = "";
16 if(Ext.grid.GridPanel){
17 Ext.grid.GridPanel.prototype.ddText = "选择了 {0} 行";
21 Ext.TabPanelItem.prototype.closeText = "关闭此标签";
25 Ext.form.Field.prototype.invalidText = "输入值非法";
29 Ext.LoadMask.prototype.msg = "读取中...";
57 Date.formatCodes.a = "(this.getHours() < 12 ? '上午' : '下午')";
58 Date.formatCodes.A = "(this.getHours() < 12 ? '上午' : '下午')";
61 Ext.MessageBox.buttonText = {
70 Ext.util.Format.date = function(v, format){
72 if(!(v instanceof Date)) v = new Date(Date.parse(v));
73 return v.dateFormat(format || "y年m月d日");
78 Ext.apply(Ext.DatePicker.prototype, {
80 minText : "日期必须大于最小允许日期",//update
81 maxText : "日期必须小于最大允许日期",//update
82 disabledDaysText : "",
83 disabledDatesText : "",
84 monthNames : Date.monthNames,
85 dayNames : Date.dayNames,
86 nextText : '下个月 (Ctrl+Right)',
87 prevText : '上个月 (Ctrl+Left)',
88 monthYearText : '选择一个月 (Control+Up/Down 来改变年份)',//update
89 todayTip : "{0} (空格键选择)",
96 if(Ext.PagingToolbar){
97 Ext.apply(Ext.PagingToolbar.prototype, {
98 beforePageText : "第",//update
99 afterPageText : "页,共 {0} 页",//update
101 prevText : "上一页",//update
105 displayMsg : "显示 {0} - {1}条,共 {2} 条",//update
110 if(Ext.form.TextField){
111 Ext.apply(Ext.form.TextField.prototype, {
112 minLengthText : "该输入项的最小长度是 {0} 个字符",
113 maxLengthText : "该输入项的最大长度是 {0} 个字符",
114 blankText : "该输入项为必输项",
120 if(Ext.form.NumberField){
121 Ext.apply(Ext.form.NumberField.prototype, {
122 minText : "该输入项的最小值是 {0}",
123 maxText : "该输入项的最大值是 {0}",
124 nanText : "{0} 不是有效数值"
128 if(Ext.form.DateField){
129 Ext.apply(Ext.form.DateField.prototype, {
130 disabledDaysText : "禁用",
131 disabledDatesText : "禁用",
132 minText : "该输入项的日期必须在 {0} 之后",
133 maxText : "该输入项的日期必须在 {0} 之前",
134 invalidText : "{0} 是无效的日期 - 必须符合格式: {1}",
139 if(Ext.form.ComboBox){
140 Ext.apply(Ext.form.ComboBox.prototype, {
141 loadingText : "加载中...",
142 valueNotFoundText : undefined
147 Ext.apply(Ext.form.VTypes, {
148 emailText : '该输入项必须是电子邮件地址,格式如: "user@example.com"',
149 urlText : '该输入项必须是URL地址,格式如: "http:/'+'/www.example.com"',
150 alphaText : '该输入项只能包含半角字母和_',//update
151 alphanumText : '该输入项只能包含半角字母,数字和_'//update
154 //add HTMLEditor's tips by andy_ghg
155 if(Ext.form.HtmlEditor){
156 Ext.apply(Ext.form.HtmlEditor.prototype, {
157 createLinkText : '添加超级链接:',
160 title: '粗体 (Ctrl+B)',
162 cls: 'x-html-editor-tip'
165 title: '斜体 (Ctrl+I)',
167 cls: 'x-html-editor-tip'
170 title: '下划线 (Ctrl+U)',
172 cls: 'x-html-editor-tip'
177 cls: 'x-html-editor-tip'
182 cls: 'x-html-editor-tip'
185 title: '以不同颜色突出显示文本',
186 text: '使文字看上去像是用荧光笔做了标记一样',
187 cls: 'x-html-editor-tip'
192 cls: 'x-html-editor-tip'
197 cls: 'x-html-editor-tip'
202 cls: 'x-html-editor-tip'
207 cls: 'x-html-editor-tip'
209 insertunorderedlist : {
212 cls: 'x-html-editor-tip'
214 insertorderedlist : {
217 cls: 'x-html-editor-tip'
221 text: '将所选文本转换成超级链接',
222 cls: 'x-html-editor-tip'
227 cls: 'x-html-editor-tip'
234 if(Ext.grid.GridView){
235 Ext.apply(Ext.grid.GridView.prototype, {
236 sortAscText : "正序",//update
237 sortDescText : "倒序",//update
238 lockText : "锁定列",//update
239 unlockText : "解除锁定",//update
244 if(Ext.grid.PropertyColumnModel){
245 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
248 dateFormat : "y年m月d日"
252 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
253 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
254 splitTip : "拖动来改变尺寸.",
255 collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏."