[pve-devel] [PATCH manager 2/5] gui: CmdMenu: rename suspend to paus

Dominik Csapak d.csapak at proxmox.com
Fri Mar 29 10:44:34 CET 2019


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/qemu/CmdMenu.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/qemu/CmdMenu.js b/www/manager6/qemu/CmdMenu.js
index 80e551dd..df7b593d 100644
--- a/www/manager6/qemu/CmdMenu.js
+++ b/www/manager6/qemu/CmdMenu.js
@@ -64,12 +64,12 @@ Ext.define('PVE.qemu.CmdMenu', {
 		}
 	    },
 	    {
-		text: gettext('Suspend'),
+		text: gettext('Pause'),
 		iconCls: 'fa fa-fw fa-pause',
 		hidden: stopped || suspended,
 		disabled: stopped || suspended,
 		handler: function() {
-		    var msg = Proxmox.Utils.format_task_description('qmsuspend', vmid);
+		    var msg = Proxmox.Utils.format_task_description('qmpause', vmid);
 		    Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
 			if (btn !== 'yes') {
 			    return;
-- 
2.11.0





More information about the pve-devel mailing list