mirror of
https://github.com/php/web-doc-editor.git
synced 2026-03-26 10:12:15 +01:00
31 lines
709 B
JavaScript
31 lines
709 B
JavaScript
Ext.define('phpdoe.view.main.menu.languages', {
|
|
extend : 'Ext.menu.Menu',
|
|
|
|
initComponent: function() {
|
|
|
|
this.items = [
|
|
{
|
|
id: 'main-menu-switch-lang',
|
|
text: this.itemText.SwitchLang,
|
|
iconCls: 'iconSwitchLang',
|
|
menu: Ext.Create(
|
|
'Ext.menu.Menu',
|
|
{
|
|
//items will be loaded in main controller
|
|
}
|
|
)
|
|
},
|
|
'-',
|
|
{
|
|
id: 'main-menu-about',
|
|
text: this.itemText.About,
|
|
iconCls: 'iconHelp'
|
|
}
|
|
];
|
|
this.callParent();
|
|
}
|
|
|
|
|
|
|
|
})
|