fix #4194: ui: clarify that it's actually a bulk shutdown, not a stop

As some users where confused by the usage of "Stop", which we
normally reserve for a hard-stop.

And yes, while the bulk shutdown formerly always had a timeout armed
hard-stop hard coded, it was still subtle and we recently exposed
control on that via the API an UI, so use shutdown to be more in line
with the CT/VM naming, e.g., in their power menus.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-01-14 17:36:18 +01:00
parent a75bace1f4
commit 31fcdc1e8e
2 changed files with 6 additions and 6 deletions

View File

@ -43,14 +43,14 @@ Ext.define('PVE.node.CmdMenu', {
},
},
{
text: gettext('Bulk Stop'),
text: gettext('Bulk Shutdown'),
itemId: 'bulkstop',
iconCls: 'fa fa-fw fa-stop',
handler: function() {
Ext.create('PVE.window.BulkAction', {
nodename: this.up('menu').nodename,
title: gettext('Bulk Stop'),
btnText: gettext('Stop'),
title: gettext('Bulk Shutdown'),
btnText: gettext('Shutdown'),
action: 'stopall',
autoShow: true,
});

View File

@ -51,13 +51,13 @@ Ext.define('PVE.node.Config', {
},
},
{
text: gettext('Bulk Stop'),
text: gettext('Bulk Shutdown'),
iconCls: 'fa fa-fw fa-stop',
handler: function() {
var win = Ext.create('PVE.window.BulkAction', {
nodename: nodename,
title: gettext('Bulk Stop'),
btnText: gettext('Stop'),
title: gettext('Bulk Shutdown'),
btnText: gettext('Shutdown'),
action: 'stopall',
});
win.show();