ext-lang-zh_CN.js

/*
 * Simplified Chinese translation
 * By DavidHu
 * 09 April 2007
 */

Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">å è½½ä¸­...</div>';

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

if(Ext.grid.Grid){
   Ext.grid.Grid.prototype.ddText = "{0} éæ©è¡";
}

if(Ext.TabPanelItem){
   Ext.TabPanelItem.prototype.closeText = "å³é­";
}

if(Ext.form.Field){
   Ext.form.Field.prototype.invalidText = "è¾å¥å¼éæ³";
}

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          : '䏿 (Control+Right)',
      prevText          : '䏿 (Control+Left)',
      monthYearText     : 'éæ©ä¸ä¸ªæ (Control+Up/Down æ¥æ¹åå¹´)',
      todayTip          : "{0} (Spacebar)",
      format            : "yå¹´mædæ¥"
   });
}

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "页",
      afterPageText  : "of {0}",
      firstText      : "第ä¸é¡µ",
      prevText       : "åä¸é¡µ",
      nextText       : "ä¸ä¸é¡µ",
      lastText       : "æå页",
      refreshText    : "å·æ°",
      displayMsg     : "æ¾ç¤º {0} - {1} of {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@domain.com"',
      urlText      : '该è¾å¥é¡¹å¿é¡»æ¯URLå°åï¼æ ¼å¼å¦ï¼ "http:/'+'/www.domain.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.SplitLayoutRegion){
   Ext.apply(Ext.SplitLayoutRegion.prototype, {
      splitTip            : "æå¨æ¥æ¹å尺寸.",
      collapsibleSplitTip : "æå¨æ¥æ¹å尺寸. åå»éè."
   });
}

Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.