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 * Traditional Chinese translation
20 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">è®
\80å?
\96ä¸...</div>';
23 Ext.View.prototype.emptyText = "";
26 if(Ext.grid.GridPanel){
27 Ext.grid.GridPanel.prototype.ddText = "é?¸æ
\93\87äº
\86 {0} è¡
\8c";
31 Ext.TabPanelItem.prototype.closeText = "關閉此標籤";
35 Ext.form.Field.prototype.invalidText = "æ
\95¸å
\80¼ä¸?符å?
\88æ¬
\84ä½?è¦?å®
\9a";
39 Ext.LoadMask.prototype.msg = "è®
\80å?
\96ä¸...";
68 Ext.MessageBox.buttonText = {
70 cancel : "å?
\96æ¶
\88",
77 Ext.util.Format.date = function(v, format){
79 if(!(v instanceof Date)) v = new Date(Date.parse(v));
80 return v.dateFormat(format || "Y/m/d");
85 Ext.apply(Ext.DatePicker.prototype, {
87 minText : "æ
\97¥æ
\9c\9få¿
\85é
\88大æ
\96¼æ
\9c\80å°?容許æ
\97¥æ
\9c\9f",
88 maxText : "æ
\97¥æ
\9c\9få¿
\85é
\88å°?æ
\96¼æ
\9c\80大容許æ
\97¥æ
\9c\9f",
89 disabledDaysText : "",
90 disabledDatesText : "",
91 monthNames : Date.monthNames,
92 dayNames : Date.dayNames,
93 nextText : "ä¸
\8bå
\80\8bæ
\9c\88 (Ctrl+å?³æ
\96¹å?
\91é?µ)",
94 prevText : "ä¸
\8aå
\80\8bæ
\9c\88 (Ctrl+å·¦æ
\96¹å?
\91é?µ)",
95 monthYearText : "é?¸æ
\93\87æ
\9c\88份 (Ctrl+ä¸
\8a/ä¸
\8bæ
\96¹å?
\91é?µé?¸æ
\93\87年份)",
96 todayTip : "{0} (空ç
\99½é?µ)",
99 cancelText : "å?
\96æ¶
\88"
103 if(Ext.PagingToolbar){
104 Ext.apply(Ext.PagingToolbar.prototype, {
105 beforePageText : "第",
106 afterPageText : "é ?ï¼
\8cå
\85±{0}é ?",
107 firstText : "第ä¸
\80é ?",
108 prevText : "ä¸
\8aä¸
\80é ?",
109 nextText : "ä¸
\8bä¸
\80é ?",
110 lastText : "æ
\9c\80å¾
\8cé ?",
111 refreshText : "é
\87?æ
\96°æ
\95´ç?
\86",
112 displayMsg : "顯示{0} - {1}筆,共{2}筆",
117 if(Ext.form.TextField){
118 Ext.apply(Ext.form.TextField.prototype, {
119 minLengthText : "æ¤æ¬
\84ä½?æ
\9c\80å°
\91è¦?輸å
\85¥ {0} å
\80\8bå
\97",
120 maxLengthText : "æ¤æ¬
\84ä½?æ
\9c\80å¤
\9a輸å
\85¥ {0} å
\80\8bå
\97",
121 blankText : "æ¤æ¬
\84ä½?ç
\82ºå¿
\85å¡«",
127 if(Ext.form.NumberField){
128 Ext.apply(Ext.form.NumberField.prototype, {
129 minText : "æ¤æ¬
\84ä½?ä¹
\8bæ
\95¸å
\80¼å¿
\85é
\88大æ
\96¼ {0}",
130 maxText : "æ¤æ¬
\84ä½?ä¹
\8bæ
\95¸å
\80¼å¿
\85é
\88å°?æ
\96¼ {0}",
131 nanText : "{0} ä¸?æ
\98¯å?
\88æ³
\95ç
\9a\84æ
\95¸å
\97"
135 if(Ext.form.DateField){
136 Ext.apply(Ext.form.DateField.prototype, {
137 disabledDaysText : "無法使用",
138 disabledDatesText : "無法使用",
139 minText : "æ¤æ¬
\84ä½?ä¹
\8bæ
\97¥æ
\9c\9få¿
\85é
\88å
\9c¨ {0} ä¹
\8bå¾
\8c",
140 maxText : "æ¤æ¬
\84ä½?ä¹
\8bæ
\97¥æ
\9c\9få¿
\85é
\88å
\9c¨ {0} ä¹
\8bå
\89?",
141 invalidText : "{0} ä¸?æ
\98¯æ£ç¢ºç
\9a\84æ
\97¥æ
\9c\9fæ ¼å¼? - å¿
\85é
\88å
\83?æ
\98¯ ã
\80\8c {1} ã
\80? é
\80\99樣ç
\9a\84æ ¼å¼?",
146 if(Ext.form.ComboBox){
147 Ext.apply(Ext.form.ComboBox.prototype, {
148 loadingText : "è®
\80å?
\96ä¸ ...",
149 valueNotFoundText : undefined
154 Ext.apply(Ext.form.VTypes, {
155 emailText : 'æ¤æ¬
\84ä½?å¿
\85é
\88輸å
\85¥å
\83? "user@example.com" ä¹
\8bE-Mailæ ¼å¼?',
156 urlText : 'æ¤æ¬
\84ä½?å¿
\85é
\88輸å
\85¥å
\83? "http:/'+'/www.example.com" ä¹
\8b網å?
\80æ ¼å¼?',
157 alphaText : 'æ¤æ¬
\84ä½?å
\83\85è
\83½è¼¸å
\85¥å?
\8aå½¢è
\8b±æ
\96\87å
\97æ¯?å?
\8aåº
\95ç·
\9a( _ )符è
\99\9f',
158 alphanumText : 'æ¤æ¬
\84ä½?å
\83\85è
\83½è¼¸å
\85¥å?
\8aå½¢è
\8b±æ
\96\87å
\97æ¯?ã
\80?æ
\95¸å
\97å?
\8aåº
\95ç·
\9a( _ )符è
\99\9f'
162 if(Ext.grid.GridView){
163 Ext.apply(Ext.grid.GridView.prototype, {
164 sortAscText : "æ£å?
\91æ
\8e\92�",
165 sortDescText : "å??å?
\91æ
\8e\92�",
166 lockText : "é
\8e\96å®
\9aæ¬
\84ä½?",
167 unlockText : "解é
\96\8bæ¬
\84ä½?é
\8e\96å®
\9a",
168 columnsText : "æ¬
\84ä½?"
172 if(Ext.grid.PropertyColumnModel){
173 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
180 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
181 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
182 splitTip : "æ
\8b\96æ
\9b³ç¸®æ
\94¾å¤§å°?.",
183 collapsibleSplitTip : "æ
\8b\96æ
\9b³ç¸®æ
\94¾å¤§å°?. æ»
\91é¼ é
\9b\99æ
\93\8aé
\9a±è
\97?."