[pve-devel] [PATCH pmg-gui 1/1] Utils: add product specific task descriptions

Dominik Csapak d.csapak at proxmox.com
Fri Oct 30 14:02:56 CET 2020


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/Utils.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/js/Utils.js b/js/Utils.js
index e730a3e..90637ca 100644
--- a/js/Utils.js
+++ b/js/Utils.js
@@ -822,5 +822,14 @@ Ext.define('PMG.Utils', {
 	var me = this;
 
 	// do whatever you want here
+	Proxmox.Utils.override_task_descriptions({
+	    applycustomscores: ['', gettext('Apply custom SpamAssassin scores')],
+	    avupdate: ['', gettext('ClamAV update')],
+	    backup: ['', gettext('Backup')],
+	    clustercreate: ['', gettext('Create Cluster')],
+	    clusterjoin: ['', gettext('Join Cluster')],
+	    restore: ['', gettext('Restore')],
+	    saupdate: ['', gettext('SpamAssassin update')],
+	});
     },
 });
-- 
2.20.1






More information about the pve-devel mailing list