KWA-MDM/js/settings/MDMSettingsCategory.js
Jelle van der Waa ec102f9c03 Add translation support
Add translation support by adding the language dir
with bare PO files.
All translations are changed to use their plugin domain.
2016-06-09 11:13:23 +02:00

36 lines
908 B
JavaScript
Executable File

Ext.namespace('Zarafa.plugins.mdm.settings');
/*
* Settings category entry for MDM
* @extends
*/
/**
* @class Zarafa.plugins.mdm.settings.MDMSettingsCategory
* @extends Zarafa.settings.ui.SettingsCategory
* @xtype Zarafa.plugins.mdmsettingscategory
*
* The mdm settings category entry.
*/
Zarafa.plugins.mdm.settings.MDMSettingsCategory = Ext.extend(Zarafa.settings.ui.SettingsCategory, {
/**
* @constructor
* @param {Object} config Configuration object
*/
constructor : function(config) {
config = config || {};
Ext.applyIf(config, {
title : _('MDM', 'plugin_mdm'),
iconCls : 'icon_mdm_settings',
items : [{
xtype : 'Zarafa.plugins.mdm.mdmsettingswidget'
}]
});
Zarafa.plugins.mdm.settings.MDMSettingsCategory.superclass.constructor.call(this, config);
}
});
Ext.reg('Zarafa.plugins.mdm.mdmsettingscategory', Zarafa.plugins.mdm.settings.MDMSettingsCategory);