]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: Utils: add product specific task descriptions
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 30 Oct 2020 13:02:58 +0000 (14:02 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Oct 2020 13:05:17 +0000 (14:05 +0100)
and sort them alphabetically

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/Utils.js

index 58319345706be92eed7796feb77adc30db6e6b1f..6c890659d7688974a4a03c27b1b6d8a02475967b 100644 (file)
@@ -97,17 +97,20 @@ Ext.define('PBS.Utils', {
 
        // do whatever you want here
        Proxmox.Utils.override_task_descriptions({
+           backup: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Backup')),
+           dircreate: [gettext('Directory Storage'), gettext('Create')],
+           dirremove: [gettext('Directory'), gettext('Remove')],
            garbage_collection: ['Datastore', gettext('Garbage collect')],
+           logrotate: [gettext('Log'), gettext('Rotation')],
+           prune: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Prune')),
+           reader: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Read objects')),
            sync: ['Datastore', gettext('Remote Sync')],
+           syncjob: [gettext('Sync Job'), gettext('Remote Sync')],
            verify: ['Datastore', gettext('Verification')],
            verify_group: ['Group', gettext('Verification')],
            verify_snapshot: ['Snapshot', gettext('Verification')],
-           syncjob: [gettext('Sync Job'), gettext('Remote Sync')],
            verifyjob: [gettext('Verify Job'), gettext('Scheduled Verification')],
-           prune: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Prune')),
-           backup: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Backup')),
-           reader: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Read objects')),
-           logrotate: [gettext('Log'), gettext('Rotation')],
+           zfscreate: [gettext('ZFS Storage'), gettext('Create')],
        });
     },
 });