extjs4,国际化遇到一个小问题,confirm功能的文字未显示为中文,后找到网友的解决方法,谓之暴利破解法(原文链接 http://www.iteye.com/problems/67114):
Ext.onReady(function(){
var msgBox = Ext.MessageBox;
Ext.each(msgBox.msgButtons, function(btn, index){
btn.setText(msgBox.buttonText[msgBox.buttonIds[index]]);
});
});