mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-13 09:40:13 +00:00
ui: Utils: add product specific task descriptions
move them from widget-toolkit to here i took the chance, and sorted them alphabetically Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
5b849276b4
commit
d18e15dd26
@ -1566,6 +1566,91 @@ Ext.define('PVE.Utils', { utilities: {
|
||||
constructor: function() {
|
||||
var me = this;
|
||||
Ext.apply(me, me.utilities);
|
||||
|
||||
Proxmox.Utils.override_task_descriptions({
|
||||
acmedeactivate: ['ACME Account', gettext('Deactivate')],
|
||||
acmenewcert: ['SRV', gettext('Order Certificate')],
|
||||
acmerefresh: ['ACME Account', gettext('Refresh')],
|
||||
acmeregister: ['ACME Account', gettext('Register')],
|
||||
acmerenew: ['SRV', gettext('Renew Certificate')],
|
||||
acmerevoke: ['SRV', gettext('Revoke Certificate')],
|
||||
acmeupdate: ['ACME Account', gettext('Update')],
|
||||
'auth-realm-sync': [gettext('Realm'), gettext('Sync')],
|
||||
'auth-realm-sync-test': [gettext('Realm'), gettext('Sync Preview')],
|
||||
cephcreatemds: ['Ceph Metadata Server', gettext('Create')],
|
||||
cephcreatemgr: ['Ceph Manager', gettext('Create')],
|
||||
cephcreatemon: ['Ceph Monitor', gettext('Create')],
|
||||
cephcreateosd: ['Ceph OSD', gettext('Create')],
|
||||
cephcreatepool: ['Ceph Pool', gettext('Create')],
|
||||
cephdestroymds: ['Ceph Metadata Server', gettext('Destroy')],
|
||||
cephdestroymgr: ['Ceph Manager', gettext('Destroy')],
|
||||
cephdestroymon: ['Ceph Monitor', gettext('Destroy')],
|
||||
cephdestroyosd: ['Ceph OSD', gettext('Destroy')],
|
||||
cephdestroypool: ['Ceph Pool', gettext('Destroy')],
|
||||
cephfscreate: ['CephFS', gettext('Create')],
|
||||
clustercreate: ['', gettext('Create Cluster')],
|
||||
clusterjoin: ['', gettext('Join Cluster')],
|
||||
dircreate: [gettext('Directory Storage'), gettext('Create')],
|
||||
dirremove: [gettext('Directory'), gettext('Remove')],
|
||||
download: ['', gettext('Download')],
|
||||
hamigrate: ['HA', gettext('Migrate')],
|
||||
hashutdown: ['HA', gettext('Shutdown')],
|
||||
hastart: ['HA', gettext('Start')],
|
||||
hastop: ['HA', gettext('Stop')],
|
||||
imgcopy: ['', gettext('Copy data')],
|
||||
imgdel: ['', gettext('Erase data')],
|
||||
lvmcreate: [gettext('LVM Storage'), gettext('Create')],
|
||||
lvmthincreate: [gettext('LVM-Thin Storage'), gettext('Create')],
|
||||
migrateall: ['', gettext('Migrate all VMs and Containers')],
|
||||
'move_volume': ['CT', gettext('Move Volume')],
|
||||
pull_file: ['CT', gettext('Pull file')],
|
||||
push_file: ['CT', gettext('Push file')],
|
||||
qmclone: ['VM', gettext('Clone')],
|
||||
qmconfig: ['VM', gettext('Configure')],
|
||||
qmcreate: ['VM', gettext('Create')],
|
||||
qmdelsnapshot: ['VM', gettext('Delete Snapshot')],
|
||||
qmdestroy: ['VM', gettext('Destroy')],
|
||||
qmigrate: ['VM', gettext('Migrate')],
|
||||
qmmove: ['VM', gettext('Move disk')],
|
||||
qmpause: ['VM', gettext('Pause')],
|
||||
qmreboot: ['VM', gettext('Reboot')],
|
||||
qmreset: ['VM', gettext('Reset')],
|
||||
qmrestore: ['VM', gettext('Restore')],
|
||||
qmresume: ['VM', gettext('Resume')],
|
||||
qmrollback: ['VM', gettext('Rollback')],
|
||||
qmshutdown: ['VM', gettext('Shutdown')],
|
||||
qmsnapshot: ['VM', gettext('Snapshot')],
|
||||
qmstart: ['VM', gettext('Start')],
|
||||
qmstop: ['VM', gettext('Stop')],
|
||||
qmsuspend: ['VM', gettext('Hibernate')],
|
||||
qmtemplate: ['VM', gettext('Convert to template')],
|
||||
spiceproxy: ['VM/CT', gettext('Console') + ' (Spice)'],
|
||||
spiceshell: ['', gettext('Shell') + ' (Spice)'],
|
||||
startall: ['', gettext('Start all VMs and Containers')],
|
||||
stopall: ['', gettext('Stop all VMs and Containers')],
|
||||
unknownimgdel: ['', gettext('Destroy image from unknown guest')],
|
||||
vncproxy: ['VM/CT', gettext('Console')],
|
||||
vncshell: ['', gettext('Shell')],
|
||||
vzclone: ['CT', gettext('Clone')],
|
||||
vzcreate: ['CT', gettext('Create')],
|
||||
vzdelsnapshot: ['CT', gettext('Delete Snapshot')],
|
||||
vzdestroy: ['CT', gettext('Destroy')],
|
||||
vzdump: (type, id) => id ? `VM/CT ${id} - ${gettext('Backup')}` : gettext('Backup Job'),
|
||||
vzmigrate: ['CT', gettext('Migrate')],
|
||||
vzmount: ['CT', gettext('Mount')],
|
||||
vzreboot: ['CT', gettext('Reboot')],
|
||||
vzrestore: ['CT', gettext('Restore')],
|
||||
vzresume: ['CT', gettext('Resume')],
|
||||
vzrollback: ['CT', gettext('Rollback')],
|
||||
vzshutdown: ['CT', gettext('Shutdown')],
|
||||
vzsnapshot: ['CT', gettext('Snapshot')],
|
||||
vzstart: ['CT', gettext('Start')],
|
||||
vzstop: ['CT', gettext('Stop')],
|
||||
vzsuspend: ['CT', gettext('Suspend')],
|
||||
vztemplate: ['CT', gettext('Convert to template')],
|
||||
vzumount: ['CT', gettext('Unmount')],
|
||||
zfscreate: [gettext('ZFS Storage'), gettext('Create')],
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user