X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/src/locale/ext-lang-zh_CN.js?ds=inline
diff --git a/src/locale/ext-lang-zh_CN.js b/src/locale/ext-lang-zh_CN.js
index e6330146..3cd57178 100644
--- a/src/locale/ext-lang-zh_CN.js
+++ b/src/locale/ext-lang-zh_CN.js
@@ -1,5 +1,5 @@
/*!
- * Ext JS Library 3.0.0
+ * Ext JS Library 3.1.0
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
@@ -8,26 +8,33 @@
* Simplified Chinese translation
* By DavidHu
* 09 April 2007
+ *
+ * update by andy_ghg
+ * 2009-10-22 15:00:57
*/
Ext.UpdateManager.defaults.indicatorText = '
å è½½ä¸...
';
-if(Ext.View){
- Ext.View.prototype.emptyText = "";
+if(Ext.DataView){
+ Ext.DataView.prototype.emptyText = "";
}
if(Ext.grid.GridPanel){
- Ext.grid.GridPanel.prototype.ddText = "{0} éæ©è¡";
+ Ext.grid.GridPanel.prototype.ddText = "éæ©äº {0} è¡";
}
if(Ext.TabPanelItem){
- Ext.TabPanelItem.prototype.closeText = "å
³é";
+ Ext.TabPanelItem.prototype.closeText = "å
³éæ¤æ ç¾";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "è¾å
¥å¼éæ³";
}
+if (Ext.LoadMask) {
+ Ext.LoadMask.prototype.msg = "读åä¸...";
+}
+
Date.monthNames = [
"ä¸æ",
"äºæ",
@@ -53,6 +60,9 @@ Date.dayNames = [
"å
"
];
+Date.formatCodes.a = "(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";
+Date.formatCodes.A = "(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";
+
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "ç¡®å®",
@@ -73,15 +83,15 @@ if(Ext.util.Format){
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "ä»å¤©",
- minText : "æ¥æå¨æå°æ¥æä¹å",
- maxText : "æ¥æå¨æ大æ¥æä¹å",
+ minText : "æ¥æå¿
须大äºæå°å
许æ¥æ",//update
+ maxText : "æ¥æå¿
é¡»å°äºæ大å
许æ¥æ",//update
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
- nextText : 'ä¸æ (Control+Right)',
- prevText : 'ä¸æ (Control+Left)',
- monthYearText : 'éæ©ä¸ä¸ªæ (Control+Up/Down æ¥æ¹åå¹´)',
+ nextText : 'ä¸ä¸ªæ (Ctrl+Right)',
+ prevText : 'ä¸ä¸ªæ (Ctrl+Left)',
+ monthYearText : 'éæ©ä¸ä¸ªæ (Control+Up/Down æ¥æ¹å年份)',//update
todayTip : "{0} (ç©ºæ ¼é®éæ©)",
format : "yå¹´mædæ¥",
okText : "ç¡®å®",
@@ -91,22 +101,22 @@ if(Ext.DatePicker){
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
- beforePageText : "页",
- afterPageText : "页å
± {0} 页",
+ beforePageText : "第",//update
+ afterPageText : "页,å
± {0} 页",//update
firstText : "第ä¸é¡µ",
- prevText : "åä¸é¡µ",
+ prevText : "ä¸ä¸é¡µ",//update
nextText : "ä¸ä¸é¡µ",
lastText : "æå页",
refreshText : "å·æ°",
- displayMsg : "æ¾ç¤º {0} - {1}ï¼å
± {2} æ¡",
- emptyMsg : '没ææ°æ®éè¦æ¾ç¤º'
+ displayMsg : "æ¾ç¤º {0} - {1}æ¡ï¼å
± {2} æ¡",//update
+ emptyMsg : '没ææ°æ®'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
- minLengthText : "该è¾å
¥é¡¹çæå°é¿åº¦æ¯ {0}",
- maxLengthText : "该è¾å
¥é¡¹çæ大é¿åº¦æ¯ {0}",
+ minLengthText : "该è¾å
¥é¡¹çæå°é¿åº¦æ¯ {0} 个å符",
+ maxLengthText : "该è¾å
¥é¡¹çæ大é¿åº¦æ¯ {0} 个å符",
blankText : "该è¾å
¥é¡¹ä¸ºå¿
è¾é¡¹",
regexText : "",
emptyText : null
@@ -134,7 +144,7 @@ if(Ext.form.DateField){
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
- loadingText : "å è½½...",
+ loadingText : "å è½½ä¸...",
valueNotFoundText : undefined
});
}
@@ -143,17 +153,96 @@ if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : '该è¾å
¥é¡¹å¿
é¡»æ¯çµåé®ä»¶å°åï¼æ ¼å¼å¦ï¼ "user@example.com"',
urlText : '该è¾å
¥é¡¹å¿
é¡»æ¯URLå°åï¼æ ¼å¼å¦ï¼ "http:/'+'/www.example.com"',
- alphaText : '该è¾å
¥é¡¹åªè½å
å«å符å_',
- alphanumText : '该è¾å
¥é¡¹åªè½å
å«å符,æ°åå_'
+ alphaText : '该è¾å
¥é¡¹åªè½å
å«åè§åæ¯å_',//update
+ alphanumText : '该è¾å
¥é¡¹åªè½å
å«åè§åæ¯,æ°åå_'//update
});
}
+//add HTMLEditor's tips by andy_ghg
+if(Ext.form.HtmlEditor){
+ Ext.apply(Ext.form.HtmlEditor.prototype, {
+ createLinkText : 'æ·»å è¶
级é¾æ¥:',
+ buttonTips : {
+ bold : {
+ title: 'ç²ä½ (Ctrl+B)',
+ text: 'å°éä¸çæå设置为ç²ä½',
+ cls: 'x-html-editor-tip'
+ },
+ italic : {
+ title: 'æä½ (Ctrl+I)',
+ text: 'å°éä¸çæå设置为æä½',
+ cls: 'x-html-editor-tip'
+ },
+ underline : {
+ title: 'ä¸å线 (Ctrl+U)',
+ text: 'ç»æéæåå ä¸å线',
+ cls: 'x-html-editor-tip'
+ },
+ increasefontsize : {
+ title: 'å¢å¤§åä½',
+ text: 'å¢å¤§åå·',
+ cls: 'x-html-editor-tip'
+ },
+ decreasefontsize : {
+ title: '缩å°åä½',
+ text: 'åå°åå·',
+ cls: 'x-html-editor-tip'
+ },
+ backcolor : {
+ title: '以ä¸åé¢è²çªåºæ¾ç¤ºææ¬',
+ text: '使æåçä¸å»åæ¯ç¨è§å
ç¬åäºæ è®°ä¸æ ·',
+ cls: 'x-html-editor-tip'
+ },
+ forecolor : {
+ title: 'åä½é¢è²',
+ text: 'æ´æ¹åä½é¢è²',
+ cls: 'x-html-editor-tip'
+ },
+ justifyleft : {
+ title: '左对é½',
+ text: 'å°æå左对é½',
+ cls: 'x-html-editor-tip'
+ },
+ justifycenter : {
+ title: 'å±
ä¸',
+ text: 'å°æåå±
ä¸å¯¹é½',
+ cls: 'x-html-editor-tip'
+ },
+ justifyright : {
+ title: 'å³å¯¹é½',
+ text: 'å°æåå³å¯¹é½',
+ cls: 'x-html-editor-tip'
+ },
+ insertunorderedlist : {
+ title: '项ç®ç¬¦å·',
+ text: 'å¼å§å建项ç®ç¬¦å·å表',
+ cls: 'x-html-editor-tip'
+ },
+ insertorderedlist : {
+ title: 'ç¼å·',
+ text: 'å¼å§å建ç¼å·å表',
+ cls: 'x-html-editor-tip'
+ },
+ createlink : {
+ title: '转æè¶
级é¾æ¥',
+ text: 'å°æéææ¬è½¬æ¢æè¶
级é¾æ¥',
+ cls: 'x-html-editor-tip'
+ },
+ sourceedit : {
+ title: '代ç è§å¾',
+ text: '以代ç çå½¢å¼å±ç°ææ¬',
+ cls: 'x-html-editor-tip'
+ }
+ }
+ });
+}
+
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
- sortAscText : "æ£åº",
- sortDescText : "éåº",
- lockText : "éå",
- unlockText : "解éå",
+ sortAscText : "æ£åº",//update
+ sortDescText : "ååº",//update
+ lockText : "éå®å",//update
+ unlockText : "解é¤éå®",//update
columnsText : "å"
});
}
@@ -171,4 +260,4 @@ if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
splitTip : "æå¨æ¥æ¹å尺寸.",
collapsibleSplitTip : "æå¨æ¥æ¹å尺寸. åå»éè."
});
-}
+}
\ No newline at end of file