X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/locale/ext-lang-zh_CN.js?ds=sidebyside
diff --git a/locale/ext-lang-zh_CN.js b/locale/ext-lang-zh_CN.js
new file mode 100644
index 00000000..db03016b
--- /dev/null
+++ b/locale/ext-lang-zh_CN.js
@@ -0,0 +1,268 @@
+/**
+ * Simplified Chinese translation
+ * By DavidHu
+ * 09 April 2007
+ *
+ * update by andy_ghg
+ * 2009-10-22 15:00:57
+ */
+Ext.onReady(function(){
+ if(Ext.Updater){
+ Ext.Updater.defaults.indicatorText = '
å è½½ä¸...
';
+ }
+
+ if(Ext.view.View){
+ Ext.view.View.prototype.emptyText = "";
+ }
+
+ if(Ext.grid.Panel){
+ Ext.grid.Panel.prototype.ddText = "éæ©äº {0} è¡";
+ }
+
+ if(Ext.TabPanelItem){
+ Ext.TabPanelItem.prototype.closeText = "å
³éæ¤æ ç¾";
+ }
+
+ if(Ext.form.field.Base){
+ Ext.form.field.Base.prototype.invalidText = "è¾å
¥å¼éæ³";
+ }
+
+ if (Ext.LoadMask) {
+ Ext.LoadMask.prototype.msg = "读åä¸...";
+ }
+
+ if(Ext.Date){
+ Ext.Date.monthNames = [
+ "ä¸æ",
+ "äºæ",
+ "ä¸æ",
+ "åæ",
+ "äºæ",
+ "å
æ",
+ "ä¸æ",
+ "å
«æ",
+ "ä¹æ",
+ "åæ",
+ "åä¸æ",
+ "åäºæ"
+ ];
+
+ Ext.Date.dayNames = [
+ "æ¥",
+ "ä¸",
+ "äº",
+ "ä¸",
+ "å",
+ "äº",
+ "å
"
+ ];
+
+ Ext.Date.formatCodes.a = "(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";
+ Ext.Date.formatCodes.A = "(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";
+ }
+
+ if(Ext.MessageBox){
+ Ext.MessageBox.buttonText = {
+ ok : "ç¡®å®",
+ cancel : "åæ¶",
+ yes : "æ¯",
+ no : "å¦"
+ };
+ }
+
+ if(Ext.util.Format){
+ Ext.apply(Ext.util.Format, {
+ thousandSeparator: '.',
+ decimalSeparator: ',',
+ currencySign: '\u00a5', // Chinese Yuan
+ dateFormat: 'yå¹´mædæ¥'
+ });
+ }
+
+ if(Ext.picker.Date){
+ Ext.apply(Ext.picker.Date.prototype, {
+ todayText : "ä»å¤©",
+ minText : "æ¥æå¿
须大äºæå°å
许æ¥æ",//update
+ maxText : "æ¥æå¿
é¡»å°äºæ大å
许æ¥æ",//update
+ disabledDaysText : "",
+ disabledDatesText : "",
+ monthNames : Ext.Date.monthNames,
+ dayNames : Ext.Date.dayNames,
+ nextText : 'ä¸ä¸ªæ (Ctrl+Right)',
+ prevText : 'ä¸ä¸ªæ (Ctrl+Left)',
+ monthYearText : 'éæ©ä¸ä¸ªæ (Control+Up/Down æ¥æ¹å年份)',//update
+ todayTip : "{0} (ç©ºæ ¼é®éæ©)",
+ format : "yå¹´mædæ¥"
+ });
+ }
+
+ if(Ext.picker.Month) {
+ Ext.apply(Ext.picker.Month.prototype, {
+ okText : "ç¡®å®",
+ cancelText : "åæ¶"
+ });
+ }
+
+ if(Ext.toolbar.Paging){
+ Ext.apply(Ext.PagingToolbar.prototype, {
+ beforePageText : "第",//update
+ afterPageText : "页,å
± {0} 页",//update
+ firstText : "第ä¸é¡µ",
+ prevText : "ä¸ä¸é¡µ",//update
+ nextText : "ä¸ä¸é¡µ",
+ lastText : "æå页",
+ refreshText : "å·æ°",
+ displayMsg : "æ¾ç¤º {0} - {1}æ¡ï¼å
± {2} æ¡",//update
+ emptyMsg : '没ææ°æ®'
+ });
+ }
+
+ if(Ext.form.field.Text){
+ Ext.apply(Ext.form.field.Text.prototype, {
+ minLengthText : "该è¾å
¥é¡¹çæå°é¿åº¦æ¯ {0} 个å符",
+ maxLengthText : "该è¾å
¥é¡¹çæ大é¿åº¦æ¯ {0} 个å符",
+ blankText : "该è¾å
¥é¡¹ä¸ºå¿
è¾é¡¹",
+ regexText : "",
+ emptyText : null
+ });
+ }
+
+ if(Ext.form.field.Number){
+ Ext.apply(Ext.form.field.Number.prototype, {
+ minText : "该è¾å
¥é¡¹çæå°å¼æ¯ {0}",
+ maxText : "该è¾å
¥é¡¹çæ大å¼æ¯ {0}",
+ nanText : "{0} ä¸æ¯æææ°å¼"
+ });
+ }
+
+ if(Ext.form.field.Date){
+ Ext.apply(Ext.form.field.Date.prototype, {
+ disabledDaysText : "ç¦ç¨",
+ disabledDatesText : "ç¦ç¨",
+ minText : "该è¾å
¥é¡¹çæ¥æå¿
é¡»å¨ {0} ä¹å",
+ maxText : "该è¾å
¥é¡¹çæ¥æå¿
é¡»å¨ {0} ä¹å",
+ invalidText : "{0} æ¯æ æçæ¥æ - å¿
须符åæ ¼å¼ï¼ {1}",
+ format : "yå¹´mædæ¥"
+ });
+ }
+
+ if(Ext.form.field.ComboBox){
+ Ext.apply(Ext.form.field.ComboBox.prototype, {
+ loadingText : "å è½½ä¸...",
+ valueNotFoundText : undefined
+ });
+ }
+
+ if(Ext.form.field.VTypes){
+ Ext.apply(Ext.form.field.VTypes, {
+ emailText : '该è¾å
¥é¡¹å¿
é¡»æ¯çµåé®ä»¶å°åï¼æ ¼å¼å¦ï¼ "user@example.com"',
+ urlText : '该è¾å
¥é¡¹å¿
é¡»æ¯URLå°åï¼æ ¼å¼å¦ï¼ "http:/'+'/www.example.com"',
+ alphaText : '该è¾å
¥é¡¹åªè½å
å«åè§åæ¯å_',//update
+ alphanumText : '该è¾å
¥é¡¹åªè½å
å«åè§åæ¯,æ°åå_'//update
+ });
+ }
+ //add HTMLEditor's tips by andy_ghg
+ if(Ext.form.field.HtmlEditor){
+ Ext.apply(Ext.form.field.HtmlEditor.prototype, {
+ createLinkText : 'æ·»å è¶
级é¾æ¥:',
+ buttonTips : {
+ bold : {
+ title: 'ç²ä½ (Ctrl+B)',
+ text: 'å°éä¸çæå设置为ç²ä½',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ italic : {
+ title: 'æä½ (Ctrl+I)',
+ text: 'å°éä¸çæå设置为æä½',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ underline : {
+ title: 'ä¸å线 (Ctrl+U)',
+ text: 'ç»æéæåå ä¸å线',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ increasefontsize : {
+ title: 'å¢å¤§åä½',
+ text: 'å¢å¤§åå·',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ decreasefontsize : {
+ title: '缩å°åä½',
+ text: 'åå°åå·',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ backcolor : {
+ title: '以ä¸åé¢è²çªåºæ¾ç¤ºææ¬',
+ text: '使æåçä¸å»åæ¯ç¨è§å
ç¬åäºæ è®°ä¸æ ·',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ forecolor : {
+ title: 'åä½é¢è²',
+ text: 'æ´æ¹åä½é¢è²',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifyleft : {
+ title: '左对é½',
+ text: 'å°æå左对é½',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifycenter : {
+ title: 'å±
ä¸',
+ text: 'å°æåå±
ä¸å¯¹é½',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifyright : {
+ title: 'å³å¯¹é½',
+ text: 'å°æåå³å¯¹é½',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ insertunorderedlist : {
+ title: '项ç®ç¬¦å·',
+ text: 'å¼å§å建项ç®ç¬¦å·å表',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ insertorderedlist : {
+ title: 'ç¼å·',
+ text: 'å¼å§å建ç¼å·å表',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ createlink : {
+ title: '转æè¶
级é¾æ¥',
+ text: 'å°æéææ¬è½¬æ¢æè¶
级é¾æ¥',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ sourceedit : {
+ title: '代ç è§å¾',
+ text: '以代ç çå½¢å¼å±ç°ææ¬',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ }
+ }
+ });
+ }
+
+
+ if(Ext.grid.header.Container){
+ Ext.apply(Ext.grid.header.Container.prototype, {
+ sortAscText : "æ£åº",//update
+ sortDescText : "ååº",//update
+ lockText : "éå®å",//update
+ unlockText : "解é¤éå®",//update
+ 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 : "æå¨æ¥æ¹å尺寸. åå»éè."
+ });
+ }
+});
\ No newline at end of file