Ext.apply(F.ajax, { errorMsg: "出错了!{0} ({1})", timeoutErrorMsg: "请求超时,请刷新页面并重试!" }); Ext.apply(F.util, { alertTitle: "提示对话框", confirmTitle: "确认对话框", //formAlertMsg: "请为 {0} 提供有效值!", formAlertTitle: "表单不完整", loading: "正在加载..." }); Ext.apply(F.wnd, { closeButtonTooltip: "关闭此窗口", formChangeConfirmMsg: "当前表单已经被修改,确认放弃修改?" }); if (Ext.ux.SimplePagingToolbar) { Ext.apply(Ext.ux.SimplePagingToolbar.prototype, { afterPageText: "页,共 {0} 页", displayMsg: "显示 {0} - {1} 条,共 {2} 条" }); } //if (Ext.ux.SimplePagingToolbar) { // Ext.apply(Ext.ux.SimplePagingToolbar.prototype, { // beforePageText: "转到", // afterPageText: " 共 {0} 页", // firstText: "第一页", // prevText: "前一页", // nextText: "下一页", // lastText: "最后页", // displayMsg: "显示 {0} - {1},共 {2} 条", // emptyMsg: '没有数据需要显示' // }); //} if (Ext.ux.TabCloseMenu) { Ext.apply(Ext.ux.TabCloseMenu.prototype, { closeTabText: "关闭标签", closeOthersTabsText: "关闭其它标签", closeAllTabsText: "关闭全部标签" }); } if (Ext.ux.form && Ext.ux.form.FileUploadField) { Ext.apply(Ext.ux.form.FileUploadField.prototype, { buttonText: "浏览..." }); } if (Ext.panel.Panel) { Ext.apply(Ext.panel.Panel.prototype, { collapseToolText: '折叠面板', expandToolText: '展开面板' }); } if (Ext.window.Window) { Ext.apply(Ext.window.Window.prototype, { closeToolText: '关闭窗体' }); } if (Ext.window.MessageBox) { Ext.apply(Ext.window.MessageBox.prototype, { closeToolText: '关闭对话框' }); } if (Ext.form.field.Number) { Ext.apply(Ext.form.field.Number.prototype, { negativeText: '该输入项不能为负值' }); }