X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/source/ext-lang-zh_CN.html diff --git a/docs/source/ext-lang-zh_CN.html b/docs/source/ext-lang-zh_CN.html index 05722710..edb3a8d5 100644 --- a/docs/source/ext-lang-zh_CN.html +++ b/docs/source/ext-lang-zh_CN.html @@ -1,13 +1,14 @@ + The source code
/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.2.1
+ * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
@@ -15,24 +16,31 @@
  * Simplified Chinese translation
  * By DavidHu
  * 09 April 2007
+ * 
+ * update by andy_ghg
+ * 2009-10-22 15:00:57
  */
 
 Ext.UpdateManager.defaults.indicatorText = '
加载中...
'; -if(Ext.View){ - Ext.View.prototype.emptyText = ""; +if(Ext.DataView){ + Ext.DataView.prototype.emptyText = ""; } if(Ext.grid.GridPanel){ - Ext.grid.GridPanel.prototype.ddText = "{0} 选择行"; + Ext.grid.GridPanel.prototype.ddText = "选择了 {0} 行"; } if(Ext.TabPanelItem){ - Ext.TabPanelItem.prototype.closeText = "关闭"; + Ext.TabPanelItem.prototype.closeText = "关闭此标签"; } if(Ext.form.Field){ - Ext.form.Field.prototype.invalidText = "输入值é?žæ³•"; + Ext.form.Field.prototype.invalidText = "输入值非法"; +} + +if (Ext.LoadMask) { + Ext.LoadMask.prototype.msg = "读取中..."; } Date.monthNames = [ @@ -44,10 +52,10 @@ Date.monthNames = [ "六月", "七月", "八月", - "ä¹?月", - "å??月", - "å??一月", - "å??二月" + "九月", + "十月", + "十一月", + "十二月" ]; Date.dayNames = [ @@ -60,12 +68,15 @@ Date.dayNames = [ "六" ]; +Date.formatCodes.a = "(this.getHours() < 12 ? '上午' : '下午')"; +Date.formatCodes.A = "(this.getHours() < 12 ? '上午' : '下午')"; + if(Ext.MessageBox){ Ext.MessageBox.buttonText = { ok : "确定", - cancel : "å?–消", + cancel : "取消", yes : "是", - no : "å?¦" + no : "否" }; } @@ -80,40 +91,40 @@ if(Ext.util.Format){ if(Ext.DatePicker){ Ext.apply(Ext.DatePicker.prototype, { todayText : "今天", - minText : "日期在最å°?日期之å‰?", - maxText : "日期在最大日期之å?Ž", + minText : "日期必须大于最小允许日期",//update + maxText : "日期必须小于最大允许日期",//update disabledDaysText : "", disabledDatesText : "", monthNames : Date.monthNames, dayNames : Date.dayNames, - nextText : '下月 (Control+Right)', - prevText : '上月 (Control+Left)', - monthYearText : '选择一个月 (Control+Up/Down æ?¥æ”¹å?˜å¹´)', + nextText : '下个月 (Ctrl+Right)', + prevText : '上个月 (Ctrl+Left)', + monthYearText : '选择一个月 (Control+Up/Down 来改变年份)',//update todayTip : "{0} (空格键选择)", format : "yå¹´m月d日", okText : "确定", - cancelText : "å?–消" + cancelText : "取消" }); } if(Ext.PagingToolbar){ Ext.apply(Ext.PagingToolbar.prototype, { - beforePageText : "页", - afterPageText : "页共 {0} 页", + beforePageText : "第",//update + afterPageText : "页,共 {0} 页",//update firstText : "第一页", - prevText : "å‰?一页", + prevText : "上一页",//update nextText : "下一页", - lastText : "最å?Žé¡µ", + lastText : "最后页", refreshText : "刷新", - displayMsg : "显示 {0} - {1},共 {2} æ?¡", - emptyMsg : '没有数æ?®éœ€è¦?显示' + displayMsg : "显示 {0} - {1}条,共 {2} 条",//update + emptyMsg : '没有数据' }); } if(Ext.form.TextField){ Ext.apply(Ext.form.TextField.prototype, { - minLengthText : "该输入项的最å°?长度是 {0}", - maxLengthText : "该输入项的最大长度是 {0}", + minLengthText : "该输入项的最小长度是 {0} 个字符", + maxLengthText : "该输入项的最大长度是 {0} 个字符", blankText : "该输入项为必输项", regexText : "", emptyText : null @@ -122,52 +133,131 @@ if(Ext.form.TextField){ if(Ext.form.NumberField){ Ext.apply(Ext.form.NumberField.prototype, { - minText : "该输入项的最å°?值是 {0}", + minText : "该输入项的最小值是 {0}", maxText : "该输入项的最大值是 {0}", - nanText : "{0} ä¸?是有效数值" + nanText : "{0} 不是有效数值" }); } if(Ext.form.DateField){ Ext.apply(Ext.form.DateField.prototype, { - disabledDaysText : "ç¦?用", - disabledDatesText : "ç¦?用", - minText : "该输入项的日期必须在 {0} 之å?Ž", - maxText : "该输入项的日期必须在 {0} 之å‰?", - invalidText : "{0} 是无效的日期 - 必须符å?ˆæ ¼å¼?: {1}", + disabledDaysText : "禁用", + disabledDatesText : "禁用", + minText : "该输入项的日期必须在 {0} 之后", + maxText : "该输入项的日期必须在 {0} 之前", + invalidText : "{0} 是无效的日期 - 必须符合格式: {1}", format : "yå¹´m月d日" }); } if(Ext.form.ComboBox){ Ext.apply(Ext.form.ComboBox.prototype, { - loadingText : "加载...", + loadingText : "加载中...", valueNotFoundText : undefined }); } if(Ext.form.VTypes){ Ext.apply(Ext.form.VTypes, { - emailText : '该输入项必须是电å­?邮件地å?€ï¼Œæ ¼å¼?如: "user@example.com"', - urlText : '该输入项必须是URL地å?€ï¼Œæ ¼å¼?如: "http:/'+'/www.example.com"', - alphaText : '该输入项å?ªèƒ½åŒ…å?«å­—符和_', - alphanumText : '该输入项å?ªèƒ½åŒ…å?«å­—符,数字和_' + emailText : '该输入项必须是电子邮件地址,格式如: "user@example.com"', + urlText : '该输入项必须是URL地址,格式如: "http:/'+'/www.example.com"', + alphaText : '该输入项只能包含半角字母和_',//update + alphanumText : '该输入项只能包含半角字母,数字和_'//update }); } +//add HTMLEditor's tips by andy_ghg +if(Ext.form.HtmlEditor){ + Ext.apply(Ext.form.HtmlEditor.prototype, { + createLinkText : '添加超级链接:', + buttonTips : { + bold : { + title: '粗体 (Ctrl+B)', + text: '将选中的文字设置为粗体', + cls: 'x-html-editor-tip' + }, + italic : { + title: '斜体 (Ctrl+I)', + text: '将选中的文字设置为斜体', + cls: 'x-html-editor-tip' + }, + underline : { + title: '下划线 (Ctrl+U)', + text: '给所选文字加下划线', + cls: 'x-html-editor-tip' + }, + increasefontsize : { + title: '增大字体', + text: '增大字号', + cls: 'x-html-editor-tip' + }, + decreasefontsize : { + title: '缩小字体', + text: '减小字号', + cls: 'x-html-editor-tip' + }, + backcolor : { + title: '以不同颜色突出显示文本', + text: '使文字看上去像是用荧光笔做了标记一样', + cls: 'x-html-editor-tip' + }, + forecolor : { + title: '字体颜色', + text: '更改字体颜色', + cls: 'x-html-editor-tip' + }, + justifyleft : { + title: '左对齐', + text: '将文字左对齐', + cls: 'x-html-editor-tip' + }, + justifycenter : { + title: '居中', + text: '将文字居中对齐', + cls: 'x-html-editor-tip' + }, + justifyright : { + title: '右对齐', + text: '将文字右对齐', + cls: 'x-html-editor-tip' + }, + insertunorderedlist : { + title: '项目符号', + text: '开始创建项目符号列表', + cls: 'x-html-editor-tip' + }, + insertorderedlist : { + title: '编号', + text: '开始创建编号列表', + cls: 'x-html-editor-tip' + }, + createlink : { + title: '转成超级链接', + text: '将所选文本转换成超级链接', + cls: 'x-html-editor-tip' + }, + sourceedit : { + title: '代码视图', + text: '以代码的形式展现文本', + cls: 'x-html-editor-tip' + } + } + }); +} + if(Ext.grid.GridView){ Ext.apply(Ext.grid.GridView.prototype, { - sortAscText : "æ­£åº?", - sortDescText : "逆åº?", - lockText : "é”?列", - unlockText : "解é”?列", + sortAscText : "正序",//update + sortDescText : "倒序",//update + lockText : "锁定列",//update + unlockText : "解除锁定",//update columnsText : "列" }); } if(Ext.grid.PropertyColumnModel){ Ext.apply(Ext.grid.PropertyColumnModel.prototype, { - nameText : "å??称", + nameText : "名称", valueText : "值", dateFormat : "yå¹´m月d日" }); @@ -175,10 +265,9 @@ if(Ext.grid.PropertyColumnModel){ if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { - splitTip : "拖动æ?¥æ”¹å?˜å°ºå¯¸.", - collapsibleSplitTip : "拖动æ?¥æ”¹å?˜å°ºå¯¸. å?Œå‡»éš?è—?." + splitTip : "拖动来改变尺寸.", + collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏." }); -} -
+} \ No newline at end of file