3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
4 <title>The source code</title>
\r
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
8 <body onload="prettyPrint();">
\r
9 <pre class="prettyprint lang-js">/*
10 * Simplified Chinese translation
18 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>';
21 Ext.DataView.prototype.emptyText = "";
24 if(Ext.grid.GridPanel){
25 Ext.grid.GridPanel.prototype.ddText = "选择了 {0} 行";
29 Ext.TabPanelItem.prototype.closeText = "关闭此标签";
33 Ext.form.Field.prototype.invalidText = "输入值非法";
37 Ext.LoadMask.prototype.msg = "读取中...";
65 Date.formatCodes.a = "(this.getHours() < 12 ? '上午' : '下午')";
66 Date.formatCodes.A = "(this.getHours() < 12 ? '上午' : '下午')";
69 Ext.MessageBox.buttonText = {
78 Ext.util.Format.date = function(v, format){
80 if(!(v instanceof Date)) v = new Date(Date.parse(v));
81 return v.dateFormat(format || "y年m月d日");
86 Ext.apply(Ext.DatePicker.prototype, {
88 minText : "日期必须大于最小允许日期",//update
89 maxText : "日期必须小于最大允许日期",//update
90 disabledDaysText : "",
91 disabledDatesText : "",
92 monthNames : Date.monthNames,
93 dayNames : Date.dayNames,
94 nextText : '下个月 (Ctrl+Right)',
95 prevText : '上个月 (Ctrl+Left)',
96 monthYearText : '选择一个月 (Control+Up/Down 来改变年份)',//update
97 todayTip : "{0} (空格键选择)",
104 if(Ext.PagingToolbar){
105 Ext.apply(Ext.PagingToolbar.prototype, {
106 beforePageText : "第",//update
107 afterPageText : "页,共 {0} 页",//update
109 prevText : "上一页",//update
113 displayMsg : "显示 {0} - {1}条,共 {2} 条",//update
118 if(Ext.form.TextField){
119 Ext.apply(Ext.form.TextField.prototype, {
120 minLengthText : "该输入项的最小长度是 {0} 个字符",
121 maxLengthText : "该输入项的最大长度是 {0} 个字符",
122 blankText : "该输入项为必输项",
128 if(Ext.form.NumberField){
129 Ext.apply(Ext.form.NumberField.prototype, {
130 minText : "该输入项的最小值是 {0}",
131 maxText : "该输入项的最大值是 {0}",
132 nanText : "{0} 不是有效数值"
136 if(Ext.form.DateField){
137 Ext.apply(Ext.form.DateField.prototype, {
138 disabledDaysText : "禁用",
139 disabledDatesText : "禁用",
140 minText : "该输入项的日期必须在 {0} 之后",
141 maxText : "该输入项的日期必须在 {0} 之前",
142 invalidText : "{0} 是无效的日期 - 必须符合格式: {1}",
147 if(Ext.form.ComboBox){
148 Ext.apply(Ext.form.ComboBox.prototype, {
149 loadingText : "加载中...",
150 valueNotFoundText : undefined
155 Ext.apply(Ext.form.VTypes, {
156 emailText : '该输入项必须是电子邮件地址,格式如: "user@example.com"',
157 urlText : '该输入项必须是URL地址,格式如: "http:/'+'/www.example.com"',
158 alphaText : '该输入项只能包含半角字母和_',//update
159 alphanumText : '该输入项只能包含半角字母,数字和_'//update
162 //add HTMLEditor's tips by andy_ghg
163 if(Ext.form.HtmlEditor){
164 Ext.apply(Ext.form.HtmlEditor.prototype, {
165 createLinkText : '添加超级链接:',
168 title: '粗体 (Ctrl+B)',
170 cls: 'x-html-editor-tip'
173 title: '斜体 (Ctrl+I)',
175 cls: 'x-html-editor-tip'
178 title: '下划线 (Ctrl+U)',
180 cls: 'x-html-editor-tip'
185 cls: 'x-html-editor-tip'
190 cls: 'x-html-editor-tip'
193 title: '以不同颜色突出显示文本',
194 text: '使文字看上去像是用荧光笔做了标记一样',
195 cls: 'x-html-editor-tip'
200 cls: 'x-html-editor-tip'
205 cls: 'x-html-editor-tip'
210 cls: 'x-html-editor-tip'
215 cls: 'x-html-editor-tip'
217 insertunorderedlist : {
220 cls: 'x-html-editor-tip'
222 insertorderedlist : {
225 cls: 'x-html-editor-tip'
229 text: '将所选文本转换成超级链接',
230 cls: 'x-html-editor-tip'
235 cls: 'x-html-editor-tip'
242 if(Ext.grid.GridView){
243 Ext.apply(Ext.grid.GridView.prototype, {
244 sortAscText : "正序",//update
245 sortDescText : "倒序",//update
246 lockText : "锁定列",//update
247 unlockText : "解除锁定",//update
252 if(Ext.grid.PropertyColumnModel){
253 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
256 dateFormat : "y年m月d日"
260 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
261 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
262 splitTip : "拖动来改变尺寸.",
263 collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏."