X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/src/locale/ext-lang-zh_CN.js
diff --git a/src/locale/ext-lang-zh_CN.js b/src/locale/ext-lang-zh_CN.js
new file mode 100644
index 00000000..e6330146
--- /dev/null
+++ b/src/locale/ext-lang-zh_CN.js
@@ -0,0 +1,174 @@
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+/*
+ * Simplified Chinese translation
+ * By DavidHu
+ * 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 = "è¾å
¥å¼éæ³";
+}
+
+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} (ç©ºæ ¼é®éæ©)",
+ 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"',
+ urlText : '该è¾å
¥é¡¹å¿
é¡»æ¯URLå°åï¼æ ¼å¼å¦ï¼ "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 : "æå¨æ¥æ¹å尺寸. åå»éè."
+ });
+}