From 9b1aa424b9ed5401ec325447531deeb36d39a726 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 25 May 2020 19:06:47 +0200 Subject: [PATCH] ui: add some task log description mappings Signed-off-by: Thomas Lamprecht --- debian/control.in | 2 +- www/Utils.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/control.in b/debian/control.in index 8e325fe60..80fb0e19d 100644 --- a/debian/control.in +++ b/debian/control.in @@ -4,7 +4,7 @@ Depends: fonts-font-awesome, libjs-extjs (>= 6.0.1), libzstd1 (>= 1.3.8), proxmox-mini-journalreader, - proxmox-widget-toolkit (>= 2.2-2), + proxmox-widget-toolkit (>= 2.2-4), ${misc:Depends}, ${shlibs:Depends}, Description: Proxmox Backup Server daemon with tools and GUI diff --git a/www/Utils.js b/www/Utils.js index 7fe2cad97..c63390e55 100644 --- a/www/Utils.js +++ b/www/Utils.js @@ -29,5 +29,10 @@ Ext.define('PBS.Utils', { var me = this; // do whatever you want here + Proxmox.Utils.override_task_descriptions({ + garbage_collection: ['Datastore', gettext('Garbage collect') ], + backup: [ '', gettext('Backup') ], + reader: [ '', gettext('Read datastore objects') ], // FIXME: better one + }); } });