Upgrade to ExtJS 3.2.2 - Released 06/02/2010
[extjs.git] / docs / source / ext-lang-zh_TW.html
1 <html>
2 <head>
3   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    
4   <title>The source code</title>
5     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
6     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 </head>
8 <body  onload="prettyPrint();">
9     <pre class="prettyprint lang-js">/*!
10  * Ext JS Library 3.2.2
11  * Copyright(c) 2006-2010 Ext JS, Inc.
12  * licensing@extjs.com
13  * http://www.extjs.com/license
14  */
15 /*
16  * Traditional Chinese translation
17  * By hata1234
18  * 09 April 2007
19  */
20
21 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">讀取中...</div>';
22
23 if(Ext.View){
24     Ext.View.prototype.emptyText = "";
25 }
26
27 if(Ext.grid.GridPanel){
28     Ext.grid.GridPanel.prototype.ddText = "選擇了 {0} 行";
29 }
30
31 if(Ext.TabPanelItem){
32     Ext.TabPanelItem.prototype.closeText = "關閉此標籤";
33 }
34
35 if(Ext.form.Field){
36     Ext.form.Field.prototype.invalidText = "數值不符合欄位規定";
37 }
38
39 if(Ext.LoadMask){
40     Ext.LoadMask.prototype.msg = "讀取中...";
41 }
42
43 Date.monthNames = [
44     "一月",
45     "二月",
46     "三月",
47     "四月",
48     "五月",
49     "六月",
50     "七月",
51     "八月",
52     "九月",
53     "十月",
54     "十一月",
55     "十二月"
56 ];
57
58 Date.dayNames = [
59     "日",
60     "一",
61     "二",
62     "三",
63     "四",
64     "五",
65     "六"
66 ];
67
68 if(Ext.MessageBox){
69     Ext.MessageBox.buttonText = {
70         ok : "確定",
71         cancel : "取消",
72         yes : "是",
73         no : "否"
74     };
75 }
76
77 if(Ext.util.Format){
78     Ext.util.Format.date = function(v, format){
79        if(!v) return "";
80        if(!(v instanceof Date)) v = new Date(Date.parse(v));
81        return v.dateFormat(format || "Y/m/d");
82     };
83 }
84
85 if(Ext.DatePicker){
86     Ext.apply(Ext.DatePicker.prototype, {
87        todayText         : "今天",
88        minText           : "日期必須大於最小容許日期",
89        maxText           : "日期必須小於最大容許日期",
90        disabledDaysText  : "",
91        disabledDatesText : "",
92        monthNames        : Date.monthNames,
93        dayNames          : Date.dayNames,
94        nextText          : "下個月 (Ctrl+右方向鍵)",
95        prevText          : "上個月 (Ctrl+左方向鍵)",
96        monthYearText     : "選擇月份 (Ctrl+上/下方向鍵選擇年份)",
97        todayTip          : "{0} (空白鍵)",
98        format            : "y/m/d",
99        okText            : "确定",
100        cancelText        : "取消"
101     });
102 }
103
104 if(Ext.PagingToolbar){
105     Ext.apply(Ext.PagingToolbar.prototype, {
106        beforePageText : "第",
107        afterPageText  : "頁,共{0}頁",
108        firstText      : "第一頁",
109        prevText       : "上一頁",
110        nextText       : "下一頁",
111        lastText       : "最後頁",
112        refreshText    : "重新整理",
113        displayMsg     : "顯示{0} - {1}筆,共{2}筆",
114        emptyMsg       : '沒有任何資料'
115     });
116 }
117
118 if(Ext.form.TextField){
119     Ext.apply(Ext.form.TextField.prototype, {
120        minLengthText : "此欄位最少要輸入 {0} 個字",
121        maxLengthText : "此欄位最多輸入 {0} 個字",
122        blankText     : "此欄位為必填",
123        regexText     : "",
124        emptyText     : null
125     });
126 }
127
128 if(Ext.form.NumberField){
129     Ext.apply(Ext.form.NumberField.prototype, {
130        minText : "此欄位之數值必須大於 {0}",
131        maxText : "此欄位之數值必須小於 {0}",
132        nanText : "{0} 不是合法的數字"
133     });
134 }
135
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} 」 這樣的格式",
143        format            : "Y/m/d"
144     });
145 }
146
147 if(Ext.form.ComboBox){
148     Ext.apply(Ext.form.ComboBox.prototype, {
149        loadingText       : "讀取中 ...",
150        valueNotFoundText : undefined
151     });
152 }
153
154 if(Ext.form.VTypes){
155     Ext.apply(Ext.form.VTypes, {
156        emailText    : '此欄位必須輸入像 "user@example.com" 之E-Mail格式',
157        urlText      : '此欄位必須輸入像 "http:/'+'/www.example.com" 之網址格式',
158        alphaText    : '此欄位僅能輸入半形英文字母及底線( _ )符號',
159        alphanumText : '此欄位僅能輸入半形英文字母、數字及底線( _ )符號'
160     });
161 }
162
163 if(Ext.grid.GridView){
164     Ext.apply(Ext.grid.GridView.prototype, {
165        sortAscText  : "正向排序",
166        sortDescText : "反向排序",
167        lockText     : "鎖定欄位",
168        unlockText   : "解開欄位鎖定",
169        columnsText  : "欄位"
170     });
171 }
172
173 if(Ext.grid.PropertyColumnModel){
174     Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
175        nameText   : "名稱",
176        valueText  : "數值",
177        dateFormat : "Y/m/d"
178     });
179 }
180
181 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
182     Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
183        splitTip            : "拖曳縮放大小.",
184        collapsibleSplitTip : "拖曳縮放大小. 滑鼠雙擊隱藏."
185     });
186 }
187 </pre>    
188 </body>
189 </html>