/*
 * Traditional Chinese translation
 * By hata1234
 * 09 April 2007
 */


Ext.UpdateManager.defaults.indicatorText = '
讀取中...
';

if(Ext.View){
   
Ext.View.prototype.emptyText = "";
}

if(Ext.grid.GridPanel){
   
Ext.grid.GridPanel.prototype.ddText = "選擇了 {0} 行";
}

if(Ext.TabPanelItem){
   
Ext.TabPanelItem.prototype.closeText = "關閉此標籤";
}

if(Ext.form.Field){
   
Ext.form.Field.prototype.invalidText = "數值不符合欄位規定";
}

if(Ext.LoadMask){
   
Ext.LoadMask.prototype.msg = "讀取中...";
}

Date.monthNames = [
   
"一月",
   
"二月",
   
"三月",
   
"四月",
   
"五月",
   
"六月",
   
"七月",
   
"八月",
   
"九月",
   
"十月",
   
"十一月",
   
"十二月"
];

Date.dayNames = [
   
"æ—¥",
   
"一",
   
"二",
   
"三",
   
"å››",
   
"五",
   
"å…­"
];

if(Ext.MessageBox){
   
Ext.MessageBox.buttonText = {
        ok
: "確定",
        cancel
: "取消",
        yes
: "是",
        no
: "否"
   
};
}

if(Ext.util.Format){
   
Ext.util.Format.date = function(v, format){
       
if(!v) return "";
       
if(!(v instanceof Date)) v = new Date(Date.parse(v));
       
return v.dateFormat(format || "Y/m/d");
   
};
}

if(Ext.DatePicker){
   
Ext.apply(Ext.DatePicker.prototype, {
       todayText        
: "今天",
       minText          
: "æ—¥æœŸå¿…é ˆå¤§æ–¼æœ€å°å®¹è¨±æ—¥æœŸ",
       maxText          
: "æ—¥æœŸå¿…é ˆå°æ–¼æœ€å¤§å®¹è¨±æ—¥æœŸ",
       disabledDaysText  
: "",
       disabledDatesText
: "",
       monthNames        
: Date.monthNames,
       dayNames          
: Date.dayNames,
       nextText          
: "下個月 (Ctrl+右方向鍵)",
       prevText          
: "上個月 (Ctrl+左方向鍵)",
       monthYearText    
: "選擇月份 (Ctrl+上/下方向鍵選擇年份)",
       todayTip          
: "{0} (空白鍵)",
       format            
: "y/m/d",
       okText            
: "确定",
       cancelText        
: "取消"
   
});
}

if(Ext.PagingToolbar){
   
Ext.apply(Ext.PagingToolbar.prototype, {
       beforePageText
: "第",
       afterPageText  
: "é ï¼Œå…±{0}é ",
       firstText      
: "ç¬¬ä¸€é ",
       prevText      
: "ä¸Šä¸€é ",
       nextText      
: "ä¸‹ä¸€é ",
       lastText      
: "æœ€å¾Œé ",
       refreshText    
: "重新整理",
       displayMsg    
: "顯示{0} - {1}筆,共{2}筆",
       emptyMsg      
: '沒有任何資料'
   
});
}

if(Ext.form.TextField){
   
Ext.apply(Ext.form.TextField.prototype, {
       minLengthText
: "此欄位最少要輸入 {0} 個字",
       maxLengthText
: "此欄位最多輸入 {0} 個字",
       blankText    
: "此欄位為必填",
       regexText    
: "",
       emptyText    
: null
   
});
}

if(Ext.form.NumberField){
   
Ext.apply(Ext.form.NumberField.prototype, {
       minText
: "æ­¤æ¬„ä½ä¹‹æ•¸å€¼å¿…é ˆå¤§æ–¼ {0}",
       maxText
: "æ­¤æ¬„ä½ä¹‹æ•¸å€¼å¿…é ˆå°æ–¼ {0}",
       nanText
: "{0} 不是合法的數字"
   
});
}

if(Ext.form.DateField){
   
Ext.apply(Ext.form.DateField.prototype, {
       disabledDaysText  
: "無法使用",
       disabledDatesText
: "無法使用",
       minText          
: "æ­¤æ¬„ä½ä¹‹æ—¥æœŸå¿…é ˆåœ¨ {0} 之後",
       maxText          
: "æ­¤æ¬„ä½ä¹‹æ—¥æœŸå¿…é ˆåœ¨ {0} 之前",
       invalidText      
: "{0} ä¸æ˜¯æ­£ç¢ºçš„æ—¥æœŸæ ¼å¼ - å¿…é ˆåƒæ˜¯ 「 {1} 」 é€™æ¨£çš„æ ¼å¼",
       format            
: "Y/m/d"
   
});
}

if(Ext.form.ComboBox){
   
Ext.apply(Ext.form.ComboBox.prototype, {
       loadingText      
: "讀取中 ...",
       valueNotFoundText
: undefined
   
});
}

if(Ext.form.VTypes){
   
Ext.apply(Ext.form.VTypes, {
       emailText    
: 'æ­¤æ¬„ä½å¿…é ˆè¼¸å…¥åƒ "user@example.com" 之E-Mailæ ¼å¼',
       urlText      
: 'æ­¤æ¬„ä½å¿…é ˆè¼¸å…¥åƒ "http:/'+'/www.example.com" ä¹‹ç¶²å€æ ¼å¼',
       alphaText    
: '此欄位僅能輸入半形英文字母及底線( _ )符號',
       alphanumText
: '此欄位僅能輸入半形英文字母、數字及底線( _ )符號'
   
});
}

if(Ext.grid.GridView){
   
Ext.apply(Ext.grid.GridView.prototype, {
       sortAscText  
: "正向排序",
       sortDescText
: "反向排序",
       lockText    
: "鎖定欄位",
       unlockText  
: "解開欄位鎖定",
       columnsText  
: "欄位"
   
});
}

if(Ext.grid.PropertyColumnModel){
   
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
       nameText  
: "名稱",
       valueText  
: "數值",
       dateFormat
: "Y/m/d"
   
});
}

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
   
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
       splitTip            
: "拖曳縮放大小.",
       collapsibleSplitTip
: "拖曳縮放大小. æ»‘é¼ é›™æ“Šéš±è—."
   
});
}