PDA

View Full Version : Ext.ux.LiveSearchGridPanel translate



rpr
22 Aug 2011, 3:51 AM
Hi.
I'm having trouble with translation Ext.ux.LiveSearchGridPanel.
I wanted to translate default strings from search panel (such as Search, Regular expression etc.).

27595

The translation are in files.

Edit:
On Ext.ux.TabCloseMenu user can simply override basic strings. LiveSearch doesn't have fields for strings.
The only method to translate is change it in LiveSearchGridPanel.js or add fields to this file with texts.

Original \/

// Component initialization override: adds the top and bottom toolbars and setup headers renderer.
initComponent: function() {
var me = this;
me.tbar = ['Search',{ ...
Change to \/

searchText: 'Search',
// Component initialization override: adds the top and bottom toolbars and setup headers renderer.
initComponent: function() {
var me = this;
me.tbar = [searchText,{ ...