public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH proxmox-backup 1/1] ui: Utils: add product specific task descriptions
Date: Fri, 30 Oct 2020 14:02:58 +0100	[thread overview]
Message-ID: <20201030130258.5046-5-d.csapak@proxmox.com> (raw)
In-Reply-To: <20201030130258.5046-1-d.csapak@proxmox.com>

and sort them alphabetically

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 www/Utils.js | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/www/Utils.js b/www/Utils.js
index 58319345..6c890659 100644
--- a/www/Utils.js
+++ b/www/Utils.js
@@ -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')],
 	});
     },
 });
-- 
2.20.1





  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 ` [pve-devel] [PATCH widget-toolkit 1/1] Utils: remove product specific " Dominik Csapak
2020-11-03 13:49   ` [pve-devel] applied: " 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 ` Dominik Csapak [this message]
2020-10-30 13:06   ` [pve-devel] applied: [PATCH proxmox-backup " 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-5-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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal