OSD: rename 'remove' to 'destroy'

To have consistency with the CLI tools `pveceph destroyosd` command.
This is also more clear about the resulting action, as 'Remove' could
also just mean 'Remove from Config', for example.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2017-05-17 12:40:27 +02:00 committed by Wolfgang Bumiller
parent ee3a898983
commit fb0e18136c

View File

@ -150,7 +150,7 @@ Ext.define('PVE.CephRemoveOsd', {
me.isCreate = true;
me.title = gettext('Remove') + ': ' + 'Ceph OSD osd.' + me.osdid.toString();
me.title = gettext('Destroy') + ': Ceph OSD osd.' + me.osdid.toString();
Ext.applyIf(me, {
url: "/nodes/" + me.nodename + "/ceph/osd/" + me.osdid.toString()
@ -401,7 +401,7 @@ Ext.define('PVE.node.CephOsdTree', {
});
var remove_btn = new Ext.Button({
text: gettext('Remove'),
text: gettext('Destroy'),
disabled: true,
handler: function(){
var rec = sm.getSelection()[0];