3 <title>The source code</title>
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 <body onload="prettyPrint();">
8 <pre class="prettyprint lang-js">/*!
10 * Copyright(c) 2006-2009 Ext JS, LLC
12 * http://www.extjs.com/license
15 * Simplified Chinese translation
20 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>';
23 Ext.View.prototype.emptyText = "";
26 if(Ext.grid.GridPanel){
27 Ext.grid.GridPanel.prototype.ddText = "{0} 选择行";
31 Ext.TabPanelItem.prototype.closeText = "关闭";
35 Ext.form.Field.prototype.invalidText = "è¾
\93å
\85¥å
\80¼é?
\9eæ³
\95";
64 Ext.MessageBox.buttonText = {
66 cancel : "å?
\96æ¶
\88",
73 Ext.util.Format.date = function(v, format){
75 if(!(v instanceof Date)) v = new Date(Date.parse(v));
76 return v.dateFormat(format || "y年m月d日");
81 Ext.apply(Ext.DatePicker.prototype, {
83 minText : "æ
\97¥æ
\9c\9få
\9c¨æ
\9c\80å°?æ
\97¥æ
\9c\9fä¹
\8bå
\89?",
84 maxText : "æ
\97¥æ
\9c\9få
\9c¨æ
\9c\80大æ
\97¥æ
\9c\9fä¹
\8bå?
\8e",
85 disabledDaysText : "",
86 disabledDatesText : "",
87 monthNames : Date.monthNames,
88 dayNames : Date.dayNames,
89 nextText : '下月 (Control+Right)',
90 prevText : '上月 (Control+Left)',
91 monthYearText : 'é
\80\89æ
\8b©ä¸
\80个æ
\9c\88 (Control+Up/Down æ?¥æ
\94¹å?
\98å¹´)',
92 todayTip : "{0} (空格键选择)",
95 cancelText : "å?
\96æ¶
\88"
99 if(Ext.PagingToolbar){
100 Ext.apply(Ext.PagingToolbar.prototype, {
101 beforePageText : "页",
102 afterPageText : "页共 {0} 页",
104 prevText : "å
\89?ä¸
\80页",
106 lastText : "æ
\9c\80å?
\8e页",
108 displayMsg : "æ
\98¾ç¤º {0} - {1}ï¼
\8cå
\85± {2} æ?¡",
109 emptyMsg : '没æ
\9c\89æ
\95°æ?®é
\9c\80è¦?æ
\98¾ç¤º'
113 if(Ext.form.TextField){
114 Ext.apply(Ext.form.TextField.prototype, {
115 minLengthText : "该è¾
\93å
\85¥é¡¹ç
\9a\84æ
\9c\80å°?é
\95¿åº¦æ
\98¯ {0}",
116 maxLengthText : "该输入项的最大长度是 {0}",
117 blankText : "该输入项为必输项",
123 if(Ext.form.NumberField){
124 Ext.apply(Ext.form.NumberField.prototype, {
125 minText : "该è¾
\93å
\85¥é¡¹ç
\9a\84æ
\9c\80å°?å
\80¼æ
\98¯ {0}",
126 maxText : "该输入项的最大值是 {0}",
127 nanText : "{0} ä¸?æ
\98¯æ
\9c\89æ
\95\88æ
\95°å
\80¼"
131 if(Ext.form.DateField){
132 Ext.apply(Ext.form.DateField.prototype, {
133 disabledDaysText : "ç¦?ç
\94¨",
134 disabledDatesText : "ç¦?ç
\94¨",
135 minText : "该è¾
\93å
\85¥é¡¹ç
\9a\84æ
\97¥æ
\9c\9få¿
\85é¡»å
\9c¨ {0} ä¹
\8bå?
\8e",
136 maxText : "该è¾
\93å
\85¥é¡¹ç
\9a\84æ
\97¥æ
\9c\9få¿
\85é¡»å
\9c¨ {0} ä¹
\8bå
\89?",
137 invalidText : "{0} æ
\98¯æ
\97 æ
\95\88ç
\9a\84æ
\97¥æ
\9c\9f - å¿
\85须符å?
\88æ ¼å¼?ï¼
\9a {1}",
142 if(Ext.form.ComboBox){
143 Ext.apply(Ext.form.ComboBox.prototype, {
144 loadingText : "加载...",
145 valueNotFoundText : undefined
150 Ext.apply(Ext.form.VTypes, {
151 emailText : '该è¾
\93å
\85¥é¡¹å¿
\85é¡»æ
\98¯ç
\94µå?é
\82®ä»¶å
\9c°å?
\80ï¼
\8cæ ¼å¼?å¦
\82ï¼
\9a "user@example.com"',
152 urlText : '该è¾
\93å
\85¥é¡¹å¿
\85é¡»æ
\98¯URLå
\9c°å?
\80ï¼
\8cæ ¼å¼?å¦
\82ï¼
\9a "http:/'+'/www.example.com"',
153 alphaText : '该è¾
\93å
\85¥é¡¹å?ªè
\83½å
\8c\85å?«å
\97符å
\92\8c_',
154 alphanumText : '该è¾
\93å
\85¥é¡¹å?ªè
\83½å
\8c\85å?«å
\97符,æ
\95°å
\97å
\92\8c_'
158 if(Ext.grid.GridView){
159 Ext.apply(Ext.grid.GridView.prototype, {
160 sortAscText : "æ£åº?",
161 sortDescText : "é
\80\86�",
162 lockText : "é
\94?å
\88\97",
163 unlockText : "解é
\94?å
\88\97",
168 if(Ext.grid.PropertyColumnModel){
169 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
172 dateFormat : "y年m月d日"
176 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
177 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
178 splitTip : "æ
\8b\96å
\8a¨æ?¥æ
\94¹å?
\98尺寸.",
179 collapsibleSplitTip : "æ
\8b\96å
\8a¨æ?¥æ
\94¹å?
\98尺寸. å?
\8cå
\87Ȏ
\9a?è
\97?."