-<html>
-<head>
- <title>The source code</title>
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
-</head>
-<body onload="prettyPrint();">
- <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-/*
+<html>\r
+<head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
+ <title>The source code</title>\r
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body onload="prettyPrint();">\r
+ <pre class="prettyprint lang-js">/*
* Simplified Chinese translation
* By DavidHu
* 09 April 2007
+ *
+ * update by andy_ghg
+ * 2009-10-22 15:00:57
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>';
-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 = "è¾\93å\85¥å\80¼é?\9eæ³\95";
+ Ext.form.Field.prototype.invalidText = "输入值非法";
+}
+
+if (Ext.LoadMask) {
+ Ext.LoadMask.prototype.msg = "读取中...";
}
Date.monthNames = [
"六月",
"七月",
"八月",
- "ä¹?月",
- "å??月",
- "å??一月",
- "å??二月"
+ "ä¹\9d月",
+ "å\8d\81月",
+ "å\8d\81一月",
+ "å\8d\81二月"
];
Date.dayNames = [
"六"
];
+Date.formatCodes.a = "(this.getHours() < 12 ? '上午' : '下午')";
+Date.formatCodes.A = "(this.getHours() < 12 ? '上午' : '下午')";
+
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "确定",
- cancel : "å?\96æ¶\88",
+ cancel : "å\8f\96æ¶\88",
yes : "是",
- no : "å?¦"
+ no : "å\90¦"
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "今天",
- minText : "æ\97¥æ\9c\9få\9c¨æ\9c\80å°?æ\97¥æ\9c\9fä¹\8bå\89?",
- maxText : "æ\97¥æ\9c\9få\9c¨æ\9c\80大æ\97¥æ\9c\9fä¹\8bå?\8e",
+ minText : "æ\97¥æ\9c\9få¿\85须大äº\8eæ\9c\80å°\8få\85\81许æ\97¥æ\9c\9f",//update
+ maxText : "æ\97¥æ\9c\9få¿\85é¡»å°\8fäº\8eæ\9c\80大å\85\81许æ\97¥æ\9c\9f",//update
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
- nextText : '下月 (Control+Right)',
- prevText : '上月 (Control+Left)',
- monthYearText : 'é\80\89æ\8b©ä¸\80个æ\9c\88 (Control+Up/Down æ?¥æ\94¹å?\98å¹´)',
+ nextText : '下个月 (Ctrl+Right)',
+ prevText : '上个月 (Ctrl+Left)',
+ monthYearText : 'é\80\89æ\8b©ä¸\80个æ\9c\88 (Control+Up/Down æ\9d¥æ\94¹å\8f\98年份)',//update
todayTip : "{0} (空格键选择)",
format : "y年m月d日",
okText : "确定",
- cancelText : "å?\96æ¶\88"
+ cancelText : "å\8f\96æ¶\88"
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
- beforePageText : "页",
- afterPageText : "页共 {0} 页",
+ beforePageText : "第",//update
+ afterPageText : "页,共 {0} 页",//update
firstText : "第一页",
- prevText : "å\89?ä¸\80页",
+ prevText : "上一页",//update
nextText : "下一页",
- lastText : "æ\9c\80å?\8e页",
+ lastText : "æ\9c\80å\90\8e页",
refreshText : "刷新",
- displayMsg : "显示 {0} - {1}ï¼\8cå\85± {2} æ?¡",
- emptyMsg : '没æ\9c\89æ\95°æ?®é\9c\80è¦?æ\98¾ç¤º'
+ displayMsg : "显示 {0} - {1}条,共 {2} 条",//update
+ emptyMsg : '没æ\9c\89æ\95°æ\8d®'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
- minLengthText : "该è¾\93å\85¥é¡¹ç\9a\84æ\9c\80å°?长度是 {0}",
- maxLengthText : "该输入项的最大长度是 {0}",
+ minLengthText : "该è¾\93å\85¥é¡¹ç\9a\84æ\9c\80å°\8fé\95¿åº¦æ\98¯ {0} 个å\97符",
+ maxLengthText : "该输入项的最大长度是 {0} 个字符",
blankText : "该输入项为必输项",
regexText : "",
emptyText : null
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
- minText : "该è¾\93å\85¥é¡¹ç\9a\84æ\9c\80å°?值是 {0}",
+ minText : "该è¾\93å\85¥é¡¹ç\9a\84æ\9c\80å°\8f值是 {0}",
maxText : "该输入项的最大值是 {0}",
- nanText : "{0} ä¸?是有效数值"
+ nanText : "{0} ä¸\8d是有效数值"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
- disabledDaysText : "ç¦?用",
- disabledDatesText : "ç¦?用",
- minText : "该è¾\93å\85¥é¡¹ç\9a\84æ\97¥æ\9c\9få¿\85é¡»å\9c¨ {0} ä¹\8bå?\8e",
- maxText : "该è¾\93å\85¥é¡¹ç\9a\84æ\97¥æ\9c\9få¿\85é¡»å\9c¨ {0} ä¹\8bå\89?",
- invalidText : "{0} æ\98¯æ\97 æ\95\88ç\9a\84æ\97¥æ\9c\9f - å¿\85须符å?\88æ ¼å¼?: {1}",
+ disabledDaysText : "ç¦\81用",
+ disabledDatesText : "ç¦\81用",
+ minText : "该è¾\93å\85¥é¡¹ç\9a\84æ\97¥æ\9c\9få¿\85é¡»å\9c¨ {0} ä¹\8bå\90\8e",
+ maxText : "该è¾\93å\85¥é¡¹ç\9a\84æ\97¥æ\9c\9få¿\85é¡»å\9c¨ {0} ä¹\8bå\89\8d",
+ invalidText : "{0} æ\98¯æ\97 æ\95\88ç\9a\84æ\97¥æ\9c\9f - å¿\85须符å\90\88æ ¼å¼\8f: {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 : '该è¾\93å\85¥é¡¹å¿\85é¡»æ\98¯ç\94µå?é\82®ä»¶å\9c°å?\80ï¼\8cæ ¼å¼?如: "user@example.com"',
- urlText : '该è¾\93å\85¥é¡¹å¿\85é¡»æ\98¯URLå\9c°å?\80ï¼\8cæ ¼å¼?如: "http:/'+'/www.example.com"',
- alphaText : '该è¾\93å\85¥é¡¹å?ªè\83½å\8c\85å?«å\97符å\92\8c_',
- alphanumText : '该è¾\93å\85¥é¡¹å?ªè\83½å\8c\85å?«å\97符,æ\95°å\97å\92\8c_'
+ emailText : '该è¾\93å\85¥é¡¹å¿\85é¡»æ\98¯ç\94µå\90é\82®ä»¶å\9c°å\9d\80ï¼\8cæ ¼å¼\8f如: "user@example.com"',
+ urlText : '该è¾\93å\85¥é¡¹å¿\85é¡»æ\98¯URLå\9c°å\9d\80ï¼\8cæ ¼å¼\8f如: "http:/'+'/www.example.com"',
+ alphaText : '该è¾\93å\85¥é¡¹å\8fªè\83½å\8c\85å\90«å\8d\8aè§\92å\97æ¯\8då\92\8c_',//update
+ alphanumText : '该è¾\93å\85¥é¡¹å\8fªè\83½å\8c\85å\90«å\8d\8aè§\92å\97æ¯\8d,æ\95°å\97å\92\8c_'//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 : "é\80\86åº?",
- lockText : "é\94?列",
- unlockText : "解é\94?å\88\97",
+ sortAscText : "æ£åº\8f",//update
+ sortDescText : "倒序",//update
+ lockText : "é\94\81å®\9aå\88\97",//update
+ unlockText : "解é\99¤é\94\81å®\9a",//update
columnsText : "列"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
- nameText : "å??称",
+ nameText : "å\90\8d称",
valueText : "值",
dateFormat : "y年m月d日"
});
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
- splitTip : "æ\8b\96å\8a¨æ?¥æ\94¹å?\98尺寸.",
- collapsibleSplitTip : "æ\8b\96å\8a¨æ?¥æ\94¹å?\98尺寸. å?\8cå\87»é\9a?è\97?."
+ splitTip : "æ\8b\96å\8a¨æ\9d¥æ\94¹å\8f\98尺寸.",
+ collapsibleSplitTip : "æ\8b\96å\8a¨æ\9d¥æ\94¹å\8f\98尺寸. å\8f\8cå\87»é\9a\90è\97\8f."
});
-}
-</pre>
-</body>
+}</pre> \r
+</body>\r
</html>
\ No newline at end of file