2 * Traditional Chinese translation
6 Ext.onReady(function(){
8 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">讀取中...</div>';
12 Ext.view.View.prototype.emptyText = "";
16 Ext.grid.Panel.prototype.ddText = "選擇了 {0} 行";
20 Ext.TabPanelItem.prototype.closeText = "關閉此標籤";
23 if(Ext.form.field.Base){
24 Ext.form.field.Base.prototype.invalidText = "數值不符合欄位規定";
28 Ext.LoadMask.prototype.msg = "讀取中...";
32 Ext.Date.monthNames = [
59 Ext.MessageBox.buttonText = {
68 Ext.apply(Ext.util.Format, {
69 thousandSeparator: '.',
70 decimalSeparator: ',',
71 currencySign: '\u00a5', // Chinese Yuan
77 Ext.apply(Ext.picker.Date.prototype, {
79 minText : "日期必須大於最小容許日期",
80 maxText : "日期必須小於最大容許日期",
81 disabledDaysText : "",
82 disabledDatesText : "",
83 monthNames : Ext.Date.monthNames,
84 dayNames : Ext.Date.dayNames,
85 nextText : "下個月 (Ctrl+右方向鍵)",
86 prevText : "上個月 (Ctrl+左方向鍵)",
87 monthYearText : "選擇月份 (Ctrl+上/下方向鍵選擇年份)",
88 todayTip : "{0} (空白鍵)",
93 if(Ext.picker.Month) {
94 Ext.apply(Ext.picker.Month.prototype, {
100 if(Ext.toolbar.Paging){
101 Ext.apply(Ext.PagingToolbar.prototype, {
102 beforePageText : "第",
103 afterPageText : "頁,共{0}頁",
108 refreshText : "重新整理",
109 displayMsg : "顯示{0} - {1}筆,共{2}筆",
114 if(Ext.form.field.Text){
115 Ext.apply(Ext.form.field.Text.prototype, {
116 minLengthText : "此欄位最少要輸入 {0} 個字",
117 maxLengthText : "此欄位最多輸入 {0} 個字",
118 blankText : "此欄位為必填",
124 if(Ext.form.field.Number){
125 Ext.apply(Ext.form.field.Number.prototype, {
126 minText : "此欄位之數值必須大於 {0}",
127 maxText : "此欄位之數值必須小於 {0}",
128 nanText : "{0} 不是合法的數字"
132 if(Ext.form.field.Date){
133 Ext.apply(Ext.form.field.Date.prototype, {
134 disabledDaysText : "無法使用",
135 disabledDatesText : "無法使用",
136 minText : "此欄位之日期必須在 {0} 之後",
137 maxText : "此欄位之日期必須在 {0} 之前",
138 invalidText : "{0} 不是正確的日期格式 - 必須像是 「 {1} 」 這樣的格式",
143 if(Ext.form.field.ComboBox){
144 Ext.apply(Ext.form.field.ComboBox.prototype, {
145 loadingText : "讀取中 ...",
146 valueNotFoundText : undefined
150 if(Ext.form.field.VTypes){
151 Ext.apply(Ext.form.field.VTypes, {
152 emailText : '此欄位必須輸入像 "user@example.com" 之E-Mail格式',
153 urlText : '此欄位必須輸入像 "http:/'+'/www.example.com" 之網址格式',
154 alphaText : '此欄位僅能輸入半形英文字母及底線( _ )符號',
155 alphanumText : '此欄位僅能輸入半形英文字母、數字及底線( _ )符號'
159 if(Ext.grid.header.Container){
160 Ext.apply(Ext.grid.header.Container.prototype, {
161 sortAscText : "正向排序",
162 sortDescText : "反向排序",
164 unlockText : "解開欄位鎖定",
169 if(Ext.grid.PropertyColumnModel){
170 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
177 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
178 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
179 splitTip : "拖曳縮放大小.",
180 collapsibleSplitTip : "拖曳縮放大小. 滑鼠雙擊隱藏."