From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 3F5BA647AE for ; Fri, 30 Oct 2020 14:03:01 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 39A6013E0F for ; Fri, 30 Oct 2020 14:03:01 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id B75AB13DEE for ; Fri, 30 Oct 2020 14:02:59 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 871E445F98 for ; Fri, 30 Oct 2020 14:02:59 +0100 (CET) From: Dominik Csapak To: pve-devel@lists.proxmox.com Date: Fri, 30 Oct 2020 14:02:55 +0100 Message-Id: <20201030130258.5046-2-d.csapak@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201030130258.5046-1-d.csapak@proxmox.com> References: <20201030130258.5046-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.437 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH widget-toolkit 1/1] Utils: remove product specific task descriptions X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2020 13:03:01 -0000 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.20.1