Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / src / locale / ext-lang-zh_CN.js
1 /*!
2  * Ext JS Library 3.0.3
3  * Copyright(c) 2006-2009 Ext JS, LLC
4  * licensing@extjs.com
5  * http://www.extjs.com/license
6  */
7 /*
8  * Simplified Chinese translation
9  * By DavidHu
10  * 09 April 2007
11  */
12
13 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>';
14
15 if(Ext.View){
16    Ext.View.prototype.emptyText = "";
17 }
18
19 if(Ext.grid.GridPanel){
20    Ext.grid.GridPanel.prototype.ddText = "{0} 选择行";
21 }
22
23 if(Ext.TabPanelItem){
24    Ext.TabPanelItem.prototype.closeText = "关闭";
25 }
26
27 if(Ext.form.Field){
28    Ext.form.Field.prototype.invalidText = "è¾\93å\85¥å\80¼é?\9eæ³\95";
29 }
30
31 Date.monthNames = [
32    "一月",
33    "二月",
34    "三月",
35    "四月",
36    "五月",
37    "六月",
38    "七月",
39    "八月",
40    "ä¹?æ\9c\88",
41    "å??æ\9c\88",
42    "å??ä¸\80æ\9c\88",
43    "å??äº\8cæ\9c\88"
44 ];
45
46 Date.dayNames = [
47    "日",
48    "一",
49    "二",
50    "三",
51    "四",
52    "五",
53    "六"
54 ];
55
56 if(Ext.MessageBox){
57    Ext.MessageBox.buttonText = {
58       ok     : "确定",
59       cancel : "å?\96æ¶\88",
60       yes    : "是",
61       no     : "å?¦"
62    };
63 }
64
65 if(Ext.util.Format){
66    Ext.util.Format.date = function(v, format){
67       if(!v) return "";
68       if(!(v instanceof Date)) v = new Date(Date.parse(v));
69       return v.dateFormat(format || "y年m月d日");
70    };
71 }
72
73 if(Ext.DatePicker){
74    Ext.apply(Ext.DatePicker.prototype, {
75       todayText         : "今天",
76       minText           : "æ\97¥æ\9c\9få\9c¨æ\9c\80å°?æ\97¥æ\9c\9fä¹\8bå\89?",
77       maxText           : "æ\97¥æ\9c\9få\9c¨æ\9c\80大æ\97¥æ\9c\9fä¹\8bå?\8e",
78       disabledDaysText  : "",
79       disabledDatesText : "",
80       monthNames        : Date.monthNames,
81       dayNames          : Date.dayNames,
82       nextText          : '下月 (Control+Right)',
83       prevText          : '上月 (Control+Left)',
84       monthYearText     : 'é\80\89æ\8b©ä¸\80个æ\9c\88 (Control+Up/Down æ?¥æ\94¹å?\98å¹´)',
85       todayTip          : "{0} (空格键选择)",
86       format            : "y年m月d日",
87       okText            : "确定",
88       cancelText        : "å?\96æ¶\88"
89    });
90 }
91
92 if(Ext.PagingToolbar){
93    Ext.apply(Ext.PagingToolbar.prototype, {
94       beforePageText : "页",
95       afterPageText  : "页共 {0} 页",
96       firstText      : "第一页",
97       prevText       : "å\89?ä¸\80页",
98       nextText       : "下一页",
99       lastText       : "æ\9c\80å?\8e页",
100       refreshText    : "刷新",
101       displayMsg     : "æ\98¾ç¤º {0} - {1}ï¼\8cå\85± {2} æ?¡",
102       emptyMsg       : '没æ\9c\89æ\95°æ?®é\9c\80è¦?æ\98¾ç¤º'
103    });
104 }
105
106 if(Ext.form.TextField){
107    Ext.apply(Ext.form.TextField.prototype, {
108       minLengthText : "该è¾\93å\85¥é¡¹ç\9a\84æ\9c\80å°?é\95¿åº¦æ\98¯ {0}",
109       maxLengthText : "该输入项的最大长度是 {0}",
110       blankText     : "该输入项为必输项",
111       regexText     : "",
112       emptyText     : null
113    });
114 }
115
116 if(Ext.form.NumberField){
117    Ext.apply(Ext.form.NumberField.prototype, {
118       minText : "该è¾\93å\85¥é¡¹ç\9a\84æ\9c\80å°?å\80¼æ\98¯ {0}",
119       maxText : "该输入项的最大值是 {0}",
120       nanText : "{0} ä¸?æ\98¯æ\9c\89æ\95\88æ\95°å\80¼"
121    });
122 }
123
124 if(Ext.form.DateField){
125    Ext.apply(Ext.form.DateField.prototype, {
126       disabledDaysText  : "ç¦?ç\94¨",
127       disabledDatesText : "ç¦?ç\94¨",
128       minText           : "该è¾\93å\85¥é¡¹ç\9a\84æ\97¥æ\9c\9få¿\85é¡»å\9c¨ {0} ä¹\8bå?\8e",
129       maxText           : "该è¾\93å\85¥é¡¹ç\9a\84æ\97¥æ\9c\9få¿\85é¡»å\9c¨ {0} ä¹\8bå\89?",
130       invalidText       : "{0} æ\98¯æ\97 æ\95\88ç\9a\84æ\97¥æ\9c\9f - å¿\85须符å?\88æ ¼å¼?ï¼\9a {1}",
131       format            : "y年m月d日"
132    });
133 }
134
135 if(Ext.form.ComboBox){
136    Ext.apply(Ext.form.ComboBox.prototype, {
137       loadingText       : "加载...",
138       valueNotFoundText : undefined
139    });
140 }
141
142 if(Ext.form.VTypes){
143    Ext.apply(Ext.form.VTypes, {
144       emailText    : '该è¾\93å\85¥é¡¹å¿\85é¡»æ\98¯ç\94µå­?é\82®ä»¶å\9c°å?\80ï¼\8cæ ¼å¼?å¦\82ï¼\9a "user@example.com"',
145       urlText      : '该è¾\93å\85¥é¡¹å¿\85é¡»æ\98¯URLå\9c°å?\80ï¼\8cæ ¼å¼?å¦\82ï¼\9a "http:/'+'/www.example.com"',
146       alphaText    : '该è¾\93å\85¥é¡¹å?ªè\83½å\8c\85å?«å­\97符å\92\8c_',
147       alphanumText : '该è¾\93å\85¥é¡¹å?ªè\83½å\8c\85å?«å­\97符,æ\95°å­\97å\92\8c_'
148    });
149 }
150
151 if(Ext.grid.GridView){
152    Ext.apply(Ext.grid.GridView.prototype, {
153       sortAscText  : "æ­£åº?",
154       sortDescText : "é\80\86åº?",
155       lockText     : "é\94\88\97",
156       unlockText   : "解é\94\88\97",
157       columnsText  : "列"
158    });
159 }
160
161 if(Ext.grid.PropertyColumnModel){
162    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
163       nameText   : "å??称",
164       valueText  : "值",
165       dateFormat : "y年m月d日"
166    });
167 }
168
169 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
170    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
171       splitTip            : "æ\8b\96å\8a¨æ?¥æ\94¹å?\98尺寸.",
172       collapsibleSplitTip : "æ\8b\96å\8a¨æ?¥æ\94¹å?\98尺寸. å?\8cå\87»é\9a\97?."
173    });
174 }