~cdparra/gelee/trunk

« back to all changes in this revision

Viewing changes to webui/ecosystem/workspace/extjs/docs/source/ext-lang-zh_TW.html

  • Committer: parra
  • Date: 2010-03-15 15:56:56 UTC
  • Revision ID: svn-v4:ac5bba68-f036-4e09-846e-8f32731cc928:trunk/gelee:1448
merged gelee at svn

Show diffs side-by-side

added added

removed removed

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