From a7f8efcf3502caaa81081bdea0a8c15a2fb9ee90 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 11 May 2021 18:08:10 +0200 Subject: [PATCH] ui: add task descriptions for ACME related tasks Signed-off-by: Thomas Lamprecht --- www/Utils.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/www/Utils.js b/www/Utils.js index b9012374..14561ad4 100644 --- a/www/Utils.js +++ b/www/Utils.js @@ -368,6 +368,15 @@ Ext.define('PBS.Utils', { // do whatever you want here Proxmox.Utils.override_task_descriptions({ + 'acme-deactivate': (type, id) => + Ext.String.format(gettext("Deactivate {0} Account"), 'ACME') + ` '${id || 'default'}'`, + 'acme-register': (type, id) => + Ext.String.format(gettext("Register {0} Account"), 'ACME') + ` '${id || 'default'}'`, + 'acme-update': (type, id) => + Ext.String.format(gettext("Update {0} Account"), 'ACME') + ` '${id || 'default'}'`, + 'acme-new-cert': ['', gettext('Order Certificate')], + 'acme-renew-cert': ['', gettext('Renew Certificate')], + 'acme-revoke-cert': ['', gettext('Revoke Certificate')], backup: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Backup')), 'barcode-label-media': [gettext('Drive'), gettext('Barcode-Label Media')], 'catalog-media': [gettext('Drive'), gettext('Catalog Media')],