From 3571d71343d70cc6d583b92252767fcdcc7f83fb Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 30 Oct 2020 14:02:55 +0100 Subject: [PATCH] Utils: remove product specific task descriptions we use 'override_task_descriptions' in the specific products to add the ones that are not used everywhere took the chance and sorted the remaining alphabetically Signed-off-by: Dominik Csapak --- src/Utils.js | 89 +++------------------------------------------------- 1 file changed, 5 insertions(+), 84 deletions(-) diff --git a/src/Utils.js b/src/Utils.js index abbad36..d80d703 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -562,94 +562,15 @@ utilities: { }, task_desc_table: { - acmenewcert: ['SRV', gettext('Order Certificate')], - acmeregister: ['ACME Account', gettext('Register')], - acmedeactivate: ['ACME Account', gettext('Deactivate')], - acmeupdate: ['ACME Account', gettext('Update')], - acmerefresh: ['ACME Account', gettext('Refresh')], - acmerenew: ['SRV', gettext('Renew Certificate')], - acmerevoke: ['SRV', gettext('Revoke Certificate')], - 'auth-realm-sync': [gettext('Realm'), gettext('Sync')], - 'auth-realm-sync-test': [gettext('Realm'), gettext('Sync Preview')], - 'move_volume': ['CT', gettext('Move Volume')], - clustercreate: ['', gettext('Create Cluster')], - clusterjoin: ['', gettext('Join Cluster')], + aptupdate: ['', gettext('Update package database')], diskinit: ['Disk', gettext('Initialize Disk with GPT')], - vncproxy: ['VM/CT', gettext('Console')], - spiceproxy: ['VM/CT', gettext('Console') + ' (Spice)'], - vncshell: ['', gettext('Shell')], spiceshell: ['', gettext('Shell') + ' (Spice)'], - qmsnapshot: ['VM', gettext('Snapshot')], - qmrollback: ['VM', gettext('Rollback')], - qmdelsnapshot: ['VM', gettext('Delete Snapshot')], - qmcreate: ['VM', gettext('Create')], - qmrestore: ['VM', gettext('Restore')], - qmdestroy: ['VM', gettext('Destroy')], - qmigrate: ['VM', gettext('Migrate')], - qmclone: ['VM', gettext('Clone')], - qmmove: ['VM', gettext('Move disk')], - qmtemplate: ['VM', gettext('Convert to template')], - qmstart: ['VM', gettext('Start')], - qmstop: ['VM', gettext('Stop')], - qmreset: ['VM', gettext('Reset')], - qmshutdown: ['VM', gettext('Shutdown')], - qmreboot: ['VM', gettext('Reboot')], - qmsuspend: ['VM', gettext('Hibernate')], - qmpause: ['VM', gettext('Pause')], - qmresume: ['VM', gettext('Resume')], - qmconfig: ['VM', gettext('Configure')], - vzsnapshot: ['CT', gettext('Snapshot')], - vzrollback: ['CT', gettext('Rollback')], - vzdelsnapshot: ['CT', gettext('Delete Snapshot')], - vzcreate: ['CT', gettext('Create')], - vzrestore: ['CT', gettext('Restore')], - vzdestroy: ['CT', gettext('Destroy')], - vzmigrate: ['CT', gettext('Migrate')], - vzclone: ['CT', gettext('Clone')], - vztemplate: ['CT', gettext('Convert to template')], - vzstart: ['CT', gettext('Start')], - vzstop: ['CT', gettext('Stop')], - vzmount: ['CT', gettext('Mount')], - vzumount: ['CT', gettext('Unmount')], - vzshutdown: ['CT', gettext('Shutdown')], - vzreboot: ['CT', gettext('Reboot')], - vzsuspend: ['CT', gettext('Suspend')], - vzresume: ['CT', gettext('Resume')], - push_file: ['CT', gettext('Push file')], - pull_file: ['CT', gettext('Pull file')], - hamigrate: ['HA', gettext('Migrate')], - hastart: ['HA', gettext('Start')], - hastop: ['HA', gettext('Stop')], - hashutdown: ['HA', gettext('Shutdown')], + srvreload: ['SRV', gettext('Reload')], + srvrestart: ['SRV', gettext('Restart')], srvstart: ['SRV', gettext('Start')], srvstop: ['SRV', gettext('Stop')], - srvrestart: ['SRV', gettext('Restart')], - srvreload: ['SRV', gettext('Reload')], - cephcreatemgr: ['Ceph Manager', gettext('Create')], - cephdestroymgr: ['Ceph Manager', gettext('Destroy')], - cephcreatemon: ['Ceph Monitor', gettext('Create')], - cephdestroymon: ['Ceph Monitor', gettext('Destroy')], - cephcreateosd: ['Ceph OSD', gettext('Create')], - cephdestroyosd: ['Ceph OSD', gettext('Destroy')], - cephcreatepool: ['Ceph Pool', gettext('Create')], - cephdestroypool: ['Ceph Pool', gettext('Destroy')], - cephfscreate: ['CephFS', gettext('Create')], - cephcreatemds: ['Ceph Metadata Server', gettext('Create')], - cephdestroymds: ['Ceph Metadata Server', gettext('Destroy')], - imgcopy: ['', gettext('Copy data')], - imgdel: ['', gettext('Erase data')], - unknownimgdel: ['', gettext('Destroy image from unknown guest')], - download: ['', gettext('Download')], - vzdump: (type, id) => id ? `VM/CT ${id} - ${gettext('Backup')}` : gettext('Backup Job'), - aptupdate: ['', gettext('Update package database')], - startall: ['', gettext('Start all VMs and Containers')], - stopall: ['', gettext('Stop all VMs and Containers')], - migrateall: ['', gettext('Migrate all VMs and Containers')], - dircreate: [gettext('Directory Storage'), gettext('Create')], - dirremove: [gettext('Directory'), gettext('Remove')], - lvmcreate: [gettext('LVM Storage'), gettext('Create')], - lvmthincreate: [gettext('LVM-Thin Storage'), gettext('Create')], - zfscreate: [gettext('ZFS Storage'), gettext('Create')], + termproxy: ['', gettext('Console') + ' (xterm.js)'], + vncshell: ['', gettext('Shell')], }, // to add or change existing for product specific ones -- 2.39.2