[PATCH extjs 1/1] Fix zh_CN translation
evinedeng at aliyun.com
evinedeng at aliyun.com
Fri Jun 9 06:53:03 CEST 2023
From: devome <evinedeng at hotmail.com>
---
extjs/build/classic/locale/locale-zh_CN-debug.js | 2 +-
extjs/build/classic/locale/locale-zh_CN.js | 2 +-
extjs/classic/locale/overrides/zh_CN/ext-locale-zh_CN.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/extjs/build/classic/locale/locale-zh_CN-debug.js b/extjs/build/classic/locale/locale-zh_CN-debug.js
index 99880d1..4a551bd 100644
--- a/extjs/build/classic/locale/locale-zh_CN-debug.js
+++ b/extjs/build/classic/locale/locale-zh_CN-debug.js
@@ -63,7 +63,7 @@ Ext.define("Ext.locale.zh_CN.form.field.Base", {
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.zh_CN.view.AbstractView", {
override: "Ext.view.AbstractView",
- loadingText: "è®åä¸..."
+ loadingText: "读åä¸..."
});
Ext.define("Ext.locale.zh_CN.picker.Date", {
diff --git a/extjs/build/classic/locale/locale-zh_CN.js b/extjs/build/classic/locale/locale-zh_CN.js
index e049f9c..45d190d 100644
--- a/extjs/build/classic/locale/locale-zh_CN.js
+++ b/extjs/build/classic/locale/locale-zh_CN.js
@@ -1 +1 @@
-Ext.onReady(function(){var a;if(Ext.Date){Ext.Date.monthNames=["ä¸æ","äºæ","ä¸æ","åæ","äºæ","å
æ","ä¸æ","å
«æ","ä¹æ","åæ","åä¸æ","åäºæ"];Ext.Date.dayNames=["æææ¥","ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
"];Ext.Date.formatCodes.a="(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";Ext.Date.formatCodes.A="(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";a={g:1,c:"if (/(ä¸å)/i.test(results[{0}])) {\n"+"if (!h || h == 12) { h = 0; }\n"+"} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(ä¸å|ä¸å)",calcAtEnd:!0};Ext.Date.parseCodes.a=Ext.Date.parseCodes.A=a}if(Ext.util&&Ext.util.Format){Ext.apply(Ext.util.Format,{thousandSeparator:',',decimalSeparator:'.',currencySign:'Â¥',dateFormat:'yå¹´mædæ¥'})}});Ext.define("Ext.locale.zh_CN.view.View",{override:"Ext.view.View",emptyText:""});Ext.define("Ext.locale.zh_CN.grid.plugin.DragDrop",{override:"Ext.grid.plugin.DragDrop",dragText:"éæ©äº {0} è¡"});Ext.define("Ext.locale.zh_CN.tab.Tab",{override:"Ext.tab.Tab",closeText:"å
³éæ¤æ ç¾"});Ext.define("Ext.locale.zh_CN.form.field.Base",{override:"Ext.form.field.Base",invalidText:"è¾å
¥å¼éæ³"});Ext.define("Ext.locale.zh_CN.view.AbstractView",{override:"Ext.view.AbstractView",loadingText:"è®åä¸..."});Ext.define("Ext.locale.zh_CN.picker.Date",{override:"Ext.picker.Date",todayText:"ä»å¤©",minText:"æ¥æå¿
须大äºæå°å
许æ¥æ",maxText:"æ¥æå¿
é¡»å°äºæ大å
许æ¥æ",disabledDaysText:"",disabledDatesText:"",nextText:'ä¸ä¸ªæ (Ctrl+Right)',prevText:'ä¸ä¸ªæ (Ctrl+Left)',monthYearText:'éæ©ä¸ä¸ªæ (Control+Up/Down æ¥æ¹å年份)',todayTip:"{0} (ç©ºæ ¼é®éæ©)",format:"yå¹´mædæ¥",ariaTitle:'{0}',ariaTitleDateFormat:'Yå¹´mædæ¥',longDayFormat:'Yå¹´mædæ¥',monthYearFormat:'Yå¹´mæ',getDayInitial:function(a){return a.substr(a.length-1)}});Ext.define("Ext.locale.zh_CN.picker.Month",{override:"Ext.picker.Month",okText:"ç¡®å®",cancelText:"åæ¶"});Ext.define("Ext.locale.zh_CN.toolbar.Paging",{override:"Ext.PagingToolbar",beforePageText:"第",afterPageText:"页,å
± {0} 页",firstText:"第ä¸é¡µ",prevText:"ä¸ä¸é¡µ",nextText:"ä¸ä¸é¡µ",lastText:"æå页",refreshText:"å·æ°",displayMsg:"æ¾ç¤º {0} - {1}æ¡ï¼å
± {2} æ¡",emptyMsg:'没ææ°æ®'});Ext.define("Ext.locale.zh_CN.form.field.Text",{override:"Ext.form.field.Text",minLengthText:"该è¾å
¥é¡¹çæå°é¿åº¦æ¯ {0} 个å符",maxLengthText:"该è¾å
¥é¡¹çæ大é¿åº¦æ¯ {0} 个å符",blankText:"该è¾å
¥é¡¹ä¸ºå¿
è¾é¡¹",regexText:"",emptyText:null});Ext.define("Ext.locale.zh_CN.form.field.Number",{override:"Ext.form.field.Number",minText:"该è¾å
¥é¡¹çæå°å¼æ¯ {0}",maxText:"该è¾å
¥é¡¹çæ大å¼æ¯ {0}",nanText:"{0} ä¸æ¯æææ°å¼"});Ext.define("Ext.locale.zh_CN.form.field.Date",{override:"Ext.form.field.Date",disabledDaysText:"ç¦ç¨",disabledDatesText:"ç¦ç¨",minText:"该è¾å
¥é¡¹çæ¥æå¿
é¡»å¨ {0} ä¹å",maxText:"该è¾å
¥é¡¹çæ¥æå¿
é¡»å¨ {0} ä¹å",invalidText:"{0} æ¯æ æçæ¥æ - å¿
须符åæ ¼å¼ï¼ {1}",format:"yå¹´mædæ¥"});Ext.define("Ext.locale.zh_CN.form.field.ComboBox",{override:"Ext.form.field.ComboBox",valueNotFoundText:undefined},function(){Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig,{loadingText:"读åä¸..."})});Ext.define("Ext.locale.zh_CN.form.field.VTypes",{override:"Ext.form.field.VTypes",emailText:'该è¾å
¥é¡¹å¿
é¡»æ¯çµåé®ä»¶å°åï¼æ ¼å¼å¦ï¼ "user at example.com"',urlText:'该è¾å
¥é¡¹å¿
é¡»æ¯URLå°åï¼æ ¼å¼å¦ï¼ "http:/'+'/www.example.com"',alphaText:'该è¾å
¥é¡¹åªè½å
å«åè§åæ¯å_',alphanumText:'该è¾å
¥é¡¹åªè½å
å«åè§åæ¯,æ°åå_'});Ext.define("Ext.locale.zh_CN.form.field.HtmlEditor",{override:"Ext.form.field.HtmlEditor",createLinkText:'æ·»å è¶
级é¾æ¥:'},function(){Ext.apply(Ext.form.field.HtmlEditor.prototype,{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'}}})});Ext.define("Ext.locale.zh_CN.grid.header.Container",{override:"Ext.grid.header.Container",sortAscText:"æ£åº",sortDescText:"ååº",lockText:"éå®å",unlockText:"解é¤éå®",columnsText:"å"});Ext.define("Ext.locale.zh_CN.grid.PropertyColumnModel",{override:"Ext.grid.PropertyColumnModel",nameText:"å称",valueText:"å¼",dateFormat:"yå¹´mædæ¥"});Ext.define("Ext.locale.zh_CN.window.MessageBox",{override:"Ext.window.MessageBox",buttonText:{ok:"ç¡®å®",cancel:"åæ¶",yes:"æ¯",no:"å¦"}});Ext.define("Ext.locale.zh_CN.Component",{override:"Ext.Component"});
\ No newline at end of file
+Ext.onReady(function(){var a;if(Ext.Date){Ext.Date.monthNames=["ä¸æ","äºæ","ä¸æ","åæ","äºæ","å
æ","ä¸æ","å
«æ","ä¹æ","åæ","åä¸æ","åäºæ"];Ext.Date.dayNames=["æææ¥","ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
"];Ext.Date.formatCodes.a="(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";Ext.Date.formatCodes.A="(this.getHours() < 12 ? 'ä¸å' : 'ä¸å')";a={g:1,c:"if (/(ä¸å)/i.test(results[{0}])) {\n"+"if (!h || h == 12) { h = 0; }\n"+"} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(ä¸å|ä¸å)",calcAtEnd:!0};Ext.Date.parseCodes.a=Ext.Date.parseCodes.A=a}if(Ext.util&&Ext.util.Format){Ext.apply(Ext.util.Format,{thousandSeparator:',',decimalSeparator:'.',currencySign:'Â¥',dateFormat:'yå¹´mædæ¥'})}});Ext.define("Ext.locale.zh_CN.view.View",{override:"Ext.view.View",emptyText:""});Ext.define("Ext.locale.zh_CN.grid.plugin.DragDrop",{override:"Ext.grid.plugin.DragDrop",dragText:"éæ©äº {0} è¡"});Ext.define("Ext.locale.zh_CN.tab.Tab",{override:"Ext.tab.Tab",closeText:"å
³éæ¤æ ç¾"});Ext.define("Ext.locale.zh_CN.form.field.Base",{override:"Ext.form.field.Base",invalidText:"è¾å
¥å¼éæ³"});Ext.define("Ext.locale.zh_CN.view.AbstractView",{override:"Ext.view.AbstractView",loadingText:"读åä¸..."});Ext.define("Ext.locale.zh_CN.picker.Date",{override:"Ext.picker.Date",todayText:"ä»å¤©",minText:"æ¥æå¿
须大äºæå°å
许æ¥æ",maxText:"æ¥æå¿
é¡»å°äºæ大å
许æ¥æ",disabledDaysText:"",disabledDatesText:"",nextText:'ä¸ä¸ªæ (Ctrl+Right)',prevText:'ä¸ä¸ªæ (Ctrl+Left)',monthYearText:'éæ©ä¸ä¸ªæ (Control+Up/Down æ¥æ¹å年份)',todayTip:"{0} (ç©ºæ ¼é®éæ©)",format:"yå¹´mædæ¥",ariaTitle:'{0}',ariaTitleDateFormat:'Yå¹´mædæ¥',longDayFormat:'Yå¹´mædæ¥',monthYearFormat:'Yå¹´mæ',getDayInitial:function(a){return a.substr(a.length-1)}});Ext.define("Ext.locale.zh_CN.picker.Month",{override:"Ext.picker.Month",okText:"ç¡®å®",cancelText:"åæ¶"});Ext.define("Ext.locale.zh_CN.toolbar.Paging",{override:"Ext.PagingToolbar",beforePageText:"第",afterPageText:"页,å
± {0} 页",firstText:"第ä¸é¡µ",prevText:"ä¸ä¸é¡µ",nextText:"ä¸ä¸é¡µ",lastText:"æå页",refreshText:"å·æ°",displayMsg:"æ¾ç¤º {0} - {1}æ¡ï¼å
± {2} æ¡",emptyMsg:'没ææ°æ®'});Ext.define("Ext.locale.zh_CN.form.field.Text",{override:"Ext.form.field.Text",minLengthText:"该è¾å
¥é¡¹çæå°é¿åº¦æ¯ {0} 个å符",maxLengthText:"该è¾å
¥é¡¹çæ大é¿åº¦æ¯ {0} 个å符",blankText:"该è¾å
¥é¡¹ä¸ºå¿
è¾é¡¹",regexText:"",emptyText:null});Ext.define("Ext.locale.zh_CN.form.field.Number",{override:"Ext.form.field.Number",minText:"该è¾å
¥é¡¹çæå°å¼æ¯ {0}",maxText:"该è¾å
¥é¡¹çæ大å¼æ¯ {0}",nanText:"{0} ä¸æ¯æææ°å¼"});Ext.define("Ext.locale.zh_CN.form.field.Date",{override:"Ext.form.field.Date",disabledDaysText:"ç¦ç¨",disabledDatesText:"ç¦ç¨",minText:"该è¾å
¥é¡¹çæ¥æå¿
é¡»å¨ {0} ä¹å",maxText:"该è¾å
¥é¡¹çæ¥æå¿
é¡»å¨ {0} ä¹å",invalidText:"{0} æ¯æ æçæ¥æ - å¿
须符åæ ¼å¼ï¼ {1}",format:"yå¹´mædæ¥"});Ext.define("Ext.locale.zh_CN.form.field.ComboBox",{override:"Ext.form.field.ComboBox",valueNotFoundText:undefined},function(){Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig,{loadingText:"读åä¸..."})});Ext.define("Ext.locale.zh_CN.form.field.VTypes",{override:"Ext.form.field.VTypes",emailText:'该è¾å
¥é¡¹å¿
é¡»æ¯çµåé®ä»¶å°åï¼æ ¼å¼å¦ï¼ "user at example.com"',urlText:'该è¾å
¥é¡¹å¿
é¡»æ¯URLå°åï¼æ ¼å¼å¦ï¼ "http:/'+'/www.example.com"',alphaText:'该è¾å
¥é¡¹åªè½å
å«åè§åæ¯å_',alphanumText:'该è¾å
¥é¡¹åªè½å
å«åè§åæ¯,æ°åå_'});Ext.define("Ext.locale.zh_CN.form.field.HtmlEditor",{override:"Ext.form.field.HtmlEditor",createLinkText:'æ·»å è¶
级é¾æ¥:'},function(){Ext.apply(Ext.form.field.HtmlEditor.prototype,{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'}}})});Ext.define("Ext.locale.zh_CN.grid.header.Container",{override:"Ext.grid.header.Container",sortAscText:"æ£åº",sortDescText:"ååº",lockText:"éå®å",unlockText:"解é¤éå®",columnsText:"å"});Ext.define("Ext.locale.zh_CN.grid.PropertyColumnModel",{override:"Ext.grid.PropertyColumnModel",nameText:"å称",valueText:"å¼",dateFormat:"yå¹´mædæ¥"});Ext.define("Ext.locale.zh_CN.window.MessageBox",{override:"Ext.window.MessageBox",buttonText:{ok:"ç¡®å®",cancel:"åæ¶",yes:"æ¯",no:"å¦"}});Ext.define("Ext.locale.zh_CN.Component",{override:"Ext.Component"});
\ No newline at end of file
diff --git a/extjs/classic/locale/overrides/zh_CN/ext-locale-zh_CN.js b/extjs/classic/locale/overrides/zh_CN/ext-locale-zh_CN.js
index 99880d1..4a551bd 100644
--- a/extjs/classic/locale/overrides/zh_CN/ext-locale-zh_CN.js
+++ b/extjs/classic/locale/overrides/zh_CN/ext-locale-zh_CN.js
@@ -63,7 +63,7 @@ Ext.define("Ext.locale.zh_CN.form.field.Base", {
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.zh_CN.view.AbstractView", {
override: "Ext.view.AbstractView",
- loadingText: "è®åä¸..."
+ loadingText: "读åä¸..."
});
Ext.define("Ext.locale.zh_CN.picker.Date", {
--
2.30.2
More information about the pve-devel
mailing list