displaying labels in marathi language.

Posted by vaishali on Stack Overflow See other posts from Stack Overflow or by vaishali
Published on 2010-03-08T13:49:26Z Indexed on 2010/03/08 13:51 UTC
Read the original article Hit count: 237

Filed under:
|
|
|

i am tring to display lable of form in marathi language for that am creating marathi.js this my mararhi.js if(Ext.app.formPanel) { Ext.apply(Ext.app.formPanel.prototype, {

               selectUser:'???'
          }

         );

}

and my other js file contain this

var Ext.app.formPanel = Ext.extend(Ext.form.FormPanel,{ selectUser:'Select User', initComponent : function(config) { Ext.apply(this,

                {
    title      : 'User Rights',
    bodyStyle  : 'padding: 10px; background-color: #DFE8F6',
    labelWidth : 100,
    width      : 755,
    id         : 'formUserRights',
    renderTo:'adminpanel',
    items      : [  id: 'User',
                fieldLabel:this.selectUser,
                width:200

                ] //items
        }//Ext.apply

        );//Ext.apply
        Ext.app.formPanel.superclass.initComponent.apply(this, arguments);
        }//init component
}); //yuyu

...... .... but it can not work it gives error ;missing before var Ext.app.formPanel = Ext.extend..... but when i checked all carefully every thing is correctly nested.

© Stack Overflow or respective owner

Related posts about extjs

Related posts about display