/*
 * Ext JS Library 1.0
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://www.extjs.com/license
 */

/**
 * List compiled by mystix on the extjs.com forums.
 * Thank you Mystix!
 *
 * English Translations
 */

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

if(Ext.TabPanelItem){
   Ext.TabPanelItem.prototype.closeText = "关闭标签";
}

if(Ext.LoadMask){
    Ext.LoadMask.prototype.msg = "正在读取...";
}

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.SplitLayoutRegion){
   Ext.apply(Ext.SplitLayoutRegion.prototype, {
      splitTip            : "拖动改变尺寸.",
      collapsibleSplitTip : "拖动改变尺寸, 双击隐藏"
   });
}