From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit 1/1] Utils: remove product specific task descriptions
Date: Fri, 30 Oct 2020 14:02:55 +0100 [thread overview]
Message-ID: <20201030130258.5046-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20201030130258.5046-1-d.csapak@proxmox.com>
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 <d.csapak@proxmox.com>
---
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
next prev parent reply other threads:[~2020-10-30 13:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-30 13:02 [pve-devel] [PATCH widget-toolkit/manager/pmg-gui/proxmox-backup] move " Dominik Csapak
2020-10-30 13:02 ` Dominik Csapak [this message]
2020-11-03 13:49 ` [pve-devel] applied: [PATCH widget-toolkit 1/1] Utils: remove product specific " Thomas Lamprecht
2020-10-30 13:02 ` [pve-devel] [PATCH pmg-gui 1/1] Utils: add " Dominik Csapak
2020-10-30 14:15 ` [pve-devel] applied: " Thomas Lamprecht
2020-10-30 13:02 ` [pve-devel] [PATCH manager 1/1] ui: " Dominik Csapak
2020-10-30 13:07 ` [pve-devel] applied: " Thomas Lamprecht
2020-10-30 13:02 ` [pve-devel] [PATCH proxmox-backup " Dominik Csapak
2020-10-30 13:06 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201030130258.5046-2-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox